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