lunar_blessing 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: 12e6f6c9d02a03f317b9daf2e0657d7b43f6e9ae
4
- data.tar.gz: ae498737940495c8c392b700f47441412af803a3
2
+ SHA256:
3
+ metadata.gz: c40b929190550a7ab747cdbdaa957bd459a2c44dade650164ca029d3de2b7a45
4
+ data.tar.gz: 2045ca38352796fd95109726b0bf099e260bd05c7b713cca07bc64a1291c221c
5
5
  SHA512:
6
- metadata.gz: a05acaee383d4730b36ef7a09bef1a61eb4c6b0f19d6b5110aa1cfd3b15d6b4b61213c2736c0512cd9a2837f21e60596b001193f8f17f7b8ae28aea7ec9d2863
7
- data.tar.gz: fd721cd42903eafcf090d26b0a95f395e15ca9853be135d68ebf360c39d2ea6d5a4034a6d5c3e9a173eb6fcf10615c5b3b1875a0545f6f094f4af804fe8da767
6
+ metadata.gz: bde273fcc77181777cd3264d95a91d5d46d9f0315c9ae7399c747cae64015cf323f0736f831fe7e4e22d55f1161f21e0836233ad0abd9c207bd1b9b9c2c45b8a
7
+ data.tar.gz: 5d525bcd8aab0726d778798f5073c88a7740e9c1aa6ce5ec7b23d8bfaccedc35a773d6e810cf4fbb467f5786f17bf4c6c787f2e48e49550fad958da52b632d5c
@@ -28,6 +28,7 @@ module LunarBlessing
28
28
  @solar_month -= 12
29
29
  end
30
30
 
31
+ @month -= 1 if @leap_month > 0 && @month > @leap_month
31
32
  end
32
33
 
33
34
  def to_solar
@@ -1,3 +1,3 @@
1
1
  module LunarBlessing
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lunar_blessing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry Tai
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2018-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.6.11
96
+ rubygems_version: 2.7.3
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Lunar calendar, Solar calendar convertor