holidays 8.7.1 → 8.8.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: 572db74799733f361987b49b2e749a1f5953368bd56f89dedab02f217b86167c
4
- data.tar.gz: 9a6bfce2599a6deb49ce351fcca8ea8fdc799b42fcd29c8cb0d9ed71185cefa2
3
+ metadata.gz: 541f4a1cdcc966e2a4fcd290406ce35e0fe5318066ecfbe5dc3e3c7808fc6462
4
+ data.tar.gz: a0344504afac759b54975ce9e32c0148382f1623fa2e6bd59ca908f41c43a6d1
5
5
  SHA512:
6
- metadata.gz: dfe795b467494aaf0eb595f6355bf98ba9bbc503c065491261a498bb745db3d35ce38c6d5a9edefa1eee641bd8bd71838e2571220d5c3ffa58231a069688e401
7
- data.tar.gz: 688be4308f0721b7a8ba6fa7e4e8bed668facab50132f266ab8fca1c9466e25677f917029dc9ce1a6862a4fd0df860822c10a891cc5d9d5c3ab020834484e7e7
6
+ metadata.gz: 2e898308850d254f87f84c9a3eb664f81f5306654737c82268c294b8f55764cd6fc5ae152e8e6d4936cf0b509ff9beeb4189ec89ec9579e19d85d6a86d840b3a
7
+ data.tar.gz: d73797c2f24d6026de777dcd2a3b8d0e4fcbe84e2d1cad68db59f53f9054d43e41922f810491e9317e48b2f42cce3056ac7af8bdb18d19969a0b26639759acf7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ruby Holidays Gem CHANGELOG
2
2
 
