syukujitsu 0.1.1 → 0.2.0
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/lib/syukujitsu/core_ext.rb +1 -1
- data/lib/syukujitsu/refinements/date_methods.rb +1 -1
- data/lib/syukujitsu/version.rb +1 -1
- data/lib/syukujitsu.rb +5 -1
- 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: 46708641ccf9116f31cedaf3787e202b3e242726eacbcf6491674254d21e7ffb
|
|
4
|
+
data.tar.gz: 28960cd13c1d48984f6e85b456c57716653b977fa444eae0e08fe5ffd14ce49a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a315b13ebd43a964644cd14bf307bf53bea4bd864b91ca9ae91d0fa377605a72b259fb71733fab14b9b25a9cdb1fa1e565784ffd855f043f79c45c2f8382b7d4
|
|
7
|
+
data.tar.gz: ea9bfe3c49ef4cc8e29abaaac1f5a2e9b72fac113229e706b7d69e518590cb5f26e70db12bbd2114e368ae03d75990f1d9a03a08f2a7e2bcb95629d80169b574
|
data/lib/syukujitsu/core_ext.rb
CHANGED
data/lib/syukujitsu/version.rb
CHANGED
data/lib/syukujitsu.rb
CHANGED
|
@@ -10,7 +10,11 @@ module Syukujitsu
|
|
|
10
10
|
extend Forwardable
|
|
11
11
|
include Enumerable
|
|
12
12
|
|
|
13
|
-
def_delegators :calendar, :each, :
|
|
13
|
+
def_delegators :calendar, :each, :on, :name, :between
|
|
14
|
+
|
|
15
|
+
def include?(date)
|
|
16
|
+
calendar.holiday?(date)
|
|
17
|
+
end
|
|
14
18
|
|
|
15
19
|
private
|
|
16
20
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: syukujitsu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- chibicco
|
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
|
-
rubygems_version: 3.6.
|
|
64
|
+
rubygems_version: 3.6.7
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: 内閣府が公開する「国民の祝日」データを提供する gem
|
|
67
67
|
test_files: []
|