work_calendar 1.0.6 → 1.0.7
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 +4 -2
- data/lib/work_calendar/version.rb +1 -1
- data/lib/work_calendar.rb +23 -0
- 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: 19af6d0d4fe559657a08bb9d8fce8a43e4ab629e0cadfc2ec6769c2fb2e52a4f
|
4
|
+
data.tar.gz: 9e9f56531a0ce662a1258f20998fe70aea96caaed13d985efaf827c3b12fd14d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fcfb8edcd484e84dd0292f5886f2b9f4391d816a68bc0ed3e9890a214f6c1a98e25944a480d1e5b2284f378285390b79d3d7ce65d8d1923977c7177b018ee0a
|
7
|
+
data.tar.gz: ffb853d6ca35f9ffdc096f833b3309586d36d344fe22751b16038986ed1e2327a094f066224bd0c66c6921b87c7a59bc50c5c397e30966a3ae572119da1b46de
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
work_calendar (1.0.
|
4
|
+
work_calendar (1.0.7)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -23,7 +23,8 @@ GEM
|
|
23
23
|
rainbow (3.1.1)
|
24
24
|
rake (13.0.6)
|
25
25
|
regexp_parser (2.6.1)
|
26
|
-
rexml (3.
|
26
|
+
rexml (3.3.3)
|
27
|
+
strscan
|
27
28
|
rubocop (1.40.0)
|
28
29
|
json (~> 2.3)
|
29
30
|
parallel (~> 1.10)
|
@@ -40,6 +41,7 @@ GEM
|
|
40
41
|
rubocop (>= 1.7.0, < 2.0)
|
41
42
|
rubocop-ast (>= 0.4.0)
|
42
43
|
ruby-progressbar (1.11.0)
|
44
|
+
strscan (3.1.0)
|
43
45
|
tzinfo (2.0.6)
|
44
46
|
concurrent-ruby (~> 1.0)
|
45
47
|
unicode-display_width (2.3.0)
|
data/lib/work_calendar.rb
CHANGED
@@ -159,6 +159,29 @@ module WorkCalendar
|
|
159
159
|
12 => {
|
160
160
|
holidays: [31]
|
161
161
|
}
|
162
|
+
},
|
163
|
+
2026 => {
|
164
|
+
1 => {
|
165
|
+
holidays: [1, 2, 5, 6, 7, 8, 9]
|
166
|
+
},
|
167
|
+
2 => {
|
168
|
+
holidays: [23]
|
169
|
+
},
|
170
|
+
3 => {
|
171
|
+
holidays: [9]
|
172
|
+
},
|
173
|
+
5 => {
|
174
|
+
holidays: [1, 11]
|
175
|
+
},
|
176
|
+
6 => {
|
177
|
+
holidays: [12]
|
178
|
+
},
|
179
|
+
11 => {
|
180
|
+
holidays: [4]
|
181
|
+
},
|
182
|
+
12 => {
|
183
|
+
holidays: [31]
|
184
|
+
}
|
162
185
|
}
|
163
186
|
}.freeze
|
164
187
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Korenyushkin
|
8
8
|
- Sergey Tomashevsky
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-10-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -122,7 +122,7 @@ licenses:
|
|
122
122
|
metadata:
|
123
123
|
homepage_uri: https://github.com/toughbyte/work_calendar
|
124
124
|
source_code_uri: https://github.com/toughbyte/work_calendar
|
125
|
-
post_install_message:
|
125
|
+
post_install_message:
|
126
126
|
rdoc_options: []
|
127
127
|
require_paths:
|
128
128
|
- lib
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubygems_version: 3.3.7
|
141
|
-
signing_key:
|
141
|
+
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Workday calculator
|
144
144
|
test_files: []
|