barometer 0.6.4 → 0.6.6
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/README.rdoc +1 -1
- data/VERSION.yml +1 -1
- data/barometer.gemspec +9 -2
- data/bin/barometer +1 -1
- data/lib/barometer/data/geo.rb +12 -1
- data/lib/barometer/formats/coordinates.rb +1 -1
- data/lib/barometer/query.rb +1 -1
- data/spec/barometer_spec.rb +13 -6
- data/spec/data/distance_spec.rb +1 -1
- data/spec/data/geo_spec.rb +1 -1
- data/spec/data/local_datetime_spec.rb +1 -1
- data/spec/data/local_time_spec.rb +1 -1
- data/spec/data/location_spec.rb +1 -1
- data/spec/data/pressure_spec.rb +1 -1
- data/spec/data/speed_spec.rb +1 -1
- data/spec/data/sun_spec.rb +1 -1
- data/spec/data/temperature_spec.rb +1 -1
- data/spec/data/units_spec.rb +1 -1
- data/spec/data/zone_spec.rb +2 -2
- data/spec/fixtures/geocode/40_73.json +173 -0
- data/spec/fixtures/geocode/90210.json +41 -0
- data/spec/fixtures/geocode/T5B4M9.json +35 -0
- data/spec/fixtures/geocode/atlanta.json +38 -0
- data/spec/fixtures/geocode/calgary_ab.json +38 -0
- data/spec/fixtures/geocode/ksfo.json +42 -0
- data/spec/fixtures/geocode/newyork_ny.json +38 -0
- data/spec/formats/coordinates_spec.rb +31 -31
- data/spec/formats/format_spec.rb +1 -1
- data/spec/formats/geocode_spec.rb +2 -2
- data/spec/formats/icao_spec.rb +1 -1
- data/spec/formats/postalcode_spec.rb +1 -1
- data/spec/formats/short_zipcode_spec.rb +1 -1
- data/spec/formats/weather_id_spec.rb +1 -1
- data/spec/formats/zipcode_spec.rb +1 -1
- data/spec/measurements/measurement_spec.rb +14 -14
- data/spec/measurements/result_array_spec.rb +1 -1
- data/spec/measurements/result_spec.rb +1 -1
- data/spec/query_spec.rb +3 -3
- data/spec/spec_helper.rb +31 -52
- data/spec/weather_services/google_spec.rb +4 -4
- data/spec/weather_services/services_spec.rb +2 -2
- data/spec/weather_services/weather_bug_spec.rb +6 -6
- data/spec/weather_services/weather_dot_com_spec.rb +3 -3
- data/spec/weather_services/wunderground_spec.rb +5 -5
- data/spec/weather_services/yahoo_spec.rb +3 -3
- data/spec/weather_spec.rb +15 -15
- data/spec/web_services/geocode_spec.rb +1 -1
- data/spec/web_services/web_services_spec.rb +1 -1
- metadata +9 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barometer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark G
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-02 00:00:00 -07:00
|
13
13
|
default_executable: barometer
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -126,12 +126,19 @@ files:
|
|
126
126
|
- spec/fixtures/formats/weather_id/from_USGA0028.xml
|
127
127
|
- spec/fixtures/formats/weather_id/ksfo.xml
|
128
128
|
- spec/fixtures/formats/weather_id/new_york.xml
|
129
|
+
- spec/fixtures/geocode/40_73.json
|
129
130
|
- spec/fixtures/geocode/40_73.xml
|
131
|
+
- spec/fixtures/geocode/90210.json
|
130
132
|
- spec/fixtures/geocode/90210.xml
|
133
|
+
- spec/fixtures/geocode/T5B4M9.json
|
131
134
|
- spec/fixtures/geocode/T5B4M9.xml
|
135
|
+
- spec/fixtures/geocode/atlanta.json
|
132
136
|
- spec/fixtures/geocode/atlanta.xml
|
137
|
+
- spec/fixtures/geocode/calgary_ab.json
|
133
138
|
- spec/fixtures/geocode/calgary_ab.xml
|
139
|
+
- spec/fixtures/geocode/ksfo.json
|
134
140
|
- spec/fixtures/geocode/ksfo.xml
|
141
|
+
- spec/fixtures/geocode/newyork_ny.json
|
135
142
|
- spec/fixtures/geocode/newyork_ny.xml
|
136
143
|
- spec/fixtures/services/google/calgary_ab.xml
|
137
144
|
- spec/fixtures/services/weather_bug/90210_current.xml
|