work_calendar 1.0.2 → 1.0.3

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: dd8acd0a05494822b405a614721174dfa7471ac03b4c49cd8659ccec87aa6024
4
- data.tar.gz: 4c5e55bc38b4184a99ef7ebe8dc4746949defb979bf778de6beef24486467df4
3
+ metadata.gz: f66433c0f4ff9e22ecbc54a74a4c329ba40649a72e4a1cfeeeb643c92f606f28
4
+ data.tar.gz: 3ec2123e14ac3f60b18738546c2630e1c1c9f2154397d99826902d0a80e548e6
5
5
  SHA512:
6
- metadata.gz: 7bda7cc105d71f5737e976b8af0fecbe74b0e387e883e0c801d73d19fb3d5daa97be155d9598bbcdf44c1ec78397af9479d9ded3b6302d008ec48b4f6ee642b7
7
- data.tar.gz: 936a44d56426df4406bf67585f2de6302acae18ed0a1dbf3bcf339e708aed4bfe6fb9addf6c9fa1f71e3f213aedbae747f5b7d8ef5fdc59dc3dddfe9b45e9e8a
6
+ metadata.gz: 668d6439db8f984c36352908e5c2b030ca298eb3af6c94f772baf9d0f91fa3b1dd6db17fc73f94950e0376e4ea47100ee1fabcb42900c2069e0e0d93d619a386
7
+ data.tar.gz: 9a555ad38e58beb479b1907360e62aeda71fc005f168c2747802406f39b7580ad98717745c93d867b8798823a28baf7827a05788a39cddcb61d6018d45ed27b3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- work_calendar (1.0.2)
4
+ work_calendar (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -52,4 +52,4 @@ DEPENDENCIES
52
52
  work_calendar!
53
53
 
54
54
  BUNDLED WITH
55
- 2.1.4
55
+ 2.2.22
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WorkCalendar
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
data/lib/work_calendar.rb CHANGED
@@ -71,6 +71,27 @@ module WorkCalendar
71
71
  12 => {
72
72
  holidays: [31]
73
73
  }
74
+ },
75
+ 2022 => {
76
+ 1 => {
77
+ holidays: [3, 4, 5, 6, 7]
78
+ },
79
+ 2 => {
80
+ holidays: [23]
81
+ },
82
+ 3 => {
83
+ workdays: [5],
84
+ holidays: [7, 8]
85
+ },
86
+ 5 => {
87
+ holidays: [2, 3, 9, 10]
88
+ },
89
+ 6 => {
90
+ holidays: [13]
91
+ },
92
+ 11 => {
93
+ holidays: [4]
94
+ }
74
95
  }
75
96
  }.freeze
76
97
 
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.2
4
+ version: 1.0.3
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: 2021-02-09 00:00:00.000000000 Z
12
+ date: 2021-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.1.2
139
+ rubygems_version: 3.2.22
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Workday calculator