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,145 @@
|
|
1
|
+
---
|
2
|
+
singapore:
|
3
|
+
- 2008-01-01
|
4
|
+
- 2008-02-07
|
5
|
+
- 2008-02-08
|
6
|
+
- 2008-03-21
|
7
|
+
- 2008-05-01
|
8
|
+
- 2008-05-19
|
9
|
+
- 2008-08-09
|
10
|
+
- 2008-10-01
|
11
|
+
- 2008-10-28
|
12
|
+
- 2008-12-08
|
13
|
+
- 2008-12-25
|
14
|
+
- 2009-01-01
|
15
|
+
- 2009-01-26
|
16
|
+
- 2009-01-27
|
17
|
+
- 2009-04-10
|
18
|
+
- 2009-05-01
|
19
|
+
- 2009-05-09
|
20
|
+
- 2009-08-09
|
21
|
+
- 2009-09-20
|
22
|
+
- 2009-11-15
|
23
|
+
- 2009-11-27
|
24
|
+
- 2009-12-25
|
25
|
+
- 2010-01-01
|
26
|
+
- 2010-02-14
|
27
|
+
- 2010-02-15
|
28
|
+
- 2010-04-02
|
29
|
+
- 2010-05-01
|
30
|
+
- 2010-05-28
|
31
|
+
- 2010-08-09
|
32
|
+
- 2010-09-10
|
33
|
+
- 2010-11-05
|
34
|
+
- 2010-11-17
|
35
|
+
- 2010-12-25
|
36
|
+
- 2011-01-01
|
37
|
+
- 2011-02-03
|
38
|
+
- 2011-02-04
|
39
|
+
- 2011-04-22
|
40
|
+
- 2011-05-01
|
41
|
+
- 2011-05-17
|
42
|
+
- 2011-08-09
|
43
|
+
- 2011-08-30
|
44
|
+
- 2011-10-26
|
45
|
+
- 2011-11-06
|
46
|
+
- 2011-12-25
|
47
|
+
- 2012-01-01
|
48
|
+
- 2012-02-23
|
49
|
+
- 2012-02-24
|
50
|
+
- 2012-04-06
|
51
|
+
- 2012-05-01
|
52
|
+
- 2012-05-05
|
53
|
+
- 2012-08-09
|
54
|
+
- 2012-08-19
|
55
|
+
- 2012-10-26
|
56
|
+
- 2012-11-13
|
57
|
+
- 2012-12-25
|
58
|
+
- 2013-01-01
|
59
|
+
- 2013-02-10
|
60
|
+
- 2013-02-11
|
61
|
+
- 2013-03-29
|
62
|
+
- 2013-05-01
|
63
|
+
- 2013-05-24
|
64
|
+
- 2013-08-08
|
65
|
+
- 2013-08-09
|
66
|
+
- 2013-10-15
|
67
|
+
- 2013-11-03
|
68
|
+
- 2013-12-25
|
69
|
+
- 2014-01-01
|
70
|
+
- 2014-01-31
|
71
|
+
- 2014-02-01
|
72
|
+
- 2014-04-18
|
73
|
+
- 2014-05-01
|
74
|
+
- 2014-05-13
|
75
|
+
- 2014-07-28
|
76
|
+
- 2014-08-09
|
77
|
+
- 2014-10-05
|
78
|
+
- 2014-10-23
|
79
|
+
- 2014-12-25
|
80
|
+
- 2015-01-01
|
81
|
+
- 2015-02-19
|
82
|
+
- 2015-02-20
|
83
|
+
- 2015-04-03
|
84
|
+
- 2015-05-01
|
85
|
+
- 2015-06-01
|
86
|
+
- 2015-07-17
|
87
|
+
- 2015-08-09
|
88
|
+
- 2015-09-24
|
89
|
+
- 2015-11-10
|
90
|
+
- 2015-12-25
|
91
|
+
- 2016-01-01
|
92
|
+
- 2016-02-08
|
93
|
+
- 2016-02-09
|
94
|
+
- 2016-03-25
|
95
|
+
- 2016-05-01
|
96
|
+
- 2016-05-21
|
97
|
+
- 2016-07-06
|
98
|
+
- 2016-08-09
|
99
|
+
- 2016-09-12
|
100
|
+
- 2016-10-29
|
101
|
+
- 2016-12-25
|
102
|
+
- 2017-01-01
|
103
|
+
- 2017-01-28
|
104
|
+
- 2017-01-29
|
105
|
+
- 2017-04-14
|
106
|
+
- 2017-05-01
|
107
|
+
- 2017-05-10
|
108
|
+
- 2017-06-25
|
109
|
+
- 2017-08-09
|
110
|
+
- 2017-09-01
|
111
|
+
- 2017-10-18
|
112
|
+
- 2017-12-25
|
113
|
+
- 2018-01-01
|
114
|
+
- 2018-02-16
|
115
|
+
- 2018-02-17
|
116
|
+
- 2018-03-30
|
117
|
+
- 2018-05-01
|
118
|
+
- 2018-05-29
|
119
|
+
- 2018-06-15
|
120
|
+
- 2018-08-09
|
121
|
+
- 2018-08-22
|
122
|
+
- 2018-11-06
|
123
|
+
- 2018-12-25
|
124
|
+
- 2019-01-01
|
125
|
+
- 2019-02-05
|
126
|
+
- 2019-02-06
|
127
|
+
- 2019-04-19
|
128
|
+
- 2019-05-01
|
129
|
+
- 2019-05-19
|
130
|
+
- 2019-06-05
|
131
|
+
- 2019-08-09
|
132
|
+
- 2019-08-11
|
133
|
+
- 2019-10-27
|
134
|
+
- 2019-12-25
|
135
|
+
- 2020-01-01
|
136
|
+
- 2020-01-26
|
137
|
+
- 2020-01-27
|
138
|
+
- 2020-04-10
|
139
|
+
- 2020-05-01
|
140
|
+
- 2020-05-07
|
141
|
+
- 2020-05-24
|
142
|
+
- 2020-07-31
|
143
|
+
- 2020-08-09
|
144
|
+
- 2020-11-14
|
145
|
+
- 2020-12-25
|
@@ -0,0 +1,346 @@
|
|
1
|
+
---
|
2
|
+
switzerland:
|
3
|
+
- 1993-01-01
|
4
|
+
- 1993-05-20
|
5
|
+
- 1993-08-01
|
6
|
+
- 1993-12-25
|
7
|
+
- 1994-01-01
|
8
|
+
- 1994-05-12
|
9
|
+
- 1994-08-01
|
10
|
+
- 1994-12-25
|
11
|
+
- 1995-01-01
|
12
|
+
- 1995-05-25
|
13
|
+
- 1995-08-01
|
14
|
+
- 1995-12-25
|
15
|
+
- 1996-01-01
|
16
|
+
- 1996-05-16
|
17
|
+
- 1996-08-01
|
18
|
+
- 1996-12-25
|
19
|
+
- 1997-01-01
|
20
|
+
- 1997-05-08
|
21
|
+
- 1997-08-01
|
22
|
+
- 1997-12-25
|
23
|
+
- 1998-01-01
|
24
|
+
- 1998-05-21
|
25
|
+
- 1998-08-01
|
26
|
+
- 1998-12-25
|
27
|
+
- 1999-01-01
|
28
|
+
- 1999-05-13
|
29
|
+
- 1999-08-01
|
30
|
+
- 1999-12-25
|
31
|
+
- 2000-01-01
|
32
|
+
- 2000-06-01
|
33
|
+
- 2000-08-01
|
34
|
+
- 2000-12-25
|
35
|
+
- 2001-01-01
|
36
|
+
- 2001-05-24
|
37
|
+
- 2001-08-01
|
38
|
+
- 2001-12-25
|
39
|
+
- 2002-01-01
|
40
|
+
- 2002-05-09
|
41
|
+
- 2002-08-01
|
42
|
+
- 2002-12-25
|
43
|
+
- 2003-01-01
|
44
|
+
- 2003-05-29
|
45
|
+
- 2003-08-01
|
46
|
+
- 2003-12-25
|
47
|
+
- 2004-01-01
|
48
|
+
- 2004-05-20
|
49
|
+
- 2004-08-01
|
50
|
+
- 2004-12-25
|
51
|
+
- 2005-01-01
|
52
|
+
- 2005-05-05
|
53
|
+
- 2005-08-01
|
54
|
+
- 2005-12-25
|
55
|
+
- 2006-01-01
|
56
|
+
- 2006-05-25
|
57
|
+
- 2006-08-01
|
58
|
+
- 2006-12-25
|
59
|
+
- 2007-01-01
|
60
|
+
- 2007-05-17
|
61
|
+
- 2007-08-01
|
62
|
+
- 2007-12-25
|
63
|
+
- 2008-01-01
|
64
|
+
- 2008-05-01
|
65
|
+
- 2008-08-01
|
66
|
+
- 2008-12-25
|
67
|
+
- 2009-01-01
|
68
|
+
- 2009-05-21
|
69
|
+
- 2009-08-01
|
70
|
+
- 2009-12-25
|
71
|
+
- 2010-01-01
|
72
|
+
- 2010-05-13
|
73
|
+
- 2010-08-01
|
74
|
+
- 2010-12-25
|
75
|
+
- 2011-01-01
|
76
|
+
- 2011-06-02
|
77
|
+
- 2011-08-01
|
78
|
+
- 2011-12-25
|
79
|
+
- 2012-01-01
|
80
|
+
- 2012-05-17
|
81
|
+
- 2012-08-01
|
82
|
+
- 2012-12-25
|
83
|
+
- 2013-01-01
|
84
|
+
- 2013-05-09
|
85
|
+
- 2013-08-01
|
86
|
+
- 2013-12-25
|
87
|
+
- 2014-01-01
|
88
|
+
- 2014-05-29
|
89
|
+
- 2014-08-01
|
90
|
+
- 2014-12-25
|
91
|
+
- 2015-01-01
|
92
|
+
- 2015-05-14
|
93
|
+
- 2015-08-01
|
94
|
+
- 2015-12-25
|
95
|
+
- 2016-01-01
|
96
|
+
- 2016-05-05
|
97
|
+
- 2016-08-01
|
98
|
+
- 2016-12-25
|
99
|
+
- 2017-01-01
|
100
|
+
- 2017-05-25
|
101
|
+
- 2017-08-01
|
102
|
+
- 2017-12-25
|
103
|
+
- 2018-01-01
|
104
|
+
- 2018-05-10
|
105
|
+
- 2018-08-01
|
106
|
+
- 2018-12-25
|
107
|
+
- 2019-01-01
|
108
|
+
- 2019-05-30
|
109
|
+
- 2019-08-01
|
110
|
+
- 2019-12-25
|
111
|
+
- 2020-01-01
|
112
|
+
- 2020-05-21
|
113
|
+
- 2020-08-01
|
114
|
+
- 2020-12-25
|
115
|
+
- 2021-01-01
|
116
|
+
- 2021-05-13
|
117
|
+
- 2021-08-01
|
118
|
+
- 2021-12-25
|
119
|
+
- 2022-01-01
|
120
|
+
- 2022-05-26
|
121
|
+
- 2022-08-01
|
122
|
+
- 2022-12-25
|
123
|
+
- 2023-01-01
|
124
|
+
- 2023-05-18
|
125
|
+
- 2023-08-01
|
126
|
+
- 2023-12-25
|
127
|
+
- 2024-01-01
|
128
|
+
- 2024-05-09
|
129
|
+
- 2024-08-01
|
130
|
+
- 2024-12-25
|
131
|
+
- 2025-01-01
|
132
|
+
- 2025-05-29
|
133
|
+
- 2025-08-01
|
134
|
+
- 2025-12-25
|
135
|
+
- 2026-01-01
|
136
|
+
- 2026-05-14
|
137
|
+
- 2026-08-01
|
138
|
+
- 2026-12-25
|
139
|
+
- 2027-01-01
|
140
|
+
- 2027-05-06
|
141
|
+
- 2027-08-01
|
142
|
+
- 2027-12-25
|
143
|
+
- 2028-01-01
|
144
|
+
- 2028-05-25
|
145
|
+
- 2028-08-01
|
146
|
+
- 2028-12-25
|
147
|
+
- 2029-01-01
|
148
|
+
- 2029-05-10
|
149
|
+
- 2029-08-01
|
150
|
+
- 2029-12-25
|
151
|
+
- 2030-01-01
|
152
|
+
- 2030-05-30
|
153
|
+
- 2030-08-01
|
154
|
+
- 2030-12-25
|
155
|
+
- 2031-01-01
|
156
|
+
- 2031-05-22
|
157
|
+
- 2031-08-01
|
158
|
+
- 2031-12-25
|
159
|
+
- 2032-01-01
|
160
|
+
- 2032-05-06
|
161
|
+
- 2032-08-01
|
162
|
+
- 2032-12-25
|
163
|
+
- 2033-01-01
|
164
|
+
- 2033-05-26
|
165
|
+
- 2033-08-01
|
166
|
+
- 2033-12-25
|
167
|
+
- 2034-01-01
|
168
|
+
- 2034-05-18
|
169
|
+
- 2034-08-01
|
170
|
+
- 2034-12-25
|
171
|
+
- 2035-01-01
|
172
|
+
- 2035-05-03
|
173
|
+
- 2035-08-01
|
174
|
+
- 2035-12-25
|
175
|
+
- 2036-01-01
|
176
|
+
- 2036-05-22
|
177
|
+
- 2036-08-01
|
178
|
+
- 2036-12-25
|
179
|
+
- 2037-01-01
|
180
|
+
- 2037-05-14
|
181
|
+
- 2037-08-01
|
182
|
+
- 2037-12-25
|
183
|
+
- 2038-01-01
|
184
|
+
- 2038-06-03
|
185
|
+
- 2038-08-01
|
186
|
+
- 2038-12-25
|
187
|
+
- 2039-01-01
|
188
|
+
- 2039-05-19
|
189
|
+
- 2039-08-01
|
190
|
+
- 2039-12-25
|
191
|
+
- 2040-01-01
|
192
|
+
- 2040-05-10
|
193
|
+
- 2040-08-01
|
194
|
+
- 2040-12-25
|
195
|
+
- 2041-01-01
|
196
|
+
- 2041-05-30
|
197
|
+
- 2041-08-01
|
198
|
+
- 2041-12-25
|
199
|
+
- 2042-01-01
|
200
|
+
- 2042-05-15
|
201
|
+
- 2042-08-01
|
202
|
+
- 2042-12-25
|
203
|
+
- 2043-01-01
|
204
|
+
- 2043-05-07
|
205
|
+
- 2043-08-01
|
206
|
+
- 2043-12-25
|
207
|
+
- 2044-01-01
|
208
|
+
- 2044-05-26
|
209
|
+
- 2044-08-01
|
210
|
+
- 2044-12-25
|
211
|
+
- 2045-01-01
|
212
|
+
- 2045-05-18
|
213
|
+
- 2045-08-01
|
214
|
+
- 2045-12-25
|
215
|
+
- 2046-01-01
|
216
|
+
- 2046-05-03
|
217
|
+
- 2046-08-01
|
218
|
+
- 2046-12-25
|
219
|
+
- 2047-01-01
|
220
|
+
- 2047-05-23
|
221
|
+
- 2047-08-01
|
222
|
+
- 2047-12-25
|
223
|
+
- 2048-01-01
|
224
|
+
- 2048-05-14
|
225
|
+
- 2048-08-01
|
226
|
+
- 2048-12-25
|
227
|
+
- 2049-01-01
|
228
|
+
- 2049-05-27
|
229
|
+
- 2049-08-01
|
230
|
+
- 2049-12-25
|
231
|
+
- 2050-01-01
|
232
|
+
- 2050-05-19
|
233
|
+
- 2050-08-01
|
234
|
+
- 2050-12-25
|
235
|
+
- 2051-01-01
|
236
|
+
- 2051-05-11
|
237
|
+
- 2051-08-01
|
238
|
+
- 2051-12-25
|
239
|
+
- 2052-01-01
|
240
|
+
- 2052-05-30
|
241
|
+
- 2052-08-01
|
242
|
+
- 2052-12-25
|
243
|
+
- 2053-01-01
|
244
|
+
- 2053-05-15
|
245
|
+
- 2053-08-01
|
246
|
+
- 2053-12-25
|
247
|
+
- 2054-01-01
|
248
|
+
- 2054-05-07
|
249
|
+
- 2054-08-01
|
250
|
+
- 2054-12-25
|
251
|
+
- 2055-01-01
|
252
|
+
- 2055-05-27
|
253
|
+
- 2055-08-01
|
254
|
+
- 2055-12-25
|
255
|
+
- 2056-01-01
|
256
|
+
- 2056-05-11
|
257
|
+
- 2056-08-01
|
258
|
+
- 2056-12-25
|
259
|
+
- 2057-01-01
|
260
|
+
- 2057-05-31
|
261
|
+
- 2057-08-01
|
262
|
+
- 2057-12-25
|
263
|
+
- 2058-01-01
|
264
|
+
- 2058-05-23
|
265
|
+
- 2058-08-01
|
266
|
+
- 2058-12-25
|
267
|
+
- 2059-01-01
|
268
|
+
- 2059-05-08
|
269
|
+
- 2059-08-01
|
270
|
+
- 2059-12-25
|
271
|
+
- 2060-01-01
|
272
|
+
- 2060-05-27
|
273
|
+
- 2060-08-01
|
274
|
+
- 2060-12-25
|
275
|
+
- 2061-01-01
|
276
|
+
- 2061-05-19
|
277
|
+
- 2061-08-01
|
278
|
+
- 2061-12-25
|
279
|
+
- 2062-01-01
|
280
|
+
- 2062-05-04
|
281
|
+
- 2062-08-01
|
282
|
+
- 2062-12-25
|
283
|
+
- 2063-01-01
|
284
|
+
- 2063-05-24
|
285
|
+
- 2063-08-01
|
286
|
+
- 2063-12-25
|
287
|
+
- 2064-01-01
|
288
|
+
- 2064-05-15
|
289
|
+
- 2064-08-01
|
290
|
+
- 2064-12-25
|
291
|
+
- 2065-01-01
|
292
|
+
- 2065-05-07
|
293
|
+
- 2065-08-01
|
294
|
+
- 2065-12-25
|
295
|
+
- 2066-01-01
|
296
|
+
- 2066-05-20
|
297
|
+
- 2066-08-01
|
298
|
+
- 2066-12-25
|
299
|
+
- 2067-01-01
|
300
|
+
- 2067-05-12
|
301
|
+
- 2067-08-01
|
302
|
+
- 2067-12-25
|
303
|
+
- 2068-01-01
|
304
|
+
- 2068-05-31
|
305
|
+
- 2068-08-01
|
306
|
+
- 2068-12-25
|
307
|
+
- 2069-01-01
|
308
|
+
- 2069-05-23
|
309
|
+
- 2069-08-01
|
310
|
+
- 2069-12-25
|
311
|
+
- 2070-01-01
|
312
|
+
- 2070-05-08
|
313
|
+
- 2070-08-01
|
314
|
+
- 2070-12-25
|
315
|
+
- 2071-01-01
|
316
|
+
- 2071-05-28
|
317
|
+
- 2071-08-01
|
318
|
+
- 2071-12-25
|
319
|
+
- 2072-01-01
|
320
|
+
- 2072-05-19
|
321
|
+
- 2072-08-01
|
322
|
+
- 2072-12-25
|
323
|
+
- 2073-01-01
|
324
|
+
- 2073-05-04
|
325
|
+
- 2073-08-01
|
326
|
+
- 2073-12-25
|
327
|
+
- 2074-01-01
|
328
|
+
- 2074-05-24
|
329
|
+
- 2074-08-01
|
330
|
+
- 2074-12-25
|
331
|
+
- 2075-01-01
|
332
|
+
- 2075-05-16
|
333
|
+
- 2075-08-01
|
334
|
+
- 2075-12-25
|
335
|
+
- 2076-01-01
|
336
|
+
- 2076-05-28
|
337
|
+
- 2076-08-01
|
338
|
+
- 2076-12-25
|
339
|
+
- 2077-01-01
|
340
|
+
- 2077-05-20
|
341
|
+
- 2077-08-01
|
342
|
+
- 2077-12-25
|
343
|
+
- 2078-01-01
|
344
|
+
- 2078-05-12
|
345
|
+
- 2078-08-01
|
346
|
+
- 2078-12-25
|