openwferu-scheduler 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/openwfe/util/scheduler.rb +4 -4
  2. metadata +2 -2
@@ -30,8 +30,6 @@
30
30
  # POSSIBILITY OF SUCH DAMAGE.
31
31
  #++
32
32
  #
33
- # $Id: definitions.rb 2725 2006-06-02 13:26:32Z jmettraux $
34
- #
35
33
 
36
34
  #
37
35
  # "made in Japan"
@@ -601,6 +599,8 @@ module OpenWFE
601
599
 
602
600
  @last_cron_minute = minute
603
601
 
602
+ #puts "step() @cron_entries.size #{@cron_entries.size}"
603
+
604
604
  @cron_entries.each do |cron_id, cron_entry|
605
605
  #puts "step() cron_id : #{cron_id}"
606
606
  trigger(cron_entry) if cron_entry.matches? now
@@ -729,9 +729,9 @@ module OpenWFE
729
729
 
730
730
  super(cron_id, &block)
731
731
 
732
- if line.kind_of? String
732
+ if line.kind_of?(String)
733
733
  @cron_line = CronLine.new(line)
734
- elsif line.kind_of? CronLine
734
+ elsif line.kind_of?(CronLine)
735
735
  @cron_line = line
736
736
  else
737
737
  raise \
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: openwferu-scheduler
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.13
7
- date: 2007-08-01 00:00:00 +09:00
6
+ version: 0.9.14
7
+ date: 2007-09-18 00:00:00 +09:00
8
8
  summary: OpenWFEru scheduler for Ruby (at, cron and every)
9
9
  require_paths:
10
10
  - lib