weather-forecasts 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/weather_forecasts/client/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/select_by_days_query.yml +122 -150
- data/spec/fixtures/vcr_cassettes/select_coordinates_by_cities_query.yml +167 -26
- data/spec/fixtures/vcr_cassettes/select_coordinates_by_zip_query.yml +13 -17
- data/spec/fixtures/vcr_cassettes/select_corner_coordinates_query.yml +13 -19
- data/spec/fixtures/vcr_cassettes/select_gridpoint_coordinates_query.yml +14 -20
- data/spec/fixtures/vcr_cassettes/select_hourly_query.yml +146 -144
- data/spec/fixtures/vcr_cassettes/select_linepoint_coordinates_query.yml +13 -19
- data/spec/fixtures/vcr_cassettes/select_query.yml +788 -1133
- data/spec/fixtures/vcr_cassettes/select_square_coordinates_query.yml +13 -19
- data/weather-forecasts.gemspec +3 -3
- metadata +71 -52
- checksums.yaml +0 -7
@@ -7,10 +7,8 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
10
|
Accept:
|
13
|
-
-
|
11
|
+
- ! '*/*'
|
14
12
|
User-Agent:
|
15
13
|
- Ruby
|
16
14
|
response:
|
@@ -31,12 +29,12 @@ http_interactions:
|
|
31
29
|
Content-Type:
|
32
30
|
- application/wsdl+xml
|
33
31
|
Date:
|
34
|
-
-
|
32
|
+
- Mon, 09 Mar 2015 16:11:13 GMT
|
35
33
|
Connection:
|
36
34
|
- keep-alive
|
37
35
|
body:
|
38
|
-
encoding:
|
39
|
-
string: "<?xml version=\"1.0\"?>\n\n<!-- **********************************************************************
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: ! "<?xml version=\"1.0\"?>\n\n<!-- **********************************************************************
|
40
38
|
\ \n \n
|
41
39
|
\ ndfdXML.wsdl \n\n John L. Schattel MDL 4
|
42
40
|
July 2007 \n Aniesha L. Alford\n Red Hat Linux Apache
|
@@ -380,26 +378,24 @@ http_interactions:
|
|
380
378
|
\ <soap:address location=\"http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php\"/>\n
|
381
379
|
\ </port>\n</service>\n\n</definitions>\n"
|
382
380
|
http_version:
|
383
|
-
recorded_at:
|
381
|
+
recorded_at: Mon, 09 Mar 2015 16:11:13 GMT
|
384
382
|
- request:
|
385
383
|
method: post
|
386
384
|
uri: http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php
|
387
385
|
body:
|
388
|
-
encoding:
|
386
|
+
encoding: US-ASCII
|
389
387
|
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
390
388
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl"
|
391
389
|
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd"><env:Body><tns:LatLonListSquare><centerPointLat>39.547101</centerPointLat><centerPointLon>-105.215759</centerPointLon><distanceLat>0.547101</distanceLat><distanceLon>0.215759</distanceLon><resolution>10</resolution></tns:LatLonListSquare></env:Body></env:Envelope>
|
392
390
|
headers:
|
393
391
|
Soapaction:
|
394
|
-
- '"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLonListSquare"'
|
392
|
+
- ! '"http://graphical.weather.gov/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLonListSquare"'
|
395
393
|
Content-Type:
|
396
394
|
- text/xml;charset=UTF-8
|
397
395
|
Content-Length:
|
398
396
|
- '610'
|
399
|
-
Accept-Encoding:
|
400
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
401
397
|
Accept:
|
402
|
-
-
|
398
|
+
- ! '*/*'
|
403
399
|
User-Agent:
|
404
400
|
- Ruby
|
405
401
|
response:
|
@@ -410,25 +406,23 @@ http_interactions:
|
|
410
406
|
Server:
|
411
407
|
- Apache/2.2.15 (Red Hat)
|
412
408
|
X-Nids-Serverid:
|
413
|
-
-
|
409
|
+
- www4.md
|
414
410
|
X-Soap-Server:
|
415
411
|
- NuSOAP/0.9.5 (1.123)
|
416
412
|
Content-Type:
|
417
413
|
- text/xml; charset=ISO-8859-1
|
418
|
-
Vary:
|
419
|
-
- Accept-Encoding
|
420
414
|
Cache-Control:
|
421
415
|
- max-age=180
|
422
416
|
Expires:
|
423
|
-
-
|
417
|
+
- Mon, 09 Mar 2015 16:14:14 GMT
|
424
418
|
Date:
|
425
|
-
-
|
419
|
+
- Mon, 09 Mar 2015 16:11:14 GMT
|
426
420
|
Content-Length:
|
427
421
|
- '1472'
|
428
422
|
Connection:
|
429
423
|
- keep-alive
|
430
424
|
body:
|
431
|
-
encoding:
|
425
|
+
encoding: US-ASCII
|
432
426
|
string: <?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
433
427
|
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
434
428
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:LatLonListSquareResponse
|
@@ -443,5 +437,5 @@ http_interactions:
|
|
443
437
|
39.564032,-105.145529 39.608050,-105.149812 39.652059,-105.154099 39.479256,-105.079914
|
444
438
|
39.523294,-105.084166 39.567323,-105.088422 39.611342,-105.092681 39.655351,-105.096944</latLonList></dwml></listLatLonOut></ns1:LatLonListSquareResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
|
445
439
|
http_version:
|
446
|
-
recorded_at:
|
440
|
+
recorded_at: Mon, 09 Mar 2015 16:11:13 GMT
|
447
441
|
recorded_with: VCR 2.9.3
|
data/weather-forecasts.gemspec
CHANGED
@@ -23,11 +23,11 @@ Gem::Specification.new do |s|
|
|
23
23
|
|
24
24
|
s.executables << 'wf-console'
|
25
25
|
|
26
|
-
s.add_runtime_dependency 'dwml', '~> 1.1.
|
27
|
-
s.add_runtime_dependency 'savon', '~> 2.
|
26
|
+
s.add_runtime_dependency 'dwml', '~> 1.1.4', '>= 1.1.4'
|
27
|
+
s.add_runtime_dependency 'savon', '~> 2.10.0', '>= 2.10.0'
|
28
28
|
s.add_runtime_dependency 'httpi', '~>2.3.0', '>= 2.3.0'
|
29
29
|
s.add_runtime_dependency 'nokogiri', '~> 1.6.1', '>= 1.6.1'
|
30
|
-
s.add_runtime_dependency 'multi_json', '~> 1.
|
30
|
+
s.add_runtime_dependency 'multi_json', '~> 1.11.0', '>= 1.11.0'
|
31
31
|
s.add_runtime_dependency 'activesupport', '~> 4.2.0', '>= 4.2.0'
|
32
32
|
s.add_runtime_dependency 'http_logger', '~> 0.5.1', '>= 0.5.1'
|
33
33
|
|
metadata
CHANGED
@@ -1,157 +1,175 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weather-forecasts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Angelo Lakra
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: dwml
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.
|
20
|
-
- -
|
21
|
+
version: 1.1.4
|
22
|
+
- - ! '>='
|
21
23
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.1.
|
24
|
+
version: 1.1.4
|
23
25
|
type: :runtime
|
24
26
|
prerelease: false
|
25
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
26
29
|
requirements:
|
27
|
-
- -
|
30
|
+
- - ~>
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.1.
|
30
|
-
- -
|
32
|
+
version: 1.1.4
|
33
|
+
- - ! '>='
|
31
34
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.1.
|
35
|
+
version: 1.1.4
|
33
36
|
- !ruby/object:Gem::Dependency
|
34
37
|
name: savon
|
35
38
|
requirement: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
|
-
- -
|
41
|
+
- - ~>
|
38
42
|
- !ruby/object:Gem::Version
|
39
|
-
version: 2.
|
40
|
-
- -
|
43
|
+
version: 2.10.0
|
44
|
+
- - ! '>='
|
41
45
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
46
|
+
version: 2.10.0
|
43
47
|
type: :runtime
|
44
48
|
prerelease: false
|
45
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
46
51
|
requirements:
|
47
|
-
- -
|
52
|
+
- - ~>
|
48
53
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.
|
50
|
-
- -
|
54
|
+
version: 2.10.0
|
55
|
+
- - ! '>='
|
51
56
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
57
|
+
version: 2.10.0
|
53
58
|
- !ruby/object:Gem::Dependency
|
54
59
|
name: httpi
|
55
60
|
requirement: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
56
62
|
requirements:
|
57
|
-
- -
|
63
|
+
- - ~>
|
58
64
|
- !ruby/object:Gem::Version
|
59
65
|
version: 2.3.0
|
60
|
-
- -
|
66
|
+
- - ! '>='
|
61
67
|
- !ruby/object:Gem::Version
|
62
68
|
version: 2.3.0
|
63
69
|
type: :runtime
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
66
73
|
requirements:
|
67
|
-
- -
|
74
|
+
- - ~>
|
68
75
|
- !ruby/object:Gem::Version
|
69
76
|
version: 2.3.0
|
70
|
-
- -
|
77
|
+
- - ! '>='
|
71
78
|
- !ruby/object:Gem::Version
|
72
79
|
version: 2.3.0
|
73
80
|
- !ruby/object:Gem::Dependency
|
74
81
|
name: nokogiri
|
75
82
|
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
76
84
|
requirements:
|
77
|
-
- -
|
85
|
+
- - ~>
|
78
86
|
- !ruby/object:Gem::Version
|
79
87
|
version: 1.6.1
|
80
|
-
- -
|
88
|
+
- - ! '>='
|
81
89
|
- !ruby/object:Gem::Version
|
82
90
|
version: 1.6.1
|
83
91
|
type: :runtime
|
84
92
|
prerelease: false
|
85
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
86
95
|
requirements:
|
87
|
-
- -
|
96
|
+
- - ~>
|
88
97
|
- !ruby/object:Gem::Version
|
89
98
|
version: 1.6.1
|
90
|
-
- -
|
99
|
+
- - ! '>='
|
91
100
|
- !ruby/object:Gem::Version
|
92
101
|
version: 1.6.1
|
93
102
|
- !ruby/object:Gem::Dependency
|
94
103
|
name: multi_json
|
95
104
|
requirement: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
96
106
|
requirements:
|
97
|
-
- -
|
107
|
+
- - ~>
|
98
108
|
- !ruby/object:Gem::Version
|
99
|
-
version: 1.
|
100
|
-
- -
|
109
|
+
version: 1.11.0
|
110
|
+
- - ! '>='
|
101
111
|
- !ruby/object:Gem::Version
|
102
|
-
version: 1.
|
112
|
+
version: 1.11.0
|
103
113
|
type: :runtime
|
104
114
|
prerelease: false
|
105
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
106
117
|
requirements:
|
107
|
-
- -
|
118
|
+
- - ~>
|
108
119
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.
|
110
|
-
- -
|
120
|
+
version: 1.11.0
|
121
|
+
- - ! '>='
|
111
122
|
- !ruby/object:Gem::Version
|
112
|
-
version: 1.
|
123
|
+
version: 1.11.0
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: activesupport
|
115
126
|
requirement: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
116
128
|
requirements:
|
117
|
-
- -
|
129
|
+
- - ~>
|
118
130
|
- !ruby/object:Gem::Version
|
119
131
|
version: 4.2.0
|
120
|
-
- -
|
132
|
+
- - ! '>='
|
121
133
|
- !ruby/object:Gem::Version
|
122
134
|
version: 4.2.0
|
123
135
|
type: :runtime
|
124
136
|
prerelease: false
|
125
137
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
126
139
|
requirements:
|
127
|
-
- -
|
140
|
+
- - ~>
|
128
141
|
- !ruby/object:Gem::Version
|
129
142
|
version: 4.2.0
|
130
|
-
- -
|
143
|
+
- - ! '>='
|
131
144
|
- !ruby/object:Gem::Version
|
132
145
|
version: 4.2.0
|
133
146
|
- !ruby/object:Gem::Dependency
|
134
147
|
name: http_logger
|
135
148
|
requirement: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
136
150
|
requirements:
|
137
|
-
- -
|
151
|
+
- - ~>
|
138
152
|
- !ruby/object:Gem::Version
|
139
153
|
version: 0.5.1
|
140
|
-
- -
|
154
|
+
- - ! '>='
|
141
155
|
- !ruby/object:Gem::Version
|
142
156
|
version: 0.5.1
|
143
157
|
type: :runtime
|
144
158
|
prerelease: false
|
145
159
|
version_requirements: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
146
161
|
requirements:
|
147
|
-
- -
|
162
|
+
- - ~>
|
148
163
|
- !ruby/object:Gem::Version
|
149
164
|
version: 0.5.1
|
150
|
-
- -
|
165
|
+
- - ! '>='
|
151
166
|
- !ruby/object:Gem::Version
|
152
167
|
version: 0.5.1
|
153
|
-
description:
|
154
|
-
|
168
|
+
description: ! ' Utilizing the NDFD (National Weather Service Digital Forecast Database),
|
169
|
+
weather forecasts are retrieved from NOAA''s SOAP API and then translated into array/hash
|
170
|
+
structures in Ruby.
|
171
|
+
|
172
|
+
'
|
155
173
|
email:
|
156
174
|
- angelo.lakra@gmail.com
|
157
175
|
executables:
|
@@ -160,9 +178,9 @@ extensions: []
|
|
160
178
|
extra_rdoc_files:
|
161
179
|
- README.md
|
162
180
|
files:
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
181
|
+
- .gitignore
|
182
|
+
- .rspec
|
183
|
+
- .travis.yml
|
166
184
|
- Gemfile
|
167
185
|
- LICENSE
|
168
186
|
- README.md
|
@@ -214,26 +232,27 @@ files:
|
|
214
232
|
homepage: https://github.com/alakra/weather-forecasts
|
215
233
|
licenses:
|
216
234
|
- MIT
|
217
|
-
metadata: {}
|
218
235
|
post_install_message: To start querying weather forecasts immediately, type `wf-console`.
|
219
236
|
rdoc_options: []
|
220
237
|
require_paths:
|
221
238
|
- lib
|
222
239
|
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
223
241
|
requirements:
|
224
|
-
- -
|
242
|
+
- - ! '>='
|
225
243
|
- !ruby/object:Gem::Version
|
226
244
|
version: 1.9.3
|
227
245
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
|
+
none: false
|
228
247
|
requirements:
|
229
|
-
- -
|
248
|
+
- - ! '>='
|
230
249
|
- !ruby/object:Gem::Version
|
231
250
|
version: '0'
|
232
251
|
requirements: []
|
233
252
|
rubyforge_project:
|
234
|
-
rubygems_version:
|
253
|
+
rubygems_version: 1.8.23
|
235
254
|
signing_key:
|
236
|
-
specification_version:
|
255
|
+
specification_version: 3
|
237
256
|
summary: Client library for retrieving data from NOAA's weather forecast API
|
238
257
|
test_files:
|
239
258
|
- spec/fixtures/vcr_cassettes/select_by_days_query.yml
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: bc8202f4833cfdd19db62d49b27ff47a6ed68c14
|
4
|
-
data.tar.gz: 74b4877acf2c053b2fc25c5ffcf0ee8d08c0d8c8
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: f552c2c0c558ca27723fe28d8bfb5e22b7e5bbddbaade3a1fe4a4f4c58b6c0d001633a93d93eb0f4b2d60cbdd4bdf0fc5df55dedbf4063e89769a267ccf088b4
|
7
|
-
data.tar.gz: 4b12e0ff1f168cb1c068b43f92fbf8ea6b41a6019366a2ffc01b2f390fe16a0680a2d9ad64de99046462e9fedbe6ea9c1e3de0278e16b812d8cf5ceeb3af38f2
|