astro_calc 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 158a1de9098c7314541ea33b827793fe5e5aac17
4
- data.tar.gz: 407ab02eb772c843c5a2cdcb1749665d123b9267
3
+ metadata.gz: d3bae937f1f4e32b23b2477119fde49eaba8ea26
4
+ data.tar.gz: 2a5ee8135379263084867614fb9660838174da83
5
5
  SHA512:
6
- metadata.gz: f214f2bd4ea5c40943347020f749a7692723d9bee3e7b9fc601009569104da20801738d32a97f2d434aa9329ef325f75e41406e6d63e76cf221409eadb26af18
7
- data.tar.gz: 208abecc4d7575e53b042337f537029ee54ad00810d64e407079da382ad17989f93873fcab259d03fe7e355a1983ad0e248f1f9800bcb9b05e2af35030ef2668
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
 
@@ -1,3 +1,3 @@
1
1
  module AstroCalc
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: astro_calc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reuben Mallaby