0.upto(4), not 5)
This commit is contained in:
parent
e2c30ca299
commit
5ad11bd642
@ -98,7 +98,7 @@ module Whenever
|
||||
#
|
||||
def combine(entries)
|
||||
entries.map! { |entry| entry.split(/ +/,6 )}
|
||||
0.upto(5) do |f|
|
||||
0.upto(4) do |f|
|
||||
(entries.length-1).downto(1) do |i|
|
||||
next if entries[i][f] == '*'
|
||||
comparison = entries[i][0...f] + entries[i][f+1..-1]
|
||||
|
@ -2,7 +2,7 @@ module Whenever
|
||||
module VERSION #:nodoc:
|
||||
MAJOR = 0
|
||||
MINOR = 3
|
||||
TINY = 1
|
||||
TINY = 2
|
||||
|
||||
STRING = [MAJOR, MINOR, TINY].join('.')
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user