work_calendar 1.0.5 → 1.0.6
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/Gemfile.lock +1 -1
- data/lib/work_calendar/version.rb +1 -1
- data/lib/work_calendar.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95395404f9b752e87cc5eb8d8424d50c92f6ad832ba06a483789cfa114153e48
|
4
|
+
data.tar.gz: ac0b4d6a88715f20c46e4a6a12e324690df0302d85bf3299afab6275de8a34ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea5737b869233bdbfc64335c4a1200f466f11946ad28a8551204e69d27c6aaf71fd962c582b77e9791288fc509609779eaaa848f87d0698abbc079f7ced29736
|
7
|
+
data.tar.gz: 16675609fffe9fd7f860db251c9fc266e604055c1a4a0454d786ab3de591873d7c93581cb5533cae6e91a00717b5ddd70c0c658ee15ce278c939f5fa932bdb6f
|
data/Gemfile.lock
CHANGED
data/lib/work_calendar.rb
CHANGED
@@ -141,6 +141,24 @@ module WorkCalendar
|
|
141
141
|
workdays: [28],
|
142
142
|
holidays: [30, 31]
|
143
143
|
}
|
144
|
+
},
|
145
|
+
2025 => {
|
146
|
+
1 => {
|
147
|
+
holidays: [1, 2, 3, 6, 7, 8]
|
148
|
+
},
|
149
|
+
5 => {
|
150
|
+
holidays: [1, 2, 8, 9]
|
151
|
+
},
|
152
|
+
6 => {
|
153
|
+
holidays: [12, 13]
|
154
|
+
},
|
155
|
+
11 => {
|
156
|
+
workdays: [1],
|
157
|
+
holidays: [3, 4]
|
158
|
+
},
|
159
|
+
12 => {
|
160
|
+
holidays: [31]
|
161
|
+
}
|
144
162
|
}
|
145
163
|
}.freeze
|
146
164
|
|
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.6
|
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: 2024-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|