3
+ ## 8.8.0
4
+
5
+ * Update to [v5.7.4 definitions](https://github.com/holidays/definitions/releases/tag/v5.7.4). Please see the changelog for the definition details.
6
+
3
7
  ## 8.7.1
4
8
 
5
9
  * Fix testing issues and github action config, no behavior changes
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Holidays Gem [![Build Status](https://travis-ci.org/holidays/holidays.svg?branch=master)](https://travis-ci.org/holidays/holidays)
1
+ # Ruby Holidays Gem [![Build Status](https://github.com/holidays/holidays/actions/workflows/ruby.yml/badge.svg)](https://github.com/holidays/holidays/actions/workflows/ruby.yml)
2
2
 
3
3
  Functionality to deal with holidays in Ruby.
4
4
 
@@ -21,6 +21,7 @@ This gem is tested with the following ruby versions:
21
21
  * 3.0.6
22
22
  * 3.1.4
23
23
  * 3.2.2
24
+ * 3.3.0
24
25
  * JRuby 9.2.21.0
25
26
  * JRuby 9.4.2.0
26
27
 
@@ -45,23 +46,23 @@ This gem offers multiple ways to check for holidays for a variety of scenarios.
45
46
 
46
47
  Get all holidays on April 25, 2008 in Australia:
47
48
 
48
- ```
49
- Holidays.on(Date.civil(2008, 4, 25), :au)
49
+ ```ruby
50
+ Holidays.on(Date.new(2008, 4, 25), :au)
50
51
  => [{:name => 'ANZAC Day',...}]
51
52
  ```
52
53
 
53
54
  You can check multiple regions in a single call:
54
55
 
55
- ```
56
- Holidays.on(Date.civil(2008, 1, 1), :us, :fr)
56
+ ```ruby
57
+ Holidays.on(Date.new(2008, 1, 1), :us, :fr)
57
58
  => [{:name=>"New Year's Day", :regions=>[:us],...},
58
59
  {:name=>"Jour de l'an", :regions=>[:fr],...}]
59
60
  ```
60
61
 
61
62
  You can leave off 'regions' to get holidays for any region in our [definitions](https://github.com/holidays/definitions):
62
63
 
63
- ```
64
- Holidays.on(Date.civil(2007, 4, 25))
64
+ ```ruby
65
+ Holidays.on(Date.new(2007, 4, 25))
65
66
  => [{:name=>"ANZAC Day", :regions=>[:au],...},
66
67
  {:name=>"Festa della Liberazione", :regions=>[:it],...},
67
68
  {:name=>"Dia da Liberdade", :regions=>[:pt],...}
@@ -73,9 +74,9 @@ You can leave off 'regions' to get holidays for any region in our [definitions](
73
74
 
74
75
  Get all holidays during the month of July 2008 in Canada and the US:
75
76
 
76
- ```
77
- from = Date.civil(2008,7,1)
78
- to = Date.civil(2008,7,31)
77
+ ```ruby
78
+ from = Date.new(2008,7,1)
79
+ to = Date.new(2008,7,31)
79
80
 
80
81
  Holidays.between(from, to, :ca, :us)
81
82
  => [{:name => 'Canada Day',...}
@@ -90,23 +91,23 @@ By default this flag is turned off, meaning no informal holidays will be returne
90
91
 
91
92
  Get Valentine's Day in the US:
92
93
 
93
- ```
94
+ ```ruby
94
95
  Holidays.on(Date.new(2018, 2, 14), :us, :informal)
95
96
  => [{:name=>"Valentine's Day",...}]
96
97
  ```
97
98
 
98
99
  Leaving off 'informal' will mean that Valentine's Day is not returned:
99
100
 
100
- ```
101
+ ```ruby
101
102
  Holidays.on(Date.new(2018, 2, 14), :us)
102
103
  => []
103
104
  ```
104
105
 
105
106
  Get informal holidays during the month of February 2008 for any region:
106
107
 
107
- ```
108
- from = Date.civil(2008,2,1)
109
- to = Date.civil(2008,2,15)
108
+ ```ruby
109
+ from = Date.new(2008,2,1)
110
+ to = Date.new(2008,2,15)
110
111
 
111
112
  Holidays.between(from, to, :informal)
112
113
  => [{:name => 'Valentine\'s Day',...}]
@@ -120,25 +121,26 @@ By default this flag is turned off, meaning no observed logic will be applied.
120
121
 
121
122
  Get holidays that are observed on Monday July 2, 2007 in British Columbia, Canada:
122
123
 
123
- ```
124
- Holidays.on(Date.civil(2007, 7, 2), :ca_bc, :observed)
124
+ ```ruby
125
+ Holidays.on(Date.new(2007, 7, 2), :ca_bc, :observed)
125
126
  => [{:name => 'Canada Day',...}]
126
127
  ```
127
128
 
128
129
  Leaving off the 'observed' flag will mean that 'Canada Day' is not returned since it actually falls on Sunday July 1:
129
130
 
130
- ```
131
- Holidays.on(Date.civil(2007, 7, 2), :ca_bc)
131
+ ```ruby
132
+ Holidays.on(Date.new(2007, 7, 2), :ca_bc)
132
133
  => []
133
- Holidays.on(Date.civil(2007, 7, 1), :ca_bc)
134
+
135
+ Holidays.on(Date.new(2007, 7, 1), :ca_bc)
134
136
  => [{:name=>"Canada Day", :regions=>[:ca],...}]
135
137
  ```
136
138
 
137
139
  Get all observed US Federal holidays between 2018 and 2019:
138
140
 
139
- ```
140
- from = Date.civil(2018,1,1)
141
- to = Date.civil(2019,12,31)
141
+ ```ruby
142
+ from = Date.new(2018,1,1)
143
+ to = Date.new(2019,12,31)
142
144
 
143
145
  Holidays.between(from, to, :federalreserve, :observed)
144
146
  => [{:name => "New Year's Day"....}
@@ -151,25 +153,28 @@ Check if there are any holidays taking place during a specified work week. 'Work
151
153
 
152
154
  Check whether a holiday falls during first week of the year for any region:
153
155
 
154
- ```
155
- Holidays.any_holidays_during_work_week?(Date.civil(2016, 1, 1))
156
+ ```ruby
157
+ Holidays.any_holidays_during_work_week?(Date.new(2016, 1, 1))
156
158
  => true
157
159
  ```
158
160
 
159
161
  You can also pass in `informal` or `observed`:
160
162
 
161
- ```
163
+ ```ruby
162
164
  # Returns true since Valentine's Day falls on a Wednesday
163
- holidays.any_holidays_during_work_week?(date.civil(2018, 2, 14), :us, :informal)
165
+ Holidays.any_holidays_during_work_week?(Date.new(2018, 2, 14), :us, :informal)
164
166
  => true
167
+
165
168
  # Returns false if you don't specify informal
166
- irb(main):006:0> Holidays.any_holidays_during_work_week?(Date.civil(2018, 2, 14), :us)
169
+ Holidays.any_holidays_during_work_week?(Date.new(2018, 2, 14), :us)
167
170
  => false
171
+
168
172
  # Returns true since Veteran's Day is observed on Monday November 12, 2018
169
- holidays.any_holidays_during_work_week?(date.civil(2018, 11, 12), :us, :observed)
173
+ Holidays.any_holidays_during_work_week?(Date.new(2018, 11, 12), :us, :observed)
170
174
  => true
175
+
171
176
  # Returns false if you don't specify observed since the actual holiday is on Sunday November 11th 2018
172
- irb(main):005:0> Holidays.any_holidays_during_work_week?(Date.civil(2018, 11, 12), :us)
177
+ Holidays.any_holidays_during_work_week?(Date.new(2018, 11, 12), :us)
173
178
  => false
174
179
  ```
175
180
 
@@ -177,21 +182,21 @@ irb(main):005:0> Holidays.any_holidays_during_work_week?(Date.civil(2018, 11, 12
177
182
 
178
183
  Get the next holidays occurring from February 23, 2016 for the US:
179
184
 
180
- ```
181
- Holidays.next_holidays(3, [:us, :informal], Date.civil(2016, 2, 23))
185
+ ```ruby
186
+ Holidays.next_holidays(3, [:us, :informal], Date.new(2016, 2, 23))
182
187
  => [{:name => "St. Patrick's Day",...}, {:name => "Good Friday",...}, {:name => "Easter Sunday",...}]
183
188
  ```
184
189
 
185
190
  You can specify the number of holidays to return. This method will default to `Date.today` if no date is provided.
186
191
 
187
- #### Find all holidays occuring starting from a specific date to the end of the year
192
+ #### Find all holidays occurring starting from a specific date to the end of the year
188
193
 
189
194
  Get all holidays starting from February 23, 2016 to end of year in the US:
190
195
 
191
- ```
192
- Holidays.year_holidays([:ca_on], Date.civil(2016, 2, 23))
196
+ ```ruby
197
+ Holidays.year_holidays([:ca_on], Date.new(2016, 2, 23))
193
198
  => [{:name=>"Good Friday",...},
194
- {name=>"Easter Sunday",...},
199
+ {:name=>"Easter Sunday",...},
195
200
  {:name=>"Victoria Day",...},
196
201
  {:name=>"Canada Day",...},
197
202
  {:name=>"Civic Holiday",...},
@@ -208,7 +213,7 @@ This method will default to `Date.today` if no date is provided.
208
213
 
209
214
  Return all available regions:
210
215
 
211
- ```
216
+ ```ruby
212
217
  Holidays.available_regions
213
218
  => [:ar, :at, ..., :sg] # this will be a big array
214
219
  ```
@@ -219,18 +224,21 @@ In addition to the [provided definitions](https://github.com/holidays/definition
219
224
 
220
225
  To load custom 'Company Founding' holiday on June 1st:
221
226
 
222
- ```
227
+ ```ruby
223
228
  Holidays.load_custom('/home/user/holiday_definitions/custom_holidays.yaml')
224
- Holidays.on(Date.civil(2013, 6, 1), :my_custom_region)
225
- => [{:name => 'Company Founding',...}]
229
+ Holidays.on(Date.new(2013, 6, 1), :my_custom_region)
230
+ => [{:name => 'Company Founding',...}]
226
231
  ```
227
232
 
228
233
  Custom definition files must match the [syntax of the existing definition files](https://github.com/holidays/definitions/blob/master/doc/SYNTAX.md).
229
234
 
230
235
  Multiple files can be loaded at the same time:
231
236
 
232
- ```
233
- Holidays.load_custom('/home/user/holidays/custom_holidays1.yaml', '/home/user/holidays/custom_holidays2.yaml')
237
+ ```ruby
238
+ Holidays.load_custom(
239
+ '/home/user/holidays/custom_holidays1.yaml',
240
+ '/home/user/holidays/custom_holidays2.yaml'
241
+ )
234
242
  ```
235
243
 
236
244
  ## Extending Ruby's Date and Time classes
@@ -239,8 +247,9 @@ Holidays.load_custom('/home/user/holidays/custom_holidays1.yaml', '/home/user/ho
239
247
 
240
248
  To extend the 'Date' class:
241
249
 
242
- ```
250
+ ```ruby
243
251
  require 'holidays/core_extensions/date'
252
+
244
253
  class Date
245
254
  include Holidays::CoreExtensions::Date
246
255
  end
@@ -248,8 +257,8 @@ end
248
257
 
249
258
  Now you can check which holidays occur in Iceland on January 1, 2008:
250
259
 
251
- ```
252
- d = Date.civil(2008,7,1)
260
+ ```ruby
261
+ d = Date.new(2008,7,1)
253
262
 
254
263
  d.holidays(:is)
255
264
  => [{:name => 'Nýársdagur'}...]
@@ -257,8 +266,8 @@ d.holidays(:is)
257
266
 
258
267
  Or lookup Canada Day in different regions:
259
268
 
260
- ```
261
- d = Date.civil(2008,7,1)
269
+ ```ruby
270
+ d = Date.new(2008,7,1)
262
271
 
263
272
  d.holiday?(:ca) # Canada
264
273
  => true
@@ -272,23 +281,24 @@ d.holiday?(:fr) # France
272
281
 
273
282
  Or return the new date based on the options:
274
283
 
275
- ```
276
- d = Date.civil(2008,7,1)
284
+ ```ruby
285
+ d = Date.new(2008,7,1)
277
286
  d.change(:year => 2016, :month => 1, :day => 1)
278
287
  => #<Date: 2016-01-01 ((2457389j,0s,0n),+0s,2299161j)>
279
288
  ```
280
289
 
281
290
  Or you can calculate the day of the month:
282
291
 
283
- ```
292
+ ```ruby
284
293
  Date.calculate_mday(2015, 4, :first, 2)
285
294
  => 7
286
295
  ```
287
296
 
288
297
  ### Time
289
298
 
290
- ```
299
+ ```ruby
291
300
  require 'holidays/core_extensions/time'
301
+
292
302
  class Time
293
303
  include Holidays::CoreExtensions::Time
294
304
  end
@@ -296,8 +306,8 @@ end
296
306
 
297
307
  Find end of month for given date:
298
308
 
299
- ```
300
- d = Date.civil(2016,8,1)
309
+ ```ruby
310
+ d = Date.new(2016,8,1)
301
311
  d.end_of_month
302
312
  => #<Date: 2016-08-31 ((2457632j,0s,0n),+0s,2299161j)>
303
313
  ```
@@ -306,7 +316,7 @@ d.end_of_month
306
316
 
307
317
  If you are checking holidays regularly you can cache your results for improved performance. Run this before looking up a holiday (e.g. in an initializer):
308
318
 
309
- ```
319
+ ```ruby
310
320
  YEAR = 365 * 24 * 60 * 60
311
321
  Holidays.cache_between(Time.now, Time.now + 2 * YEAR, :ca, :us, :observed)
312
322
  ```
data/holidays.gemspec CHANGED
@@ -12,6 +12,11 @@ Gem::Specification.new do |gem|
12
12
  gem.homepage = 'https://github.com/holidays/holidays'
13
13
  gem.description = %q(A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!)
14
14
  gem.summary = %q(A collection of Ruby methods to deal with statutory and other holidays.)
15
+ gem.metadata = {
16
+ 'changelog_uri' => "https://github.com/holidays/holidays/blob/master/CHANGELOG.md",
17
+ 'source_code_uri' => 'https://github.com/holidays/holidays',
18
+ 'bug_tracker_uri' => 'https://github.com/holidays/holidays/issues'
19
+ }
15
20
  gem.files = `git ls-files`.split("\n") - ['.gitignore', '.travis.yml']
16
21
  gem.test_files = gem.files.grep(/^test/)
17
22
  gem.require_paths = ['lib']
@@ -30,6 +30,7 @@ The following definition files are included in this installation:
30
30
  * generated_definitions/fr
31
31
  * generated_definitions/gb
32
32
  * generated_definitions/ge
33
+ * generated_definitions/gr
33
34
  * generated_definitions/hk
34
35
  * generated_definitions/hr
35
36
  * generated_definitions/hu
@@ -37,6 +38,7 @@ The following definition files are included in this installation:
37
38
  * generated_definitions/is
38
39
  * generated_definitions/it
39
40
  * generated_definitions/jp
41
+ * generated_definitions/ke
40
42
  * generated_definitions/kr
41
43
  * generated_definitions/kz
42
44
  * generated_definitions/li
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Holidays
3
- REGIONS = [:ar, :at, :au, :au_nsw, :au_vic, :au_qld, :au_nt, :au_act, :au_sa, :au_wa, :au_tas, :au_tas_south, :au_qld_cairns, :au_qld_brisbane, :au_tas_north, :au_vic_melbourne, :be_fr, :be_nl, :br, :bg_en, :bg_bg, :ca, :ca_qc, :ca_ab, :ca_sk, :ca_on, :ca_bc, :ca_nb, :ca_mb, :ca_ns, :ca_pe, :ca_nl, :ca_nt, :ca_nu, :ca_yt, :us, :ch_zh, :ch_be, :ch_lu, :ch_ur, :ch_sz, :ch_ow, :ch_nw, :ch_gl, :ch_zg, :ch_fr, :ch_so, :ch_bs, :ch_bl, :ch_sh, :ch_ar, :ch_ai, :ch_sg, :ch_gr, :ch_ag, :ch_tg, :ch_ti, :ch_vd, :ch_ne, :ch_ge, :ch_ju, :ch_vs, :ch, :cl, :co, :cr, :cz, :dk, :de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_bb, :de_th, :de_hb, :de_hh, :de_ni, :de_sh, :ecbtarget, :ee, :el, :es_pv, :es_na, :es_an, :es_ib, :es_cm, :es_mu, :es_m, :es_ar, :es_cl, :es_cn, :es_lo, :es_ga, :es_ce, :es_o, :es_ex, :es, :es_ct, :es_v, :es_vc, :federalreserve, :federalreservebanks, :fedex, :fi, :fr_a, :fr_m, :fr, :gb, :gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy, :gb_sct, :gb_con, :im, :gb_iom, :ge, :hr, :hk, :hu, :ie, :is, :it, :it_ve, :it_tv, :it_vr, :it_pd, :it_fi, :it_ge, :it_to, :it_rm, :it_vi, :it_bl, :it_ro, :kr, :kz, :li, :lt, :lv, :ma, :mt_mt, :mt_en, :mx, :mx_pue, :nerc, :nl, :lu, :no, :nyse, :nz, :nz_sl, :nz_we, :nz_ak, :nz_nl, :nz_ne, :nz_ot, :nz_ta, :nz_sc, :nz_hb, :nz_mb, :nz_ca, :nz_ch, :nz_wl, :pe, :ph, :pl, :pt, :pt_li, :pt_po, :ro, :rs_cyrl, :rs_la, :ru, :se, :tn, :tr, :ua, :us_fl, :us_la, :us_ct, :us_de, :us_gu, :us_hi, :us_in, :us_ky, :us_nj, :us_nc, :us_nd, :us_pr, :us_tn, :us_ms, :us_id, :us_ar, :us_tx, :us_dc, :us_md, :us_va, :us_vt, :us_ak, :us_ca, :us_me, :us_ma, :us_al, :us_ga, :us_ne, :us_mo, :us_sc, :us_wv, :us_vi, :us_ut, :us_ri, :us_az, :us_co, :us_il, :us_mt, :us_nm, :us_ny, :us_oh, :us_pa, :us_mi, :us_mn, :us_nv, :us_or, :us_sd, :us_wa, :us_wi, :us_wy, :us_ia, :us_ks, :us_nh, :us_ok, :unitednations, :ups, :za, :ve, :sk, :si, :jp, :vi, :sg, :my, :th, :ng]
3
+ REGIONS = [:ar, :at, :au, :au_nsw, :au_vic, :au_qld, :au_nt, :au_act, :au_sa, :au_wa, :au_tas, :au_tas_south, :au_qld_cairns, :au_qld_brisbane, :au_tas_north, :au_vic_melbourne, :be_fr, :be_nl, :br, :bg_en, :bg_bg, :ca, :ca_qc, :ca_ab, :ca_sk, :ca_on, :ca_bc, :ca_nb, :ca_mb, :ca_ns, :ca_pe, :ca_nl, :ca_nt, :ca_nu, :ca_yt, :us, :ch_zh, :ch_be, :ch_lu, :ch_ur, :ch_sz, :ch_ow, :ch_nw, :ch_gl, :ch_zg, :ch_fr, :ch_so, :ch_bs, :ch_bl, :ch_sh, :ch_ar, :ch_ai, :ch_sg, :ch_gr, :ch_ag, :ch_tg, :ch_ti, :ch_vd, :ch_ne, :ch_ge, :ch_ju, :ch_vs, :ch, :cl, :co, :cr, :cz, :dk, :de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_th, :de_bb, :de_hb, :de_hh, :de_ni, :de_sh, :ecbtarget, :ee, :es_pv, :es_na, :es_an, :es_ib, :es_cm, :es_mu, :es_m, :es_ar, :es_cl, :es_cn, :es_lo, :es_ga, :es_ce, :es_o, :es_ex, :es, :es_ct, :es_v, :es_vc, :federalreserve, :federalreservebanks, :fedex, :fi, :fr_a, :fr_m, :fr, :gb, :gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy, :gb_sct, :gb_con, :im, :gb_iom, :ge, :gr, :hr, :hk, :hu, :ie, :is, :it, :it_ve, :it_tv, :it_vr, :it_pd, :it_fi, :it_ge, :it_to, :it_rm, :it_vi, :it_bl, :it_ro, :ke, :kr, :kz, :li, :lt, :lv, :ma, :mt_mt, :mt_en, :mx, :mx_pue, :nerc, :nl, :lu, :no, :nyse, :nz, :nz_sl, :nz_we, :nz_ak, :nz_nl, :nz_ne, :nz_ot, :nz_ta, :nz_sc, :nz_hb, :nz_mb, :nz_ca, :nz_ch, :nz_wl, :pe, :ph, :pl, :pt, :pt_li, :pt_po, :ro, :rs_cyrl, :rs_la, :ru, :se, :tn, :tr, :ua, :us_fl, :us_la, :us_ct, :us_de, :us_gu, :us_hi, :us_in, :us_ky, :us_nj, :us_nc, :us_nd, :us_pr, :us_tn, :us_ms, :us_id, :us_ar, :us_tx, :us_dc, :us_md, :us_va, :us_vt, :us_ak, :us_ca, :us_me, :us_ma, :us_al, :us_ga, :us_ne, :us_mo, :us_sc, :us_wv, :us_vi, :us_ut, :us_ri, :us_az, :us_co, :us_il, :us_mt, :us_nm, :us_ny, :us_oh, :us_pa, :us_mi, :us_mn, :us_nv, :us_or, :us_sd, :us_wa, :us_wi, :us_wy, :us_ia, :us_ks, :us_nh, :us_ok, :unitednations, :ups, :za, :ve, :sk, :si, :jp, :vi, :sg, :my, :th, :ng]
4
4
 
5
- PARENT_REGION_LOOKUP = {:ar=>:ar, :at=>:at, :au=>:au, :au_nsw=>:au, :au_vic=>:au, :au_qld=>:au, :au_nt=>:au, :au_act=>:au, :au_sa=>:au, :au_wa=>:au, :au_tas=>:au, :au_tas_south=>:au, :au_qld_cairns=>:au, :au_qld_brisbane=>:au, :au_tas_north=>:au, :au_vic_melbourne=>:au, :be_fr=>:be_fr, :be_nl=>:be_nl, :br=>:br, :bg_en=>:bg, :bg_bg=>:bg, :ca=>:ca, :ca_qc=>:ca, :ca_ab=>:ca, :ca_sk=>:ca, :ca_on=>:ca, :ca_bc=>:ca, :ca_nb=>:ca, :ca_mb=>:ca, :ca_ns=>:ca, :ca_pe=>:ca, :ca_nl=>:ca, :ca_nt=>:ca, :ca_nu=>:ca, :ca_yt=>:ca, :us=>:us, :ch_zh=>:ch, :ch_be=>:ch, :ch_lu=>:ch, :ch_ur=>:ch, :ch_sz=>:ch, :ch_ow=>:ch, :ch_nw=>:ch, :ch_gl=>:ch, :ch_zg=>:ch, :ch_fr=>:ch, :ch_so=>:ch, :ch_bs=>:ch, :ch_bl=>:ch, :ch_sh=>:ch, :ch_ar=>:ch, :ch_ai=>:ch, :ch_sg=>:ch, :ch_gr=>:ch, :ch_ag=>:ch, :ch_tg=>:ch, :ch_ti=>:ch, :ch_vd=>:ch, :ch_ne=>:ch, :ch_ge=>:ch, :ch_ju=>:ch, :ch_vs=>:ch, :ch=>:ch, :cl=>:cl, :co=>:co, :cr=>:cr, :cz=>:cz, :dk=>:dk, :de=>:de, :de_bw=>:de, :de_by=>:de, :de_he=>:de, :de_nw=>:de, :de_rp=>:de, :de_sl=>:de, :de_sn_sorbian=>:de, :de_th_cath=>:de, :de_sn=>:de, :de_st=>:de, :de_be=>:de, :de_mv=>:de, :de_by_cath=>:de, :de_by_augsburg=>:de, :de_bb=>:de, :de_th=>:de, :de_hb=>:de, :de_hh=>:de, :de_ni=>:de, :de_sh=>:de, :ecbtarget=>:ecbtarget, :ee=>:ee, :el=>:el, :es_pv=>:es, :es_na=>:es, :es_an=>:es, :es_ib=>:es, :es_cm=>:es, :es_mu=>:es, :es_m=>:es, :es_ar=>:es, :es_cl=>:es, :es_cn=>:es, :es_lo=>:es, :es_ga=>:es, :es_ce=>:es, :es_o=>:es, :es_ex=>:es, :es=>:es, :es_ct=>:es, :es_v=>:es, :es_vc=>:es, :federalreserve=>:federalreserve, :federalreservebanks=>:federalreservebanks, :fedex=>:fedex, :fi=>:fi, :fr_a=>:fr, :fr_m=>:fr, :fr=>:fr, :gb=>:gb, :gb_eng=>:gb, :gb_wls=>:gb, :gb_eaw=>:gb, :gb_nir=>:gb, :je=>:gb, :gb_jsy=>:gb, :gg=>:gb, :gb_gsy=>:gb, :gb_sct=>:gb, :gb_con=>:gb, :im=>:gb, :gb_iom=>:gb, :ge=>:ge, :hr=>:hr, :hk=>:hk, :hu=>:hu, :ie=>:ie, :is=>:is, :it=>:it, :it_ve=>:it, :it_tv=>:it, :it_vr=>:it, :it_pd=>:it, :it_fi=>:it, :it_ge=>:it, :it_to=>:it, :it_rm=>:it, :it_vi=>:it, :it_bl=>:it, :it_ro=>:it, :kr=>:kr, :kz=>:kz, :li=>:li, :lt=>:lt, :lv=>:lv, :ma=>:ma, :mt_mt=>:mt_mt, :mt_en=>:mt_en, :mx=>:mx, :mx_pue=>:mx, :nerc=>:nerc, :nl=>:nl, :lu=>:lu, :no=>:no, :nyse=>:nyse, :nz=>:nz, :nz_sl=>:nz, :nz_we=>:nz, :nz_ak=>:nz, :nz_nl=>:nz, :nz_ne=>:nz, :nz_ot=>:nz, :nz_ta=>:nz, :nz_sc=>:nz, :nz_hb=>:nz, :nz_mb=>:nz, :nz_ca=>:nz, :nz_ch=>:nz, :nz_wl=>:nz, :pe=>:pe, :ph=>:ph, :pl=>:pl, :pt=>:pt, :pt_li=>:pt, :pt_po=>:pt, :ro=>:ro, :rs_cyrl=>:rs_cyrl, :rs_la=>:rs_la, :ru=>:ru, :se=>:se, :tn=>:tn, :tr=>:tr, :ua=>:ua, :us_fl=>:us, :us_la=>:us, :us_ct=>:us, :us_de=>:us, :us_gu=>:us, :us_hi=>:us, :us_in=>:us, :us_ky=>:us, :us_nj=>:us, :us_nc=>:us, :us_nd=>:us, :us_pr=>:us, :us_tn=>:us, :us_ms=>:us, :us_id=>:us, :us_ar=>:us, :us_tx=>:us, :us_dc=>:us, :us_md=>:us, :us_va=>:us, :us_vt=>:us, :us_ak=>:us, :us_ca=>:us, :us_me=>:us, :us_ma=>:us, :us_al=>:us, :us_ga=>:us, :us_ne=>:us, :us_mo=>:us, :us_sc=>:us, :us_wv=>:us, :us_vi=>:us, :us_ut=>:us, :us_ri=>:us, :us_az=>:us, :us_co=>:us, :us_il=>:us, :us_mt=>:us, :us_nm=>:us, :us_ny=>:us, :us_oh=>:us, :us_pa=>:us, :us_mi=>:us, :us_mn=>:us, :us_nv=>:us, :us_or=>:us, :us_sd=>:us, :us_wa=>:us, :us_wi=>:us, :us_wy=>:us, :us_ia=>:us, :us_ks=>:us, :us_nh=>:us, :us_ok=>:us, :unitednations=>:unitednations, :ups=>:ups, :za=>:za, :ve=>:southamerica, :sk=>:europe, :si=>:europe, :jp=>:jp, :vi=>:vi, :sg=>:sg, :my=>:my, :th=>:th, :ng=>:ng}
5
+ PARENT_REGION_LOOKUP = {:ar=>:ar, :at=>:at, :au=>:au, :au_nsw=>:au, :au_vic=>:au, :au_qld=>:au, :au_nt=>:au, :au_act=>:au, :au_sa=>:au, :au_wa=>:au, :au_tas=>:au, :au_tas_south=>:au, :au_qld_cairns=>:au, :au_qld_brisbane=>:au, :au_tas_north=>:au, :au_vic_melbourne=>:au, :be_fr=>:be_fr, :be_nl=>:be_nl, :br=>:br, :bg_en=>:bg, :bg_bg=>:bg, :ca=>:ca, :ca_qc=>:ca, :ca_ab=>:ca, :ca_sk=>:ca, :ca_on=>:ca, :ca_bc=>:ca, :ca_nb=>:ca, :ca_mb=>:ca, :ca_ns=>:ca, :ca_pe=>:ca, :ca_nl=>:ca, :ca_nt=>:ca, :ca_nu=>:ca, :ca_yt=>:ca, :us=>:us, :ch_zh=>:ch, :ch_be=>:ch, :ch_lu=>:ch, :ch_ur=>:ch, :ch_sz=>:ch, :ch_ow=>:ch, :ch_nw=>:ch, :ch_gl=>:ch, :ch_zg=>:ch, :ch_fr=>:ch, :ch_so=>:ch, :ch_bs=>:ch, :ch_bl=>:ch, :ch_sh=>:ch, :ch_ar=>:ch, :ch_ai=>:ch, :ch_sg=>:ch, :ch_gr=>:ch, :ch_ag=>:ch, :ch_tg=>:ch, :ch_ti=>:ch, :ch_vd=>:ch, :ch_ne=>:ch, :ch_ge=>:ch, :ch_ju=>:ch, :ch_vs=>:ch, :ch=>:ch, :cl=>:cl, :co=>:co, :cr=>:cr, :cz=>:cz, :dk=>:dk, :de=>:de, :de_bw=>:de, :de_by=>:de, :de_he=>:de, :de_nw=>:de, :de_rp=>:de, :de_sl=>:de, :de_sn_sorbian=>:de, :de_th_cath=>:de, :de_sn=>:de, :de_st=>:de, :de_be=>:de, :de_mv=>:de, :de_by_cath=>:de, :de_by_augsburg=>:de, :de_th=>:de, :de_bb=>:de, :de_hb=>:de, :de_hh=>:de, :de_ni=>:de, :de_sh=>:de, :ecbtarget=>:ecbtarget, :ee=>:ee, :es_pv=>:es, :es_na=>:es, :es_an=>:es, :es_ib=>:es, :es_cm=>:es, :es_mu=>:es, :es_m=>:es, :es_ar=>:es, :es_cl=>:es, :es_cn=>:es, :es_lo=>:es, :es_ga=>:es, :es_ce=>:es, :es_o=>:es, :es_ex=>:es, :es=>:es, :es_ct=>:es, :es_v=>:es, :es_vc=>:es, :federalreserve=>:federalreserve, :federalreservebanks=>:federalreservebanks, :fedex=>:fedex, :fi=>:fi, :fr_a=>:fr, :fr_m=>:fr, :fr=>:fr, :gb=>:gb, :gb_eng=>:gb, :gb_wls=>:gb, :gb_eaw=>:gb, :gb_nir=>:gb, :je=>:gb, :gb_jsy=>:gb, :gg=>:gb, :gb_gsy=>:gb, :gb_sct=>:gb, :gb_con=>:gb, :im=>:gb, :gb_iom=>:gb, :ge=>:ge, :gr=>:gr, :hr=>:hr, :hk=>:hk, :hu=>:hu, :ie=>:ie, :is=>:is, :it=>:it, :it_ve=>:it, :it_tv=>:it, :it_vr=>:it, :it_pd=>:it, :it_fi=>:it, :it_ge=>:it, :it_to=>:it, :it_rm=>:it, :it_vi=>:it, :it_bl=>:it, :it_ro=>:it, :ke=>:ke, :kr=>:kr, :kz=>:kz, :li=>:li, :lt=>:lt, :lv=>:lv, :ma=>:ma, :mt_mt=>:mt_mt, :mt_en=>:mt_en, :mx=>:mx, :mx_pue=>:mx, :nerc=>:nerc, :nl=>:nl, :lu=>:lu, :no=>:no, :nyse=>:nyse, :nz=>:nz, :nz_sl=>:nz, :nz_we=>:nz, :nz_ak=>:nz, :nz_nl=>:nz, :nz_ne=>:nz, :nz_ot=>:nz, :nz_ta=>:nz, :nz_sc=>:nz, :nz_hb=>:nz, :nz_mb=>:nz, :nz_ca=>:nz, :nz_ch=>:nz, :nz_wl=>:nz, :pe=>:pe, :ph=>:ph, :pl=>:pl, :pt=>:pt, :pt_li=>:pt, :pt_po=>:pt, :ro=>:ro, :rs_cyrl=>:rs_cyrl, :rs_la=>:rs_la, :ru=>:ru, :se=>:se, :tn=>:tn, :tr=>:tr, :ua=>:ua, :us_fl=>:us, :us_la=>:us, :us_ct=>:us, :us_de=>:us, :us_gu=>:us, :us_hi=>:us, :us_in=>:us, :us_ky=>:us, :us_nj=>:us, :us_nc=>:us, :us_nd=>:us, :us_pr=>:us, :us_tn=>:us, :us_ms=>:us, :us_id=>:us, :us_ar=>:us, :us_tx=>:us, :us_dc=>:us, :us_md=>:us, :us_va=>:us, :us_vt=>:us, :us_ak=>:us, :us_ca=>:us, :us_me=>:us, :us_ma=>:us, :us_al=>:us, :us_ga=>:us, :us_ne=>:us, :us_mo=>:us, :us_sc=>:us, :us_wv=>:us, :us_vi=>:us, :us_ut=>:us, :us_ri=>:us, :us_az=>:us, :us_co=>:us, :us_il=>:us, :us_mt=>:us, :us_nm=>:us, :us_ny=>:us, :us_oh=>:us, :us_pa=>:us, :us_mi=>:us, :us_mn=>:us, :us_nv=>:us, :us_or=>:us, :us_sd=>:us, :us_wa=>:us, :us_wi=>:us, :us_wy=>:us, :us_ia=>:us, :us_ks=>:us, :us_nh=>:us, :us_ok=>:us, :unitednations=>:unitednations, :ups=>:ups, :za=>:za, :ve=>:southamerica, :sk=>:europe, :si=>:europe, :jp=>:jp, :vi=>:vi, :sg=>:sg, :my=>:my, :th=>:th, :ng=>:ng}
6
6
  end
@@ -34,18 +34,21 @@ module Holidays
34
34
  {:function => "may_pub_hol_sa(year)", :function_arguments => [:year], :name => "May Public Holiday", :regions => [:au_sa]},
35
35
  {:mday => 27, :function => "to_nearest_monday_after(date)", :function_arguments => [:date], :year_ranges => { :from => 2018 },:name => "Reconciliation Day", :regions => [:au_act]}],
36
36
  6 => [{:wday => 1, :week => 1, :name => "Western Australia Day", :regions => [:au_wa]},
37
- {:wday => 1, :week => 2, :name => "Queen's Birthday", :regions => [:au_act, :au_nsw, :au_sa, :au_tas, :au_nt, :au_vic]},
37
+ {:wday => 1, :week => 2, :year_ranges => { :until => 2022 },:name => "Queen's Birthday", :regions => [:au_act, :au_nsw, :au_sa, :au_tas, :au_nt, :au_vic]},
38
+ {:wday => 1, :week => 2, :year_ranges => { :from => 2023 },:name => "King's Birthday", :regions => [:au_act, :au_nsw, :au_sa, :au_tas, :au_nt, :au_vic]},
38
39
  {:function => "qld_queens_birthday_june(year)", :function_arguments => [:year], :name => "Queen's Birthday", :regions => [:au_qld]},
39
40
  {:mday => 6, :type => :informal, :name => "Queensland Day", :regions => [:au_qld]}],
40
41
  7 => [{:wday => 5, :week => 3, :name => "Cairns Show", :regions => [:au_qld_cairns]}],
41
42
  8 => [{:function => "qld_brisbane_ekka_holiday(year)", :function_arguments => [:year], :name => "Ekka", :regions => [:au_qld_brisbane]}],
42
43
  9 => [{:mday => 22, :year_ranges => { :limited => [2022] },:name => "National Day of Mourning for Her Majesty Queen Elizabeth II", :regions => [:au]},
43
- {:wday => 1, :week => -1, :name => "Queen's Birthday", :regions => [:au_wa]},
44
+ {:wday => 1, :week => -1, :year_ranges => { :until => 2021 },:name => "Queen's Birthday", :regions => [:au_wa]},
45
+ {:wday => 1, :week => -1, :year_ranges => { :from => 2022 },:name => "King's Birthday", :regions => [:au_wa]},
44
46
  {:wday => 1, :week => -1, :year_ranges => { :until => 2017 },:name => "Family & Community Day", :regions => [:au_act]}],
45
47
  10 => [{:function => "afl_grand_final(year)", :function_arguments => [:year], :name => "Friday before the AFL Grand Final", :regions => [:au_vic]},
46
48
  {:wday => 1, :week => 1, :name => "Labour Day", :regions => [:au_act, :au_nsw, :au_sa]},
47
49
  {:function => "qld_labour_day_october(year)", :function_arguments => [:year], :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Labour Day", :regions => [:au_qld]},
48
- {:function => "qld_queens_bday_october(year)", :function_arguments => [:year], :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Queen's Birthday", :regions => [:au_qld]},
50
+ {:function => "qld_queens_bday_october(year)", :function_arguments => [:year], :year_ranges => { :until => 2022 },:observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Queen's Birthday", :regions => [:au_qld]},
51
+ {:function => "qld_kings_bday_october(year)", :function_arguments => [:year], :year_ranges => { :from => 2023 },:observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "King's Birthday", :regions => [:au_qld]},
49
52
  {:function => "hobart_show_day(year)", :function_arguments => [:year], :name => "Royal Hobart Show", :regions => [:au_tas_south]}],
50
53
  11 => [{:function => "g20_day_2014_only(year)", :function_arguments => [:year], :name => "G20 Day", :regions => [:au_qld_brisbane]},
51
54
  {:wday => 1, :week => 1, :name => "Recreation Day", :regions => [:au_tas_north]},
@@ -87,6 +90,14 @@ else
87
90
  end
88
91
  },
89
92
 
93
+ "qld_kings_bday_october(year)" => Proc.new { |year|
94
+ if year >= 2023
95
+ Holidays::Factory::DateCalculator.day_of_month_calculator.call(year, 10, 1, 1)
96
+ else
97
+ nil
98
+ end
99
+ },
100
+
90
101
  "qld_queens_birthday_june(year)" => Proc.new { |year|
91
102
  if year <= 2015
92
103
  Holidays::Factory::DateCalculator.day_of_month_calculator.call(year, 6, 2, 1)
@@ -22,7 +22,8 @@ module Holidays
22
22
  9 => [{:mday => 7, :name => "Proclamação da Independência", :regions => [:br]}],
23
23
  10 => [{:mday => 12, :name => "Dia de Nossa Senhora Aparecida", :regions => [:br]}],
24
24
  11 => [{:mday => 2, :name => "Dia de Finados", :regions => [:br]},
25
- {:mday => 15, :name => "Proclamação da República", :regions => [:br]}],
25
+ {:mday => 15, :name => "Proclamação da República", :regions => [:br]},
26
+ {:mday => 20, :year_ranges => { :from => 2024 },:name => "Dia Nacional de Zumbi e da Consciência Negra", :regions => [:br]}],
26
27
  12 => [{:mday => 25, :name => "Natal", :regions => [:br]}]
27
28
  }
28
29
  end
@@ -7,7 +7,7 @@ module Holidays
7
7
  # All the definitions are available at https://github.com/holidays/holidays
8
8
  module DE # :nodoc:
9
9
  def self.defined_regions
10
- [:de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_bb, :de_th, :de_hb, :de_hh, :de_ni, :de_sh]
10
+ [:de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_th, :de_bb, :de_hb, :de_hh, :de_ni, :de_sh]
11
11
  end
12
12
 
13
13
  def self.holidays_by_month
@@ -31,6 +31,7 @@ module Holidays
31
31
  6 => [{:mday => 17, :year_ranges => { :between => 1954..1990 },:name => "Tag der Deutschen Einheit", :regions => [:de]}],
32
32
  8 => [{:mday => 15, :name => "Mariä Himmelfahrt", :regions => [:de_by_cath, :de_by_augsburg, :de_sl]},
33
33
  {:mday => 8, :name => "Friedensfest", :regions => [:de_by_augsburg]}],
34
+ 9 => [{:mday => 20, :year_ranges => { :from => 2019 },:name => "Weltkindertag", :regions => [:de_th]}],
34
35
  10 => [{:mday => 3, :year_ranges => { :from => 1990 },:name => "Tag der Deutschen Einheit", :regions => [:de]},
35
36
  {:mday => 31, :name => "Reformationstag", :regions => [:de_bb, :de_mv, :de_sn, :de_st, :de_th]},
36
37
  {:mday => 31, :type => :informal, :name => "Reformationstag", :regions => [:de_bw]},
@@ -2,12 +2,12 @@
2
2
  module Holidays
3
3
  # This file is generated by the Ruby Holidays gem.
4
4
  #
5
- # Definitions loaded: definitions/at.yaml, definitions/be_fr.yaml, definitions/be_nl.yaml, definitions/ch.yaml, definitions/cz.yaml, definitions/dk.yaml, definitions/de.yaml, definitions/el.yaml, definitions/es.yaml, definitions/fr.yaml, definitions/gb.yaml, definitions/hr.yaml, definitions/hu.yaml, definitions/ie.yaml, definitions/is.yaml, definitions/it.yaml, definitions/li.yaml, definitions/lt.yaml, definitions/lv.yaml, definitions/nl.yaml, definitions/no.yaml, definitions/pl.yaml, definitions/pt.yaml, definitions/ro.yaml, definitions/sk.yaml, definitions/si.yaml, definitions/bg.yaml, definitions/ua.yaml
5
+ # Definitions loaded: definitions/at.yaml, definitions/be_fr.yaml, definitions/be_nl.yaml, definitions/ch.yaml, definitions/cz.yaml, definitions/dk.yaml, definitions/de.yaml, definitions/es.yaml, definitions/fr.yaml, definitions/gb.yaml, definitions/gr.yaml, definitions/hr.yaml, definitions/hu.yaml, definitions/ie.yaml, definitions/is.yaml, definitions/it.yaml, definitions/li.yaml, definitions/lt.yaml, definitions/lv.yaml, definitions/nl.yaml, definitions/no.yaml, definitions/pl.yaml, definitions/pt.yaml, definitions/ro.yaml, definitions/sk.yaml, definitions/si.yaml, definitions/bg.yaml, definitions/ua.yaml
6
6
  #
7
7
  # All the definitions are available at https://github.com/holidays/holidays
8
8
  module EUROPE # :nodoc:
9
9
  def self.defined_regions
10
- [:at, :be_fr, :be_nl, :ch_zh, :ch_be, :ch_lu, :ch_ur, :ch_sz, :ch_ow, :ch_nw, :ch_gl, :ch_zg, :ch_fr, :ch_so, :ch_bs, :ch_bl, :ch_sh, :ch_ar, :ch_ai, :ch_sg, :ch_gr, :ch_ag, :ch_tg, :ch_ti, :ch_vd, :ch_ne, :ch_ge, :ch_ju, :ch_vs, :ch, :cz, :dk, :de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_bb, :de_th, :de_hb, :de_hh, :de_ni, :de_sh, :el, :es_pv, :es_na, :es_an, :es_ib, :es_cm, :es_mu, :es_m, :es_ar, :es_cl, :es_cn, :es_lo, :es_ga, :es_ce, :es_o, :es_ex, :es, :es_ct, :es_v, :es_vc, :fr_a, :fr_m, :fr, :gb, :gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy, :gb_sct, :gb_con, :im, :gb_iom, :hr, :hu, :ie, :is, :it, :it_ve, :it_tv, :it_vr, :it_pd, :it_fi, :it_ge, :it_to, :it_rm, :it_vi, :it_bl, :it_ro, :li, :lt, :lv, :nl, :no, :pl, :pt, :pt_li, :pt_po, :ro, :sk, :si, :bg_en, :bg_bg, :ua]
10
+ [:at, :be_fr, :be_nl, :ch_zh, :ch_be, :ch_lu, :ch_ur, :ch_sz, :ch_ow, :ch_nw, :ch_gl, :ch_zg, :ch_fr, :ch_so, :ch_bs, :ch_bl, :ch_sh, :ch_ar, :ch_ai, :ch_sg, :ch_gr, :ch_ag, :ch_tg, :ch_ti, :ch_vd, :ch_ne, :ch_ge, :ch_ju, :ch_vs, :ch, :cz, :dk, :de, :de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn_sorbian, :de_th_cath, :de_sn, :de_st, :de_be, :de_mv, :de_by_cath, :de_by_augsburg, :de_th, :de_bb, :de_hb, :de_hh, :de_ni, :de_sh, :es_pv, :es_na, :es_an, :es_ib, :es_cm, :es_mu, :es_m, :es_ar, :es_cl, :es_cn, :es_lo, :es_ga, :es_ce, :es_o, :es_ex, :es, :es_ct, :es_v, :es_vc, :fr_a, :fr_m, :fr, :gb, :gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy, :gb_sct, :gb_con, :im, :gb_iom, :gr, :hr, :hu, :ie, :is, :it, :it_ve, :it_tv, :it_vr, :it_pd, :it_fi, :it_ge, :it_to, :it_rm, :it_vi, :it_bl, :it_ro, :li, :lt, :lv, :nl, :no, :pl, :pt, :pt_li, :pt_po, :ro, :sk, :si, :bg_en, :bg_bg, :ua]
11
11
  end
12
12
 
13
13
  def self.holidays_by_month
@@ -55,12 +55,6 @@ module Holidays
55
55
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -52, :type => :informal, :name => "Weiberfastnacht", :regions => [:de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn]},
56
56
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -48, :type => :informal, :name => "Rosenmontag", :regions => [:de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn]},
57
57
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -46, :type => :informal, :name => "Aschermittwoch", :regions => [:de_bw, :de_by, :de_he, :de_nw, :de_rp, :de_sl, :de_sn]},
58
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Μεγάλη Παρασκευή", :regions => [:el]},
59
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Μεγάλο Σάββατο", :regions => [:el]},
60
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Κυριακή του Πάσχα", :regions => [:el]},
61
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Δευτέρα του Πάσχα", :regions => [:el]},
62
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -48, :name => "Καθαρά Δευτέρα", :regions => [:el]},
63
- {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Αγίου Πνεύματος", :regions => [:el]},
64
58
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -3, :name => "Jueves Santo", :regions => [:es_pv, :es_na, :es_an, :es_ib, :es_cm, :es_mu, :es_m, :es_ar, :es_cl, :es_cn, :es_lo, :es_ga, :es_ce, :es_o, :es_ex]},
65
59
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Viernes Santo", :regions => [:es]},
66
60
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Lunes de Pascua", :regions => [:es_pv, :es_ct, :es_na, :es_v, :es_vc]},
@@ -75,6 +69,12 @@ module Holidays
75
69
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Good Friday", :regions => [:gb]},
76
70
  {:function => "easter(year)", :function_arguments => [:year], :name => "Easter Sunday", :regions => [:gb]},
77
71
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy]},
72
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Μεγάλη Παρασκευή", :regions => [:gr]},
73
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Μεγάλο Σάββατο", :regions => [:gr]},
74
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Κυριακή του Πάσχα", :regions => [:gr]},
75
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Δευτέρα του Πάσχα", :regions => [:gr]},
76
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -48, :name => "Καθαρά Δευτέρα", :regions => [:gr]},
77
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Αγίου Πνεύματος", :regions => [:gr]},
78
78
  {:function => "easter(year)", :function_arguments => [:year], :name => "Uskrs", :regions => [:hr]},
79
79
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Uskrsni ponedjeljak", :regions => [:hr]},
80
80
  {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 60, :name => "Tijelovo", :regions => [:hr]},
@@ -169,13 +169,13 @@ module Holidays
169
169
  {:mday => 1, :name => "Nytårsdag", :regions => [:dk]},
170
170
  {:mday => 1, :name => "Neujahrstag", :regions => [:de]},
171
171
  {:mday => 6, :name => "Heilige Drei Könige", :regions => [:de_bw, :de_by, :de_st]},
172
- {:mday => 1, :name => "Πρωτοχρονιά", :regions => [:el]},
173
- {:mday => 6, :name => "Θεοφάνεια", :regions => [:el]},
174
172
  {:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Año Nuevo", :regions => [:es]},
175
173
  {:mday => 6, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de Reyes", :regions => [:es]},
176
174
  {:mday => 1, :name => "Jour de l'an", :regions => [:fr]},
177
175
  {:mday => 1, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "New Year's Day", :regions => [:gb]},
178
176
  {:mday => 2, :observed => "to_weekday_if_boxing_weekend(date)", :observed_arguments => [:date], :name => "2nd January", :regions => [:gb_sct]},
177
+ {:mday => 1, :name => "Πρωτοχρονιά", :regions => [:gr]},
178
+ {:mday => 6, :name => "Θεοφάνεια", :regions => [:gr]},
179
179
  {:mday => 1, :name => "Nova godina", :regions => [:hr]},
180
180
  {:mday => 6, :name => "Bogojavljenje ili Sveta tri kralja", :regions => [:hr]},
181
181
  {:mday => 1, :name => "Újév", :regions => [:hu]},
@@ -218,7 +218,6 @@ module Holidays
218
218
  {:mday => 5, :type => :informal, :name => "Danmarks befrielse", :regions => [:dk]},
219
219
  {:mday => 1, :name => "Tag der Arbeit", :regions => [:de]},
220
220
  {:mday => 8, :year_ranges => { :limited => [2020] },:name => "Tag der Befreiung", :regions => [:de_be]},
221
- {:mday => 1, :name => "Πρωτομαγιά", :regions => [:el]},
222
221
  {:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día del Trabajador", :regions => [:es]},
223
222
  {:mday => 2, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Fiesta de la Comunidad", :regions => [:es_m]},
224
223
  {:mday => 30, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de las Canarias", :regions => [:es_cn]},
@@ -232,6 +231,7 @@ module Holidays
232
231
  {:mday => 9, :name => "Liberation Day", :regions => [:je, :gb_jsy, :gg, :gb_gsy]},
233
232
  {:wday => 1, :week => -1, :year_ranges => { :until => 2021 },:name => "Bank Holiday", :regions => [:gb]},
234
233
  {:wday => 1, :week => -1, :year_ranges => { :from => 2023 },:name => "Bank Holiday", :regions => [:gb]},
234
+ {:mday => 1, :name => "Πρωτομαγιά", :regions => [:gr]},
235
235
  {:mday => 1, :name => "Praznik rada", :regions => [:hr]},
236
236
  {:mday => 30, :year_ranges => { :from => 2020 },:name => "Dan državnosti", :regions => [:hr]},
237
237
  {:mday => 1, :name => "A munka ünnepe", :regions => [:hu]},
@@ -275,11 +275,11 @@ module Holidays
275
275
  {:mday => 15, :name => "Mariä Himmelfahrt", :regions => [:ch_lu, :ch_ur, :ch_sz, :ch_ow, :ch_nw, :ch_zg, :ch_fr, :ch_so, :ch_ai, :ch_ag, :ch_ti, :ch_vs, :ch_ju]},
276
276
  {:mday => 15, :name => "Mariä Himmelfahrt", :regions => [:de_by_cath, :de_by_augsburg, :de_sl]},
277
277
  {:mday => 8, :name => "Friedensfest", :regions => [:de_by_augsburg]},
278
- {:mday => 15, :name => "Κοίμηση της Θεοτόκου", :regions => [:el]},
279
278
  {:mday => 15, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Asunción", :regions => [:es]},
280
279
  {:mday => 15, :name => "Assomption", :regions => [:fr]},
281
280
  {:wday => 1, :week => 1, :name => "Bank Holiday", :regions => [:gb_sct]},
282
281
  {:wday => 1, :week => -1, :name => "Bank Holiday", :regions => [:gb_eng, :gb_wls, :gb_eaw, :gb_nir, :je, :gb_jsy, :gg, :gb_gsy]},
282
+ {:mday => 15, :name => "Κοίμηση της Θεοτόκου", :regions => [:gr]},
283
283
  {:mday => 5, :name => "Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja", :regions => [:hr]},
284
284
  {:mday => 15, :name => "Velika Gospa", :regions => [:hr]},
285
285
  {:mday => 20, :name => "Az államalapítás ünnepe", :regions => [:hu]},
@@ -302,9 +302,9 @@ module Holidays
302
302
  {:mday => 31, :type => :informal, :name => "Reformationstag", :regions => [:de_bw]},
303
303
  {:mday => 31, :year_ranges => { :limited => [2017] },:name => "Reformationstag", :regions => [:de]},
304
304
  {:mday => 31, :year_ranges => { :from => 2018 },:name => "Reformationstag", :regions => [:de_hb, :de_hh, :de_ni, :de_sh]},
305
- {:mday => 28, :name => "Επέτειος του Όχι", :regions => [:el]},
306
305
  {:mday => 9, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de Valencia", :regions => [:es_vc, :es_v]},
307
306
  {:mday => 12, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de la Hispanidad", :regions => [:es]},
307
+ {:mday => 28, :name => "Επέτειος του Όχι", :regions => [:gr]},
308
308
  {:mday => 8, :year_ranges => { :until => 2019 },:name => "Dan neovisnosti", :regions => [:hr]},
309
309
  {:mday => 23, :name => "1956-os forradalom és szabadságharc ünnepe", :regions => [:hu]},
310
310
  {:wday => 1, :week => -1, :name => "October Bank Holiday", :regions => [:ie]},
@@ -338,6 +338,7 @@ module Holidays
338
338
  {:mday => 26, :name => "Festa di San Bellino", :regions => [:it_ro]},
339
339
  {:mday => 1, :name => "Allerheiligen", :regions => [:li]},
340
340
  {:mday => 1, :name => "Visų šventųjų diena", :regions => [:lt]},
341
+ {:mday => 2, :name => "Mirusiųjų atminimo (Vėlinių) diena", :regions => [:lt]},
341
342
  {:mday => 18, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Latvijas Republikas Proklamēšanas diena", :regions => [:lv]},
342
343
  {:mday => 1, :name => "Wszystkich Świętych", :regions => [:pl]},
343
344
  {:mday => 2, :type => :informal, :name => "Dzień Zaduszny", :regions => [:pl]},
@@ -370,8 +371,6 @@ module Holidays
370
371
  {:mday => 25, :name => "1. Weihnachtstag", :regions => [:de]},
371
372
  {:mday => 26, :name => "2. Weihnachtstag", :regions => [:de]},
372
373
  {:mday => 31, :type => :informal, :name => "Silvester", :regions => [:de]},
373
- {:mday => 25, :name => "Χριστούγεννα", :regions => [:el]},
374
- {:mday => 26, :name => "Δεύτερη ημέρα των Χριστουγέννων", :regions => [:el]},
375
374
  {:mday => 6, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de la Constitución", :regions => [:es]},
376
375
  {:mday => 8, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Inmaculada Concepción", :regions => [:es]},
377
376
  {:mday => 25, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Navidad del Señor", :regions => [:es]},
@@ -380,6 +379,8 @@ module Holidays
380
379
  {:mday => 26, :name => "Saint-Étienne", :regions => [:fr_a, :fr_m]},
381
380
  {:mday => 25, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Christmas Day", :regions => [:gb]},
382
381
  {:mday => 26, :observed => "to_weekday_if_boxing_weekend(date)", :observed_arguments => [:date], :name => "Boxing Day", :regions => [:gb]},
382
+ {:mday => 25, :name => "Χριστούγεννα", :regions => [:gr]},
383
+ {:mday => 26, :name => "Δεύτερη ημέρα των Χριστουγέννων", :regions => [:gr]},
383
384
  {:mday => 25, :name => "Božić", :regions => [:hr]},
384
385
  {:mday => 26, :name => "Sveti Stjepan", :regions => [:hr]},
385
386
  {:mday => 25, :name => "Karácsony", :regions => [:hu]},
@@ -451,11 +452,11 @@ module Holidays
451
452
  {:mday => 19, :name => "Josephstag", :regions => [:ch_ur, :ch_sz, :ch_nw, :ch_ti, :ch_vs]},
452
453
  {:mday => 8, :year_ranges => { :from => 2019 },:name => "Internationaler Frauentag", :regions => [:de_be]},
453
454
  {:mday => 8, :year_ranges => { :from => 2023 },:name => "Internationaler Frauentag", :regions => [:de_mv]},
454
- {:mday => 25, :name => "Επέτειος της Επανάστασης του 1821", :regions => [:el]},
455
455
  {:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de las Islas Baleares", :regions => [:es_ib]},
456
456
  {:mday => 19, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "San José", :regions => [:es_v, :es_vc, :es_cm, :es_mu, :es_m]},
457
457
  {:mday => 5, :name => "St. Piran's Day", :regions => [:gb_con]},
458
458
  {:mday => 17, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "St. Patrick's Day", :regions => [:gb_nir]},
459
+ {:mday => 25, :name => "Επέτειος της Επανάστασης του 1821", :regions => [:gr]},
459
460
  {:mday => 15, :name => "1848/49-es forradalom és szabadságharc ünnepe", :regions => [:hu]},
460
461
  {:mday => 17, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "St. Patrick's Day", :regions => [:ie]},
461
462
  {:mday => 19, :name => "St. Josef", :regions => [:li]},
@@ -513,6 +514,7 @@ module Holidays
513
514
  9 => [{:mday => 22, :name => "Mauritiustag", :regions => [:ch_ai]},
514
515
  {:mday => 25, :name => "Bruderklausenfest", :regions => [:ch_ow]},
515
516
  {:mday => 28, :name => "Den české státnosti", :regions => [:cz]},
517
+ {:mday => 20, :year_ranges => { :from => 2019 },:name => "Weltkindertag", :regions => [:de_th]},
516
518
  {:mday => 2, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de Ceuta", :regions => [:es_ce]},
517
519
  {:mday => 8, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Día de Asturias", :regions => [:es_o]},
518
520
  {:mday => 8, :name => "Día de Extremadura", :regions => [:es_ex]},
@@ -0,0 +1,38 @@
1
+ # encoding: utf-8
2
+ module Holidays
3
+ # This file is generated by the Ruby Holidays gem.
4
+ #
5
+ # Definitions loaded: definitions/gr.yaml
6
+ #
7
+ # All the definitions are available at https://github.com/holidays/holidays
8
+ module GR # :nodoc:
9
+ def self.defined_regions
10
+ [:gr]
11
+ end
12
+
13
+ def self.holidays_by_month
14
+ {
15
+ 0 => [{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Μεγάλη Παρασκευή", :regions => [:gr]},
16
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Μεγάλο Σάββατο", :regions => [:gr]},
17
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Κυριακή του Πάσχα", :regions => [:gr]},
18
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Δευτέρα του Πάσχα", :regions => [:gr]},
19
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -48, :name => "Καθαρά Δευτέρα", :regions => [:gr]},
20
+ {:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 50, :name => "Αγίου Πνεύματος", :regions => [:gr]}],
21
+ 1 => [{:mday => 1, :name => "Πρωτοχρονιά", :regions => [:gr]},
22
+ {:mday => 6, :name => "Θεοφάνεια", :regions => [:gr]}],
23
+ 3 => [{:mday => 25, :name => "Επέτειος της Επανάστασης του 1821", :regions => [:gr]}],
24
+ 5 => [{:mday => 1, :name => "Πρωτομαγιά", :regions => [:gr]}],
25
+ 8 => [{:mday => 15, :name => "Κοίμηση της Θεοτόκου", :regions => [:gr]}],
26
+ 10 => [{:mday => 28, :name => "Επέτειος του Όχι", :regions => [:gr]}],
27
+ 12 => [{:mday => 25, :name => "Χριστούγεννα", :regions => [:gr]},
28
+ {:mday => 26, :name => "Δεύτερη ημέρα των Χριστουγέννων", :regions => [:gr]}]
29
+ }
30
+ end
31
+
32
+ def self.custom_methods
33
+ {
34
+
35
+ }
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,34 @@
1
+ # encoding: utf-8
2
+ module Holidays
3
+ # This file is generated by the Ruby Holidays gem.
4
+ #
5
+ # Definitions loaded: definitions/ke.yaml
6
+ #
7
+ # All the definitions are available at https://github.com/holidays/holidays
8
+ module KE # :nodoc:
9
+ def self.defined_regions
10
+ [:ke]
11
+ end
12
+
13
+ def self.holidays_by_month
14
+ {
15
+ 0 => [{:function => "easter(year)", :function_arguments => [:year], :function_modifier => -2, :name => "Good Friday", :regions => [:ke]},
16
+ {:function => "easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:ke]}],
17
+ 1 => [{:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "New Year's Day", :regions => [:ke]}],
18
+ 5 => [{:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Labour Day", :regions => [:ke]}],
19
+ 6 => [{:mday => 1, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Madaraka Day", :regions => [:ke]}],
20
+ 10 => [{:mday => 10, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Huduma Day", :regions => [:ke]},
21
+ {:mday => 20, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Mashujaa Day", :regions => [:ke]}],
22
+ 12 => [{:mday => 12, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Jamhuri Day", :regions => [:ke]},
23
+ {:mday => 25, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Christmas Day", :regions => [:ke]},
24
+ {:mday => 26, :observed => "to_monday_if_sunday(date)", :observed_arguments => [:date], :name => "Utamaduni Day", :regions => [:ke]}]
25
+ }
26
+ end
27
+
28
+ def self.custom_methods
29
+ {
30
+
31
+ }
32
+ end
33
+ end
34
+ end
@@ -21,7 +21,8 @@ module Holidays
21
21
  6 => [{:mday => 24, :name => "Joninės", :regions => [:lt]}],
22
22
  7 => [{:mday => 6, :name => "Valstybės diena", :regions => [:lt]}],
23
23
  8 => [{:mday => 15, :name => "Žolinė", :regions => [:lt]}],
24
- 11 => [{:mday => 1, :name => "Visų šventųjų diena", :regions => [:lt]}],
24
+ 11 => [{:mday => 1, :name => "Visų šventųjų diena", :regions => [:lt]},
25
+ {:mday => 2, :name => "Mirusiųjų atminimo (Vėlinių) diena", :regions => [:lt]}],
25
26
  12 => [{:mday => 24, :name => "Šv. Kūčios", :regions => [:lt]},
26
27
  {:mday => 25, :name => "Šv. Kalėdos", :regions => [:lt]},
27
28
  {:mday => 26, :name => "Antroji Kalėdų diena", :regions => [:lt]}]
@@ -26,7 +26,8 @@ module Holidays
26
26
  3 => [{:mday => 23, :observed => "closest_monday(date)", :observed_arguments => [:date], :name => "Otago Anniversary Day", :regions => [:nz_ot]},
27
27
  {:wday => 1, :week => 2, :observed => "closest_monday(date)", :observed_arguments => [:date], :name => "Taranaki Anniversary Day", :regions => [:nz_ta]}],
28
28
  4 => [{:mday => 25, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "ANZAC Day", :regions => [:nz]}],
29
- 6 => [{:wday => 1, :week => 1, :name => "Queen's Birthday", :regions => [:nz]}],
29
+ 6 => [{:wday => 1, :week => 1, :year_ranges => { :until => 2022 },:name => "Queen's Birthday", :regions => [:nz]},
30
+ {:wday => 1, :week => 1, :year_ranges => { :from => 2023 },:name => "King's Birthday", :regions => [:nz]}],
30
31
  9 => [{:wday => 1, :week => 4, :name => "Dominion Day", :regions => [:nz_sc]}],
31
32
  10 => [{:wday => 1, :week => 1, :observed => "previous_friday(date)", :observed_arguments => [:date], :name => "Hawke's bay Anniversary Day", :regions => [:nz_hb]},
32
33
  {:wday => 1, :week => 4, :name => "Labour Day", :regions => [:nz]},
@@ -92,6 +92,7 @@ module Holidays
92
92
  {:mday => 22, :year_ranges => { :limited => [2021] },:name => "Feriado con fines turísticos", :regions => [:ar]},
93
93
  {:mday => 2, :name => "Dia de Finados", :regions => [:br]},
94
94
  {:mday => 15, :name => "Proclamação da República", :regions => [:br]},
95
+ {:mday => 20, :year_ranges => { :from => 2024 },:name => "Dia Nacional de Zumbi e da Consciência Negra", :regions => [:br]},
95
96
  {:mday => 1, :name => "Día de Todos los Santos", :regions => [:cl]},
96
97
  {:function => "all_saints_day(year)", :function_arguments => [:year], :name => "Día de Todos los Santos", :regions => [:co]},
97
98
  {:function => "independence_of_cartagena(year)", :function_arguments => [:year], :name => "Independencia de Cartagena", :regions => [:co]},
@@ -1,3 +1,3 @@
1
1
  module Holidays
2
- VERSION = '8.7.1'
2
+ VERSION = '8.8.0'
3
3
  end
@@ -27,10 +27,21 @@ assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2012, 10, 1), [:au_qld]
27
27
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2013, 6, 10), [:au_qld])[0] || {})[:name]
28
28
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2015, 6, 8), [:au_qld])[0] || {})[:name]
29
29
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2016, 10, 3), [:au_qld])[0] || {})[:name]
30
+ assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2022, 10, 3), [:au_qld])[0] || {})[:name]
31
+
32
+ assert_equal "King's Birthday", (Holidays.on(Date.civil(2023, 10, 2), [:au_qld])[0] || {})[:name]
33
+
34
+ assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2022, 6, 13), [:au_act, :au_nsw, :au_sa, :au_tas, :au_nt, :au_vic])[0] || {})[:name]
35
+
36
+ assert_equal "King's Birthday", (Holidays.on(Date.civil(2023, 6, 12), [:au_act, :au_nsw, :au_sa, :au_tas, :au_nt, :au_vic])[0] || {})[:name]
30
37
 
31
38
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2014, 9, 29), [:au_wa])[0] || {})[:name]
32
39
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2015, 9, 28), [:au_wa])[0] || {})[:name]
33
40
  assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2016, 9, 26), [:au_wa])[0] || {})[:name]
41
+ assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2021, 9, 27), [:au_wa])[0] || {})[:name]
42
+
43
+ assert_equal "King's Birthday", (Holidays.on(Date.civil(2022, 9, 26), [:au_wa])[0] || {})[:name]
44
+ assert_equal "King's Birthday", (Holidays.on(Date.civil(2023, 9, 25), [:au_wa])[0] || {})[:name]
34
45
 
35
46
  assert_equal "Family & Community Day", (Holidays.on(Date.civil(2014, 9, 29), [:au_act])[0] || {})[:name]
36
47
 
@@ -39,6 +39,10 @@ class BrDefinitionTests < Test::Unit::TestCase # :nodoc:
39
39
 
40
40
  assert_equal "Proclamação da República", (Holidays.on(Date.civil(2008, 11, 15), [:br], [:informal])[0] || {})[:name]
41
41
 
42
+ assert_nil (Holidays.on(Date.civil(2023, 11, 20), [:br], [:informal])[0] || {})[:name]
43
+
44
+ assert_equal "Dia Nacional de Zumbi e da Consciência Negra", (Holidays.on(Date.civil(2024, 11, 20), [:br], [:informal])[0] || {})[:name]
45
+
42
46
  assert_equal "Natal", (Holidays.on(Date.civil(2008, 12, 25), [:br], [:informal])[0] || {})[:name]
43
47
 
44
48
  end
@@ -83,5 +83,7 @@ class DeDefinitionTests < Test::Unit::TestCase # :nodoc:
83
83
 
84
84
  assert_equal "Tag der Befreiung", (Holidays.on(Date.civil(2020, 5, 8), [:de_be])[0] || {})[:name]
85
85
 
86
+ assert_equal "Weltkindertag", (Holidays.on(Date.civil(2024, 9, 20), [:de_th])[0] || {})[:name]
87
+
86
88
  end
87
89
  end
@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__)) + '/../test_helper'
3
3
 
4
4
  # This file is generated by the Ruby Holiday gem.
5
5
  #
6
- # Definitions loaded: definitions/at.yaml, definitions/be_fr.yaml, definitions/be_nl.yaml, definitions/ch.yaml, definitions/cz.yaml, definitions/dk.yaml, definitions/de.yaml, definitions/el.yaml, definitions/es.yaml, definitions/fr.yaml, definitions/gb.yaml, definitions/hr.yaml, definitions/hu.yaml, definitions/ie.yaml, definitions/is.yaml, definitions/it.yaml, definitions/li.yaml, definitions/lt.yaml, definitions/lv.yaml, definitions/nl.yaml, definitions/no.yaml, definitions/pl.yaml, definitions/pt.yaml, definitions/ro.yaml, definitions/sk.yaml, definitions/si.yaml, definitions/bg.yaml, definitions/ua.yaml
6
+ # Definitions loaded: definitions/at.yaml, definitions/be_fr.yaml, definitions/be_nl.yaml, definitions/ch.yaml, definitions/cz.yaml, definitions/dk.yaml, definitions/de.yaml, definitions/es.yaml, definitions/fr.yaml, definitions/gb.yaml, definitions/gr.yaml, definitions/hr.yaml, definitions/hu.yaml, definitions/ie.yaml, definitions/is.yaml, definitions/it.yaml, definitions/li.yaml, definitions/lt.yaml, definitions/lv.yaml, definitions/nl.yaml, definitions/no.yaml, definitions/pl.yaml, definitions/pt.yaml, definitions/ro.yaml, definitions/sk.yaml, definitions/si.yaml, definitions/bg.yaml, definitions/ua.yaml
7
7
  class EuropeDefinitionTests < Test::Unit::TestCase # :nodoc:
8
8
 
9
9
  def test_europe
@@ -273,35 +273,7 @@ class EuropeDefinitionTests < Test::Unit::TestCase # :nodoc:
273
273
 
274
274
  assert_equal "Tag der Befreiung", (Holidays.on(Date.civil(2020, 5, 8), [:de_be])[0] || {})[:name]
275
275
 
276
- assert_equal "Πρωτοχρονιά", (Holidays.on(Date.civil(2011, 1, 1), [:el], [:informal])[0] || {})[:name]
277
-
278
- assert_equal "Θεοφάνεια", (Holidays.on(Date.civil(2011, 1, 6), [:el], [:informal])[0] || {})[:name]
279
-
280
- assert_equal "Μεγάλη Παρασκευή", (Holidays.on(Date.civil(2011, 4, 22), [:el], [:informal])[0] || {})[:name]
281
-
282
- assert_equal "Μεγάλο Σάββατο", (Holidays.on(Date.civil(1970, 4, 25), [:el], [:informal])[0] || {})[:name]
283
-
284
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(1985, 4, 14), [:el], [:informal])[0] || {})[:name]
285
-
286
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2011, 4, 24), [:el], [:informal])[0] || {})[:name]
287
-
288
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2027, 5, 2), [:el], [:informal])[0] || {})[:name]
289
-
290
- assert_equal "Δευτέρα του Πάσχα", (Holidays.on(Date.civil(2046, 4, 30), [:el], [:informal])[0] || {})[:name]
291
-
292
- assert_equal "Πρωτομαγιά", (Holidays.on(Date.civil(2011, 5, 1), [:el], [:informal])[0] || {})[:name]
293
-
294
- assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2011, 6, 13), [:el], [:informal])[0] || {})[:name]
295
-
296
- assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2012, 6, 4), [:el], [:informal])[0] || {})[:name]
297
-
298
- assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2011, 3, 7), [:el], [:informal])[0] || {})[:name]
299
-
300
- assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2012, 2, 27), [:el], [:informal])[0] || {})[:name]
301
-
302
- assert_equal "Χριστούγεννα", (Holidays.on(Date.civil(2011, 12, 25), [:el], [:informal])[0] || {})[:name]
303
-
304
- assert_equal "Δεύτερη ημέρα των Χριστουγέννων", (Holidays.on(Date.civil(2011, 12, 26), [:el], [:informal])[0] || {})[:name]
276
+ assert_equal "Weltkindertag", (Holidays.on(Date.civil(2024, 9, 20), [:de_th])[0] || {})[:name]
305
277
 
