outoftime-noaa 0.2.0 → 0.2.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.
- data/CHANGELOG +2 -0
- data/lib/noaa.rb +2 -2
- data/noaa.gemspec +5 -5
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/noaa.rb
CHANGED
|
@@ -14,7 +14,7 @@ require 'geokit'
|
|
|
14
14
|
# NOAA API you will need; one exception is discussed below.
|
|
15
15
|
#
|
|
16
16
|
module NOAA
|
|
17
|
-
VERSION = '0.2.
|
|
17
|
+
VERSION = '0.2.1'
|
|
18
18
|
|
|
19
19
|
class <<self
|
|
20
20
|
#
|
|
@@ -30,7 +30,7 @@ module NOAA
|
|
|
30
30
|
# NOAA.current_conditions_at_station when you need to get the latest conditions.
|
|
31
31
|
#
|
|
32
32
|
def current_conditions(lat, lng)
|
|
33
|
-
current_conditions_at_station(Station.closest_to(lat, lng))
|
|
33
|
+
current_conditions_at_station(Station.closest_to(lat, lng).id)
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
#
|
data/noaa.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{noaa}
|
|
5
|
-
s.version = "0.2.
|
|
5
|
+
s.version = "0.2.1"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Mat Brown"]
|
|
9
|
-
s.date = %q{
|
|
9
|
+
s.date = %q{2009-01-02}
|
|
10
10
|
s.default_executable = %q{noaa-update-stations}
|
|
11
11
|
s.description = %q{Ruby API for National Oceanic and Atmospheric Administration weather data}
|
|
12
12
|
s.email = %q{mat@patch.com}
|
|
@@ -34,9 +34,9 @@ This can be run at any time to update the stations, but you must run it once to
|
|
|
34
34
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
35
35
|
s.add_runtime_dependency(%q<libxml-ruby>, [">= 0.9.7"])
|
|
36
36
|
s.add_runtime_dependency(%q<andre-geokit>, [">= 1.2.0"])
|
|
37
|
-
s.
|
|
38
|
-
s.
|
|
39
|
-
s.
|
|
37
|
+
s.add_runtime_dependency(%q<jeremymcanally-context>, [">= 0.0.6"])
|
|
38
|
+
s.add_runtime_dependency(%q<jeremymcanally-matchy>, [">= 0.0.1"])
|
|
39
|
+
s.add_runtime_dependency(%q<ruby-debug>, ["~> 0.10"])
|
|
40
40
|
else
|
|
41
41
|
s.add_dependency(%q<libxml-ruby>, [">= 0.9.7"])
|
|
42
42
|
s.add_dependency(%q<andre-geokit>, [">= 1.2.0"])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: outoftime-noaa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mat Brown
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2009-01-02 00:00:00 -08:00
|
|
13
13
|
default_executable: noaa-update-stations
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|