rufus-scheduler 3.0.9 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +7 -0
- data/CREDITS.txt +3 -0
- data/LICENSE.txt +1 -1
- data/README.md +6 -13
- data/lib/rufus/scheduler.rb +4 -3
- data/lib/rufus/scheduler/cronline.rb +78 -74
- data/lib/rufus/scheduler/job_array.rb +2 -1
- data/lib/rufus/scheduler/jobs.rb +16 -15
- data/lib/rufus/scheduler/locks.rb +1 -1
- data/lib/rufus/scheduler/util.rb +2 -25
- data/lib/rufus/scheduler/zones.rb +174 -0
- data/lib/rufus/scheduler/zotime.rb +154 -0
- data/rufus-scheduler.gemspec +2 -27
- data/spec/cronline_spec.rb +152 -103
- data/spec/job_cron_spec.rb +22 -0
- data/spec/job_every_spec.rb +14 -0
- data/spec/job_repeat_spec.rb +1 -0
- data/spec/parse_spec.rb +28 -30
- data/spec/schedule_at_spec.rb +1 -1
- data/spec/scheduler_spec.rb +4 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/zotime_spec.rb +396 -0
- metadata +15 -18
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: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,17 +9,17 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: rake
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
|
-
type: :
|
22
|
+
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
@@ -28,13 +28,13 @@ dependencies:
|
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
31
|
+
name: rspec
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 2.13.0
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,15 +42,15 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 2.13.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
47
|
+
name: chronic
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,9 +58,9 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
63
|
+
name: tzinfo
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
@@ -86,12 +86,15 @@ files:
|
|
86
86
|
- lib/rufus-scheduler.rb
|
87
87
|
- lib/rufus/scheduler.rb
|
88
88
|
- lib/rufus/scheduler/locks.rb
|
89
|
+
- lib/rufus/scheduler/zotime.rb
|
89
90
|
- lib/rufus/scheduler/cronline.rb
|
90
91
|
- lib/rufus/scheduler/util.rb
|
91
92
|
- lib/rufus/scheduler/jobs.rb
|
93
|
+
- lib/rufus/scheduler/zones.rb
|
92
94
|
- lib/rufus/scheduler/job_array.rb
|
93
95
|
- spec/job_spec.rb
|
94
96
|
- spec/schedule_in_spec.rb
|
97
|
+
- spec/zotime_spec.rb
|
95
98
|
- spec/spec_helper.rb
|
96
99
|
- spec/job_array_spec.rb
|
97
100
|
- spec/schedule_interval_spec.rb
|
@@ -123,13 +126,7 @@ files:
|
|
123
126
|
homepage: http://github.com/jmettraux/rufus-scheduler
|
124
127
|
licenses:
|
125
128
|
- MIT
|
126
|
-
post_install_message:
|
127
|
-
might not be 100% compatible with rufus-scheduler 2.x.\n\nIf you encounter issues
|
128
|
-
with this new rufus-scheduler, especially\nif your app worked fine with previous
|
129
|
-
versions of it, you can\n\nA) Forget it and peg your Gemfile to rufus-scheduler
|
130
|
-
2.0.24\n\nand / or\n\nB) Take some time to carefully report the issue at\n https://github.com/jmettraux/rufus-scheduler/issues\n\nFor
|
131
|
-
general help about rufus-scheduler, ask via:\nhttp://stackoverflow.com/questions/ask?tags=rufus-scheduler+ruby\n\nCheers.\n\n***\n
|
132
|
-
\ "
|
129
|
+
post_install_message:
|
133
130
|
rdoc_options: []
|
134
131
|
require_paths:
|
135
132
|
- lib
|