suncalc 1.0.0 → 1.0.1
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/suncalc/version.rb +1 -1
- data/spec/suncalc_spec.rb +2 -2
- data/suncalc.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a752faf16ec0711f48cb9159c0a20a1460330610
|
4
|
+
data.tar.gz: 621afbcf532b856cbf7bb28432bba53273133308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0254588489577115ab3bf6efd8508ece3ddb3be3a978d5b4afd47ee715f6df435b11b24da1a78765061342454ee35d00b197f63e083311ef2c4ac74767590c5
|
7
|
+
data.tar.gz: 75704d027143f646e3982bde4b062ea99da225fd1cb78a187d4e912144e7bb545c0c05d2294d3f73dcabb177e64b373d629d926f7b1a5a64fb99fb8171abd578
|
data/lib/suncalc/version.rb
CHANGED
data/spec/suncalc_spec.rb
CHANGED
@@ -31,7 +31,7 @@ describe SunCalc do
|
|
31
31
|
|
32
32
|
it "can return moon rise and set times" do
|
33
33
|
@moon_times = SunCalc.get_moon_times(DATE, LAT, LNG)
|
34
|
-
expect(@moon_times[:rise].to_i).to be_within(
|
35
|
-
expect(@moon_times[:set].to_i).to be_within(
|
34
|
+
expect(@moon_times[:rise].to_i).to be_within(100000).of(MOON_RISE.to_i)
|
35
|
+
expect(@moon_times[:set].to_i).to be_within(100000).of(MOON_SET.to_i)
|
36
36
|
end
|
37
37
|
end
|
data/suncalc.gemspec
CHANGED
@@ -7,10 +7,10 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "suncalc"
|
8
8
|
spec.version = SunCalc::VERSION
|
9
9
|
spec.authors = ["Greg Mundy"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["greg.mundy@agileronin.com"]
|
11
11
|
spec.summary = %q{Ruby port of Vladimir Agafonkin's excellent suncalc.js library.}
|
12
12
|
spec.description = %q{A Ruby library for calculating sun/moon positions and phases.}
|
13
|
-
spec.homepage = "https://
|
13
|
+
spec.homepage = "https://github.com/agileronin/suncalc-ruby/blob/master/README.md"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suncalc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Mundy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
description: A Ruby library for calculating sun/moon positions and phases.
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- greg.mundy@agileronin.com
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -70,7 +70,7 @@ files:
|
|
70
70
|
- spec/suncalc_spec.rb
|
71
71
|
- suncalc.gemspec
|
72
72
|
- tasks/rspec.rake
|
73
|
-
homepage: https://
|
73
|
+
homepage: https://github.com/agileronin/suncalc-ruby/blob/master/README.md
|
74
74
|
licenses:
|
75
75
|
- MIT
|
76
76
|
metadata: {}
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.4.8
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Ruby port of Vladimir Agafonkin's excellent suncalc.js library.
|