cronex 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e50033ab4a30d5fe6328b2e93e8469a24766a9fdf9b8cd56c3baaf19fc34393
4
- data.tar.gz: '082777debd639d38aa059420dda67939acd553fa6b7e95dd337c9b90cd84896e'
3
+ metadata.gz: e3a51fb3409de3413ab07468dc95a11c4278e0789c091721d3311f7ff8865ef5
4
+ data.tar.gz: '099d15aebd0d32f9f1d7a0afde6902ec1950e89aeca55a524bd7bd5ae92656a6'
5
5
  SHA512:
6
- metadata.gz: 98fdb7266076be0a18f445b9121662f796b01ec14bfd7c94bfc959d968191453668c69450f064e937436cc1ecbd86b28bb8fe367933cace832b92b117ca87462
7
- data.tar.gz: f4720ae3074f29f6c6b213840fd7aa1aec8f1fe2736320f0808fb3d1f72f33e9942ab22d49f57fa10fcf048c1775e946dc6d3cba304424903beebaef74be9700
6
+ metadata.gz: 99557f84fefcf01768fbd0c2700e1f3709f37a49acb3cb30bd983515bc8bd516bf94969758807f11877c0c377c75f0e8a644d7f99bcd1bd7c2351fb2efbf1e99
7
+ data.tar.gz: 334308c52136db887ce1eb96c62a671b12da401e4a0aea82780130689fe79512197811a2335dfd14ba51d46a87a9ce6c19991a94ce1a9afafde0ea45e0aea594
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2]
11
+ ruby-version: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
12
12
  name: Ruby ${{ matrix.ruby-version }}
13
13
  steps:
14
14
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### [0.15.0] - 2024-10-20
2
+ * Add dutch (nl) locale
3
+
4
+ ### [0.14.0] - 2024-06-28
5
+ * Update unicode dependency
6
+
1
7
  ### [0.13.0] - 2023-11-04
2
8
  * Fix zero hour
3
9
 
data/README.md CHANGED
@@ -24,6 +24,7 @@ For a quick intro to cron see Quartz [Cron Tutorial](http://www.quartz-scheduler
24
24
 
25
25
  * English
26
26
  * Brazilian
27
+ * Dutch
27
28
  * French
28
29
  * German
29
30
  * Italian
data/cronex.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_runtime_dependency 'tzinfo'
24
- spec.add_runtime_dependency 'unicode'
24
+ spec.add_runtime_dependency 'unicode', '>= 0.4.4.5'
25
25
  spec.add_development_dependency 'pry', '~> 0.10'
26
26
  spec.add_development_dependency 'rake', '>= 12.3.3'
27
27
  spec.add_development_dependency 'rspec', '~> 3.1'
@@ -1,3 +1,3 @@
1
1
  module Cronex
2
- VERSION = '0.13.0'
2
+ VERSION = '0.15.0'
3
3
  end
@@ -0,0 +1,76 @@
1
+ # resources_nl.yml
2
+ ---
3
+ expression_empty_exception: 'Expressie mag niet null of leeg zijn'
4
+ interval_description_format: 'elke %s dagen van de week'
5
+ between_description_format: '%s tot en met %s'
6
+ between_weekday_description_format: '%s tot en met %s'
7
+ on_the_day_of_the_month: 'op de {{nth}} %s van de maand'
8
+ on_the_of_the_month: 'op de %s van de maand'
9
+ on_the_last_of_the_month: 'op de laatste %s van de maand'
10
+ on_the_last_day_of_the_month: 'op de laatste dag van de maand'
11
+ on_the_last_weekday_of_the_month: 'op de laatste werkdag van de maand'
12
+ between_days_of_the_month: 'tussen dag %s en %s van de maand'
13
+ seconds_through_past_the_minute: 'seconden %s tot en met %s na de minuut'
14
+ between_x_and_y: 'tussen %s en %s'
15
+ past_the_hour: 'na het uur'
16
+ at_x_seconds_past_the_minute: 'op %s seconden na de minuut'
17
+ minutes_through_past_the_hour: 'minuten %s tot en met %s na het uur'
18
+ on_day_of_the_month: 'op dag %s van de maand'
19
+ last_day: 'de laatste dag'
20
+ first_weekday: 'eerste werkdag'
21
+ weekday_nearest_day: 'werkdag het dichtst bij dag %s'
22
+ starting: 'beginnend'
23
+ only_on: 'alleen op %s'
24
+ only_in: 'alleen in %s'
25
+ every_x_seconds: 'elke %s seconden'
26
+ every_minute_between: 'elke minuut tussen %s en %s'
27
+ every_second: 'elke seconde'
28
+ every_minute: 'elke minuut'
29
+ every_1_minute: 'elke 1 minuut'
30
+ every_hour: 'elk uur'
31
+ every_1_hour: 'elk 1 uur'
32
+ every_day: 'elke dag'
33
+ every_1_day: 'elke 1 dag'
34
+ every_year: 'elk jaar'
35
+ every_x: 'elke %s'
36
+ at_x: 'om %s'
37
+ on_x: 'op %s'
38
+ in_x: 'in %s'
39
+ first: eerste
40
+ second: tweede
41
+ third: derde
42
+ fourth: vierde
43
+ fifth: vijfde
44
+ time_pm: PM
45
+ time_am: AM
46
+ and: en
47
+ at: om
48
+ day: dag
49
+ days: dagen
50
+ hour: uur
51
+ hours: uren
52
+ minute: minuut
53
+ minutes: minuten
54
+ month: maand
55
+ months: maanden
56
+ year: jaar
57
+ years: jaren
58
+ monday: maandag
59
+ tuesday: dinsdag
60
+ wednesday: woensdag
61
+ thursday: donderdag
62
+ friday: vrijdag
63
+ saturday: zaterdag
64
+ sunday: zondag
65
+ january: januari
66
+ february: februari
67
+ march: maart
68
+ april: april
69
+ may: mei
70
+ june: juni
71
+ july: juli
72
+ august: augustus
73
+ september: september
74
+ october: oktober
75
+ november: november
76
+ december: december
@@ -0,0 +1,405 @@
1
+ # encoding: utf-8
2
+ require 'cronex'
3
+
4
+ module Cronex
5
+ describe ExpressionDescriptor do
6
+
7
+ def desc(expression, opts = {})
8
+ opts[:locale] = 'nl'
9
+ Cronex::ExpressionDescriptor.new(expression, opts).description
10
+ end
11
+
12
+ let(:opts) { { zero_based_dow: false } }
13
+
14
+ it 'every second' do
15
+ expect(desc('* * * * * *')).to eq('Elke seconde')
16
+ end
17
+
18
+ it 'every 45 seconds' do
19
+ expect(desc('*/45 * * * * *')).to eq('Elke 45 seconden')
20
+ end
21
+
22
+ it 'minute span' do
23
+ expect(desc('0-10 11 * * *')).to eq('Elke minuut tussen 11:00 AM en 11:10 AM')
24
+ end
25
+
26
+ context 'every minute' do
27
+ it 'every minute' do
28
+ expect(desc('* * * * *')).to eq('Elke minuut')
29
+ end
30
+
31
+ it 'every minute */1' do
32
+ expect(desc('*/1 * * * *')).to eq('Elke minuut')
33
+ end
34
+
35
+ it 'every minute 0 0/1' do
36
+ expect(desc('0 0/1 * * * ?')).to eq('Elke minuut')
37
+ end
38
+ end
39
+
40
+ context 'every X minutes:' do
41
+ it 'every 5 minutes' do
42
+ expect(desc('*/5 * * * *')).to eq('Elke 5 minuten')
43
+ end
44
+
45
+ it 'every 5 minutes at Midnight' do
46
+ expect(desc('*/5 0 * * *')).to eq('Elke 5 minuten, om 12:00 AM')
47
+ end
48
+
49
+ it 'every 5 minutes 0 */5' do
50
+ expect(desc('0 */5 * * * *')).to eq('Elke 5 minuten')
51
+ end
52
+
53
+ it 'every 10 minutes 0 0/10' do
54
+ expect(desc('0 0/10 * * * ?')).to eq('Elke 10 minuten')
55
+ end
56
+ end
57
+
58
+ context 'every hour:' do
59
+ it 'every hour 0 0' do
60
+ expect(desc('0 0 * * * ?')).to eq('Elk uur')
61
+ end
62
+
63
+ it 'every hour 0 0 0/1' do
64
+ expect(desc('0 0 0/1 * * ?')).to eq('Elk uur')
65
+ end
66
+ end
67
+
68
+ context 'daily:' do
69
+ it 'daily at /\d\d/:/\d\d/' do
70
+ expect(desc('30 11 * * *')).to eq('Om 11:30 AM')
71
+ end
72
+
73
+ it 'daily at /\d/:/\d/' do
74
+ expect(desc('9 8 * * *')).to eq('Om 8:09 AM')
75
+ end
76
+
77
+ it 'daily at /0[89]/:/0[89]/' do
78
+ expect(desc('09 08 * * *')).to eq('Om 8:09 AM')
79
+ end
80
+
81
+ it 'daily at /0[1-7]/ /0[1-7/' do
82
+ expect(desc('02 01 * * *')).to eq('Om 1:02 AM')
83
+ end
84
+ end
85
+
86
+ context 'time of day certain days of week:' do
87
+ it 'time of day on MON-FRI' do
88
+ expect(desc('0 23 ? * MON-FRI')).to eq('Om 11:00 PM, maandag tot en met vrijdag')
89
+ end
90
+
91
+ it 'time of day on 1-5' do
92
+ expect(desc('30 11 * * 1-5')).to eq('Om 11:30 AM, maandag tot en met vrijdag')
93
+ end
94
+ end
95
+
96
+ it 'one month only' do
97
+ expect(desc('* * * 3 *')).to eq('Elke minuut, alleen in maart')
98
+ end
99
+
100
+ it 'two months only' do
101
+ expect(desc('* * * 3,6 *')).to eq('Elke minuut, alleen in maart en juni')
102
+ end
103
+
104
+ it 'two times each afternoon' do
105
+ expect(desc('30 14,16 * * *')).to eq('Om 2:30 PM en 4:30 PM')
106
+ end
107
+
108
+ it 'three times daily' do
109
+ expect(desc('30 6,14,16 * * *')).to eq('Om 6:30 AM, 2:30 PM en 4:30 PM')
110
+ end
111
+
112
+ context 'once a week:' do
113
+ it 'once a week 0' do
114
+ expect(desc('46 9 * * 0')).to eq('Om 9:46 AM, alleen op zondag')
115
+ end
116
+
117
+ it 'once a week SUN' do
118
+ expect(desc('46 9 * * SUN')).to eq('Om 9:46 AM, alleen op zondag')
119
+ end
120
+
121
+ it 'once a week 7' do
122
+ expect(desc('46 9 * * 7')).to eq('Om 9:46 AM, alleen op zondag')
123
+ end
124
+
125
+ it 'once a week 1' do
126
+ expect(desc('46 9 * * 1')).to eq('Om 9:46 AM, alleen op maandag')
127
+ end
128
+
129
+ it 'once a week 6' do
130
+ expect(desc('46 9 * * 6')).to eq('Om 9:46 AM, alleen op zaterdag')
131
+ end
132
+ end
133
+
134
+ context 'once a week non zero based:' do
135
+ it 'once a week 1' do
136
+ expect(desc('46 9 * * 1', opts)).to eq('Om 9:46 AM, alleen op zondag')
137
+ end
138
+
139
+ it 'once a week SUN' do
140
+ expect(desc('46 9 * * SUN', opts)).to eq('Om 9:46 AM, alleen op zondag')
141
+ end
142
+
143
+ it 'once a week 2' do
144
+ expect(desc('46 9 * * 2', opts)).to eq('Om 9:46 AM, alleen op maandag')
145
+ end
146
+
147
+ it 'once a week 7' do
148
+ expect(desc('46 9 * * 7', opts)).to eq('Om 9:46 AM, alleen op zaterdag')
149
+ end
150
+ end
151
+
152
+ context 'twice a week:' do
153
+ it 'twice a week 1,2' do
154
+ expect(desc('46 9 * * 1,2')).to eq('Om 9:46 AM, alleen op maandag en dinsdag')
155
+ end
156
+
157
+ it 'twice a week MON,TUE' do
158
+ expect(desc('46 9 * * MON,TUE')).to eq('Om 9:46 AM, alleen op maandag en dinsdag')
159
+ end
160
+
161
+ it 'twice a week 0,6' do
162
+ expect(desc('46 9 * * 0,6')).to eq('Om 9:46 AM, alleen op zondag en zaterdag')
163
+ end
164
+
165
+ it 'twice a week 6,7' do
166
+ expect(desc('46 9 * * 6,7')).to eq('Om 9:46 AM, alleen op zaterdag en zondag')
167
+ end
168
+ end
169
+
170
+ context 'twice a week non zero based:' do
171
+ it 'twice a week 1,2' do
172
+ expect(desc('46 9 * * 1,2', opts)).to eq('Om 9:46 AM, alleen op zondag en maandag')
173
+ end
174
+
175
+ it 'twice a week SUN,MON' do
176
+ expect(desc('46 9 * * SUN,MON', opts)).to eq('Om 9:46 AM, alleen op zondag en maandag')
177
+ end
178
+
179
+ it 'twice a week 6,7' do
180
+ expect(desc('46 9 * * 6,7', opts)).to eq('Om 9:46 AM, alleen op vrijdag en zaterdag')
181
+ end
182
+ end
183
+
184
+ it 'day of month' do
185
+ expect(desc('23 12 15 * *')).to eq('Om 12:23 PM, op dag 15 van de maand')
186
+ end
187
+
188
+ it 'day of month with day of week' do
189
+ expect(desc('23 12 15 * SUN')).to eq('Om 12:23 PM, op dag 15 van de maand, alleen op zondag')
190
+ end
191
+
192
+ it 'month name' do
193
+ expect(desc('23 12 * JAN *')).to eq('Om 12:23 PM, alleen in januari')
194
+ end
195
+
196
+ it 'day of month with question mark' do
197
+ expect(desc('23 12 ? JAN *')).to eq('Om 12:23 PM, alleen in januari')
198
+ end
199
+
200
+ it 'month name range 2' do
201
+ expect(desc('23 12 * JAN-FEB *')).to eq('Om 12:23 PM, januari tot en met februari')
202
+ end
203
+
204
+ it 'month name range 3' do
205
+ expect(desc('23 12 * JAN-MAR *')).to eq('Om 12:23 PM, januari tot en met maart')
206
+ end
207
+
208
+ it 'day of week name' do
209
+ expect(desc('23 12 * * SUN')).to eq('Om 12:23 PM, alleen op zondag')
210
+ end
211
+
212
+ context 'day of week range:' do
213
+ it 'day of week range MON-FRI' do
214
+ expect(desc('*/5 15 * * MON-FRI')).to eq('Elke 5 minuten, om 3:00 PM, maandag tot en met vrijdag')
215
+ end
216
+
217
+ it 'day of week range 0-6' do
218
+ expect(desc('*/5 15 * * 0-6')).to eq('Elke 5 minuten, om 3:00 PM, zondag tot en met zaterdag')
219
+ end
220
+
221
+ it 'day of week range 6-7' do
222
+ expect(desc('*/5 15 * * 6-7')).to eq('Elke 5 minuten, om 3:00 PM, zaterdag tot en met zondag')
223
+ end
224
+ end
225
+
226
+ context 'day of week once in month:' do
227
+ it 'day of week once MON#3' do
228
+ expect(desc('* * * * MON#3')).to eq('Elke minuut, op de derde maandag van de maand')
229
+ end
230
+
231
+ it 'day of week once 0#3' do
232
+ expect(desc('* * * * 0#3')).to eq('Elke minuut, op de derde zondag van de maand')
233
+ end
234
+ end
235
+
236
+ context 'last day of week of the month:' do
237
+ it 'last day of week 4L' do
238
+ expect(desc('* * * * 4L')).to eq('Elke minuut, op de laatste donderdag van de maand')
239
+ end
240
+
241
+ it 'last day of week 0L' do
242
+ expect(desc('* * * * 0L')).to eq('Elke minuut, op de laatste zondag van de maand')
243
+ end
244
+ end
245
+
246
+ context 'last day of the month:' do
247
+ it 'on the last day of the month' do
248
+ expect(desc('*/5 * L JAN *')).to eq('Elke 5 minuten, op de laatste dag van de maand, alleen in januari')
249
+ end
250
+
251
+ it 'between a day and last day of the month' do
252
+ expect(desc('*/5 * 23-L JAN *')).to eq('Elke 5 minuten, tussen dag 23 en de laatste dag van de maand, alleen in januari')
253
+ end
254
+ end
255
+
256
+ it 'time of day with seconds' do
257
+ expect(desc('30 02 14 * * *')).to eq('Om 2:02:30 PM')
258
+ end
259
+
260
+ it 'second intervals' do
261
+ expect(desc('5-10 * * * * *')).to eq('Seconden 5 tot en met 10 na de minuut')
262
+ end
263
+
264
+ it 'second minutes hours intervals' do
265
+ expect(desc('5-10 30-35 10-12 * * *')).to eq(
266
+ 'Seconden 5 tot en met 10 na de minuut, minuten 30 tot en met 35 na het uur, tussen 10:00 AM en 12:59 PM')
267
+ end
268
+
269
+ it 'every 5 minutes at 30 seconds' do
270
+ expect(desc('30 */5 * * * *')).to eq('Op 30 seconden na de minuut, elke 5 minuten')
271
+ end
272
+
273
+ it 'minutes past the hour range' do
274
+ expect(desc('0 30 10-13 ? * WED,FRI')).to eq(
275
+ 'Om 30 minuten na het uur, tussen 10:00 AM en 1:59 PM, alleen op woensdag en vrijdag')
276
+ end
277
+
278
+ it 'seconds past the minute interval' do
279
+ expect(desc('10 0/5 * * * ?')).to eq('Op 10 seconden na de minuut, elke 5 minuten')
280
+ end
281
+
282
+ it 'between with interval' do
283
+ expect(desc('2-59/3 1,9,22 11-26 1-6 ?')).to eq(
284
+ 'Elke 3 minuten, minuten 02 tot en met 59 na het uur, om 1:00 AM, 9:00 AM en 10:00 PM, tussen dag 11 en 26 van de maand, januari tot en met juni')
285
+ end
286
+
287
+ it 'recurring first of month' do
288
+ expect(desc('0 0 6 1/1 * ?')).to eq('Om 6:00 AM')
289
+ end
290
+
291
+ it 'minutes past the hour' do
292
+ expect(desc('0 5 0/1 * * ?')).to eq('Om 05 minuten na het uur')
293
+ end
294
+
295
+ it 'every past the hour' do
296
+ expect(desc('0 0,5,10,15,20,25,30,35,40,45,50,55 * ? * *')).to eq(
297
+ 'Om 00, 05, 10, 15, 20, 25, 30, 35, 40, 45, 50 en 55 minuten na het uur')
298
+ end
299
+
300
+ it 'every X minutes past the hour with interval' do
301
+ expect(desc('0 0-30/2 17 ? * MON-FRI')).to eq(
302
+ 'Elke 2 minuten, minuten 00 tot en met 30 na het uur, om 5:00 PM, maandag tot en met vrijdag')
303
+ end
304
+
305
+ it 'every X days with interval' do
306
+ expect(desc('30 7 1-L/2 * *')).to eq('Om 7:30 AM, elke 2 dagen, tussen dag 1 en de laatste dag van de maand')
307
+ end
308
+
309
+ it 'one year only with seconds' do
310
+ expect(desc('* * * * * * 2013')).to eq('Elke seconde, alleen in 2013')
311
+ end
312
+
313
+ it 'one year only without seconds' do
314
+ expect(desc('* * * * * 2013')).to eq('Elke minuut, alleen in 2013')
315
+ end
316
+
317
+ it 'two years only' do
318
+ expect(desc('* * * * * 2013,2014')).to eq('Elke minuut, alleen in 2013 en 2014')
319
+ end
320
+
321
+ it 'year range 2' do
322
+ expect(desc('23 12 * JAN-FEB * 2013-2014')).to eq('Om 12:23 PM, januari tot en met februari, 2013 tot en met 2014')
323
+ end
324
+
325
+ it 'year range 3' do
326
+ expect(desc('23 12 * JAN-MAR * 2013-2015')).to eq('Om 12:23 PM, januari tot en met maart, 2013 tot en met 2015')
327
+ end
328
+
329
+ context 'multi part range seconds:' do
330
+ it 'multi part range seconds 2,4-5' do
331
+ expect(desc('2,4-5 1 * * *')).to eq('Minuten 02,04 tot en met 05 na het uur, om 1:00 AM')
332
+ end
333
+
334
+ it 'multi part range seconds 2,26-28' do
335
+ expect(desc('2,26-28 18 * * *')).to eq('Minuten 02,26 tot en met 28 na het uur, om 6:00 PM')
336
+ end
337
+ end
338
+
339
+ context 'minutes past the hour:' do
340
+ it 'minutes past the hour 5,10, midnight hour' do
341
+ expect(desc('5,10 0 * * *')).to eq('Om 05 en 10 minuten na het uur, om 12:00 AM')
342
+ end
343
+
344
+ it 'minutes past the hour 5,10' do
345
+ expect(desc('5,10 * * * *')).to eq('Om 05 en 10 minuten na het uur')
346
+ end
347
+
348
+ it 'minutes past the hour 5,10 day 2' do
349
+ expect(desc('5,10 * 2 * *')).to eq('Om 05 en 10 minuten na het uur, op dag 2 van de maand')
350
+ end
351
+
352
+ it 'minutes past the hour 5/10 day 2' do
353
+ expect(desc('5/10 * 2 * *')).to eq('Elke 10 minuten, beginnend om 05 minuten na het uur, op dag 2 van de maand')
354
+ end
355
+ end
356
+
357
+ context 'seconds past the minute:' do
358
+ it 'seconds past the minute 5,6, midnight hour' do
359
+ expect(desc('5,6 0 0 * * *')).to eq('Op 5 en 6 seconden na de minuut, om 12:00 AM')
360
+ end
361
+
362
+ it 'seconds past the minute 5,6' do
363
+ expect(desc('5,6 0 * * * *')).to eq('Op 5 en 6 seconden na de minuut')
364
+ end
365
+
366
+ it 'seconds past the minute 5,6 at 1' do
367
+ expect(desc('5,6 0 1 * * *')).to eq('Op 5 en 6 seconden na de minuut, om 1:00 AM')
368
+ end
369
+
370
+ it 'seconds past the minute 5,6 day 2' do
371
+ expect(desc('5,6 0 * 2 * *')).to eq('Op 5 en 6 seconden na de minuut, op dag 2 van de maand')
372
+ end
373
+ end
374
+
375
+ context 'increments starting at X > 1:' do
376
+ it 'second increments' do
377
+ expect(desc('5/15 0 * * * *')).to eq('Elke 15 seconden, beginnend op 5 seconden na de minuut')
378
+ end
379
+
380
+ it 'minute increments' do
381
+ expect(desc('30/10 * * * *')).to eq('Elke 10 minuten, beginnend om 30 minuten na het uur')
382
+ end
383
+
384
+ it 'hour increments' do
385
+ expect(desc('0 30 2/6 * * ?')).to eq('Om 30 minuten na het uur, elke 6 uren, beginnend om 2:00 AM')
386
+ end
387
+
388
+ it 'day of month increments' do
389
+ expect(desc('0 30 8 2/7 * *')).to eq('Om 8:30 AM, elke 7 dagen, beginnend op dag 2 van de maand')
390
+ end
391
+
392
+ it 'day of week increments' do
393
+ expect(desc('0 30 11 * * 2/2')).to eq('Om 11:30 AM, elke 2 dagen van de week, beginnend op dinsdag')
394
+ end
395
+
396
+ it 'month increments' do
397
+ expect(desc('0 20 10 * 2/3 THU')).to eq('Om 10:20 AM, alleen op donderdag, elke 3 maanden, beginnend in februari')
398
+ end
399
+
400
+ it 'year increments' do
401
+ expect(desc('0 0 0 1 MAR * 2010/5')).to eq('Om 12:00 AM, op dag 1 van de maand, alleen in maart, elke 5 jaren, beginnend in 2010')
402
+ end
403
+ end
404
+ end
405
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cronex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Kazaku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-04 00:00:00.000000000 Z
11
+ date: 2024-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.4.4.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.4.4.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +118,7 @@ files:
118
118
  - resources/resources_en.yml
119
119
  - resources/resources_fr.yml
120
120
  - resources/resources_it.yml
121
+ - resources/resources_nl.yml
121
122
  - resources/resources_pt_BR.yml
122
123
  - resources/resources_ro.yml
123
124
  - resources/resources_ru.yml
@@ -126,6 +127,7 @@ files:
126
127
  - spec/exp_descriptor_en_spec.rb
127
128
  - spec/exp_descriptor_fr_spec.rb
128
129
  - spec/exp_descriptor_it_spec.rb
130
+ - spec/exp_descriptor_nl_spec.rb
129
131
  - spec/exp_descriptor_pt_BR_spec.rb
130
132
  - spec/exp_descriptor_ro_spec.rb
131
133
  - spec/exp_descriptor_ru_spec.rb
@@ -149,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0'
151
153
  requirements: []
152
- rubygems_version: 3.1.4
154
+ rubygems_version: 3.5.3
153
155
  signing_key:
154
156
  specification_version: 4
155
157
  summary: Ruby library that converts cron expressions into human readable strings
@@ -159,6 +161,7 @@ test_files:
159
161
  - spec/exp_descriptor_en_spec.rb
160
162
  - spec/exp_descriptor_fr_spec.rb
161
163
  - spec/exp_descriptor_it_spec.rb
164
+ - spec/exp_descriptor_nl_spec.rb
162
165
  - spec/exp_descriptor_pt_BR_spec.rb
163
166
  - spec/exp_descriptor_ro_spec.rb
164
167
  - spec/exp_descriptor_ru_spec.rb