306
278
  assert_equal "Año Nuevo", (Holidays.on(Date.civil(2009, 1, 1), [:es], [:informal])[0] || {})[:name]
307
279
 
@@ -609,6 +581,36 @@ class EuropeDefinitionTests < Test::Unit::TestCase # :nodoc:
609
581
 
610
582
  assert_equal "Bank Holiday for the Coronation of King Charles III", (Holidays.on(Date.civil(2023, 5, 8), [:gb])[0] || {})[:name]
611
583
 
584
+ assert_equal "Πρωτοχρονιά", (Holidays.on(Date.civil(2011, 1, 1), [:gr], [:informal])[0] || {})[:name]
585
+
586
+ assert_equal "Θεοφάνεια", (Holidays.on(Date.civil(2011, 1, 6), [:gr], [:informal])[0] || {})[:name]
587
+
588
+ assert_equal "Μεγάλη Παρασκευή", (Holidays.on(Date.civil(2011, 4, 22), [:gr], [:informal])[0] || {})[:name]
589
+
590
+ assert_equal "Μεγάλο Σάββατο", (Holidays.on(Date.civil(1970, 4, 25), [:gr], [:informal])[0] || {})[:name]
591
+
592
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(1985, 4, 14), [:gr], [:informal])[0] || {})[:name]
593
+
594
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2011, 4, 24), [:gr], [:informal])[0] || {})[:name]
595
+
596
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2027, 5, 2), [:gr], [:informal])[0] || {})[:name]
597
+
598
+ assert_equal "Δευτέρα του Πάσχα", (Holidays.on(Date.civil(2046, 4, 30), [:gr], [:informal])[0] || {})[:name]
599
+
600
+ assert_equal "Πρωτομαγιά", (Holidays.on(Date.civil(2011, 5, 1), [:gr], [:informal])[0] || {})[:name]
601
+
602
+ assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2011, 6, 13), [:gr], [:informal])[0] || {})[:name]
603
+
604
+ assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2012, 6, 4), [:gr], [:informal])[0] || {})[:name]
605
+
606
+ assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2011, 3, 7), [:gr], [:informal])[0] || {})[:name]
607
+
608
+ assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2012, 2, 27), [:gr], [:informal])[0] || {})[:name]
609
+
610
+ assert_equal "Χριστούγεννα", (Holidays.on(Date.civil(2011, 12, 25), [:gr], [:informal])[0] || {})[:name]
611
+
612
+ assert_equal "Δεύτερη ημέρα των Χριστουγέννων", (Holidays.on(Date.civil(2011, 12, 26), [:gr], [:informal])[0] || {})[:name]
613
+
612
614
  assert_equal "Nova godina", (Holidays.on(Date.civil(2012, 1, 1), [:hr], [:informal])[0] || {})[:name]
