solunar 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/solunar.rb +3 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4f7aabbf074828fd6b175922d5cd346169d4d99
4
- data.tar.gz: 018fc0626c3a0e525045cb03bd6cbbbf8a63d5fd
3
+ metadata.gz: 968e6e0fb9448735d21b3db1f63850851ca1a74c
4
+ data.tar.gz: b7e9a29236f0f05eac139fa21e593bbcdf32acd0
5
5
  SHA512:
6
- metadata.gz: 6fcf4d8896fe261f51742885798e8ccd60b5aa670d5155825f2df05d4bcd76d2d12461fd004a0f63ae4592ca911349a1be3263bd9ee71e2ccd43e9ff154d7b8c
7
- data.tar.gz: 99a85d93b44a1f8f7d9791cd5b63747e098c38bc1ae5c79f22ef97310ed146dee83c57d3ca900e3d725d2da965552fbb68bb7844e46ef1084e76aa14c4aa2fe3
6
+ metadata.gz: a5e211e23d3ab07601f6103f28c2e49b465522e98b0c1b5bbaa4cb9cc9f844699588bbc879f6353e9f8e1f47d9e08fd2b8ea0e0dba8b46dfb60e0b1191c17ea8
7
+ data.tar.gz: d344eb968bb3c99c7c34504fc5ec2ad59444d2ca84edc20d370e6e57728760878334bdb79988eefa797a3ef9b2858a0353caf490ceec43ec26d268f4c0b9b140
data/lib/solunar.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  class Solunar
2
2
 
3
3
  NAME = "solunar"
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  def version
6
- "0.0.5"
6
+ "0.0.6"
7
7
  end
8
8
 
9
9
  def test
@@ -32,7 +32,7 @@ class Solunar
32
32
  moon[:rise] = segments[5].strip[0..-4] unless segments[5].strip == "NONE"
33
33
  moon[:set] = segments[7].strip[0..-4] unless segments[7].strip == "NONE"
34
34
  moon[:transit] = segments[6].strip[0..-4] unless segments[6].strip == "NONE"
35
- day[:under_foot] = segments[4].strip[0..-4] unless segments[4].strip == "NONE"
35
+ day[:under_foot] = segments[8].strip[0..-4] unless segments[4].strip == "NONE"
36
36
  unless moon[:rise].nil?
37
37
  minor_feed_times << { start: moon[:rise], stop: add_hours(moon[:rise],1) }
38
38
  end
@@ -52,8 +52,6 @@ class Solunar
52
52
  major_feed_times.rotate!
53
53
  end
54
54
  day[:date] = segments[0].strip
55
- #day[:days_since_new] = "Unknown"
56
- #day[:dayscale] = "Unknown"
57
55
  day[:moon_illumination] = segments[12].strip
58
56
  day[:moon_phase] = segments[10].strip
59
57
  day[:moon] = moon
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solunar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "\"Sullivan"