astro_calc 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/astro_calc/moon_phases.rb +5 -5
- data/lib/astro_calc/version.rb +1 -1
- 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: d3bae937f1f4e32b23b2477119fde49eaba8ea26
|
4
|
+
data.tar.gz: 2a5ee8135379263084867614fb9660838174da83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce25c945b4ce006706b58e499bf53a2cef89b3479a726af7c044df0b1f6bc6b0a1a14351261f5144db0b49115bb74440b76cf296670971ed100ba02fcc0c4aa0
|
7
|
+
data.tar.gz: 0b1a2d459d4b7bfb50e0daa0a7ec99ba73cd60bc17e05de5263b9ef59eb26a7c6690ba94755d384d464f065568b99882010ebd0776aa5a19bb7b190de6e98526
|
@@ -122,12 +122,12 @@ class MoonPhase
|
|
122
122
|
|
123
123
|
output = ""
|
124
124
|
|
125
|
-
if options[include_style] then
|
125
|
+
if options[:include_style] then
|
126
126
|
output << "<style>"
|
127
|
-
output << "#moonholder { height: #{options[height]}px; background-color: #{options[background_color]}; }"
|
128
|
-
output << "#moon { position:absolute; left:#{options[left]}px; top:#{options[top]}px; }"
|
129
|
-
output << ".moon { fill: #{options[moon_color]}; }"
|
130
|
-
output << ".moonback { stroke: #{options[shadow_color]}; stroke-width: 1px; height: 180px; }"
|
127
|
+
output << "#moonholder { height: #{options[:height]}px; background-color: #{options[:background_color]}; }"
|
128
|
+
output << "#moon { position:absolute; left:#{options[:left]}px; top:#{options[:top]}px; }"
|
129
|
+
output << ".moon { fill: #{options[:moon_color]}; }"
|
130
|
+
output << ".moonback { stroke: #{options[:shadow_color]}; stroke-width: 1px; height: 180px; }"
|
131
131
|
output << "</style>"
|
132
132
|
end
|
133
133
|
|
data/lib/astro_calc/version.rb
CHANGED