613
615
 
614
616
  assert_equal "Bogojavljenje ili Sveta tri kralja", (Holidays.on(Date.civil(2012, 1, 6), [:hr], [:informal])[0] || {})[:name]
@@ -881,6 +883,8 @@ class EuropeDefinitionTests < Test::Unit::TestCase # :nodoc:
881
883
 
882
884
  assert_equal "Antroji Kalėdų diena", (Holidays.on(Date.civil(2012, 12, 26), [:lt])[0] || {})[:name]
883
885
 
886
+ assert_equal "Mirusiųjų atminimo (Vėlinių) diena", (Holidays.on(Date.civil(2024, 11, 2), [:lt])[0] || {})[:name]
887
+
884
888
  assert_equal "Jaungada diena", (Holidays.on(Date.civil(2018, 1, 1), [:lv])[0] || {})[:name]
885
889
  assert_equal "Jaungada diena", (Holidays.on(Date.civil(2019, 1, 1), [:lv])[0] || {})[:name]
886
890
  assert_equal "Jaungada diena", (Holidays.on(Date.civil(2029, 1, 1), [:lv])[0] || {})[:name]
@@ -3,39 +3,39 @@ require File.expand_path(File.dirname(__FILE__)) + '/../test_helper'
3
3
 
4
4
  # This file is generated by the Ruby Holiday gem.
