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