movlog 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/movlog/room.rb +3 -6
- data/lib/movlog/version.rb +1 -1
- data/spec/airbnb_spec.rb +1 -1
- data/spec/fixtures/cassettes/airbnb_api.yml +86 -416
- data/spec/fixtures/cassettes/geonames_api.yml +38 -0
- metadata +2 -2
@@ -201,4 +201,42 @@ http_interactions:
|
|
201
201
|
Taoyuan International Airport","fclName":"spot, building, farm","countryName":"Taiwan","fcodeName":"airport","adminName1":"Taiwan","lat":"25.07773","fcode":"AIRP"}]}'
|
202
202
|
http_version:
|
203
203
|
recorded_at: Fri, 25 Nov 2016 05:10:02 GMT
|
204
|
+
- request:
|
205
|
+
method: get
|
206
|
+
uri: http://api.geonames.org/searchJSON?fuzzy=0.5&maxRows=1&q=Ajim&username=<GEONAMES_USERNAME>
|
207
|
+
body:
|
208
|
+
encoding: US-ASCII
|
209
|
+
string: ''
|
210
|
+
headers:
|
211
|
+
Connection:
|
212
|
+
- close
|
213
|
+
Host:
|
214
|
+
- api.geonames.org
|
215
|
+
User-Agent:
|
216
|
+
- http.rb/2.1.0
|
217
|
+
response:
|
218
|
+
status:
|
219
|
+
code: 200
|
220
|
+
message: OK
|
221
|
+
headers:
|
222
|
+
Date:
|
223
|
+
- Fri, 25 Nov 2016 07:52:52 GMT
|
224
|
+
Server:
|
225
|
+
- Apache/2.4.6 (CentOS) mod_jk/1.2.41 OpenSSL/1.0.1e-fips
|
226
|
+
Cache-Control:
|
227
|
+
- no-cache
|
228
|
+
Access-Control-Allow-Origin:
|
229
|
+
- "*"
|
230
|
+
Connection:
|
231
|
+
- close
|
232
|
+
Transfer-Encoding:
|
233
|
+
- chunked
|
234
|
+
Content-Type:
|
235
|
+
- application/json;charset=UTF-8
|
236
|
+
body:
|
237
|
+
encoding: UTF-8
|
238
|
+
string: '{"totalResultsCount":103,"geonames":[{"adminCode1":"28","lng":"10.75664","geonameId":2473937,"toponymName":"Ajim","countryId":"2464461","fcl":"P","population":0,"countryCode":"TN","name":"Ajim","fclName":"city,
|
239
|
+
village,...","countryName":"Tunisia","fcodeName":"populated place","adminName1":"Madanīn","lat":"33.72638","fcode":"PPL"}]}'
|
240
|
+
http_version:
|
241
|
+
recorded_at: Fri, 25 Nov 2016 07:52:53 GMT
|
204
242
|
recorded_with: VCR 3.0.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: movlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Wen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-12-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http
|