5
5
  #
6
- # Definitions loaded: definitions/el.yaml
7
- class ElDefinitionTests < Test::Unit::TestCase # :nodoc:
6
+ # Definitions loaded: definitions/gr.yaml
7
+ class GrDefinitionTests < Test::Unit::TestCase # :nodoc:
8
8
 
9
- def test_el
10
- assert_equal "Πρωτοχρονιά", (Holidays.on(Date.civil(2011, 1, 1), [:el], [:informal])[0] || {})[:name]
9
+ def test_gr
10
+ assert_equal "Πρωτοχρονιά", (Holidays.on(Date.civil(2011, 1, 1), [:gr], [:informal])[0] || {})[:name]
11
11
 
12
- assert_equal "Θεοφάνεια", (Holidays.on(Date.civil(2011, 1, 6), [:el], [:informal])[0] || {})[:name]
12
+ assert_equal "Θεοφάνεια", (Holidays.on(Date.civil(2011, 1, 6), [:gr], [:informal])[0] || {})[:name]
13
13
 
14
- assert_equal "Μεγάλη Παρασκευή", (Holidays.on(Date.civil(2011, 4, 22), [:el], [:informal])[0] || {})[:name]
14
+ assert_equal "Μεγάλη Παρασκευή", (Holidays.on(Date.civil(2011, 4, 22), [:gr], [:informal])[0] || {})[:name]
15
15
 
