holiday_japan 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/holiday_japan.gemspec +1 -1
- data/lib/holiday_japan.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9540283004068cd99eab88dd20123e9f488f97ea
|
4
|
+
data.tar.gz: 0ea0c38cab28e850c8fea2468d08a28294d65619
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1187af861c7a00fcc313aa3e234093af659c9d31130c3498480e15334b5a56e67a0b3100047da9c5edd43c3646ac9012ce5d20a4d49e2581a25621a8adbaf490
|
7
|
+
data.tar.gz: a8047ccd3ef055af57c1020510f7d018beb9775e6a2eed91aa64762bad0c9f7f90ca8cec6bd96b1e6b304a86bd4cf2e33790cca79265dc0d4dfa89be4d1b7973
|
data/holiday_japan.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = HolidayJapan::VERSION
|
9
9
|
gem.authors = ["Masahiro TANAKA"]
|
10
10
|
gem.email = ["masa16.tanaka@gmail.com"]
|
11
|
-
gem.description = %q{Calculate National Holidays of Japan}
|
12
11
|
gem.summary = %q{Calculate National Holidays of Japan}
|
12
|
+
gem.description = %q{Calculate National Holidays of Japan between 1948..2150}
|
13
13
|
gem.homepage = "http://masa16.github.io/holiday_japan/"
|
14
14
|
gem.license = "MIT"
|
15
15
|
|
data/lib/holiday_japan.rb
CHANGED
@@ -6,14 +6,14 @@ require "date"
|
|
6
6
|
|
7
7
|
module HolidayJapan
|
8
8
|
|
9
|
-
VERSION = "1.2.
|
9
|
+
VERSION = "1.2.2"
|
10
10
|
|
11
11
|
WEEK1 = 1..7
|
12
12
|
WEEK2 = 8..14
|
13
13
|
WEEK3 = 15..21
|
14
14
|
WEEK4 = 22..28
|
15
15
|
SUN,MON,TUE,WED,THU,FRU,SAT = (0..6).to_a
|
16
|
-
INF = (defined? Float::
|
16
|
+
INF = (defined? Float::INFINITY) ? Float::INFINITY : 1e34
|
17
17
|
|
18
18
|
# 祝日データ: 1948年7月20日以降で有効
|
19
19
|
DATA = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: holiday_japan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro TANAKA
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Calculate National Holidays of Japan
|
13
|
+
description: Calculate National Holidays of Japan between 1948..2150
|
14
14
|
email:
|
15
15
|
- masa16.tanaka@gmail.com
|
16
16
|
executables: []
|