national_holidays 1.5.9 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47b006c23f990877eee1d2a35a6ba22f93e7ca5c84f27373853241a79013f3c3
|
|
4
|
+
data.tar.gz: cd4da6cc0ddc12302b7c2a5a40d38eba7f6893d77d2380b3a745a42ceb23078f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d063d2c5587fb647e0dea81d306a5b23199572b71381813c1e8eb080c8d93c773968733b4a92c8d349a816235f85ab35e7e55d90567c8bcd6d8cc1bccede22ba
|
|
7
|
+
data.tar.gz: aed804852c073dfa642782c00ef648e6f019b5663a225e3ccb1bcdc9047a5081c5e415908011752d3c14bd075493862b160354f545c59a7bf6f4aa3c5b0c45ba
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Zurich
|
|
3
|
+
years:
|
|
4
|
+
'2019':
|
|
5
|
+
- public_holiday: true
|
|
6
|
+
date: '2019-01-01'
|
|
7
|
+
names:
|
|
8
|
+
en: New Year's Day
|
|
9
|
+
de: Neujahr,
|
|
10
|
+
- public_holiday: true
|
|
11
|
+
date: '2019-01-02'
|
|
12
|
+
names:
|
|
13
|
+
en: Berchtolds Day
|
|
14
|
+
de: Berchtoldstag,
|
|
15
|
+
- public_holiday: true
|
|
16
|
+
date: '2019-04-08'
|
|
17
|
+
names:
|
|
18
|
+
en: Sechseläuten
|
|
19
|
+
de: Sechseläuten,
|
|
20
|
+
- public_holiday: true
|
|
21
|
+
date: '2019-04-18'
|
|
22
|
+
names:
|
|
23
|
+
en: Maundy Thursday
|
|
24
|
+
de: Gründonnerstag,
|
|
25
|
+
- public_holiday: true
|
|
26
|
+
date: '2019-04-19'
|
|
27
|
+
names:
|
|
28
|
+
en: Good Friday
|
|
29
|
+
de: Karfreitag,
|
|
30
|
+
- public_holiday: true
|
|
31
|
+
date: '2019-04-22'
|
|
32
|
+
names:
|
|
33
|
+
en: Easter Monday
|
|
34
|
+
de: Ostermontag,
|
|
35
|
+
- public_holiday: true
|
|
36
|
+
date: '2019-05-01'
|
|
37
|
+
names:
|
|
38
|
+
en: May Day
|
|
39
|
+
de: Tag der Arbeit,
|
|
40
|
+
- public_holiday: true
|
|
41
|
+
date: '2019-05-29'
|
|
42
|
+
names:
|
|
43
|
+
en: Mittwoch vor Auffahrt
|
|
44
|
+
de: Mittwoch vor Auffahrt,
|
|
45
|
+
- public_holiday: true
|
|
46
|
+
date: '2019-05-30'
|
|
47
|
+
names:
|
|
48
|
+
en: Ascension Day
|
|
49
|
+
de: Auffahrt,
|
|
50
|
+
- public_holiday: true
|
|
51
|
+
date: '2019-06-10'
|
|
52
|
+
names:
|
|
53
|
+
en: Whit Monday
|
|
54
|
+
de: Pfingstmontag,
|
|
55
|
+
- public_holiday: true
|
|
56
|
+
date: '2019-08-01'
|
|
57
|
+
names:
|
|
58
|
+
en: National Day
|
|
59
|
+
de: Nationalfeiertag,
|
|
60
|
+
- public_holiday: true
|
|
61
|
+
date: '2019-09-09'
|
|
62
|
+
names:
|
|
63
|
+
en: Knabenschiessen
|
|
64
|
+
de: Knabenschiessen,
|
|
65
|
+
- public_holiday: true
|
|
66
|
+
date: '2019-12-24'
|
|
67
|
+
names:
|
|
68
|
+
en: Christmas Eve
|
|
69
|
+
de: Heiligabend,
|
|
70
|
+
- public_holiday: true
|
|
71
|
+
date: '2019-12-25'
|
|
72
|
+
names:
|
|
73
|
+
en: Christmas Day
|
|
74
|
+
de: Weihnachten,
|
|
75
|
+
- public_holiday: true
|
|
76
|
+
date: '2019-12-26'
|
|
77
|
+
names:
|
|
78
|
+
en: St. Stephen's Day
|
|
79
|
+
de: Stephanstag,
|
|
80
|
+
- public_holiday: true
|
|
81
|
+
date: '2019-12-31'
|
|
82
|
+
names:
|
|
83
|
+
en: New Year's Eve
|
|
84
|
+
de: Silvester
|
|
85
|
+
'2020':
|
|
86
|
+
- public_holiday: true
|
|
87
|
+
date: '2020-01-01'
|
|
88
|
+
names:
|
|
89
|
+
en: New Year's Day
|
|
90
|
+
de: Neujahr,
|
|
91
|
+
- public_holiday: true
|
|
92
|
+
date: '2020-01-02'
|
|
93
|
+
names:
|
|
94
|
+
en: Berchtolds Day
|
|
95
|
+
de: Berchtoldstag,
|
|
96
|
+
- public_holiday: true
|
|
97
|
+
date: '2020-04-09'
|
|
98
|
+
names:
|
|
99
|
+
en: Maundy Thursday
|
|
100
|
+
de: Gründonnerstag,
|
|
101
|
+
- public_holiday: true
|
|
102
|
+
date: '2020-04-10'
|
|
103
|
+
names:
|
|
104
|
+
en: Good Friday
|
|
105
|
+
de: Karfreitag,
|
|
106
|
+
- public_holiday: true
|
|
107
|
+
date: '2020-04-13'
|
|
108
|
+
names:
|
|
109
|
+
en: Easter Monday
|
|
110
|
+
de: Ostermontag,
|
|
111
|
+
- public_holiday: true
|
|
112
|
+
date: '2020-05-01'
|
|
113
|
+
names:
|
|
114
|
+
en: May Day
|
|
115
|
+
de: Tag der Arbeit,
|
|
116
|
+
- public_holiday: true
|
|
117
|
+
date: '2020-05-20'
|
|
118
|
+
names:
|
|
119
|
+
en: Mittwoch vor Auffahrt
|
|
120
|
+
de: Mittwoch vor Auffahrt,
|
|
121
|
+
- public_holiday: true
|
|
122
|
+
date: '2020-05-21'
|
|
123
|
+
names:
|
|
124
|
+
en: Ascension Day
|
|
125
|
+
de: Auffahrt,
|
|
126
|
+
- public_holiday: true
|
|
127
|
+
date: '2020-06-01'
|
|
128
|
+
names:
|
|
129
|
+
en: Whit Monday
|
|
130
|
+
de: Pfingstmontag,
|
|
131
|
+
- public_holiday: true
|
|
132
|
+
date: '2020-09-14'
|
|
133
|
+
names:
|
|
134
|
+
en: Knabenschiessen
|
|
135
|
+
de: Knabenschiessen,
|
|
136
|
+
- public_holiday: true
|
|
137
|
+
date: '2020-12-24'
|
|
138
|
+
names:
|
|
139
|
+
en: Christmas Eve
|
|
140
|
+
de: Heiligabend,
|
|
141
|
+
- public_holiday: true
|
|
142
|
+
date: '2020-12-25'
|
|
143
|
+
names:
|
|
144
|
+
en: Christmas Day
|
|
145
|
+
de: Weihnachten,
|
|
146
|
+
- public_holiday: true
|
|
147
|
+
date: '2020-12-31'
|
|
148
|
+
names:
|
|
149
|
+
en: New Year's Eve
|
|
150
|
+
de: Silvester
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Mauritius (all)
|
|
3
|
+
years:
|
|
4
|
+
'2019':
|
|
5
|
+
- public_holiday: true
|
|
6
|
+
date: '2019-01-01'
|
|
7
|
+
names:
|
|
8
|
+
en: New Year's Day,
|
|
9
|
+
- public_holiday: true
|
|
10
|
+
date: '2019-01-02'
|
|
11
|
+
names:
|
|
12
|
+
en: New Year's Day Holiday,
|
|
13
|
+
- public_holiday: true
|
|
14
|
+
date: '2019-01-21'
|
|
15
|
+
names:
|
|
16
|
+
en: Thaipoosam Cavadee,
|
|
17
|
+
- public_holiday: true
|
|
18
|
+
date: '2019-02-01'
|
|
19
|
+
names:
|
|
20
|
+
en: Abolition of Slavery,
|
|
21
|
+
- public_holiday: true
|
|
22
|
+
date: '2019-02-05'
|
|
23
|
+
names:
|
|
24
|
+
en: Chinese Spring Festival,
|
|
25
|
+
- public_holiday: true
|
|
26
|
+
date: '2019-03-04'
|
|
27
|
+
names:
|
|
28
|
+
en: Maha Shivaratree,
|
|
29
|
+
- public_holiday: true
|
|
30
|
+
date: '2019-03-12'
|
|
31
|
+
names:
|
|
32
|
+
en: Independance and Republic Day,
|
|
33
|
+
- public_holiday: true
|
|
34
|
+
date: '2019-04-06'
|
|
35
|
+
names:
|
|
36
|
+
en: Ougadi,
|
|
37
|
+
- public_holiday: true
|
|
38
|
+
date: '2019-05-01'
|
|
39
|
+
names:
|
|
40
|
+
en: Labour Day,
|
|
41
|
+
- public_holiday: true
|
|
42
|
+
date: '2019-06-05'
|
|
43
|
+
names:
|
|
44
|
+
en: Eid-Ul-Fitr,
|
|
45
|
+
- public_holiday: true
|
|
46
|
+
date: '2019-09-03'
|
|
47
|
+
names:
|
|
48
|
+
en: Ganesh Chaturthi ,
|
|
49
|
+
- public_holiday: true
|
|
50
|
+
date: '2019-10-27'
|
|
51
|
+
names:
|
|
52
|
+
en: Diwali,
|
|
53
|
+
- public_holiday: true
|
|
54
|
+
date: '2019-11-01'
|
|
55
|
+
names:
|
|
56
|
+
en: All Saints Day,
|
|
57
|
+
- public_holiday: true
|
|
58
|
+
date: '2019-11-02'
|
|
59
|
+
names:
|
|
60
|
+
en: Arrival of Indentured Labourers,
|
|
61
|
+
- public_holiday: true
|
|
62
|
+
date: '2019-12-25'
|
|
63
|
+
names:
|
|
64
|
+
en: Christmas Day
|
|
65
|
+
'2020':
|
|
66
|
+
- public_holiday: true
|
|
67
|
+
date: '2020-01-01'
|
|
68
|
+
names:
|
|
69
|
+
en: New Year's Day,
|
|
70
|
+
- public_holiday: true
|
|
71
|
+
date: '2020-01-02'
|
|
72
|
+
names:
|
|
73
|
+
en: New Year's Day Holiday,
|
|
74
|
+
- public_holiday: true
|
|
75
|
+
date: '2020-01-25'
|
|
76
|
+
names:
|
|
77
|
+
en: Chinese Spring Festival,
|
|
78
|
+
- public_holiday: true
|
|
79
|
+
date: '2020-02-01'
|
|
80
|
+
names:
|
|
81
|
+
en: Abolition of Slavery,
|
|
82
|
+
- public_holiday: true
|
|
83
|
+
date: '2020-02-08'
|
|
84
|
+
names:
|
|
85
|
+
en: Thaipoosam Cavadee,
|
|
86
|
+
- public_holiday: true
|
|
87
|
+
date: '2020-02-21'
|
|
88
|
+
names:
|
|
89
|
+
en: Maha Shivaratree,
|
|
90
|
+
- public_holiday: true
|
|
91
|
+
date: '2020-03-25'
|
|
92
|
+
names:
|
|
93
|
+
en: Ougadi,
|
|
94
|
+
- public_holiday: true
|
|
95
|
+
date: '2020-05-01'
|
|
96
|
+
names:
|
|
97
|
+
en: Labour Day,
|
|
98
|
+
- public_holiday: true
|
|
99
|
+
date: '2020-05-24'
|
|
100
|
+
names:
|
|
101
|
+
en: Eid-Ul-Fitr,
|
|
102
|
+
- public_holiday: true
|
|
103
|
+
date: '2020-08-23'
|
|
104
|
+
names:
|
|
105
|
+
en: Ganesh Chaturthi ,
|
|
106
|
+
- public_holiday: true
|
|
107
|
+
date: '2020-11-02'
|
|
108
|
+
names:
|
|
109
|
+
en: Arrival of Indentured Labourers,
|
|
110
|
+
- public_holiday: true
|
|
111
|
+
date: '2020-11-14'
|
|
112
|
+
names:
|
|
113
|
+
en: Diwali,
|
|
114
|
+
- public_holiday: true
|
|
115
|
+
date: '2020-12-25'
|
|
116
|
+
names:
|
|
117
|
+
en: Christmas Day
|
|
@@ -15,7 +15,7 @@ class NationalHolidaysTest < Minitest::Test
|
|
|
15
15
|
|
|
16
16
|
def test_regions
|
|
17
17
|
assert_equal :angola01, NationalHolidays.regions.first.code
|
|
18
|
-
assert_equal '
|
|
18
|
+
assert_equal 'Zurich', NationalHolidays.regions.last.name
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
def test_regions_to_public_holiday_count_for_year
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: national_holidays
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Balhatchet
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: countries
|
|
@@ -67,7 +67,7 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0.56'
|
|
69
69
|
description: Uses config from the national-holidays-config project to provide access
|
|
70
|
-
to national holiday data across
|
|
70
|
+
to national holiday data across 82 countries
|
|
71
71
|
email: alex@balhatchet.net
|
|
72
72
|
executables: []
|
|
73
73
|
extensions: []
|
|
@@ -112,6 +112,7 @@ files:
|
|
|
112
112
|
- national-holidays-config/conf/ca/canada12.yml
|
|
113
113
|
- national-holidays-config/conf/ca/canada13.yml
|
|
114
114
|
- national-holidays-config/conf/ch/switzerland01.yml
|
|
115
|
+
- national-holidays-config/conf/ch/zurich.yml
|
|
115
116
|
- national-holidays-config/conf/cn/china01.yml
|
|
116
117
|
- national-holidays-config/conf/co/colombia01.yml
|
|
117
118
|
- national-holidays-config/conf/cr/costa_rica01.yml
|
|
@@ -183,6 +184,7 @@ files:
|
|
|
183
184
|
- national-holidays-config/conf/mm/myanmar01.yml
|
|
184
185
|
- national-holidays-config/conf/mn/mongolia01.yml
|
|
185
186
|
- national-holidays-config/conf/mt/malta01.yml
|
|
187
|
+
- national-holidays-config/conf/mu/maurtius01.yml
|
|
186
188
|
- national-holidays-config/conf/mx/mexico01.yml
|
|
187
189
|
- national-holidays-config/conf/my/malaysia01.yml
|
|
188
190
|
- national-holidays-config/conf/ng/nigeria01.yml
|
|
@@ -297,5 +299,5 @@ requirements: []
|
|
|
297
299
|
rubygems_version: 3.0.3
|
|
298
300
|
signing_key:
|
|
299
301
|
specification_version: 4
|
|
300
|
-
summary: National Holidays for
|
|
302
|
+
summary: National Holidays for 82 countries
|
|
301
303
|
test_files: []
|