spok 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile.lock +48 -0
- data/README.md +10 -1
- data/lib/spok.rb +19 -4
- data/lib/spok/calendars.rb +47 -0
- data/lib/spok/config/australia.yml +233 -0
- data/lib/spok/config/austria.yml +1120 -0
- data/lib/spok/config/belgium.yml +861 -0
- data/lib/spok/config/bovespa.yml +2 -0
- data/lib/spok/config/{brasil.yml → brazil.yml} +1 -1
- data/lib/spok/config/colombia.yml +499 -0
- data/lib/spok/config/france.yml +522 -0
- data/lib/spok/config/germany.yml +775 -0
- data/lib/spok/config/guatemala.yml +948 -0
- data/lib/spok/config/india.yml +170 -0
- data/lib/spok/config/liechtenstein.yml +1119 -0
- data/lib/spok/config/singapore.yml +145 -0
- data/lib/spok/config/switzerland.yml +346 -0
- data/lib/spok/config/ukraine.yml +301 -0
- data/lib/spok/config/united_states.yml +454 -0
- data/lib/spok/version.rb +1 -1
- data/lib/spok/workday.rb +7 -31
- data/pkg/spok-2.0.0.gem +0 -0
- data/spec/fixtures/custom-calendar.yml +3 -0
- data/spec/lib/spok/calendars_spec.rb +6 -9
- data/spec/lib/spok/workday_spec.rb +17 -3
- data/spec/lib/spok_spec.rb +5 -5
- data/spok.gemspec +1 -1
- metadata +26 -10
- data/pkg/spok-1.0.0.gem +0 -0
@@ -0,0 +1,522 @@
|
|
1
|
+
---
|
2
|
+
france:
|
3
|
+
- 2000-01-01
|
4
|
+
- 2000-03-20
|
5
|
+
- 2000-03-26
|
6
|
+
- 2000-04-21
|
7
|
+
- 2000-04-23
|
8
|
+
- 2000-04-24
|
9
|
+
- 2000-05-01
|
10
|
+
- 2000-05-08
|
11
|
+
- 2000-05-28
|
12
|
+
- 2000-06-01
|
13
|
+
- 2000-06-11
|
14
|
+
- 2000-06-12
|
15
|
+
- 2000-06-18
|
16
|
+
- 2000-06-21
|
17
|
+
- 2000-07-14
|
18
|
+
- 2000-08-15
|
19
|
+
- 2000-09-22
|
20
|
+
- 2000-10-29
|
21
|
+
- 2000-11-01
|
22
|
+
- 2000-11-11
|
23
|
+
- 2000-12-21
|
24
|
+
- 2000-12-24
|
25
|
+
- 2000-12-25
|
26
|
+
- 2000-12-26
|
27
|
+
- 2000-12-31
|
28
|
+
- 2001-01-01
|
29
|
+
- 2001-03-20
|
30
|
+
- 2001-03-25
|
31
|
+
- 2001-04-13
|
32
|
+
- 2001-04-15
|
33
|
+
- 2001-04-16
|
34
|
+
- 2001-05-01
|
35
|
+
- 2001-05-08
|
36
|
+
- 2001-05-24
|
37
|
+
- 2001-05-27
|
38
|
+
- 2001-06-03
|
39
|
+
- 2001-06-04
|
40
|
+
- 2001-06-17
|
41
|
+
- 2001-06-21
|
42
|
+
- 2001-07-14
|
43
|
+
- 2001-08-15
|
44
|
+
- 2001-09-22
|
45
|
+
- 2001-10-28
|
46
|
+
- 2001-11-01
|
47
|
+
- 2001-11-11
|
48
|
+
- 2001-12-21
|
49
|
+
- 2001-12-24
|
50
|
+
- 2001-12-25
|
51
|
+
- 2001-12-26
|
52
|
+
- 2001-12-31
|
53
|
+
- 2002-01-01
|
54
|
+
- 2002-03-20
|
55
|
+
- 2002-03-29
|
56
|
+
- 2002-03-31
|
57
|
+
- 2002-03-31
|
58
|
+
- 2002-04-01
|
59
|
+
- 2002-05-01
|
60
|
+
- 2002-05-08
|
61
|
+
- 2002-05-09
|
62
|
+
- 2002-05-19
|
63
|
+
- 2002-05-20
|
64
|
+
- 2002-05-26
|
65
|
+
- 2002-06-16
|
66
|
+
- 2002-06-21
|
67
|
+
- 2002-07-14
|
68
|
+
- 2002-08-15
|
69
|
+
- 2002-09-23
|
70
|
+
- 2002-10-27
|
71
|
+
- 2002-11-01
|
72
|
+
- 2002-11-11
|
73
|
+
- 2002-12-22
|
74
|
+
- 2002-12-24
|
75
|
+
- 2002-12-25
|
76
|
+
- 2002-12-26
|
77
|
+
- 2002-12-31
|
78
|
+
- 2003-01-01
|
79
|
+
- 2003-03-21
|
80
|
+
- 2003-03-30
|
81
|
+
- 2003-04-18
|
82
|
+
- 2003-04-20
|
83
|
+
- 2003-04-21
|
84
|
+
- 2003-05-01
|
85
|
+
- 2003-05-08
|
86
|
+
- 2003-05-25
|
87
|
+
- 2003-05-29
|
88
|
+
- 2003-06-08
|
89
|
+
- 2003-06-09
|
90
|
+
- 2003-06-15
|
91
|
+
- 2003-06-21
|
92
|
+
- 2003-07-14
|
93
|
+
- 2003-08-15
|
94
|
+
- 2003-09-23
|
95
|
+
- 2003-10-26
|
96
|
+
- 2003-11-01
|
97
|
+
- 2003-11-11
|
98
|
+
- 2003-12-22
|
99
|
+
- 2003-12-24
|
100
|
+
- 2003-12-25
|
101
|
+
- 2003-12-26
|
102
|
+
- 2003-12-31
|
103
|
+
- 2004-01-01
|
104
|
+
- 2004-03-20
|
105
|
+
- 2004-03-28
|
106
|
+
- 2004-04-09
|
107
|
+
- 2004-04-11
|
108
|
+
- 2004-04-12
|
109
|
+
- 2004-05-01
|
110
|
+
- 2004-05-08
|
111
|
+
- 2004-05-20
|
112
|
+
- 2004-05-30
|
113
|
+
- 2004-05-31
|
114
|
+
- 2004-06-06
|
115
|
+
- 2004-06-20
|
116
|
+
- 2004-06-21
|
117
|
+
- 2004-07-14
|
118
|
+
- 2004-08-15
|
119
|
+
- 2004-09-22
|
120
|
+
- 2004-10-31
|
121
|
+
- 2004-11-01
|
122
|
+
- 2004-11-11
|
123
|
+
- 2004-12-21
|
124
|
+
- 2004-12-24
|
125
|
+
- 2004-12-25
|
126
|
+
- 2004-12-26
|
127
|
+
- 2004-12-31
|
128
|
+
- 2005-01-01
|
129
|
+
- 2005-03-20
|
130
|
+
- 2005-03-25
|
131
|
+
- 2005-03-27
|
132
|
+
- 2005-03-27
|
133
|
+
- 2005-03-28
|
134
|
+
- 2005-05-01
|
135
|
+
- 2005-05-05
|
136
|
+
- 2005-05-08
|
137
|
+
- 2005-05-15
|
138
|
+
- 2005-05-29
|
139
|
+
- 2005-06-19
|
140
|
+
- 2005-06-21
|
141
|
+
- 2005-07-14
|
142
|
+
- 2005-08-15
|
143
|
+
- 2005-09-22
|
144
|
+
- 2005-10-30
|
145
|
+
- 2005-11-01
|
146
|
+
- 2005-11-11
|
147
|
+
- 2005-12-21
|
148
|
+
- 2005-12-24
|
149
|
+
- 2005-12-25
|
150
|
+
- 2005-12-26
|
151
|
+
- 2005-12-31
|
152
|
+
- 2006-01-01
|
153
|
+
- 2006-03-20
|
154
|
+
- 2006-03-26
|
155
|
+
- 2006-04-14
|
156
|
+
- 2006-04-16
|
157
|
+
- 2006-04-17
|
158
|
+
- 2006-05-01
|
159
|
+
- 2006-05-08
|
160
|
+
- 2006-05-25
|
161
|
+
- 2006-05-28
|
162
|
+
- 2006-06-04
|
163
|
+
- 2006-06-18
|
164
|
+
- 2006-06-21
|
165
|
+
- 2006-07-14
|
166
|
+
- 2006-08-15
|
167
|
+
- 2006-09-23
|
168
|
+
- 2006-10-29
|
169
|
+
- 2006-11-01
|
170
|
+
- 2006-11-11
|
171
|
+
- 2006-12-22
|
172
|
+
- 2006-12-24
|
173
|
+
- 2006-12-25
|
174
|
+
- 2006-12-26
|
175
|
+
- 2006-12-31
|
176
|
+
- 2007-01-01
|
177
|
+
- 2007-03-21
|
178
|
+
- 2007-03-25
|
179
|
+
- 2007-04-06
|
180
|
+
- 2007-04-08
|
181
|
+
- 2007-04-09
|
182
|
+
- 2007-05-01
|
183
|
+
- 2007-05-08
|
184
|
+
- 2007-05-17
|
185
|
+
- 2007-05-27
|
186
|
+
- 2007-06-03
|
187
|
+
- 2007-06-17
|
188
|
+
- 2007-06-21
|
189
|
+
- 2007-07-14
|
190
|
+
- 2007-08-15
|
191
|
+
- 2007-09-23
|
192
|
+
- 2007-10-28
|
193
|
+
- 2007-11-01
|
194
|
+
- 2007-11-11
|
195
|
+
- 2007-12-22
|
196
|
+
- 2007-12-24
|
197
|
+
- 2007-12-25
|
198
|
+
- 2007-12-26
|
199
|
+
- 2007-12-31
|
200
|
+
- 2008-01-01
|
201
|
+
- 2008-03-20
|
202
|
+
- 2008-03-21
|
203
|
+
- 2008-03-23
|
204
|
+
- 2008-03-24
|
205
|
+
- 2008-03-30
|
206
|
+
- 2008-05-01
|
207
|
+
- 2008-05-01
|
208
|
+
- 2008-05-08
|
209
|
+
- 2008-05-11
|
210
|
+
- 2008-05-12
|
211
|
+
- 2008-05-25
|
212
|
+
- 2008-06-15
|
213
|
+
- 2008-06-20
|
214
|
+
- 2008-07-14
|
215
|
+
- 2008-08-15
|
216
|
+
- 2008-09-22
|
217
|
+
- 2008-10-26
|
218
|
+
- 2008-11-01
|
219
|
+
- 2008-11-11
|
220
|
+
- 2008-12-21
|
221
|
+
- 2008-12-24
|
222
|
+
- 2008-12-25
|
223
|
+
- 2008-12-26
|
224
|
+
- 2008-12-31
|
225
|
+
- 2009-01-01
|
226
|
+
- 2009-03-20
|
227
|
+
- 2009-03-29
|
228
|
+
- 2009-04-10
|
229
|
+
- 2009-04-12
|
230
|
+
- 2009-04-13
|
231
|
+
- 2009-05-01
|
232
|
+
- 2009-05-08
|
233
|
+
- 2009-05-21
|
234
|
+
- 2009-05-31
|
235
|
+
- 2009-06-01
|
236
|
+
- 2009-06-21
|
237
|
+
- 2009-06-21
|
238
|
+
- 2009-07-14
|
239
|
+
- 2009-08-15
|
240
|
+
- 2009-09-22
|
241
|
+
- 2009-10-25
|
242
|
+
- 2009-11-01
|
243
|
+
- 2009-11-11
|
244
|
+
- 2009-12-21
|
245
|
+
- 2009-12-24
|
246
|
+
- 2009-12-25
|
247
|
+
- 2009-12-26
|
248
|
+
- 2009-12-31
|
249
|
+
- 2010-01-01
|
250
|
+
- 2010-03-20
|
251
|
+
- 2010-03-28
|
252
|
+
- 2010-04-02
|
253
|
+
- 2010-04-04
|
254
|
+
- 2010-04-05
|
255
|
+
- 2010-05-01
|
256
|
+
- 2010-05-08
|
257
|
+
- 2010-05-13
|
258
|
+
- 2010-05-23
|
259
|
+
- 2010-05-24
|
260
|
+
- 2010-05-30
|
261
|
+
- 2010-06-20
|
262
|
+
- 2010-06-21
|
263
|
+
- 2010-07-14
|
264
|
+
- 2010-08-15
|
265
|
+
- 2010-09-23
|
266
|
+
- 2010-10-31
|
267
|
+
- 2010-11-01
|
268
|
+
- 2010-11-11
|
269
|
+
- 2010-12-21
|
270
|
+
- 2010-12-24
|
271
|
+
- 2010-12-25
|
272
|
+
- 2010-12-26
|
273
|
+
- 2010-12-31
|
274
|
+
- 2011-01-01
|
275
|
+
- 2011-03-20
|
276
|
+
- 2011-03-27
|
277
|
+
- 2011-04-22
|
278
|
+
- 2011-04-24
|
279
|
+
- 2011-04-25
|
280
|
+
- 2011-05-01
|
281
|
+
- 2011-05-08
|
282
|
+
- 2011-05-29
|
283
|
+
- 2011-06-02
|
284
|
+
- 2011-06-12
|
285
|
+
- 2011-06-13
|
286
|
+
- 2011-06-19
|
287
|
+
- 2011-06-21
|
288
|
+
- 2011-07-14
|
289
|
+
- 2011-08-15
|
290
|
+
- 2011-09-23
|
291
|
+
- 2011-10-30
|
292
|
+
- 2011-11-01
|
293
|
+
- 2011-11-11
|
294
|
+
- 2011-12-22
|
295
|
+
- 2011-12-24
|
296
|
+
- 2011-12-25
|
297
|
+
- 2011-12-26
|
298
|
+
- 2011-12-31
|
299
|
+
- 2012-01-01
|
300
|
+
- 2012-03-20
|
301
|
+
- 2012-03-25
|
302
|
+
- 2012-04-06
|
303
|
+
- 2012-04-08
|
304
|
+
- 2012-04-09
|
305
|
+
- 2012-05-01
|
306
|
+
- 2012-05-08
|
307
|
+
- 2012-05-17
|
308
|
+
- 2012-05-27
|
309
|
+
- 2012-05-28
|
310
|
+
- 2012-06-07
|
311
|
+
- 2012-06-17
|
312
|
+
- 2012-06-20
|
313
|
+
- 2012-07-14
|
314
|
+
- 2012-08-15
|
315
|
+
- 2012-09-22
|
316
|
+
- 2012-10-28
|
317
|
+
- 2012-11-01
|
318
|
+
- 2012-11-11
|
319
|
+
- 2012-12-21
|
320
|
+
- 2012-12-24
|
321
|
+
- 2012-12-25
|
322
|
+
- 2012-12-26
|
323
|
+
- 2012-12-31
|
324
|
+
- 2013-01-01
|
325
|
+
- 2013-03-20
|
326
|
+
- 2013-03-29
|
327
|
+
- 2013-03-31
|
328
|
+
- 2013-03-31
|
329
|
+
- 2013-04-01
|
330
|
+
- 2013-05-01
|
331
|
+
- 2013-05-08
|
332
|
+
- 2013-05-09
|
333
|
+
- 2013-05-19
|
334
|
+
- 2013-05-20
|
335
|
+
- 2013-05-26
|
336
|
+
- 2013-06-16
|
337
|
+
- 2013-06-21
|
338
|
+
- 2013-07-14
|
339
|
+
- 2013-08-15
|
340
|
+
- 2013-09-22
|
341
|
+
- 2013-10-27
|
342
|
+
- 2013-11-01
|
343
|
+
- 2013-11-11
|
344
|
+
- 2013-12-21
|
345
|
+
- 2013-12-24
|
346
|
+
- 2013-12-25
|
347
|
+
- 2013-12-26
|
348
|
+
- 2013-12-31
|
349
|
+
- 2014-01-01
|
350
|
+
- 2014-03-20
|
351
|
+
- 2014-03-30
|
352
|
+
- 2014-04-18
|
353
|
+
- 2014-04-20
|
354
|
+
- 2014-04-21
|
355
|
+
- 2014-05-01
|
356
|
+
- 2014-05-08
|
357
|
+
- 2014-05-25
|
358
|
+
- 2014-05-29
|
359
|
+
- 2014-06-08
|
360
|
+
- 2014-06-09
|
361
|
+
- 2014-06-15
|
362
|
+
- 2014-06-21
|
363
|
+
- 2014-07-14
|
364
|
+
- 2014-08-15
|
365
|
+
- 2014-09-23
|
366
|
+
- 2014-10-26
|
367
|
+
- 2014-11-01
|
368
|
+
- 2014-11-11
|
369
|
+
- 2014-12-21
|
370
|
+
- 2014-12-24
|
371
|
+
- 2014-12-25
|
372
|
+
- 2014-12-26
|
373
|
+
- 2014-12-31
|
374
|
+
- 2015-01-01
|
375
|
+
- 2015-03-20
|
376
|
+
- 2015-03-29
|
377
|
+
- 2015-04-03
|
378
|
+
- 2015-04-05
|
379
|
+
- 2015-04-06
|
380
|
+
- 2015-05-01
|
381
|
+
- 2015-05-08
|
382
|
+
- 2015-05-14
|
383
|
+
- 2015-05-24
|
384
|
+
- 2015-05-25
|
385
|
+
- 2015-05-31
|
386
|
+
- 2015-06-21
|
387
|
+
- 2015-06-21
|
388
|
+
- 2015-07-14
|
389
|
+
- 2015-08-15
|
390
|
+
- 2015-09-23
|
391
|
+
- 2015-10-25
|
392
|
+
- 2015-11-01
|
393
|
+
- 2015-11-11
|
394
|
+
- 2015-12-22
|
395
|
+
- 2015-12-24
|
396
|
+
- 2015-12-25
|
397
|
+
- 2015-12-26
|
398
|
+
- 2015-12-31
|
399
|
+
- 2016-01-01
|
400
|
+
- 2016-03-20
|
401
|
+
- 2016-03-25
|
402
|
+
- 2016-03-27
|
403
|
+
- 2016-03-27
|
404
|
+
- 2016-03-28
|
405
|
+
- 2016-05-01
|
406
|
+
- 2016-05-05
|
407
|
+
- 2016-05-08
|
408
|
+
- 2016-05-15
|
409
|
+
- 2016-05-16
|
410
|
+
- 2016-05-29
|
411
|
+
- 2016-06-19
|
412
|
+
- 2016-06-20
|
413
|
+
- 2016-07-14
|
414
|
+
- 2016-08-15
|
415
|
+
- 2016-09-22
|
416
|
+
- 2016-10-30
|
417
|
+
- 2016-11-01
|
418
|
+
- 2016-11-11
|
419
|
+
- 2016-12-21
|
420
|
+
- 2016-12-24
|
421
|
+
- 2016-12-25
|
422
|
+
- 2016-12-26
|
423
|
+
- 2016-12-31
|
424
|
+
- 2017-01-01
|
425
|
+
- 2017-03-20
|
426
|
+
- 2017-03-26
|
427
|
+
- 2017-04-14
|
428
|
+
- 2017-04-16
|
429
|
+
- 2017-04-17
|
430
|
+
- 2017-05-01
|
431
|
+
- 2017-05-08
|
432
|
+
- 2017-05-25
|
433
|
+
- 2017-05-28
|
434
|
+
- 2017-06-04
|
435
|
+
- 2017-06-05
|
436
|
+
- 2017-06-18
|
437
|
+
- 2017-06-21
|
438
|
+
- 2017-07-14
|
439
|
+
- 2017-08-15
|
440
|
+
- 2017-09-22
|
441
|
+
- 2017-10-29
|
442
|
+
- 2017-11-01
|
443
|
+
- 2017-11-11
|
444
|
+
- 2017-12-21
|
445
|
+
- 2017-12-24
|
446
|
+
- 2017-12-25
|
447
|
+
- 2017-12-26
|
448
|
+
- 2017-12-31
|
449
|
+
- 2018-01-01
|
450
|
+
- 2018-03-20
|
451
|
+
- 2018-03-25
|
452
|
+
- 2018-03-30
|
453
|
+
- 2018-04-01
|
454
|
+
- 2018-04-02
|
455
|
+
- 2018-05-01
|
456
|
+
- 2018-05-08
|
457
|
+
- 2018-05-10
|
458
|
+
- 2018-05-20
|
459
|
+
- 2018-05-21
|
460
|
+
- 2018-05-27
|
461
|
+
- 2018-06-17
|
462
|
+
- 2018-06-21
|
463
|
+
- 2018-07-14
|
464
|
+
- 2018-08-15
|
465
|
+
- 2018-09-23
|
466
|
+
- 2018-10-28
|
467
|
+
- 2018-11-01
|
468
|
+
- 2018-11-11
|
469
|
+
- 2018-12-21
|
470
|
+
- 2018-12-24
|
471
|
+
- 2018-12-25
|
472
|
+
- 2018-12-26
|
473
|
+
- 2018-12-31
|
474
|
+
- 2019-01-01
|
475
|
+
- 2019-03-20
|
476
|
+
- 2019-03-31
|
477
|
+
- 2019-04-19
|
478
|
+
- 2019-04-21
|
479
|
+
- 2019-04-22
|
480
|
+
- 2019-05-01
|
481
|
+
- 2019-05-08
|
482
|
+
- 2019-05-26
|
483
|
+
- 2019-05-30
|
484
|
+
- 2019-06-09
|
485
|
+
- 2019-06-10
|
486
|
+
- 2019-06-16
|
487
|
+
- 2019-06-21
|
488
|
+
- 2019-07-14
|
489
|
+
- 2019-08-15
|
490
|
+
- 2019-09-23
|
491
|
+
- 2019-10-27
|
492
|
+
- 2019-11-01
|
493
|
+
- 2019-11-11
|
494
|
+
- 2019-12-22
|
495
|
+
- 2019-12-24
|
496
|
+
- 2019-12-25
|
497
|
+
- 2019-12-26
|
498
|
+
- 2019-12-31
|
499
|
+
- 2020-01-01
|
500
|
+
- 2020-03-20
|
501
|
+
- 2020-03-29
|
502
|
+
- 2020-04-10
|
503
|
+
- 2020-04-12
|
504
|
+
- 2020-04-13
|
505
|
+
- 2020-05-01
|
506
|
+
- 2020-05-08
|
507
|
+
- 2020-05-21
|
508
|
+
- 2020-05-31
|
509
|
+
- 2020-06-01
|
510
|
+
- 2020-06-20
|
511
|
+
- 2020-06-21
|
512
|
+
- 2020-07-14
|
513
|
+
- 2020-08-15
|
514
|
+
- 2020-09-22
|
515
|
+
- 2020-10-25
|
516
|
+
- 2020-11-01
|
517
|
+
- 2020-11-11
|
518
|
+
- 2020-12-21
|
519
|
+
- 2020-12-24
|
520
|
+
- 2020-12-25
|
521
|
+
- 2020-12-26
|
522
|
+
- 2020-12-31
|