16
- assert_equal "Μεγάλο Σάββατο", (Holidays.on(Date.civil(1970, 4, 25), [:el], [:informal])[0] || {})[:name]
16
+ assert_equal "Μεγάλο Σάββατο", (Holidays.on(Date.civil(1970, 4, 25), [:gr], [:informal])[0] || {})[:name]
17
17
 
18
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(1985, 4, 14), [:el], [:informal])[0] || {})[:name]
18
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(1985, 4, 14), [:gr], [:informal])[0] || {})[:name]
19
19
 
20
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2011, 4, 24), [:el], [:informal])[0] || {})[:name]
20
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2011, 4, 24), [:gr], [:informal])[0] || {})[:name]
21
21
 
22
- assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2027, 5, 2), [:el], [:informal])[0] || {})[:name]
22
+ assert_equal "Κυριακή του Πάσχα", (Holidays.on(Date.civil(2027, 5, 2), [:gr], [:informal])[0] || {})[:name]
23
23
 
24
- assert_equal "Δευτέρα του Πάσχα", (Holidays.on(Date.civil(2046, 4, 30), [:el], [:informal])[0] || {})[:name]
24
+ assert_equal "Δευτέρα του Πάσχα", (Holidays.on(Date.civil(2046, 4, 30), [:gr], [:informal])[0] || {})[:name]
25
25
 
