solunar 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solunar.rb +3 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 968e6e0fb9448735d21b3db1f63850851ca1a74c
|
4
|
+
data.tar.gz: b7e9a29236f0f05eac139fa21e593bbcdf32acd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
4
|
+
VERSION = '0.0.6'
|
5
5
|
def version
|
6
|
-
"0.0.
|
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[
|
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
|