rufus-scheduler 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.txt CHANGED
@@ -2,6 +2,12 @@
2
2
  = rufus-scheduler CHANGELOG.txt
3
3
 
4
4
 
5
+ == rufus-scheduler - 1.0.10 released 2008/08/28
6
+
7
+ - todo #21357 : added Rufus::Scheduler::VERSION
8
+ - bug #21358 : start_new() not accepting parameters. Fixed.
9
+
10
+
5
11
  == rufus-scheduler - 1.0.9 released 2008/07/18
6
12
 
7
13
  - bug #21262 : brought back (proxy) duration_to_f to Rufus::Scheduler
data/CREDITS.txt CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  == Feedback
5
5
 
6
+ - Adam Green and Rael Dornfest for the Taskr breaking issue feedback
6
7
  - Sean Liu, unschedule_every issue
7
8
  - Manfred Usselman (no cronjobs on sundays bug)
8
9
  - Michael Goth, tests with precision > 1s
@@ -306,6 +306,8 @@ module Rufus
306
306
  #
307
307
  class Scheduler
308
308
 
309
+ VERSION = "1.0.10"
310
+
309
311
  #
310
312
  # By default, the precision is 0.250, with means the scheduler
311
313
  # will check for jobs to execute 4 times per second.
@@ -407,9 +409,9 @@ module Rufus
407
409
  #
408
410
  # Instantiates a new Rufus::Scheduler instance, starts it and returns it
409
411
  #
410
- def self.start_new
412
+ def self.start_new (params = {})
411
413
 
412
- s = self.new
414
+ s = self.new(params)
413
415
  s.start
414
416
  s
415
417
  end
data/test/time_0_test.rb CHANGED
@@ -72,6 +72,7 @@ class Time0Test < Test::Unit::TestCase
72
72
  pts "1h", 3600.0
73
73
  pts "1h10s", 3610.0
74
74
  pts "1w2d", 777600.0
75
+ pts "1d1w1d", 777600.0
75
76
  end
76
77
 
77
78
  protected
@@ -79,7 +80,7 @@ class Time0Test < Test::Unit::TestCase
79
80
  def pts (time_string, seconds)
80
81
 
81
82
  assert_equal(
82
- seconds,
83
+ seconds,
83
84
  Rufus::parse_time_string(time_string),
84
85
  "'#{time_string}' did not map to #{seconds} seconds")
85
86
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rufus-scheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-18 00:00:00 +09:00
12
+ date: 2008-08-28 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15