rufus-scheduler 2.0.23 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/CHANGELOG.txt +12 -0
  2. data/CREDITS.txt +4 -0
  3. data/README.md +1064 -0
  4. data/Rakefile +1 -4
  5. data/TODO.txt +145 -55
  6. data/lib/rufus/{sc → scheduler}/cronline.rb +46 -17
  7. data/lib/rufus/{sc/version.rb → scheduler/job_array.rb} +56 -4
  8. data/lib/rufus/scheduler/jobs.rb +548 -0
  9. data/lib/rufus/scheduler/util.rb +318 -0
  10. data/lib/rufus/scheduler.rb +502 -26
  11. data/rufus-scheduler.gemspec +30 -4
  12. data/spec/cronline_spec.rb +29 -8
  13. data/spec/error_spec.rb +116 -0
  14. data/spec/job_array_spec.rb +39 -0
  15. data/spec/job_at_spec.rb +58 -0
  16. data/spec/job_cron_spec.rb +67 -0
  17. data/spec/job_every_spec.rb +71 -0
  18. data/spec/job_in_spec.rb +20 -0
  19. data/spec/job_interval_spec.rb +68 -0
  20. data/spec/job_repeat_spec.rb +308 -0
  21. data/spec/job_spec.rb +387 -115
  22. data/spec/lockfile_spec.rb +61 -0
  23. data/spec/parse_spec.rb +203 -0
  24. data/spec/schedule_at_spec.rb +129 -0
  25. data/spec/schedule_cron_spec.rb +66 -0
  26. data/spec/schedule_every_spec.rb +109 -0
  27. data/spec/schedule_in_spec.rb +80 -0
  28. data/spec/schedule_interval_spec.rb +128 -0
  29. data/spec/scheduler_spec.rb +831 -124
  30. data/spec/spec_helper.rb +65 -0
  31. data/spec/threads_spec.rb +75 -0
  32. metadata +64 -65
  33. data/README.rdoc +0 -661
  34. data/lib/rufus/otime.rb +0 -3
  35. data/lib/rufus/sc/jobqueues.rb +0 -160
  36. data/lib/rufus/sc/jobs.rb +0 -471
  37. data/lib/rufus/sc/rtime.rb +0 -363
  38. data/lib/rufus/sc/scheduler.rb +0 -636
  39. data/spec/at_in_spec.rb +0 -47
  40. data/spec/at_spec.rb +0 -125
  41. data/spec/blocking_spec.rb +0 -64
  42. data/spec/cron_spec.rb +0 -134
  43. data/spec/every_spec.rb +0 -304
  44. data/spec/exception_spec.rb +0 -113
  45. data/spec/in_spec.rb +0 -150
  46. data/spec/mutex_spec.rb +0 -159
  47. data/spec/rtime_spec.rb +0 -137
  48. data/spec/schedulable_spec.rb +0 -97
  49. data/spec/spec_base.rb +0 -87
  50. data/spec/stress_schedule_unschedule_spec.rb +0 -159
  51. data/spec/timeout_spec.rb +0 -148
  52. data/test/kjw.rb +0 -113
  53. data/test/t.rb +0 -20
data/CHANGELOG.txt CHANGED
@@ -2,6 +2,18 @@
2
2
  = rufus-scheduler CHANGELOG.txt
3
3
 
4
4
 
5
+ == rufus-scheduler - 3.0.0 released 2013/10/02
6
+
7
+ - complete rewrite.
8
+ - introduce scheduler.interval('10s') { ... }
9
+
10
+
11
+ == rufus-scheduler - 2.0.24 released 2013/09/02
12
+
13
+ - lowered tzinfo dependency to >= 0.3.22
14
+ http://stackoverflow.com/questions/18551970
15
+
16
+
5
17
  == rufus-scheduler - 2.0.23 released 2013/07/26
6
18
 
7
19
  - mutex vs timeout fix by Tobias Kraze
data/CREDITS.txt CHANGED
@@ -5,6 +5,7 @@
5
5
  == Contributors
6
6
 
7
7
  - Tobias Kraze (https://github.com/kratob) timeout vs mutex fix
8
+ - Patrick Farrell (https://github.com/pfarrell) pointing at deprecated start_new
8
9
  - Thomas Sevestre (https://github.com/thomassevestre) :exception option
9
10
  - Matteo Cerutti - last_time / previous_time idea (and initial implementation)
10
11
  - Aimee Rose (https://github.com/AimeeRose) cronline and > 24
@@ -26,6 +27,9 @@
26
27
 
27
28
  == Feedback
28
29
 
30
+ - Kevin Bouwkamp - https://github.com/bmxpert1 - first_at issues
31
+ - Daniel Beauchamp - https://github.com/pushmatrix - pre/post trigger callbacks
32
+ - Arthur Maltson - https://github.com/amaltson - readme fixes
29
33
  - skrd - https://github.com/skrd - "/10 * * * *" cron issue
30
34
  - Hongli Lai - Scheduler#stop(:terminate => true) request
31
35
  - Tero Tilus - raises on unsupported/unknown options