business 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/business/data/bankgirot.yml +208 -0
- data/lib/business/data/target.yml +54 -0
- data/lib/business/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aacbf30dbdced46db79a2c7a5bf1aaa4ec07d67
|
4
|
+
data.tar.gz: 8178829a00cae928eee393795ff457730fa73fd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fac4d992842189a5925b2403498e9d99124a1fb5f62e3c8ee3108c7f543d08b8e9199687544992d428d24ac99b69f30feded400a0b61b6a412804cf51d11280
|
7
|
+
data.tar.gz: af7a3174a0939b99ad8591fa06e31a7519a529346e5adef454ab188623a302a8971472d69473d78f75735f2e4ecd0c0bdc0046b3c9cee490f534592e62ffc02b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 1.8.0 - February 13, 2017
|
2
|
+
|
3
|
+
- Add 2018-2027 TARGET holiday defintions
|
4
|
+
- Add 2018-2027 Bankgirot holiday defintions
|
5
|
+
|
1
6
|
## 1.7.0 - January 18, 2017
|
2
7
|
|
3
8
|
- Add 2018-2027 BACS holiday defintions
|
@@ -35,4 +40,3 @@
|
|
35
40
|
## 1.0.0 - June 11, 2014
|
36
41
|
|
37
42
|
- Initial public release
|
38
|
-
|
@@ -0,0 +1,208 @@
|
|
1
|
+
working_days:
|
2
|
+
- monday
|
3
|
+
- tuesday
|
4
|
+
- wednesday
|
5
|
+
- thursday
|
6
|
+
- friday
|
7
|
+
|
8
|
+
holidays:
|
9
|
+
- January 1st, 2015
|
10
|
+
- January 6th, 2015
|
11
|
+
- April 3rd, 2015
|
12
|
+
- April 6th, 2015
|
13
|
+
- May 1st, 2015
|
14
|
+
- May 14th, 2015
|
15
|
+
- June 6th, 2015
|
16
|
+
- June 19th, 2015
|
17
|
+
- December 24th, 2015
|
18
|
+
- December 25th, 2015
|
19
|
+
- December 26th, 2015
|
20
|
+
- December 31st, 2015
|
21
|
+
- January 1st, 2016
|
22
|
+
- January 6th, 2016
|
23
|
+
- March 25th, 2016
|
24
|
+
- March 28th, 2016
|
25
|
+
- May 1st, 2016
|
26
|
+
- May 5th, 2016
|
27
|
+
- June 6th, 2016
|
28
|
+
- June 24th, 2016
|
29
|
+
- December 24th, 2016
|
30
|
+
- December 25th, 2016
|
31
|
+
- December 26th, 2016
|
32
|
+
- December 31st, 2016
|
33
|
+
- January 1st, 2017
|
34
|
+
- January 6th, 2017
|
35
|
+
- April 14th, 2017
|
36
|
+
- April 16th, 2017
|
37
|
+
- April 17th, 2017
|
38
|
+
- May 1st, 2017
|
39
|
+
- May 25th, 2017
|
40
|
+
- June 4th, 2017
|
41
|
+
- June 6th, 2017
|
42
|
+
- June 23rd, 2017
|
43
|
+
- June 24th, 2017
|
44
|
+
- November 4th, 2017
|
45
|
+
- December 24th, 2017
|
46
|
+
- December 25th, 2017
|
47
|
+
- December 26th, 2017
|
48
|
+
- December 31st, 2017
|
49
|
+
- January 1st, 2018
|
50
|
+
- January 6th, 2018
|
51
|
+
- March 30th, 2018
|
52
|
+
- April 1st, 2018
|
53
|
+
- April 2nd, 2018
|
54
|
+
- May 1st, 2018
|
55
|
+
- May 10th, 2018
|
56
|
+
- May 20th, 2018
|
57
|
+
- June 6th, 2018
|
58
|
+
- June 23rd, 2018
|
59
|
+
- June 24th, 2018
|
60
|
+
- November 3rd, 2018
|
61
|
+
- December 24th, 2018
|
62
|
+
- December 25th, 2018
|
63
|
+
- December 26th, 2018
|
64
|
+
- December 31st, 2018
|
65
|
+
- January 1st, 2019
|
66
|
+
- January 6th, 2019
|
67
|
+
- April 19th, 2019
|
68
|
+
- April 21st, 2019
|
69
|
+
- April 22nd, 2019
|
70
|
+
- May 1st, 2019
|
71
|
+
- May 30th, 2019
|
72
|
+
- June 6th, 2019
|
73
|
+
- June 9th, 2019
|
74
|
+
- June 21st, 2019
|
75
|
+
- June 22nd, 2019
|
76
|
+
- November 2nd, 2019
|
77
|
+
- December 24th, 2019
|
78
|
+
- December 25th, 2019
|
79
|
+
- December 26th, 2019
|
80
|
+
- December 31st, 2019
|
81
|
+
- January 1st, 2020
|
82
|
+
- January 6th, 2020
|
83
|
+
- April 10th, 2020
|
84
|
+
- April 12th, 2020
|
85
|
+
- April 13th, 2020
|
86
|
+
- May 1st, 2020
|
87
|
+
- May 21st, 2020
|
88
|
+
- May 31st, 2020
|
89
|
+
- June 6th, 2020
|
90
|
+
- June 19th, 2020
|
91
|
+
- June 20th, 2020
|
92
|
+
- October 31st, 2020
|
93
|
+
- December 24th, 2020
|
94
|
+
- December 25th, 2020
|
95
|
+
- December 26th, 2020
|
96
|
+
- December 31st, 2020
|
97
|
+
- January 1st, 2021
|
98
|
+
- January 6th, 2021
|
99
|
+
- April 2nd, 2021
|
100
|
+
- April 4th, 2021
|
101
|
+
- April 5th, 2021
|
102
|
+
- May 1st, 2021
|
103
|
+
- May 13th, 2021
|
104
|
+
- May 23rd, 2021
|
105
|
+
- June 6th, 2021
|
106
|
+
- June 25th, 2021
|
107
|
+
- June 26th, 2021
|
108
|
+
- November 6th, 2021
|
109
|
+
- December 24th, 2021
|
110
|
+
- December 25th, 2021
|
111
|
+
- December 26th, 2021
|
112
|
+
- December 31st, 2021
|
113
|
+
- January 1st, 2022
|
114
|
+
- January 6th, 2022
|
115
|
+
- April 15th, 2022
|
116
|
+
- April 17th, 2022
|
117
|
+
- April 18th, 2022
|
118
|
+
- May 1st, 2022
|
119
|
+
- May 26th, 2022
|
120
|
+
- June 5th, 2022
|
121
|
+
- June 6th, 2022
|
122
|
+
- June 24th, 2022
|
123
|
+
- June 25th, 2022
|
124
|
+
- November 5th, 2022
|
125
|
+
- December 24th, 2022
|
126
|
+
- December 25th, 2022
|
127
|
+
- December 26th, 2022
|
128
|
+
- December 31st, 2022
|
129
|
+
- January 1st, 2023
|
130
|
+
- January 6th, 2023
|
131
|
+
- April 7th, 2023
|
132
|
+
- April 9th, 2023
|
133
|
+
- April 10th, 2023
|
134
|
+
- May 1st, 2023
|
135
|
+
- May 18th, 2023
|
136
|
+
- May 28th, 2023
|
137
|
+
- June 6th, 2023
|
138
|
+
- June 23rd, 2023
|
139
|
+
- June 24th, 2023
|
140
|
+
- November 4th, 2023
|
141
|
+
- December 24th, 2023
|
142
|
+
- December 25th, 2023
|
143
|
+
- December 26th, 2023
|
144
|
+
- December 31st, 2023
|
145
|
+
- January 1st, 2024
|
146
|
+
- January 6th, 2024
|
147
|
+
- March 29th, 2024
|
148
|
+
- March 31st, 2024
|
149
|
+
- April 1st, 2024
|
150
|
+
- May 1st, 2024
|
151
|
+
- May 9th, 2024
|
152
|
+
- May 19th, 2024
|
153
|
+
- June 6th, 2024
|
154
|
+
- June 21st, 2023
|
155
|
+
- June 22nd, 2023
|
156
|
+
- November 2nd, 2024
|
157
|
+
- December 24th, 2024
|
158
|
+
- December 25th, 2024
|
159
|
+
- December 26th, 2024
|
160
|
+
- December 31st, 2024
|
161
|
+
- January 1st, 2025
|
162
|
+
- January 6th, 2025
|
163
|
+
- April 18th, 2025
|
164
|
+
- April 20th, 2025
|
165
|
+
- April 21st, 2025
|
166
|
+
- May 1st, 2025
|
167
|
+
- May 29th, 2025
|
168
|
+
- June 6th, 2025
|
169
|
+
- June 8th, 2025
|
170
|
+
- June 20th, 2025
|
171
|
+
- June 21st, 2025
|
172
|
+
- November 1st, 2025
|
173
|
+
- December 24th, 2025
|
174
|
+
- December 25th, 2025
|
175
|
+
- December 26th, 2025
|
176
|
+
- December 31st, 2025
|
177
|
+
- January 1st, 2026
|
178
|
+
- January 6th, 2026
|
179
|
+
- April 3rd, 2026
|
180
|
+
- April 5th, 2026
|
181
|
+
- April 6th, 2026
|
182
|
+
- May 1st, 2026
|
183
|
+
- May 14th, 2026
|
184
|
+
- May 24th, 2026
|
185
|
+
- June 6th, 2026
|
186
|
+
- June 19th, 2026
|
187
|
+
- June 20th, 2026
|
188
|
+
- October 31st, 2026
|
189
|
+
- December 24th, 2026
|
190
|
+
- December 25th, 2026
|
191
|
+
- December 26th, 2026
|
192
|
+
- December 31st, 2026
|
193
|
+
- January 1st, 2027
|
194
|
+
- January 6th, 2027
|
195
|
+
- March 26th, 2027
|
196
|
+
- March 28th, 2027
|
197
|
+
- March 29th, 2027
|
198
|
+
- May 1st, 2027
|
199
|
+
- May 6th, 2027
|
200
|
+
- May 16th, 2027
|
201
|
+
- June 6th, 2027
|
202
|
+
- June 25th, 2027
|
203
|
+
- June 26th, 2027
|
204
|
+
- November 6th, 2027
|
205
|
+
- December 24th, 2027
|
206
|
+
- December 25th, 2027
|
207
|
+
- December 26th, 2027
|
208
|
+
- December 31st, 2027
|
@@ -42,3 +42,57 @@ holidays:
|
|
42
42
|
- May 1st, 2018
|
43
43
|
- December 25th, 2018
|
44
44
|
- December 26th, 2018
|
45
|
+
- January 1st, 2019
|
46
|
+
- April 19th, 2019
|
47
|
+
- April 22nd, 2019
|
48
|
+
- May 1st, 2019
|
49
|
+
- December 25th, 2019
|
50
|
+
- December 26th, 2019
|
51
|
+
- January 1st, 2020
|
52
|
+
- April 10th, 2020
|
53
|
+
- April 13th, 2020
|
54
|
+
- May 1st, 2020
|
55
|
+
- December 25th, 2020
|
56
|
+
- December 26th, 2020
|
57
|
+
- January 1st, 2021
|
58
|
+
- April 2nd, 2021
|
59
|
+
- April 5th, 2021
|
60
|
+
- May 1st, 2021
|
61
|
+
- December 25th, 2021
|
62
|
+
- December 26th, 2021
|
63
|
+
- January 1st, 2022
|
64
|
+
- April 15th, 2022
|
65
|
+
- April 18th, 2022
|
66
|
+
- May 1st, 2022
|
67
|
+
- December 25th, 2022
|
68
|
+
- December 26th, 2022
|
69
|
+
- January 1st, 2023
|
70
|
+
- April 7th, 2023
|
71
|
+
- April 10th, 2023
|
72
|
+
- May 1st, 2023
|
73
|
+
- December 25th, 2023
|
74
|
+
- December 26th, 2023
|
75
|
+
- January 1st, 2024
|
76
|
+
- March 29th, 2024
|
77
|
+
- April 1st, 2024
|
78
|
+
- May 1st, 2024
|
79
|
+
- December 25th, 2024
|
80
|
+
- December 26th, 2024
|
81
|
+
- January 1st, 2025
|
82
|
+
- April 18th, 2025
|
83
|
+
- April 21st, 2025
|
84
|
+
- May 1st, 2025
|
85
|
+
- December 25th, 2025
|
86
|
+
- December 26th, 2025
|
87
|
+
- January 1st, 2026
|
88
|
+
- April 3rd, 2026
|
89
|
+
- April 6th, 2026
|
90
|
+
- May 1st, 2026
|
91
|
+
- December 25th, 2026
|
92
|
+
- December 26th, 2026
|
93
|
+
- January 1st, 2027
|
94
|
+
- March 26th, 2027
|
95
|
+
- March 29th, 2027
|
96
|
+
- May 1st, 2027
|
97
|
+
- December 25th, 2027
|
98
|
+
- December 26th, 2027
|
data/lib/business/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: business
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Marr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- lib/business.rb
|
56
56
|
- lib/business/calendar.rb
|
57
57
|
- lib/business/data/bacs.yml
|
58
|
+
- lib/business/data/bankgirot.yml
|
58
59
|
- lib/business/data/target.yml
|
59
60
|
- lib/business/data/weekdays.yml
|
60
61
|
- lib/business/version.rb
|
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
84
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.4.8
|
85
86
|
signing_key:
|
86
87
|
specification_version: 4
|
87
88
|
summary: Date calculations based on business calendars
|