holiday_japan 1.4.1 → 1.4.2

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: 625d77aaf0c1fe4fd132aff43699a10080bf92a545fcd009b8f55c7747ee40e0
4
- data.tar.gz: 7f1d3887434974ebe6591b67c2f82a8602b359330fa2f83f0d6a327a8cdecfde
3
+ metadata.gz: 726269abbeb3b1416db1333ef33a1ed85bd93221b6654a280b360926a773f671
4
+ data.tar.gz: 37514c34b1a602d0ea499eba8dc468486b396d6056c9bba1b556bdbde7408be6
5
5
  SHA512:
6
- metadata.gz: 3d16c2295867449910ff174c5963e715c70b830cc99590be72ea55a311d8ad089737d92d558385a1e2e12453a3a76f81aae1dc1dcfa3c62345b94bc3e413fc32
7
- data.tar.gz: 7e21717095bed2908ec90fb4044f5ca6aaad80011f685d0fc00f554f069ae7c949845a824995920ac0ef4ce0fbfa4f026c3d8e7501d40aae1bc8aa0c88bb27b9
6
+ metadata.gz: 1270c6086d552e8ea9fd86245611b2f40f3fbb76307ef2647f443b3d3682fb922b5bcc3b6b74e9dc6bcbc2f6e9ae6b2d593871d968fbb8b8625833258b8c3bbc
7
+ data.tar.gz: 512ada76ed1555d96061a0c8323b47690283f4411193256735fcac96b35b6fc680b84a245f3de7602807c909b185bdab7e53f575521c97edc268b2b2daeefbd4
@@ -9,7 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.authors = ["Masahiro TANAKA"]
10
10
  gem.email = ["masa16.tanaka@gmail.com"]
11
11
  gem.summary = %q{Calculate National Holidays of Japan}
12
- gem.description = %q{Calculate National Holidays of Japan between 1948..2150}
12
+ gem.description = %q{Calculate National Holidays of Japan after 1948}
13
13
  gem.homepage = "http://masa16.github.io/holiday_japan/"
14
14
  gem.license = "MIT"
15
15
 
data/lib/holiday_japan.rb CHANGED
@@ -6,7 +6,7 @@ require "date"
6
6
 
7
7
  module HolidayJapan
8
8
 
9
- VERSION = "1.4.1"
9
+ VERSION = "1.4.2"
10
10
 
11
11
  WEEK1 = 1
12
12
  WEEK2 = 8
@@ -52,10 +52,12 @@ module HolidayJapan
52
52
  [1948..1979, 9, proc{|y|(23.2588+0.242194*(y-1980)).to_i-((y-1983)/4.0).to_i} ],
53
53
  [2100..2150, 9, proc{|y|(24.2488+0.242194*(y-1980)).to_i-((y-1980)/4.0).to_i} ],
54
54
  ],
55
- ["皇太子明仁親王の結婚の儀", [1959, 4, 10 ]],
56
- ["昭和天皇の大喪の礼", [1989, 2, 24 ]],
57
- ["即位礼正殿の儀", [1990, 11, 12 ]],
55
+ ["即位礼正殿の儀", [2019, 10, 22 ],
56
+ [1990, 11, 12 ]],
57
+ ["即位の日(名称未定)", [2019, 5, 1 ]],
58
58
  ["皇太子徳仁親王の結婚の儀", [1993, 6, 9 ]],
59
+ ["昭和天皇の大喪の礼", [1989, 2, 24 ]],
60
+ ["皇太子明仁親王の結婚の儀", [1959, 4, 10 ]]
59
61
  ]
60
62
  DATA.each{|x| x.each{|y| y .freeze}}
61
63
  DATA.freeze
data/test/holiday.csv CHANGED
@@ -962,6 +962,9 @@
962
962
  2019-02-11,建国記念の日
963
963
  2019-03-21,春分の日
964
964
  2019-04-29,昭和の日
965
+ 2019-04-30,国民の休日
966
+ 2019-05-01,即位の日(名称未定)
967
+ 2019-05-02,国民の休日
965
968
  2019-05-03,憲法記念日
966
969
  2019-05-04,みどりの日
967
970
  2019-05-05,こどもの日
@@ -972,6 +975,7 @@
972
975
  2019-09-16,敬老の日
973
976
  2019-09-23,秋分の日
974
977
  2019-10-14,体育の日
978
+ 2019-10-22,即位礼正殿の儀
975
979
  2019-11-03,文化の日
976
980
  2019-11-04,振替休日
977
981
  2019-11-23,勤労感謝の日
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holiday_japan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro TANAKA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-22 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Calculate National Holidays of Japan between 1948..2150
13
+ description: Calculate National Holidays of Japan after 1948
14
14
  email:
15
15
  - masa16.tanaka@gmail.com
16
16
  executables: []
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project:
49
- rubygems_version: 2.7.3
49
+ rubygems_version: 2.7.8
50
50
  signing_key:
51
51
  specification_version: 4
52
52
  summary: Calculate National Holidays of Japan