work_calendar 1.0.6 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95395404f9b752e87cc5eb8d8424d50c92f6ad832ba06a483789cfa114153e48
4
- data.tar.gz: ac0b4d6a88715f20c46e4a6a12e324690df0302d85bf3299afab6275de8a34ba
3
+ metadata.gz: 0dac4b7c003cacb66694a427120213b018e9b16f128a16da50d2046b52c45b77
4
+ data.tar.gz: 6368fe4ae0dbee85eb5023e5818000a1de8b7e82918b3f6d20057cccf8554668
5
5
  SHA512:
6
- metadata.gz: ea5737b869233bdbfc64335c4a1200f466f11946ad28a8551204e69d27c6aaf71fd962c582b77e9791288fc509609779eaaa848f87d0698abbc079f7ced29736
7
- data.tar.gz: 16675609fffe9fd7f860db251c9fc266e604055c1a4a0454d786ab3de591873d7c93581cb5533cae6e91a00717b5ddd70c0c658ee15ce278c939f5fa932bdb6f
6
+ metadata.gz: 1fce02f3ad61f37065c8ec54da6373755e904e7ec79513660046f1f94265e563ed169b64a28375066a9b236440c302f0cabf289ebc60379e6e235980eba47f4d
7
+ data.tar.gz: ec297b3dc4d2681b4db11759c50bec7acf893e4fa79ea78b3eab8d12d24a4d6c75bb0879c9b75d7d7d2fb4160331ee52a9ba3eb2ead71818113064b9ce5bb42f
@@ -14,10 +14,10 @@ jobs:
14
14
 
15
15
  steps:
16
16
  - uses: actions/checkout@v3
17
- - name: Set up Ruby 3.1.2
17
+ - name: Set up Ruby 3.1
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 3.1.2
20
+ ruby-version: '3.1'
21
21
 
22
22
  - name: Publish gem
23
23
  run: |
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- work_calendar (1.0.6)
4
+ work_calendar (1.0.8)
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.2.5)
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkCalendar
4
- VERSION = '1.0.6'
4
+ VERSION = '1.0.8'
5
5
  end
data/lib/work_calendar.rb CHANGED
@@ -159,6 +159,53 @@ 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
+ }
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
+ }
162
209
  }
163
210
  }.freeze
164
211
 
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.6
4
+ version: 1.0.8
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: 2024-12-04 00:00:00.000000000 Z
12
+ date: 2026-12-03 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
@@ -137,8 +137,8 @@ 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.7
141
- signing_key:
140
+ rubygems_version: 3.3.27
141
+ signing_key:
142
142
  specification_version: 4
143
143
  summary: Workday calculator
144
144
  test_files: []