solunar 0.0.11 → 0.0.12
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 +4 -4
- data/lib/solunar.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ace37c0fe32330e0fcbe5ad3eabf7f7909a4f92a
|
|
4
|
+
data.tar.gz: d49e19acf470aeb2b44eb7b5a1d126d04af4bb04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c59438e071bc1716482601a666386039d29b44bb8d353c366b0ce83d50abcb8f53d425870ee29cdeb05c2a1dd49a15c15a4a6c8e6456fa4893ec2f2f3df8bfc
|
|
7
|
+
data.tar.gz: 7d6cc2cae4edfeb4536cbc96d97ceff5cbcfe7c270c3257c22fff5c30f5be50a47cdd4bd23ec86463116d2b54b89f4a72856264d1d3de63bef5af9a1dc64a279
|
data/lib/solunar.rb
CHANGED
|
@@ -2,9 +2,9 @@ class Solunar
|
|
|
2
2
|
require 'time'
|
|
3
3
|
|
|
4
4
|
NAME = "solunar"
|
|
5
|
-
VERSION = '0.0.
|
|
5
|
+
VERSION = '0.0.12'
|
|
6
6
|
def version
|
|
7
|
-
"0.0.
|
|
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
|
|
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.
|
|
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-
|
|
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.
|
|
81
|
+
rubygems_version: 2.6.8
|
|
82
82
|
signing_key:
|
|
83
83
|
specification_version: 4
|
|
84
84
|
summary: Solunar Forecasting Gem
|