holidays 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/generated_definitions/fedex.rb +1 -1
- data/lib/holidays/date_calculator/day_of_month.rb +3 -3
- data/lib/holidays/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442a987a61eb1cfb96661b7820cb8f9c44a1c19d
|
4
|
+
data.tar.gz: 86101e6a2300a8c0402b6acc74e804b699c021cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cb175fb349443d0201c9373c16008373f294e4aacdf34376412b10c4271c77a4177f79ea3c05891c1664df8e13b88d4223fd83327f35c47013d050aafbc03a2
|
7
|
+
data.tar.gz: de84f8d586eb0172190ee388bdf54543a3eabb5b1913a18ac063c5599abab8a52a51df8922067b8ddf5d21080ca5a5cd8a4d444c0c4608ad5d146c22546796d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Ruby Holidays Gem CHANGELOG
|
2
2
|
|
3
|
+
## 5.5.1
|
4
|
+
|
5
|
+
* Update to v1.5.1 definitions, which includes bugfix in `fedex` custom method
|
6
|
+
|
3
7
|
## 5.5.0
|
4
8
|
|
5
9
|
* Fix [#251](https://github.com/holidays/holidays/issues/251): `load_custom` would override all other definitions
|
@@ -54,10 +58,11 @@
|
|
54
58
|
|
55
59
|
* Remove support for jruby 1.7 (this is the main reason for the major semver bump)
|
56
60
|
* Remove support for ruby 2.0 (since it is no longer being supported by the core ruby team)
|
57
|
-
* Add back the lazy loading of regions (this was removed in the 4.0.0 bump) instead of loading upon require (this should have
|
61
|
+
* Add back the lazy loading of regions (this was removed in the 4.0.0 bump) instead of loading upon require (this should have
|
58
62
|
no outward repercussions for users)
|
59
63
|
* Move definitions into their own repository and add as submodule. This will allow for more flexibility for tools written
|
60
64
|
in other languages.
|
65
|
+
* Rename `DateCalculatorFactory` to `Factory::DateCalculator`
|
61
66
|
|
62
67
|
## 4.7.0
|
63
68
|
|
@@ -26,7 +26,7 @@ module Holidays
|
|
26
26
|
def self.custom_methods
|
27
27
|
{
|
28
28
|
"day_after_thanksgiving(year)" => Proc.new { |year|
|
29
|
-
Holidays::
|
29
|
+
Holidays::Factory::DateCalculator.day_of_month_calculator.call(year, 11, 4, 4) + 1
|
30
30
|
},
|
31
31
|
|
32
32
|
|
@@ -15,15 +15,15 @@ module Holidays
|
|
15
15
|
#
|
16
16
|
# ===== Examples
|
17
17
|
# First Monday of January, 2008:
|
18
|
-
# Holidays::
|
18
|
+
# Holidays::Factory::DateCalculator.day_of_month_calculator.call(2008, 1, :first, :monday)
|
19
19
|
# => 7
|
20
20
|
#
|
21
21
|
# Third Thursday of December, 2008:
|
22
|
-
# Holidays::
|
22
|
+
# Holidays::Factory::DateCalculator.day_of_month_calculator.call(2008, 12, :third, :thursday)
|
23
23
|
# => 18
|
24
24
|
#
|
25
25
|
# Last Monday of January, 2008:
|
26
|
-
# Holidays::
|
26
|
+
# Holidays::Factory::DateCalculator.day_of_month_calculator.call(2008, 1, :last, 1)
|
27
27
|
# => 28
|
28
28
|
#--
|
29
29
|
# see http://www.irt.org/articles/js050/index.htm
|
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: 5.5.
|
4
|
+
version: 5.5.1
|
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: 2017-
|
12
|
+
date: 2017-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|