rufus-scheduler 2.0.21 → 2.0.22
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +5 -0
- data/CREDITS.txt +1 -0
- data/lib/rufus/sc/cronline.rb +2 -0
- data/lib/rufus/sc/version.rb +1 -1
- data/spec/cronline_spec.rb +15 -0
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
data/CREDITS.txt
CHANGED
data/lib/rufus/sc/cronline.rb
CHANGED
data/lib/rufus/sc/version.rb
CHANGED
data/spec/cronline_spec.rb
CHANGED
@@ -91,6 +91,21 @@ describe Rufus::CronLine do
|
|
91
91
|
to_a(
|
92
92
|
'*/10 * * * *',
|
93
93
|
[ [0], [0, 10, 20, 30, 40, 50], nil, nil, nil, nil, nil, nil ])
|
94
|
+
|
95
|
+
# fighting https://github.com/jmettraux/rufus-scheduler/issues/65
|
96
|
+
#
|
97
|
+
to_a(
|
98
|
+
'*/10 * * * * Europe/Berlin',
|
99
|
+
[ [0], [ 0, 10, 20, 30, 40, 50], nil, nil, nil, nil, nil, 'Europe/Berlin' ])
|
100
|
+
end
|
101
|
+
|
102
|
+
it 'accepts lonely / (slashes) (like <= 2.0.19 did)' do
|
103
|
+
|
104
|
+
# fighting https://github.com/jmettraux/rufus-scheduler/issues/65
|
105
|
+
|
106
|
+
to_a(
|
107
|
+
'/10 * * * *',
|
108
|
+
[ [0], [ 0, 10, 20, 30, 40, 50], nil, nil, nil, nil, nil, nil ])
|
94
109
|
end
|
95
110
|
|
96
111
|
it 'does not support ranges for monthdays (sun#1-sun#2)' do
|
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: 2.0.
|
4
|
+
version: 2.0.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tzinfo
|