holidays 2.1.0 → 2.2.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
  SHA1:
3
- metadata.gz: aa61e29b2f89d86de3786a510f1fad83961b834c
4
- data.tar.gz: 7018c5e32b6f23c09daa46f0c8fe397c03e026b9
3
+ metadata.gz: c3c8c7e2a83586d68dc3539c6dc0361b7e540849
4
+ data.tar.gz: 937727211a7563a4b79999ff674356facf6e26c1
5
5
  SHA512:
6
- metadata.gz: 24d5aeae9b85a30eee244197d5f33486c240a8842510b58fa9938c7d5b440d122ebbd2ad7430ec2bceab7827ff066a0b5b1c7c8e698c55e9ba7f6de2a6296f4d
7
- data.tar.gz: f628f94e2de462f34ff82eb8da002f6a97c16a2a1e185abce30e0a0c325f90ec12168e585778bd235b2e1f0f0dfd729b1c70e60f84ce699c7d63ae996f204c5d
6
+ metadata.gz: aa97db7271f924548252559fb1e139c71773c8c0750cd269936577555e25f86a334840a6d8fb38f3d5d4a310b4c7c9d3456e25a0201a2c7a32126020abe1bda2
7
+ data.tar.gz: c0c169a10a3dda81385cfc7655d20080e507bc7495b63f702f76dd67f4896a8be003435a91badbce140b0aa9f9e0dfda952c7714bc6604b1fc8c4b33e40fff88
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ruby Holidays Gem CHANGELOG
2
2
 
3
+ ## 2.2.0
4
+
5
+ * Correct 'informal' type for Dodenherdenking holiday in NL definitions (https://github.com/MathijsK93)
6
+
3
7
  ## 2.1.0
4
8
 
5
9
  * Updated Slovak holiday definitions (https://github.com/guitarman)
data/data/nl.yaml CHANGED
@@ -37,6 +37,7 @@ months:
37
37
  - name: Dodenherdenking
38
38
  regions: [nl]
39
39
  mday: 4
40
+ type: informal
40
41
  - name: Bevrijdingsdag
41
42
  regions: [nl]
42
43
  mday: 5
@@ -201,7 +201,7 @@ module Holidays
201
201
  {:mday => 1, :name => "Festa dei Lavoratori", :regions => [:it]},
202
202
  {:mday => 1, :name => "Tag der Arbeit", :regions => [:li]},
203
203
  {:mday => 1, :name => "Darbininkų diena", :regions => [:lt]},
204
- {:mday => 4, :name => "Dodenherdenking", :regions => [:nl]},
204
+ {:mday => 4, :type => :informal, :name => "Dodenherdenking", :regions => [:nl]},
205
205
  {:mday => 5, :name => "Bevrijdingsdag", :regions => [:nl]},
206
206
  {:mday => 1, :name => "1. mai", :regions => [:no]},
207
207
  {:mday => 17, :name => "17. mai", :regions => [:no]},
@@ -211,7 +211,7 @@ module Holidays
211
211
  {:mday => 1, :name => "Dia do Trabalhador", :regions => [:pt]},
212
212
  {:mday => 1, :name => "Ziua muncii", :regions => [:ro]},
213
213
  {:mday => 1, :name => "Sviatok práce", :regions => [:sk]},
214
- {:mday => 8, :name => "Deň víťazstva nas fašizmom", :regions => [:sk]},
214
+ {:mday => 8, :name => "Deň víťazstva nad fašizmom", :regions => [:sk]},
215
215
  {:mday => 1, :name => "praznik dela", :regions => [:si]},
216
216
  {:mday => 2, :name => "praznik dela", :regions => [:si]}],
217
217
  8 => [{:mday => 15, :name => "Mariä Himmelfahrt", :regions => [:at]},
data/lib/holidays/nl.rb CHANGED
@@ -26,7 +26,7 @@ module Holidays
26
26
  {:function => lambda { |year| Holidays.easter(year)+50 }, :function_id => "easter(year)+50", :name => "Pinksteren", :regions => [:nl]}],
27
27
  1 => [{:mday => 1, :name => "Nieuwjaar", :regions => [:nl]}],
28
28
  4 => [{:mday => 27, :name => "Koningsdag", :regions => [:nl]}],
29
- 5 => [{:mday => 4, :name => "Dodenherdenking", :regions => [:nl]},
29
+ 5 => [{:mday => 4, :type => :informal, :name => "Dodenherdenking", :regions => [:nl]},
30
30
  {:mday => 5, :name => "Bevrijdingsdag", :regions => [:nl]}],
31
31
  12 => [{:mday => 5, :type => :informal, :name => "Sinterklaas", :regions => [:nl]},
32
32
  {:mday => 25, :name => "Kerstmis", :regions => [:nl]},
@@ -13,7 +13,7 @@ module Holidays
13
13
  # All the definitions are available at https://github.com/alexdunae/holidays
14
14
  module NORTH_AMERICA # :nodoc:
15
15
  def self.defined_regions
16
- [:ca, :ca_qc, :ca_ab, :ca_on, :ca_sk, :ca_mb, :ca_ns, :ca_pe, :ca_bc, :ca_nf, :ca_nt, :ca_nu, :ca_nb, :ca_yk, :mx, :mx_pue, :us, :us_ca, :us_dc]
16
+ [:ca, :ca_qc, :ca_ab, :ca_on, :ca_sk, :ca_mb, :ca_ns, :ca_pe, :ca_bc, :ca_nf, :ca_nt, :ca_nu, :ca_nb, :ca_yk, :mx, :mx_pue, :us, :us_dc, :us_ca]
17
17
  end
18
18
 
19
19
  def self.holidays_by_month
@@ -1,3 +1,3 @@
1
1
  module Holidays
2
- VERSION = '2.1.0'
2
+ VERSION = '2.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holidays
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dunae
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-23 00:00:00.000000000 Z
11
+ date: 2015-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler