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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0726ffc63935eadf82e49459e993bf8b1eda96eb
4
- data.tar.gz: c22145d48434cc7c048561ee1f34efcff3eb7724
3
+ metadata.gz: 3021f9c41bdc280f708a200198ded01bd2fbeec0
4
+ data.tar.gz: f958ca9e1e244edb44eba8740414ce93ab5742d0
5
5
  SHA512:
6
- metadata.gz: 0e0563354945b408a5996c84af4e5777d32a7d2b395d39f0b8db7627a16b1d81bc7b0f7673b64765e87068ece1628c54a13a655d27190966d4ec4007ca81a681
7
- data.tar.gz: 4403940917553f50065674d72849f07330e0e162d8db88a5c83ce660cce3ae3490a0a981eb2f3d9dd5bb71ca357ef08e84120bbe08bcc7bc81b51b1277bbb075
6
+ metadata.gz: 3426c1d69d7508d85d76013d6416674275a4e29acd4d0c6e9f37b844102bb9949dbfac012a3975507abe8a875083a060e24502a5ce957084b616f318af473c93
7
+ data.tar.gz: f6ba01d88b5b042f624afadd449621f44c78c7bd544cddfdfb38009214e18ad5d28d846b2f0b356906374282e09dc051b632a9fa64dc5820560d514846ea49b0
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- I�+)A ӲDz2��͡94l4-�-)A}�4���a�;`6&�F9��qT�a��&��� g���ZM/=hp�a%G1d)߱�`lɀ` O_1�,a�݈�ƹ6e �s����E8�~[���v%Y4f �t���Dm���&og��vv�8�,�ׯ�`�^E0~�yܶ1K
2
- c�[����#�$5ȝoQ�#��ɬ�H k�b�8N�����xH�7�h��O�(N3y��}�:u<
3
- �i�8�L
1
+ �F����%9R�S1rVW��:�Z��b�}=wq�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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronic_cron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.29
4
+ version: 0.2.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file