work_calendar 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b477cafaac47725d78c92ec895dc8999690f8c1b528e7ff2e17f35d7322688e1
4
- data.tar.gz: e061c2d1062ab89d4eaf3282fa6aec2e0340551a14f48c4158853a20a66a5706
3
+ metadata.gz: 4b1807e1b303d1faae15d092d9b9ab021e65bd9f329e7e2880836a5229aa1994
4
+ data.tar.gz: c22cbc828c91f5c80b5b09206990a9d4789720f200413aa8755bc4eb66f2814d
5
5
  SHA512:
6
- metadata.gz: 61baf980828d7692f5e330cfd58d6e65ebcf674774199223f930c0e9b9c7b7996a79b045c00c10becb0e074054766af78f807639af74f862974501ac5db2eabc
7
- data.tar.gz: b814ab306fb8d72b2ba9cbb147a27dcf6773ee618cb56e18dbff15282e38afe0dc5ae0e9acd2e11cb86953ecd4cfcd2cb0f9e09a0e0555353099e4ef03317fb3
6
+ metadata.gz: 73c2036df7fef653e430103c227d0b984d4ccee94d5e93ca4f557be890065b1a31d293869161d501505b00e34a5be779c174bc5b8cddc2eb09c037376fdf6979
7
+ data.tar.gz: 0f3182e2dcbb4d13987534fb07a3f89c55860dc0611e23e4b80c0df7f387f05129cf3e6e6608d6888a68b5e3afe3fb38a37d13d6b4a67e54f16a1423f9fe02da
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- work_calendar (1.0.4)
4
+ work_calendar (1.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activesupport (7.0.4)
9
+ activesupport (7.0.7.2)
10
10
  concurrent-ruby (~> 1.0, >= 1.0.2)
11
11
  i18n (>= 1.6, < 2)
12
12
  minitest (>= 5.1)
13
13
  tzinfo (~> 2.0)
14
14
  ast (2.4.2)
15
- concurrent-ruby (1.1.10)
16
- i18n (1.12.0)
15
+ concurrent-ruby (1.2.2)
16
+ i18n (1.14.1)
17
17
  concurrent-ruby (~> 1.0)
18
18
  json (2.6.3)
19
19
  minitest (5.16.3)
@@ -40,7 +40,7 @@ GEM
40
40
  rubocop (>= 1.7.0, < 2.0)
41
41
  rubocop-ast (>= 0.4.0)
42
42
  ruby-progressbar (1.11.0)
43
- tzinfo (2.0.5)
43
+ tzinfo (2.0.6)
44
44
  concurrent-ruby (~> 1.0)
45
45
  unicode-display_width (2.3.0)
46
46
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkCalendar
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.5'
5
5
  end
data/lib/work_calendar.rb CHANGED
@@ -112,6 +112,35 @@ module WorkCalendar
112
112
  11 => {
113
113
  holidays: [6]
114
114
  }
115
+ },
116
+ 2024 => {
117
+ 1 => {
118
+ holidays: [1, 2, 3, 4, 5, 8]
119
+ },
120
+ 2 => {
121
+ holidays: [23]
122
+ },
123
+ 3 => {
124
+ holidays: [8]
125
+ },
126
+ 4 => {
127
+ workdays: [27],
128
+ holidays: [29, 30]
129
+ },
130
+ 5 => {
131
+ holidays: [1, 9, 10]
132
+ },
133
+ 6 => {
134
+ holidays: [12]
135
+ },
136
+ 11 => {
137
+ workdays: [2],
138
+ holidays: [4]
139
+ },
140
+ 12 => {
141
+ workdays: [28],
142
+ holidays: [30, 31]
143
+ }
115
144
  }
116
145
  }.freeze
117
146
 
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
4
+ version: 1.0.5
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: 2022-12-15 00:00:00.000000000 Z
12
+ date: 2023-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport