From 5ad11bd6425585a029a3fa044e13715522f60ae2 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Mon, 13 Jul 2009 22:23:21 -0400 Subject: [PATCH] 0.upto(4), not 5) --- lib/job_list.rb | 2 +- lib/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/job_list.rb b/lib/job_list.rb index 778c7d1..60b4ec0 100644 --- a/lib/job_list.rb +++ b/lib/job_list.rb @@ -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] diff --git a/lib/version.rb b/lib/version.rb index 89f2883..aa4078c 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -2,7 +2,7 @@ module Whenever module VERSION #:nodoc: MAJOR = 0 MINOR = 3 - TINY = 1 + TINY = 2 STRING = [MAJOR, MINOR, TINY].join('.') end