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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec49609bd57c26eb9641e01e94e2fd9bdf43fe1c
4
- data.tar.gz: 49800b56abb05f9e98a82054b981821e52846ac2
3
+ metadata.gz: a752faf16ec0711f48cb9159c0a20a1460330610
4
+ data.tar.gz: 621afbcf532b856cbf7bb28432bba53273133308
5
5
  SHA512:
6
- metadata.gz: eb35b29bb651e268853f01c0b484e5550bcb9dcf9fd4c45d9ee60b2e69b3702c95f35a3440e1ab2b7d506696a300e8aec233894e115b8b985f3a2ba0b4678f54
7
- data.tar.gz: ed6add76cedfd70c0f218a9a3c3d8f052364621382c490154ae9cd0991fd52fcce758c1800e3e6648d9d7d7c01913d59c996b6db4efad6652cd92fab17d71d9a
6
+ metadata.gz: e0254588489577115ab3bf6efd8508ece3ddb3be3a978d5b4afd47ee715f6df435b11b24da1a78765061342454ee35d00b197f63e083311ef2c4ac74767590c5
7
+ data.tar.gz: 75704d027143f646e3982bde4b062ea99da225fd1cb78a187d4e912144e7bb545c0c05d2294d3f73dcabb177e64b373d629d926f7b1a5a64fb99fb8171abd578
@@ -1,3 +1,3 @@
1
1
  module SunCalc
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -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(1000).of(MOON_RISE.to_i)
35
- expect(@moon_times[:set].to_i).to be_within(1000).of(MOON_SET.to_i)
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
@@ -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 = ["gregmundy@gmail.com"]
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://bitbucket.org/greg_mundy/suncalc.git"
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.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: 2015-01-20 00:00:00.000000000 Z
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
- - gregmundy@gmail.com
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://bitbucket.org/greg_mundy/suncalc.git
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.2.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.