business-days 4.1.1 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/business-days.rb +3 -3
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5db312f3c9892167c0e2b5efeee91a9cf8833d508f5cd450d686530085f000c2
4
- data.tar.gz: 952ba3b9fd7f28d206bac78a99f27d7ae4e78d6ac93d239587872b8e6eef56c1
3
+ metadata.gz: 261083f1ce671ffbf4ce17960f1decf84f4251bfe9d1e84333f5dc23b986d799
4
+ data.tar.gz: 3207572c91eaf7fa341b4788eb6d8587fcb78f31ea69f92242a595218bb0c002
5
5
  SHA512:
6
- metadata.gz: 7c619a91170f020dbd3b1c16a22fe24c1b00105511192c624bf65c16c9cdc732304606626826e683678dbc7c3f60814ed6f2105c6eddfdba3069a88437a8a566
7
- data.tar.gz: 1c923b29bddd7d63c7bbe0d293028d249e95daeda315769c30f73b61c467659e7941a1d0ae143ab1bc64d0c1668826b112ddc87f2b290096f780d6ebde459f81
6
+ metadata.gz: dd17bb656de7071278fb0f80b556dff35b3fc593c28c3cf852bfeae0aff608ea68a3ad384ccb3340c9236fe84b2f6aab976485772bf641c4e9c2ac5a19ebac5d
7
+ data.tar.gz: a9fc840db50666e6623fcb2a0d1267546f8be6b830c905c7fcbe18dcb4ce5bbb85aef6d050331a8854a06ea93bbe04bf2281671737513ceb28672690de44f660
data/lib/business-days.rb CHANGED
@@ -24,9 +24,9 @@ class BusinessDaysSingleton
24
24
  end
25
25
 
26
26
  # 3. Add the latest business day in each year (it's a bank holiday)
27
- (from..to).each do |year|
28
- @holidays.push(latest_non_bank_business_day(year))
29
- end
27
+ # (from..to).each do |year|
28
+ # @holidays.push(latest_non_bank_business_day(year))
29
+ # end
30
30
  end
31
31
 
32
32
  # Compute the date obtained by adding the given amount of business days to the given time.
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: business-days
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allan Costa
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2021-02-04 00:00:00.000000000 Z
@@ -81,7 +81,7 @@ metadata:
81
81
  changelog_uri: https://github.com/cloudwalkio/business-days/blob/master/CHANGELOG.md
82
82
  documentation_uri: http://www.rubydoc.info/github/cloudwalkio/business-days
83
83
  source_code_uri: https://github.com/cloudwalkio/business-days
84
- post_install_message:
84
+ post_install_message:
85
85
  rdoc_options: []
86
86
  require_paths:
87
87
  - lib
@@ -96,8 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.1.6
100
- signing_key:
99
+ rubygems_version: 3.3.7
100
+ signing_key:
101
101
  specification_version: 4
102
102
  summary: Business Days
103
103
  test_files: []