chronic_cron 0.2.29 → 0.2.30
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -3
- data.tar.gz.sig +0 -0
- data/lib/chronic_cron.rb +8 -8
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3021f9c41bdc280f708a200198ded01bd2fbeec0
|
|
4
|
+
data.tar.gz: f958ca9e1e244edb44eba8740414ce93ab5742d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3426c1d69d7508d85d76013d6416674275a4e29acd4d0c6e9f37b844102bb9949dbfac012a3975507abe8a875083a060e24502a5ce957084b616f318af473c93
|
|
7
|
+
data.tar.gz: f6ba01d88b5b042f624afadd449621f44c78c7bd544cddfdfb38009214e18ad5d28d846b2f0b356906374282e09dc051b632a9fa64dc5820560d514846ea49b0
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
�i�8�L
|
|
1
|
+
�F����%9R�S�1rVW��:�Z��b�}=w�q�a�5�
|
|
2
|
+
i�����9]��4!ܽ��5H��q�`���6_��Jy��Q�|LYl���wx><.I
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/chronic_cron.rb
CHANGED
|
@@ -168,10 +168,10 @@ class ChronicCron
|
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
h = {
|
|
171
|
-
/first|1st/ => 0,
|
|
172
|
-
/second|2nd/ => 1,
|
|
173
|
-
/third|3rd/ => 2,
|
|
174
|
-
/fourth|4th|last/ => 3
|
|
171
|
+
/first|1st/i => 0,
|
|
172
|
+
/second|2nd/i => 1,
|
|
173
|
+
/third|3rd/i => 2,
|
|
174
|
+
/fourth|4th|last/i => 3
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
_, nweek = h.find{|k,_| nth_week[k]}
|
|
@@ -240,10 +240,10 @@ class ChronicCron
|
|
|
240
240
|
month = @now.month
|
|
241
241
|
|
|
242
242
|
h = {
|
|
243
|
-
/first|1st/ => '1-7',
|
|
244
|
-
/second|2nd/ => '8-14',
|
|
245
|
-
/third|3rd/ => '15-21',
|
|
246
|
-
/fourth|4th|last/ => '22-28'
|
|
243
|
+
/first|1st/i => '1-7',
|
|
244
|
+
/second|2nd/i => '8-14',
|
|
245
|
+
/third|3rd/i => '15-21',
|
|
246
|
+
/fourth|4th|last/i => '22-28'
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
_, day_range = h.find{|k,_| nth_week[k]}
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|