solunar 0.0.11 → 0.0.12

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 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f066032447311375e4901e1108397e9f8aa3947
4
- data.tar.gz: f17b7a85aff92490c0ca424a07080dba9cd7e69a
3
+ metadata.gz: ace37c0fe32330e0fcbe5ad3eabf7f7909a4f92a
4
+ data.tar.gz: d49e19acf470aeb2b44eb7b5a1d126d04af4bb04
5
5
  SHA512:
6
- metadata.gz: f2cbd6dafc7a45e4c65035d214f7895221f06b668473b06c1a005ff9fbe96f2784e6a07d7c7ba7798c7fe696445d3dcc954c3cdbcbcbd3bb344b5587fe1e4a0b
7
- data.tar.gz: fcd5d2724403176670dedb3074ab3c8644eb6a5f72d4c73e59b4ad990d68906d8352112515a51d1ab5822b004cd1e5a00a9017f91f2810ded93f18b40a2f7d2b
6
+ metadata.gz: 5c59438e071bc1716482601a666386039d29b44bb8d353c366b0ce83d50abcb8f53d425870ee29cdeb05c2a1dd49a15c15a4a6c8e6456fa4893ec2f2f3df8bfc
7
+ data.tar.gz: 7d6cc2cae4edfeb4536cbc96d97ceff5cbcfe7c270c3257c22fff5c30f5be50a47cdd4bd23ec86463116d2b54b89f4a72856264d1d3de63bef5af9a1dc64a279
@@ -2,9 +2,9 @@ class Solunar
2
2
  require 'time'
3
3
 
4
4
  NAME = "solunar"
5
- VERSION = '0.0.11'
5
+ VERSION = '0.0.12'
6
6
  def version
7
- "0.0.11"
7
+ "0.0.12"
8
8
  end
9
9
 
10
10
  def test
@@ -21,7 +21,7 @@ class Solunar
21
21
  res.split(";").each do |line|
22
22
  next unless line.split(",").length > 7
23
23
  segments = line.split(",")
24
- iso = "%Y-%m-%dT%H:%M%:z"
24
+ iso = "%Y-%m-%dT%H:%M:%S.%L%z"
25
25
  hmt = "%H:%M"
26
26
  tz_minutes = segments[9].to_i
27
27
  tz_offset = tz_offset_hours >= 0 ? "+" : "-"
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.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - "\"Sullivan"
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-01-04 00:00:00.000000000 Z
13
+ date: 2017-01-16 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A gem that wraps the C code from Rick Dawson that computes the sun and
16
16
  moon times based on date and coordinates. Takes a series of arguments, and returns
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.5.2
81
+ rubygems_version: 2.6.8
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Solunar Forecasting Gem