barometer 0.6.2 → 0.6.3
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/.document +5 -0
- data/.gitignore +8 -0
- data/README.rdoc +2 -2
- data/Rakefile +77 -0
- data/TODO +54 -0
- data/VERSION.yml +1 -1
- data/barometer.gemspec +191 -0
- data/bin/barometer +1 -1
- data/lib/demometer/demometer.rb +2 -2
- data/lib/demometer/views/readme.erb +1 -1
- metadata +48 -39
data/.document
ADDED
data/.gitignore
ADDED
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ this.
|
|
15
15
|
|
16
16
|
== version
|
17
17
|
|
18
|
-
Version 0.6.
|
18
|
+
Version 0.6.3 is the current release of this gem.
|
19
19
|
The gem is available from github (attack-barometer) or rubyforge (barometer).
|
20
20
|
It is fully functional (for five weather service APIs).
|
21
21
|
|
@@ -25,7 +25,7 @@ Currently this project is in development and will only work for a few weather
|
|
25
25
|
services (wunderground, google, yahoo, weather.com, weather_bug).
|
26
26
|
|
27
27
|
Features to be added next:
|
28
|
-
- even more weather service drivers (
|
28
|
+
- even more weather service drivers (hamweather)
|
29
29
|
- icon support
|
30
30
|
|
31
31
|
= dependencies
|
data/Rakefile
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "barometer"
|
8
|
+
gem.summary = %Q{TODO}
|
9
|
+
gem.email = "barometer@attackcorp.com"
|
10
|
+
gem.homepage = "http://github.com/attack/barometer"
|
11
|
+
gem.authors = ["Mark G"]
|
12
|
+
gem.rubyforge_project = 'barometer'
|
13
|
+
|
14
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
15
|
+
end
|
16
|
+
rescue LoadError
|
17
|
+
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'spec/rake/spectask'
|
21
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
22
|
+
spec.libs << 'lib' << 'spec'
|
23
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
24
|
+
spec.spec_opts = ["-c"]
|
25
|
+
end
|
26
|
+
|
27
|
+
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
28
|
+
spec.libs << 'lib' << 'spec'
|
29
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
30
|
+
spec.rcov = true
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
task :default => :spec
|
35
|
+
|
36
|
+
require 'rake/rdoctask'
|
37
|
+
Rake::RDocTask.new do |rdoc|
|
38
|
+
if File.exist?('VERSION.yml')
|
39
|
+
config = YAML.load(File.read('VERSION.yml'))
|
40
|
+
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
41
|
+
else
|
42
|
+
version = ""
|
43
|
+
end
|
44
|
+
|
45
|
+
rdoc.rdoc_dir = 'rdoc'
|
46
|
+
rdoc.title = "barometer #{version}"
|
47
|
+
rdoc.rdoc_files.include('README*')
|
48
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
+
end
|
50
|
+
|
51
|
+
begin
|
52
|
+
require 'rake/contrib/sshpublisher'
|
53
|
+
namespace :rubyforge do
|
54
|
+
|
55
|
+
desc "Release gem and RDoc documentation to RubyForge"
|
56
|
+
task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
|
57
|
+
|
58
|
+
namespace :release do
|
59
|
+
desc "Publish RDoc to RubyForge."
|
60
|
+
task :docs => [:rdoc] do
|
61
|
+
config = YAML.load(
|
62
|
+
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
63
|
+
)
|
64
|
+
|
65
|
+
host = "#{config['username']}@rubyforge.org"
|
66
|
+
remote_dir = "/var/www/gforge-projects/barometer/"
|
67
|
+
local_dir = 'rdoc'
|
68
|
+
|
69
|
+
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
rescue LoadError
|
74
|
+
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
75
|
+
end
|
76
|
+
|
77
|
+
|
data/TODO
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
== now
|
2
|
+
|
3
|
+
- driver: hamweather
|
4
|
+
- driver: meter
|
5
|
+
|
6
|
+
== soon
|
7
|
+
|
8
|
+
- style the demo app results
|
9
|
+
- refactor: data-zone
|
10
|
+
- methods to use service_specific icons/images
|
11
|
+
|
12
|
+
== future
|
13
|
+
|
14
|
+
- Rdoc compatible documentation
|
15
|
+
- add uv, moon, elevation info to current
|
16
|
+
- driver: noaa, intellicast
|
17
|
+
- weather.com simple_questions improve answers (use extra data)
|
18
|
+
- make sure you can compare LocalTime to LocalDateTime in LocalTime class
|
19
|
+
|
20
|
+
- be smart, never make duplicate queries
|
21
|
+
- ie. if you are including wunderground, do it first and use the timezone info
|
22
|
+
|
23
|
+
- conversion and weather fetching queries should have hooks to allow
|
24
|
+
for configurable caching via memcache, then web service calls can
|
25
|
+
be cached across multiple measurement instances.
|
26
|
+
|
27
|
+
== bugs
|
28
|
+
|
29
|
+
== refactoring
|
30
|
+
|
31
|
+
- Parsing dates is slow (ie Time.parse)
|
32
|
+
for data parsing with known date/time formats, parse the
|
33
|
+
needed information explicitly
|
34
|
+
|
35
|
+
example:
|
36
|
+
|
37
|
+
_parse_date(text)
|
38
|
+
text =~ /^(\d\d\d\d)-(\d\d)-(\d\d)/
|
39
|
+
Time.new($3,$2,$1)
|
40
|
+
end
|
41
|
+
|
42
|
+
|
43
|
+
== other weather info
|
44
|
+
|
45
|
+
=== intellicast
|
46
|
+
http://www.intellicast.com/IcastRSS/Signup.aspx
|
47
|
+
http://www.intellicast.com/content/
|
48
|
+
http://www.nws.noaa.gov/mdl/synop/nam.php
|
49
|
+
http://www.hamweather.net/hw3/hw3php/democss/hw3.php?config=&forecast=zandh&icao=PADQ
|
50
|
+
http://www.arl.noaa.gov/READYcmet.php
|
51
|
+
http://www.windguru.cz/int/index.php
|
52
|
+
http://www.nco.ncep.noaa.gov/pmb/products/gfs/
|
53
|
+
http://www.weatherdeveloper.com/2008/01/31/grib2-migration/
|
54
|
+
http://www.cpc.noaa.gov/products/wesley/wgrib2/
|
data/VERSION.yml
CHANGED
data/barometer.gemspec
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{barometer}
|
5
|
+
s.version = "0.6.3"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Mark G"]
|
9
|
+
s.date = %q{2009-05-21}
|
10
|
+
s.default_executable = %q{barometer}
|
11
|
+
s.email = %q{barometer@attackcorp.com}
|
12
|
+
s.executables = ["barometer"]
|
13
|
+
s.extra_rdoc_files = [
|
14
|
+
"LICENSE",
|
15
|
+
"README.rdoc"
|
16
|
+
]
|
17
|
+
s.files = [
|
18
|
+
".document",
|
19
|
+
".gitignore",
|
20
|
+
"LICENSE",
|
21
|
+
"README.rdoc",
|
22
|
+
"Rakefile",
|
23
|
+
"TODO",
|
24
|
+
"VERSION.yml",
|
25
|
+
"barometer.gemspec",
|
26
|
+
"bin/barometer",
|
27
|
+
"lib/barometer.rb",
|
28
|
+
"lib/barometer/base.rb",
|
29
|
+
"lib/barometer/data.rb",
|
30
|
+
"lib/barometer/data/distance.rb",
|
31
|
+
"lib/barometer/data/geo.rb",
|
32
|
+
"lib/barometer/data/local_datetime.rb",
|
33
|
+
"lib/barometer/data/local_time.rb",
|
34
|
+
"lib/barometer/data/location.rb",
|
35
|
+
"lib/barometer/data/pressure.rb",
|
36
|
+
"lib/barometer/data/speed.rb",
|
37
|
+
"lib/barometer/data/sun.rb",
|
38
|
+
"lib/barometer/data/temperature.rb",
|
39
|
+
"lib/barometer/data/units.rb",
|
40
|
+
"lib/barometer/data/zone.rb",
|
41
|
+
"lib/barometer/extensions/httparty.rb",
|
42
|
+
"lib/barometer/formats.rb",
|
43
|
+
"lib/barometer/formats/coordinates.rb",
|
44
|
+
"lib/barometer/formats/format.rb",
|
45
|
+
"lib/barometer/formats/geocode.rb",
|
46
|
+
"lib/barometer/formats/icao.rb",
|
47
|
+
"lib/barometer/formats/postalcode.rb",
|
48
|
+
"lib/barometer/formats/short_zipcode.rb",
|
49
|
+
"lib/barometer/formats/weather_id.rb",
|
50
|
+
"lib/barometer/formats/zipcode.rb",
|
51
|
+
"lib/barometer/measurements/measurement.rb",
|
52
|
+
"lib/barometer/measurements/result.rb",
|
53
|
+
"lib/barometer/measurements/result_array.rb",
|
54
|
+
"lib/barometer/query.rb",
|
55
|
+
"lib/barometer/services.rb",
|
56
|
+
"lib/barometer/translations/icao_country_codes.yml",
|
57
|
+
"lib/barometer/translations/weather_country_codes.yml",
|
58
|
+
"lib/barometer/translations/zone_codes.yml",
|
59
|
+
"lib/barometer/weather.rb",
|
60
|
+
"lib/barometer/weather_services/google.rb",
|
61
|
+
"lib/barometer/weather_services/noaa.rb",
|
62
|
+
"lib/barometer/weather_services/service.rb",
|
63
|
+
"lib/barometer/weather_services/weather_bug.rb",
|
64
|
+
"lib/barometer/weather_services/weather_dot_com.rb",
|
65
|
+
"lib/barometer/weather_services/wunderground.rb",
|
66
|
+
"lib/barometer/weather_services/yahoo.rb",
|
67
|
+
"lib/barometer/web_services/geocode.rb",
|
68
|
+
"lib/barometer/web_services/timezone.rb",
|
69
|
+
"lib/barometer/web_services/weather_id.rb",
|
70
|
+
"lib/barometer/web_services/web_service.rb",
|
71
|
+
"lib/demometer/demometer.rb",
|
72
|
+
"lib/demometer/public/css/master.css",
|
73
|
+
"lib/demometer/public/css/print.css",
|
74
|
+
"lib/demometer/public/css/syntax.css",
|
75
|
+
"lib/demometer/public/images/go.png",
|
76
|
+
"lib/demometer/public/images/link-out.gif",
|
77
|
+
"lib/demometer/views/about.erb",
|
78
|
+
"lib/demometer/views/contributing.erb",
|
79
|
+
"lib/demometer/views/forecast.erb",
|
80
|
+
"lib/demometer/views/index.erb",
|
81
|
+
"lib/demometer/views/layout.erb",
|
82
|
+
"lib/demometer/views/measurement.erb",
|
83
|
+
"lib/demometer/views/readme.erb",
|
84
|
+
"spec/barometer_spec.rb",
|
85
|
+
"spec/data/distance_spec.rb",
|
86
|
+
"spec/data/geo_spec.rb",
|
87
|
+
"spec/data/local_datetime_spec.rb",
|
88
|
+
"spec/data/local_time_spec.rb",
|
89
|
+
"spec/data/location_spec.rb",
|
90
|
+
"spec/data/pressure_spec.rb",
|
91
|
+
"spec/data/speed_spec.rb",
|
92
|
+
"spec/data/sun_spec.rb",
|
93
|
+
"spec/data/temperature_spec.rb",
|
94
|
+
"spec/data/units_spec.rb",
|
95
|
+
"spec/data/zone_spec.rb",
|
96
|
+
"spec/fixtures/formats/weather_id/90210.xml",
|
97
|
+
"spec/fixtures/formats/weather_id/atlanta.xml",
|
98
|
+
"spec/fixtures/formats/weather_id/from_USGA0028.xml",
|
99
|
+
"spec/fixtures/formats/weather_id/ksfo.xml",
|
100
|
+
"spec/fixtures/formats/weather_id/new_york.xml",
|
101
|
+
"spec/fixtures/geocode/40_73.xml",
|
102
|
+
"spec/fixtures/geocode/90210.xml",
|
103
|
+
"spec/fixtures/geocode/T5B4M9.xml",
|
104
|
+
"spec/fixtures/geocode/atlanta.xml",
|
105
|
+
"spec/fixtures/geocode/calgary_ab.xml",
|
106
|
+
"spec/fixtures/geocode/ksfo.xml",
|
107
|
+
"spec/fixtures/geocode/newyork_ny.xml",
|
108
|
+
"spec/fixtures/services/google/calgary_ab.xml",
|
109
|
+
"spec/fixtures/services/weather_bug/90210_current.xml",
|
110
|
+
"spec/fixtures/services/weather_bug/90210_forecast.xml",
|
111
|
+
"spec/fixtures/services/weather_dot_com/90210.xml",
|
112
|
+
"spec/fixtures/services/wunderground/current_calgary_ab.xml",
|
113
|
+
"spec/fixtures/services/wunderground/forecast_calgary_ab.xml",
|
114
|
+
"spec/fixtures/services/yahoo/90210.xml",
|
115
|
+
"spec/formats/coordinates_spec.rb",
|
116
|
+
"spec/formats/format_spec.rb",
|
117
|
+
"spec/formats/geocode_spec.rb",
|
118
|
+
"spec/formats/icao_spec.rb",
|
119
|
+
"spec/formats/postalcode_spec.rb",
|
120
|
+
"spec/formats/short_zipcode_spec.rb",
|
121
|
+
"spec/formats/weather_id_spec.rb",
|
122
|
+
"spec/formats/zipcode_spec.rb",
|
123
|
+
"spec/measurements/measurement_spec.rb",
|
124
|
+
"spec/measurements/result_array_spec.rb",
|
125
|
+
"spec/measurements/result_spec.rb",
|
126
|
+
"spec/query_spec.rb",
|
127
|
+
"spec/spec_helper.rb",
|
128
|
+
"spec/weather_services/google_spec.rb",
|
129
|
+
"spec/weather_services/services_spec.rb",
|
130
|
+
"spec/weather_services/weather_bug_spec.rb",
|
131
|
+
"spec/weather_services/weather_dot_com_spec.rb",
|
132
|
+
"spec/weather_services/wunderground_spec.rb",
|
133
|
+
"spec/weather_services/yahoo_spec.rb",
|
134
|
+
"spec/weather_spec.rb",
|
135
|
+
"spec/web_services/geocode_spec.rb",
|
136
|
+
"spec/web_services/web_services_spec.rb"
|
137
|
+
]
|
138
|
+
s.has_rdoc = true
|
139
|
+
s.homepage = %q{http://github.com/attack/barometer}
|
140
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
141
|
+
s.require_paths = ["lib"]
|
142
|
+
s.rubyforge_project = %q{barometer}
|
143
|
+
s.rubygems_version = %q{1.3.1}
|
144
|
+
s.summary = %q{TODO}
|
145
|
+
s.test_files = [
|
146
|
+
"spec/barometer_spec.rb",
|
147
|
+
"spec/data/distance_spec.rb",
|
148
|
+
"spec/data/geo_spec.rb",
|
149
|
+
"spec/data/local_datetime_spec.rb",
|
150
|
+
"spec/data/local_time_spec.rb",
|
151
|
+
"spec/data/location_spec.rb",
|
152
|
+
"spec/data/pressure_spec.rb",
|
153
|
+
"spec/data/speed_spec.rb",
|
154
|
+
"spec/data/sun_spec.rb",
|
155
|
+
"spec/data/temperature_spec.rb",
|
156
|
+
"spec/data/units_spec.rb",
|
157
|
+
"spec/data/zone_spec.rb",
|
158
|
+
"spec/formats/coordinates_spec.rb",
|
159
|
+
"spec/formats/format_spec.rb",
|
160
|
+
"spec/formats/geocode_spec.rb",
|
161
|
+
"spec/formats/icao_spec.rb",
|
162
|
+
"spec/formats/postalcode_spec.rb",
|
163
|
+
"spec/formats/short_zipcode_spec.rb",
|
164
|
+
"spec/formats/weather_id_spec.rb",
|
165
|
+
"spec/formats/zipcode_spec.rb",
|
166
|
+
"spec/measurements/measurement_spec.rb",
|
167
|
+
"spec/measurements/result_array_spec.rb",
|
168
|
+
"spec/measurements/result_spec.rb",
|
169
|
+
"spec/query_spec.rb",
|
170
|
+
"spec/spec_helper.rb",
|
171
|
+
"spec/weather_services/google_spec.rb",
|
172
|
+
"spec/weather_services/services_spec.rb",
|
173
|
+
"spec/weather_services/weather_bug_spec.rb",
|
174
|
+
"spec/weather_services/weather_dot_com_spec.rb",
|
175
|
+
"spec/weather_services/wunderground_spec.rb",
|
176
|
+
"spec/weather_services/yahoo_spec.rb",
|
177
|
+
"spec/weather_spec.rb",
|
178
|
+
"spec/web_services/geocode_spec.rb",
|
179
|
+
"spec/web_services/web_services_spec.rb"
|
180
|
+
]
|
181
|
+
|
182
|
+
if s.respond_to? :specification_version then
|
183
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
184
|
+
s.specification_version = 2
|
185
|
+
|
186
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
187
|
+
else
|
188
|
+
end
|
189
|
+
else
|
190
|
+
end
|
191
|
+
end
|
data/bin/barometer
CHANGED
data/lib/demometer/demometer.rb
CHANGED
@@ -17,7 +17,7 @@ information on this.
|
|
17
17
|
</p>
|
18
18
|
<h2>version</h2>
|
19
19
|
<p>
|
20
|
-
Version 0.6.
|
20
|
+
Version 0.6.3 is the current release of this gem. The gem is available from
|
21
21
|
github (attack-barometer) or rubyforge (barometer). It is fully functional
|
22
22
|
(for five weather service APIs).
|
23
23
|
</p>
|
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.3
|
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: 2009-05-
|
12
|
+
date: 2009-05-21 00:00:00 -06:00
|
13
13
|
default_executable: barometer
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,15 +20,21 @@ executables:
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
- README.rdoc
|
24
23
|
- LICENSE
|
24
|
+
- README.rdoc
|
25
25
|
files:
|
26
|
+
- .document
|
27
|
+
- .gitignore
|
28
|
+
- LICENSE
|
26
29
|
- README.rdoc
|
30
|
+
- Rakefile
|
31
|
+
- TODO
|
27
32
|
- VERSION.yml
|
33
|
+
- barometer.gemspec
|
28
34
|
- bin/barometer
|
29
|
-
- lib/barometer
|
35
|
+
- lib/barometer.rb
|
30
36
|
- lib/barometer/base.rb
|
31
|
-
- lib/barometer/data
|
37
|
+
- lib/barometer/data.rb
|
32
38
|
- lib/barometer/data/distance.rb
|
33
39
|
- lib/barometer/data/geo.rb
|
34
40
|
- lib/barometer/data/local_datetime.rb
|
@@ -40,10 +46,8 @@ files:
|
|
40
46
|
- lib/barometer/data/temperature.rb
|
41
47
|
- lib/barometer/data/units.rb
|
42
48
|
- lib/barometer/data/zone.rb
|
43
|
-
- lib/barometer/data.rb
|
44
|
-
- lib/barometer/extensions
|
45
49
|
- lib/barometer/extensions/httparty.rb
|
46
|
-
- lib/barometer/formats
|
50
|
+
- lib/barometer/formats.rb
|
47
51
|
- lib/barometer/formats/coordinates.rb
|
48
52
|
- lib/barometer/formats/format.rb
|
49
53
|
- lib/barometer/formats/geocode.rb
|
@@ -52,19 +56,15 @@ files:
|
|
52
56
|
- lib/barometer/formats/short_zipcode.rb
|
53
57
|
- lib/barometer/formats/weather_id.rb
|
54
58
|
- lib/barometer/formats/zipcode.rb
|
55
|
-
- lib/barometer/formats.rb
|
56
|
-
- lib/barometer/measurements
|
57
59
|
- lib/barometer/measurements/measurement.rb
|
58
60
|
- lib/barometer/measurements/result.rb
|
59
61
|
- lib/barometer/measurements/result_array.rb
|
60
62
|
- lib/barometer/query.rb
|
61
63
|
- lib/barometer/services.rb
|
62
|
-
- lib/barometer/translations
|
63
64
|
- lib/barometer/translations/icao_country_codes.yml
|
64
65
|
- lib/barometer/translations/weather_country_codes.yml
|
65
66
|
- lib/barometer/translations/zone_codes.yml
|
66
67
|
- lib/barometer/weather.rb
|
67
|
-
- lib/barometer/weather_services
|
68
68
|
- lib/barometer/weather_services/google.rb
|
69
69
|
- lib/barometer/weather_services/noaa.rb
|
70
70
|
- lib/barometer/weather_services/service.rb
|
@@ -72,23 +72,16 @@ files:
|
|
72
72
|
- lib/barometer/weather_services/weather_dot_com.rb
|
73
73
|
- lib/barometer/weather_services/wunderground.rb
|
74
74
|
- lib/barometer/weather_services/yahoo.rb
|
75
|
-
- lib/barometer/web_services
|
76
75
|
- lib/barometer/web_services/geocode.rb
|
77
76
|
- lib/barometer/web_services/timezone.rb
|
78
77
|
- lib/barometer/web_services/weather_id.rb
|
79
78
|
- lib/barometer/web_services/web_service.rb
|
80
|
-
- lib/barometer.rb
|
81
|
-
- lib/demometer
|
82
79
|
- lib/demometer/demometer.rb
|
83
|
-
- lib/demometer/public
|
84
|
-
- lib/demometer/public/css
|
85
80
|
- lib/demometer/public/css/master.css
|
86
81
|
- lib/demometer/public/css/print.css
|
87
82
|
- lib/demometer/public/css/syntax.css
|
88
|
-
- lib/demometer/public/images
|
89
83
|
- lib/demometer/public/images/go.png
|
90
84
|
- lib/demometer/public/images/link-out.gif
|
91
|
-
- lib/demometer/views
|
92
85
|
- lib/demometer/views/about.erb
|
93
86
|
- lib/demometer/views/contributing.erb
|
94
87
|
- lib/demometer/views/forecast.erb
|
@@ -97,7 +90,6 @@ files:
|
|
97
90
|
- lib/demometer/views/measurement.erb
|
98
91
|
- lib/demometer/views/readme.erb
|
99
92
|
- spec/barometer_spec.rb
|
100
|
-
- spec/data
|
101
93
|
- spec/data/distance_spec.rb
|
102
94
|
- spec/data/geo_spec.rb
|
103
95
|
- spec/data/local_datetime_spec.rb
|
@@ -109,36 +101,25 @@ files:
|
|
109
101
|
- spec/data/temperature_spec.rb
|
110
102
|
- spec/data/units_spec.rb
|
111
103
|
- spec/data/zone_spec.rb
|
112
|
-
- spec/fixtures
|
113
|
-
- spec/fixtures/formats
|
114
|
-
- spec/fixtures/formats/weather_id
|
115
104
|
- spec/fixtures/formats/weather_id/90210.xml
|
116
105
|
- spec/fixtures/formats/weather_id/atlanta.xml
|
117
106
|
- spec/fixtures/formats/weather_id/from_USGA0028.xml
|
118
107
|
- spec/fixtures/formats/weather_id/ksfo.xml
|
119
108
|
- spec/fixtures/formats/weather_id/new_york.xml
|
120
|
-
- spec/fixtures/geocode
|
121
109
|
- spec/fixtures/geocode/40_73.xml
|
122
110
|
- spec/fixtures/geocode/90210.xml
|
111
|
+
- spec/fixtures/geocode/T5B4M9.xml
|
123
112
|
- spec/fixtures/geocode/atlanta.xml
|
124
113
|
- spec/fixtures/geocode/calgary_ab.xml
|
125
114
|
- spec/fixtures/geocode/ksfo.xml
|
126
115
|
- spec/fixtures/geocode/newyork_ny.xml
|
127
|
-
- spec/fixtures/geocode/T5B4M9.xml
|
128
|
-
- spec/fixtures/services
|
129
|
-
- spec/fixtures/services/google
|
130
116
|
- spec/fixtures/services/google/calgary_ab.xml
|
131
|
-
- spec/fixtures/services/weather_bug
|
132
117
|
- spec/fixtures/services/weather_bug/90210_current.xml
|
133
118
|
- spec/fixtures/services/weather_bug/90210_forecast.xml
|
134
|
-
- spec/fixtures/services/weather_dot_com
|
135
119
|
- spec/fixtures/services/weather_dot_com/90210.xml
|
136
|
-
- spec/fixtures/services/wunderground
|
137
120
|
- spec/fixtures/services/wunderground/current_calgary_ab.xml
|
138
121
|
- spec/fixtures/services/wunderground/forecast_calgary_ab.xml
|
139
|
-
- spec/fixtures/services/yahoo
|
140
122
|
- spec/fixtures/services/yahoo/90210.xml
|
141
|
-
- spec/formats
|
142
123
|
- spec/formats/coordinates_spec.rb
|
143
124
|
- spec/formats/format_spec.rb
|
144
125
|
- spec/formats/geocode_spec.rb
|
@@ -147,13 +128,11 @@ files:
|
|
147
128
|
- spec/formats/short_zipcode_spec.rb
|
148
129
|
- spec/formats/weather_id_spec.rb
|
149
130
|
- spec/formats/zipcode_spec.rb
|
150
|
-
- spec/measurements
|
151
131
|
- spec/measurements/measurement_spec.rb
|
152
132
|
- spec/measurements/result_array_spec.rb
|
153
133
|
- spec/measurements/result_spec.rb
|
154
134
|
- spec/query_spec.rb
|
155
135
|
- spec/spec_helper.rb
|
156
|
-
- spec/weather_services
|
157
136
|
- spec/weather_services/google_spec.rb
|
158
137
|
- spec/weather_services/services_spec.rb
|
159
138
|
- spec/weather_services/weather_bug_spec.rb
|
@@ -161,15 +140,12 @@ files:
|
|
161
140
|
- spec/weather_services/wunderground_spec.rb
|
162
141
|
- spec/weather_services/yahoo_spec.rb
|
163
142
|
- spec/weather_spec.rb
|
164
|
-
- spec/web_services
|
165
143
|
- spec/web_services/geocode_spec.rb
|
166
144
|
- spec/web_services/web_services_spec.rb
|
167
|
-
- LICENSE
|
168
145
|
has_rdoc: true
|
169
146
|
homepage: http://github.com/attack/barometer
|
170
147
|
post_install_message:
|
171
148
|
rdoc_options:
|
172
|
-
- --inline-source
|
173
149
|
- --charset=UTF-8
|
174
150
|
require_paths:
|
175
151
|
- lib
|
@@ -192,5 +168,38 @@ rubygems_version: 1.3.1
|
|
192
168
|
signing_key:
|
193
169
|
specification_version: 2
|
194
170
|
summary: TODO
|
195
|
-
test_files:
|
196
|
-
|
171
|
+
test_files:
|
172
|
+
- spec/barometer_spec.rb
|
173
|
+
- spec/data/distance_spec.rb
|
174
|
+
- spec/data/geo_spec.rb
|
175
|
+
- spec/data/local_datetime_spec.rb
|
176
|
+
- spec/data/local_time_spec.rb
|
177
|
+
- spec/data/location_spec.rb
|
178
|
+
- spec/data/pressure_spec.rb
|
179
|
+
- spec/data/speed_spec.rb
|
180
|
+
- spec/data/sun_spec.rb
|
181
|
+
- spec/data/temperature_spec.rb
|
182
|
+
- spec/data/units_spec.rb
|
183
|
+
- spec/data/zone_spec.rb
|
184
|
+
- spec/formats/coordinates_spec.rb
|
185
|
+
- spec/formats/format_spec.rb
|
186
|
+
- spec/formats/geocode_spec.rb
|
187
|
+
- spec/formats/icao_spec.rb
|
188
|
+
- spec/formats/postalcode_spec.rb
|
189
|
+
- spec/formats/short_zipcode_spec.rb
|
190
|
+
- spec/formats/weather_id_spec.rb
|
191
|
+
- spec/formats/zipcode_spec.rb
|
192
|
+
- spec/measurements/measurement_spec.rb
|
193
|
+
- spec/measurements/result_array_spec.rb
|
194
|
+
- spec/measurements/result_spec.rb
|
195
|
+
- spec/query_spec.rb
|
196
|
+
- spec/spec_helper.rb
|
197
|
+
- spec/weather_services/google_spec.rb
|
198
|
+
- spec/weather_services/services_spec.rb
|
199
|
+
- spec/weather_services/weather_bug_spec.rb
|
200
|
+
- spec/weather_services/weather_dot_com_spec.rb
|
201
|
+
- spec/weather_services/wunderground_spec.rb
|
202
|
+
- spec/weather_services/yahoo_spec.rb
|
203
|
+
- spec/weather_spec.rb
|
204
|
+
- spec/web_services/geocode_spec.rb
|
205
|
+
- spec/web_services/web_services_spec.rb
|