26
- assert_equal "Πρωτομαγιά", (Holidays.on(Date.civil(2011, 5, 1), [:el], [:informal])[0] || {})[:name]
26
+ assert_equal "Πρωτομαγιά", (Holidays.on(Date.civil(2011, 5, 1), [:gr], [:informal])[0] || {})[:name]
27
27
 
28
- assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2011, 6, 13), [:el], [:informal])[0] || {})[:name]
28
+ assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2011, 6, 13), [:gr], [:informal])[0] || {})[:name]
29
29
 
30
- assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2012, 6, 4), [:el], [:informal])[0] || {})[:name]
30
+ assert_equal "Αγίου Πνεύματος", (Holidays.on(Date.civil(2012, 6, 4), [:gr], [:informal])[0] || {})[:name]
31
31
 
32
- assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2011, 3, 7), [:el], [:informal])[0] || {})[:name]
32
+ assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2011, 3, 7), [:gr], [:informal])[0] || {})[:name]
33
33
 
34
- assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2012, 2, 27), [:el], [:informal])[0] || {})[:name]
34
+ assert_equal "Καθαρά Δευτέρα", (Holidays.on(Date.civil(2012, 2, 27), [:gr], [:informal])[0] || {})[:name]
35
35
 
36
- assert_equal "Χριστούγεννα", (Holidays.on(Date.civil(2011, 12, 25), [:el], [:informal])[0] || {})[:name]
36
+ assert_equal "Χριστούγεννα", (Holidays.on(Date.civil(2011, 12, 25), [:gr], [:informal])[0] || {})[:name]
37
37
 
