sunrset 0.0.3 → 0.0.4

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: e4d3319c097dbdfe6c1589aa6dc87f1d324dd169
4
- data.tar.gz: 365015884ba0c21fa2d32b56a2dd1423317f7ca4
3
+ metadata.gz: 089f1d437c8bfed6b9fb8f4109ffe170b33e6ed0
4
+ data.tar.gz: 46c55ed634292dbdeccc3043fa6d193354b03015
5
5
  SHA512:
6
- metadata.gz: c5b6c2a6202cc8625f259179cef7fc7a02d4389e76e8c0984894333dd9811a4b855c87db35fc583bf65482f5cf5138f34c4392dfa384470a1fcc036a12f3fb9a
7
- data.tar.gz: 13584e182b491c6bfcfbe5da176372e8b13240f9e89a3358070b94d736d078ba0bf06fcde14aab4bd8aa34cb188a4e0b355cf4c1e9687a53462ce730b7b2da30
6
+ metadata.gz: c19c7c09c817531e580fb1af87741f3c7f7142b046f8abc1ac40d4efc0d5245c22d9908823414d46237c1c2df35b2f1096cbd3a71d2daf62f4aaee39f580077d
7
+ data.tar.gz: da41cde2444de9496fcfc15f4a4a7d7fe5e76af29cc1e77eb504270e2343331cf65ec5345f2d0d11772cacbb2557d5847696b7436ba150a9b82c00732fea9301
@@ -9,7 +9,6 @@ module Sunrset
9
9
  attr_reader :time_data, :sun_data, :date
10
10
  def initialize longitude, latitude
11
11
  url_time_api = "http://www.earthtools.org/timezone/#{longitude}/#{latitude}"
12
- p url_time_api
13
12
  time_xml_data = Net::HTTP.get_response(URI.parse(url_time_api)).body
14
13
  @time_data = XmlSimple.xml_in(time_xml_data)
15
14
  @date = DateTime.parse @time_data["localtime"].first
@@ -1,3 +1,3 @@
1
1
  module Sunrset
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Ripa