yahoo-weather 1.1.0 → 1.2.0
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.rdoc +22 -0
- data/LICENSE +504 -0
- data/README.rdoc +35 -21
- data/Rakefile +1 -2
- data/examples/example.rb +11 -8
- data/lib/yahoo-weather.rb +15 -296
- data/lib/yahoo-weather/astronomy.rb +13 -0
- data/lib/yahoo-weather/atmosphere.rb +40 -0
- data/lib/yahoo-weather/client.rb +70 -0
- data/lib/yahoo-weather/condition.rb +20 -0
- data/lib/yahoo-weather/forecast.rb +29 -0
- data/lib/yahoo-weather/image.rb +25 -0
- data/lib/yahoo-weather/location.rb +17 -0
- data/lib/yahoo-weather/response.rb +85 -0
- data/lib/yahoo-weather/units.rb +24 -0
- data/lib/yahoo-weather/wind.rb +17 -0
- data/test/test_api.rb +113 -91
- metadata +18 -8
- data/TODO +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yahoo-weather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walter Korman
|
@@ -9,18 +9,18 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-26 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: nokogiri
|
17
17
|
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 1.4.1
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.4.0
|
34
34
|
version:
|
35
35
|
description: |
|
36
36
|
The yahoo-weather rubygem provides a Ruby object-oriented interface to the
|
@@ -48,12 +48,22 @@ extra_rdoc_files:
|
|
48
48
|
- README.rdoc
|
49
49
|
files:
|
50
50
|
- CHANGELOG.rdoc
|
51
|
-
- README.rdoc
|
52
|
-
- Rakefile
|
53
|
-
- TODO
|
54
51
|
- examples/example.rb
|
55
52
|
- examples/get-weather.rb
|
53
|
+
- lib/yahoo-weather/astronomy.rb
|
54
|
+
- lib/yahoo-weather/atmosphere.rb
|
55
|
+
- lib/yahoo-weather/client.rb
|
56
|
+
- lib/yahoo-weather/condition.rb
|
57
|
+
- lib/yahoo-weather/forecast.rb
|
58
|
+
- lib/yahoo-weather/image.rb
|
59
|
+
- lib/yahoo-weather/location.rb
|
60
|
+
- lib/yahoo-weather/response.rb
|
61
|
+
- lib/yahoo-weather/units.rb
|
62
|
+
- lib/yahoo-weather/wind.rb
|
56
63
|
- lib/yahoo-weather.rb
|
64
|
+
- LICENSE
|
65
|
+
- Rakefile
|
66
|
+
- README.rdoc
|
57
67
|
- test/test_api.rb
|
58
68
|
has_rdoc: true
|
59
69
|
homepage: http://rubyforge.org/projects/yahoo-weather
|
data/TODO
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
* use nokogiri instead of xmlsimple.
|
2
|
-
* break classes out into one per file.
|
3
|
-
* update super ancient coding style.
|
4
|
-
* include the yahoo! weather logo image in the response
|
5
|
-
* raise a module-specific exception on failure cases rather than just a string
|
6
|
-
* add weather code image url accessor for forecasts
|