outoftime-noaa 0.2.1 → 0.2.2
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 +1 -1
- data/lib/noaa/current_conditions.rb +2 -2
- data/noaa.gemspec +5 -5
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/noaa.rb
CHANGED
@@ -53,7 +53,7 @@ module NOAA
|
|
53
53
|
# - <code>:smoke</code> - Smoke
|
54
54
|
# - <code>:dust</code> - Dust/Sand
|
55
55
|
# - <code>:mist</code> - Haze
|
56
|
-
# - <code>:
|
56
|
+
# - <code>:svrtsra</code> - Tornado
|
57
57
|
# - <code>:fzrara</code> - Freezing Rain/Rain
|
58
58
|
# - <code>:raip</code> - Rain/Hail
|
59
59
|
# - <code>:rasn</code> - Rain/Snow
|
@@ -64,7 +64,7 @@ module NOAA
|
|
64
64
|
# descriptions and their type codes.
|
65
65
|
#
|
66
66
|
def weather_type_code
|
67
|
-
@weather_type_code ||= text_from_node('icon_url_name').
|
67
|
+
@weather_type_code ||= text_from_node('icon_url_name').gsub(/^n|\.jpg$/, '').to_sym
|
68
68
|
end
|
69
69
|
|
70
70
|
#
|
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.2"
|
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{2009-01-
|
9
|
+
s.date = %q{2009-01-04}
|
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_development_dependency(%q<jeremymcanally-context>, [">= 0.0.6"])
|
38
|
+
s.add_development_dependency(%q<jeremymcanally-matchy>, [">= 0.0.1"])
|
39
|
+
s.add_development_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.2
|
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: 2009-01-
|
12
|
+
date: 2009-01-04 00:00:00 -08:00
|
13
13
|
default_executable: noaa-update-stations
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|