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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eeddef93de6ad3c186c8a49bcd3448b66d8f5a15
4
- data.tar.gz: 3b3a7a880b2741cc3ed88b5591c925280394bd59
3
+ metadata.gz: 442a987a61eb1cfb96661b7820cb8f9c44a1c19d
4
+ data.tar.gz: 86101e6a2300a8c0402b6acc74e804b699c021cd
5
5
  SHA512:
6
- metadata.gz: b550fefcf6a87a08245534ab19a1ff25dec5a52c15096c402f6d3f1125706e116ba52669e9ae414586284b9c5bd4a906836f4a0ea4636b06ed729b4da0385316
7
- data.tar.gz: f256f88c64b861204ba8987fc8e8cba702c2ebdb67998af5d5d2d4fe9976a0e5093a6345f950edeee36846be510ad92bdd6480d71d99a9b5f26b23fde893e6ba
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::DateCalculatorFactory.day_of_month_calculator.call(year, 11, 4, 4) + 1
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::DateCalculatorFactory.day_of_month_calculator.call(2008, 1, :first, :monday)
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::DateCalculatorFactory.day_of_month_calculator.call(2008, 12, :third, :thursday)
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::DateCalculatorFactory.day_of_month_calculator.call(2008, 1, :last, 1)
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
@@ -1,3 +1,3 @@
1
1
  module Holidays
2
- VERSION = '5.5.0'
2
+ VERSION = '5.5.1'
3
3
  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: 5.5.0
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-04-24 00:00:00.000000000 Z
12
+ date: 2017-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler