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.
- checksums.yaml +4 -4
- data/lib/business-days.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 261083f1ce671ffbf4ce17960f1decf84f4251bfe9d1e84333f5dc23b986d799
|
4
|
+
data.tar.gz: 3207572c91eaf7fa341b4788eb6d8587fcb78f31ea69f92242a595218bb0c002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
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.
|
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: []
|