holidays 9.1.0 → 9.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Makefile +1 -1
- data/doc/MAINTAINERS.md +2 -4
- data/lib/generated_definitions/bg.rb +3 -2
- data/lib/generated_definitions/cy.rb +2 -1
- data/lib/generated_definitions/europe.rb +2 -1
- data/lib/holidays/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48de71e88e1ad86816570c37ed6758acb2cbfa7cdd7572c6d7f887db8ab1e97c
|
|
4
|
+
data.tar.gz: fd1ad6a19f5dded4fc5b9bcee63d67049229f51047c20d1e629dddee2bf27810
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf87b687e2927731071a1bae0e128a19cd484a5ce919a7e9d5de6041be63fe4b23e8c7089d94fae37132d322ca206dc32b5c3f3cba59242aac5190e1289550f4
|
|
7
|
+
data.tar.gz: 3f4a6fb07d8ee2e6546ab25d311bf7f0307c2c94e80da6ae24ba53d0dba1d009a1fdcd651d23c1b69fdbb7d285040f88c01fe0dcbee68d44a67974b94334a63e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Ruby Holidays Gem CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 9.1.1
|
|
4
|
+
|
|
5
|
+
* Update to [v6.0.1 definitions](https://github.com/holidays/definitions/releases/tag/v6.0.1). Please see the changelog for the definition details.
|
|
6
|
+
|
|
3
7
|
## 9.1.0
|
|
4
8
|
|
|
5
9
|
* Update to [v6.0.0 definitions](https://github.com/holidays/definitions/releases/tag/v6.0.0). Please see the changelog for the definition details.
|
data/Makefile
CHANGED
|
@@ -27,7 +27,7 @@ update-defs: definitions/
|
|
|
27
27
|
definitions: point-to-defs-master
|
|
28
28
|
|
|
29
29
|
point-to-defs-branch:
|
|
30
|
-
git submodule add -b $(BRANCH)
|
|
30
|
+
git submodule add -b $(BRANCH) https://github.com/$(USER)/definitions.git ./definitions/
|
|
31
31
|
|
|
32
32
|
point-to-defs-master:
|
|
33
33
|
git submodule add https://github.com/holidays/definitions definitions/
|
data/doc/MAINTAINERS.md
CHANGED
|
@@ -55,15 +55,13 @@ sections below.
|
|
|
55
55
|
* If all of the tests pass, update the `lib/holidays/version.rb` file to the new version. Reference the above [semver](http://semver.org/) rules for how to update versions.
|
|
56
56
|
* Make a branch on your fork and update the [CHANGELOG](../CHANGELOG.md) to reflect the latest changes. You do not need to put in all of the definition changes in this update, you can simply reference the other repository. See other entries in the CHANGELOG for examples.
|
|
57
57
|
* Open a PR against the new branch and merge it (another maintainer will need to review before you can merge)
|
|
58
|
-
* Once the branch is merged,
|
|
59
|
-
* If the build was successful then you can run the following to push up to rubygems.org: `GEM=<gem> make push`. Example: `GEM=holidays-6.2.0.gem make push`
|
|
58
|
+
* Once the branch is merged, the release GitHub Actions workflow will automatically build the gem and push it to rubygems.org. No local steps are required.
|
|
60
59
|
* Does this update require functionality additions or bug fixes? If YES, then:
|
|
61
60
|
* Run `make test` and ensure that all of the tests pass. If any tests fail then do *not* merge and contact a [core member](https://github.com/orgs/holidays/teams/core/members) for assistance.
|
|
62
61
|
* If all of the tests pass, make a branch on your fork and update the [CHANGELOG](../CHANGELOG.md) to reflect the latest changes.
|
|
63
62
|
* Update the `lib/holidays/version.rb` file to the new version. Reference the above [semver](http://semver.org/) rules for how to update versions.
|
|
64
63
|
* Open a PR against the new branch and merge it (another maintainer will need to review before you can merge)
|
|
65
|
-
* Once the branch is merged,
|
|
66
|
-
* If the build was successful then you can run the following to push up to rubygems.org: `GEM=<gem> make push`. Example: `GEM=holidays-6.2.0.gem make push`
|
|
64
|
+
* Once the branch is merged, the release GitHub Actions workflow will automatically build the gem and push it to rubygems.org. No local steps are required.
|
|
67
65
|
|
|
68
66
|
You are done! The latest version should be uploaded to rubygems.org. You can go to view the [holidays page](https://rubygems.org/gems/holidays) to verify that the latest version is available.
|
|
69
67
|
|
|
@@ -17,8 +17,9 @@ module Holidays
|
|
|
17
17
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Holy Saturday", :regions => [:bg_en]},
|
|
18
18
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Велика събота", :regions => [:bg_bg]},
|
|
19
19
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Easter Sunday", :regions => [:bg_en]},
|
|
20
|
-
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Възкресение Христово. Великден", :regions => [:bg_bg
|
|
21
|
-
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:bg_en]}
|
|
20
|
+
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Възкресение Христово. Великден", :regions => [:bg_bg]},
|
|
21
|
+
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:bg_en]},
|
|
22
|
+
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Великденски понеделник", :regions => [:bg_bg]}],
|
|
22
23
|
1 => [{:mday => 1, :name => "New Year's Day", :regions => [:bg_en]},
|
|
23
24
|
{:mday => 1, :name => "Нова година", :regions => [:bg_bg]}],
|
|
24
25
|
3 => [{:mday => 3, :name => "Liberation Day", :regions => [:bg_en]},
|
|
@@ -25,7 +25,8 @@ module Holidays
|
|
|
25
25
|
4 => [{:mday => 1, :name => "Εθνική Ημέρα Κύπρου", :regions => [:cy]}],
|
|
26
26
|
5 => [{:mday => 1, :name => "Πρωτομαγιά", :regions => [:cy]}],
|
|
27
27
|
8 => [{:mday => 15, :name => "Κοίμηση της Θεοτόκου", :regions => [:cy]}],
|
|
28
|
-
10 => [{:mday =>
|
|
28
|
+
10 => [{:mday => 1, :name => "Ημέρα Ανεξαρτησίας της Κύπρου", :regions => [:cy]},
|
|
29
|
+
{:mday => 28, :name => "Επέτειος του Όχι", :regions => [:cy]}],
|
|
29
30
|
12 => [{:mday => 25, :name => "Χριστούγεννα", :regions => [:cy]},
|
|
30
31
|
{:mday => 26, :name => "Δεύτερη ημέρα των Χριστουγέννων", :regions => [:cy]}]
|
|
31
32
|
}
|
|
@@ -154,8 +154,9 @@ module Holidays
|
|
|
154
154
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Holy Saturday", :regions => [:bg_en]},
|
|
155
155
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => -1, :name => "Велика събота", :regions => [:bg_bg]},
|
|
156
156
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Easter Sunday", :regions => [:bg_en]},
|
|
157
|
-
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Възкресение Христово. Великден", :regions => [:bg_bg
|
|
157
|
+
{:function => "orthodox_easter(year)", :function_arguments => [:year], :name => "Възкресение Христово. Великден", :regions => [:bg_bg]},
|
|
158
158
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Easter Monday", :regions => [:bg_en]},
|
|
159
|
+
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 1, :name => "Великденски понеделник", :regions => [:bg_bg]},
|
|
159
160
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Великдень", :regions => [:ua]},
|
|
160
161
|
{:function => "orthodox_easter(year)", :function_arguments => [:year], :function_modifier => 49, :observed => "to_monday_if_weekend(date)", :observed_arguments => [:date], :name => "Трійця", :regions => [:ua]}],
|
|
161
162
|
1 => [{:mday => 1, :name => "Neujahrstag", :regions => [:at]},
|
data/lib/holidays/version.rb
CHANGED
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: 9.1.
|
|
4
|
+
version: 9.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Dunae
|
|
@@ -407,7 +407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
407
407
|
- !ruby/object:Gem::Version
|
|
408
408
|
version: '0'
|
|
409
409
|
requirements: []
|
|
410
|
-
rubygems_version: 4.0.
|
|
410
|
+
rubygems_version: 4.0.6
|
|
411
411
|
specification_version: 4
|
|
412
412
|
summary: A collection of Ruby methods to deal with statutory and other holidays.
|
|
413
413
|
test_files:
|