work_calendar 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/publish_to_rubygems.yml +2 -2
- data/Gemfile.lock +1 -1
- data/lib/work_calendar/version.rb +1 -1
- data/lib/work_calendar.rb +24 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0dac4b7c003cacb66694a427120213b018e9b16f128a16da50d2046b52c45b77
|
|
4
|
+
data.tar.gz: 6368fe4ae0dbee85eb5023e5818000a1de8b7e82918b3f6d20057cccf8554668
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fce02f3ad61f37065c8ec54da6373755e904e7ec79513660046f1f94265e563ed169b64a28375066a9b236440c302f0cabf289ebc60379e6e235980eba47f4d
|
|
7
|
+
data.tar.gz: ec297b3dc4d2681b4db11759c50bec7acf893e4fa79ea78b3eab8d12d24a4d6c75bb0879c9b75d7d7d2fb4160331ee52a9ba3eb2ead71818113064b9ce5bb42f
|
data/Gemfile.lock
CHANGED
data/lib/work_calendar.rb
CHANGED
|
@@ -182,6 +182,30 @@ module WorkCalendar
|
|
|
182
182
|
12 => {
|
|
183
183
|
holidays: [31]
|
|
184
184
|
}
|
|
185
|
+
},
|
|
186
|
+
2027 => {
|
|
187
|
+
1 => {
|
|
188
|
+
holidays: [1, 4, 5, 6, 7, 8]
|
|
189
|
+
},
|
|
190
|
+
2 => {
|
|
191
|
+
workdays: [20],
|
|
192
|
+
holidays: [22, 23]
|
|
193
|
+
},
|
|
194
|
+
3 => {
|
|
195
|
+
holidays: [8]
|
|
196
|
+
},
|
|
197
|
+
5 => {
|
|
198
|
+
holidays: [3, 10]
|
|
199
|
+
},
|
|
200
|
+
6 => {
|
|
201
|
+
holidays: [14]
|
|
202
|
+
},
|
|
203
|
+
11 => {
|
|
204
|
+
holidays: [4, 5]
|
|
205
|
+
},
|
|
206
|
+
12 => {
|
|
207
|
+
holidays: [31]
|
|
208
|
+
}
|
|
185
209
|
}
|
|
186
210
|
}.freeze
|
|
187
211
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: work_calendar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anton Korenyushkin
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-12-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
139
|
requirements: []
|
|
140
|
-
rubygems_version: 3.3.
|
|
140
|
+
rubygems_version: 3.3.27
|
|
141
141
|
signing_key:
|
|
142
142
|
specification_version: 4
|
|
143
143
|
summary: Workday calculator
|