38
- assert_equal "Δεύτερη ημέρα των Χριστουγέννων", (Holidays.on(Date.civil(2011, 12, 26), [:el], [:informal])[0] || {})[:name]
38
+ assert_equal "Δεύτερη ημέρα των Χριστουγέννων", (Holidays.on(Date.civil(2011, 12, 26), [:gr], [:informal])[0] || {})[:name]
39
39
 
40
40
  end
41
41
  end
@@ -0,0 +1,31 @@
1
+ # encoding: utf-8
2
+ require File.expand_path(File.dirname(__FILE__)) + '/../test_helper'
3
+
4
+ # This file is generated by the Ruby Holiday gem.
5
+ #
6
+ # Definitions loaded: definitions/ke.yaml
7
+ class KeDefinitionTests < Test::Unit::TestCase # :nodoc:
8
+
9
+ def test_ke
10
+ assert_equal "Good Friday", (Holidays.on(Date.civil(2008, 3, 21), [:ke])[0] || {})[:name]
11
+
12
+ assert_equal "Easter Monday", (Holidays.on(Date.civil(2008, 3, 24), [:ke])[0] || {})[:name]
13
+
14
+ assert_equal "New Year's Day", (Holidays.on(Date.civil(2008, 1, 1), [:ke])[0] || {})[:name]
15
+
16
+ assert_equal "Labour Day", (Holidays.on(Date.civil(2008, 5, 1), [:ke])[0] || {})[:name]
17
+
18
+ assert_equal "Madaraka Day", (Holidays.on(Date.civil(2019, 6, 1), [:ke])[0] || {})[:name]
19
+
20
+ assert_equal "Huduma Day", (Holidays.on(Date.civil(2018, 10, 10), [:ke])[0] || {})[:name]
21
+
22
+ assert_equal "Mashujaa Day", (Holidays.on(Date.civil(2018, 10, 20), [:ke])[0] || {})[:name]
23
+
24
+ assert_equal "Jamhuri Day", (Holidays.on(Date.civil(2019, 12, 12), [:ke])[0] || {})[:name]
25
+
26
+ assert_equal "Christmas Day", (Holidays.on(Date.civil(2008, 12, 25), [:ke])[0] || {})[:name]
27
+
28
+ assert_equal "Utamaduni Day", (Holidays.on(Date.civil(2018, 12, 26), [:ke])[0] || {})[:name]
29
+
30
+ end
31
+ end
@@ -59,5 +59,7 @@ class LtDefinitionTests < Test::Unit::TestCase # :nodoc:
59
59
 
60
60
  assert_equal "Antroji Kalėdų diena", (Holidays.on(Date.civil(2012, 12, 26), [:lt])[0] || {})[:name]
61
61
 
62
+ assert_equal "Mirusiųjų atminimo (Vėlinių) diena", (Holidays.on(Date.civil(2024, 11, 2), [:lt])[0] || {})[:name]
63
+
62
64
  end
63
65
  end
@@ -59,5 +59,9 @@ class NzDefinitionTests < Test::Unit::TestCase # :nodoc:
59
59
 
60
60
  assert_equal "Matariki", (Holidays.on(Date.civil(2052, 6, 21), [:nz])[0] || {})[:name]
61
61
 
62
+ assert_equal "Queen's Birthday", (Holidays.on(Date.civil(2022, 6, 6), [:nz])[0] || {})[:name]
63
+
64
+ assert_equal "King's Birthday", (Holidays.on(Date.civil(2023, 6, 5), [:nz])[0] || {})[:name]
65
+
62
66
  end
63
67
  end
@@ -97,6 +97,10 @@ assert_equal "Feriado con fines turísticos", (Holidays.on(Date.civil(2021, 11,
97
97
 
98
98
  assert_equal "Proclamação da República", (Holidays.on(Date.civil(2008, 11, 15), [:br], [:informal])[0] || {})[:name]
99
99
 
100
+ assert_nil (Holidays.on(Date.civil(2023, 11, 20), [:br], [:informal])[0] || {})[:name]
101
+
102
+ assert_equal "Dia Nacional de Zumbi e da Consciência Negra", (Holidays.on(Date.civil(2024, 11, 20), [:br], [:informal])[0] || {})[:name]
103
+
100
104
  assert_equal "Natal", (Holidays.on(Date.civil(2008, 12, 25), [:br], [:informal])[0] || {})[:name]
101
105
 
102
106
  assert_equal "Año Nuevo", (Holidays.on(Date.civil(2014, 1, 1), [:cl], [:informal])[0] || {})[:name]
@@ -18,6 +18,6 @@ class AvailableRegionsTests < Test::Unit::TestCase
18
18
  # This test might fail if we add new regions. Since this is an integration test
19
19
  # I am fine with that!
20
20
  def test_available_regions_returns_correct_number_of_regions
21
- assert_equal 258, Holidays.available_regions.count
21
+ assert_equal 259, Holidays.available_regions.count
22
22
  end
23
23
  end
@@ -238,6 +238,6 @@ class HolidaysTests < Test::Unit::TestCase
238
238
 
239
239
  def test_load_all
240
240
  Holidays.load_all
241
- assert_equal 258, Holidays.available_regions.count
241
+ assert_equal 259, Holidays.available_regions.count
242
242
  end
243
243
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holidays
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.7.1
4
+ version: 8.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dunae
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-12-30 00:00:00.000000000 Z
12
+ date: 2024-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -148,6 +148,7 @@ files:
148
148
  - lib/generated_definitions/fr.rb
149
149
  - lib/generated_definitions/gb.rb
150
150
  - lib/generated_definitions/ge.rb
151
+ - lib/generated_definitions/gr.rb
151
152
  - lib/generated_definitions/hk.rb
152
153
  - lib/generated_definitions/hr.rb
153
154
  - lib/generated_definitions/hu.rb
@@ -155,6 +156,7 @@ files:
155
156
  - lib/generated_definitions/is.rb
156
157
  - lib/generated_definitions/it.rb
157
158
  - lib/generated_definitions/jp.rb
159
+ - lib/generated_definitions/ke.rb
158
160
  - lib/generated_definitions/kr.rb
159
161
  - lib/generated_definitions/kz.rb
160
162
  - lib/generated_definitions/li.rb
@@ -268,7 +270,6 @@ files:
268
270
  - test/defs/test_defs_dk.rb
269
271
  - test/defs/test_defs_ecbtarget.rb
270
272
  - test/defs/test_defs_ee.rb
271
- - test/defs/test_defs_el.rb
272
273
  - test/defs/test_defs_es.rb
273
274
  - test/defs/test_defs_europe.rb
274
275
  - test/defs/test_defs_fed_ex.rb
@@ -279,6 +280,7 @@ files:
279
280
  - test/defs/test_defs_fr.rb
280
281
  - test/defs/test_defs_gb.rb
281
282
  - test/defs/test_defs_ge.rb
283
+ - test/defs/test_defs_gr.rb
282
284
  - test/defs/test_defs_hk.rb
283
285
  - test/defs/test_defs_hr.rb
284
286
  - test/defs/test_defs_hu.rb
@@ -286,6 +288,7 @@ files:
286
288
  - test/defs/test_defs_is.rb
287
289
  - test/defs/test_defs_it.rb
288
290
  - test/defs/test_defs_jp.rb
291
+ - test/defs/test_defs_ke.rb
289
292
  - test/defs/test_defs_kr.rb
290
293
  - test/defs/test_defs_kz.rb
291
294
  - test/defs/test_defs_li.rb
@@ -379,7 +382,10 @@ files:
379
382
  homepage: https://github.com/holidays/holidays
380
383
  licenses:
381
384
  - MIT
382
- metadata: {}
385
+ metadata:
386
+ changelog_uri: https://github.com/holidays/holidays/blob/master/CHANGELOG.md
387
+ source_code_uri: https://github.com/holidays/holidays
388
+ bug_tracker_uri: https://github.com/holidays/holidays/issues
383
389
  post_install_message:
384
390
  rdoc_options: []
385
391
  require_paths:
@@ -395,7 +401,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
395
401
  - !ruby/object:Gem::Version
396
402
  version: '0'
397
403
  requirements: []
398
- rubygems_version: 3.0.3
404
+ rubygems_version: 3.5.10
399
405
  signing_key:
400
406
  specification_version: 4
401
407
  summary: A collection of Ruby methods to deal with statutory and other holidays.
@@ -428,7 +434,6 @@ test_files:
428
434
  - test/defs/test_defs_dk.rb
429
435
  - test/defs/test_defs_ecbtarget.rb
430
436
  - test/defs/test_defs_ee.rb
431
- - test/defs/test_defs_el.rb
432
437
  - test/defs/test_defs_es.rb
433
438
  - test/defs/test_defs_europe.rb
434
439
  - test/defs/test_defs_fed_ex.rb
@@ -439,6 +444,7 @@ test_files:
439
444
  - test/defs/test_defs_fr.rb
440
445
  - test/defs/test_defs_gb.rb
441
446
  - test/defs/test_defs_ge.rb
447
+ - test/defs/test_defs_gr.rb
442
448
  - test/defs/test_defs_hk.rb
443
449
  - test/defs/test_defs_hr.rb
444
450
  - test/defs/test_defs_hu.rb
@@ -446,6 +452,7 @@ test_files:
446
452
  - test/defs/test_defs_is.rb
447
453
  - test/defs/test_defs_it.rb
448
454
  - test/defs/test_defs_jp.rb
455
+ - test/defs/test_defs_ke.rb
449
456
  - test/defs/test_defs_kr.rb
450
457
  - test/defs/test_defs_kz.rb
451
458
  - test/defs/test_defs_li.rb