red5 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/red_5/models/entities.rb +1 -1
  3. data/lib/red_5/version.rb +1 -1
  4. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_ludicrous_request.yml +11 -11
  5. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_non-existent_thing.yml +11 -11
  6. data/spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml +11 -11
  7. data/spec/cassettes/Red5_Films/finds_ALL_THE_FILMS_even_the_shitty_ones_.yml +64 -65
  8. data/spec/cassettes/Red5_Films/finds_a_particular_film.yml +28 -28
  9. data/spec/cassettes/Red5_Films/returns_a_film.yml +11 -11
  10. data/spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml +16 -16
  11. data/spec/cassettes/Red5_People/finds_ALL_THE_PEOPLE.yml +231 -233
  12. data/spec/cassettes/Red5_People/finds_a_particular_person.yml +11 -11
  13. data/spec/cassettes/Red5_People/has_an_id.yml +18 -18
  14. data/spec/cassettes/Red5_People/returns_a_person.yml +11 -11
  15. data/spec/cassettes/Red5_Planets/finds_a_planet.yml +11 -11
  16. data/spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml +16 -16
  17. data/spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml +11 -11
  18. data/spec/cassettes/Red5_Species/finds_a_species.yml +11 -11
  19. data/spec/cassettes/Red5_Starships/finds_a_starship.yml +19 -19
  20. data/spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml +11 -11
  21. metadata +2 -42
  22. data/spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml +0 -111
  23. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml +0 -96
  24. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +0 -96
  25. data/spec/cassettes/Red_5_Films/finds_a_film.yml +0 -111
  26. data/spec/cassettes/Red_5_Films/finds_a_particular_film.yml +0 -111
  27. data/spec/cassettes/Red_5_Films/returns_a_film.yml +0 -111
  28. data/spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml +0 -155
  29. data/spec/cassettes/Red_5_People/finds_a_particular_person.yml +0 -101
  30. data/spec/cassettes/Red_5_People/finds_a_person.yml +0 -101
  31. data/spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml +0 -252
  32. data/spec/cassettes/Red_5_People/has_an_id.yml +0 -101
  33. data/spec/cassettes/Red_5_People/returns_a_person.yml +0 -101
  34. data/spec/cassettes/Red_5_Planets/finds_a_planet.yml +0 -101
  35. data/spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml +0 -157
  36. data/spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml +0 -101
  37. data/spec/cassettes/Red_5_Species/finds_a_species.yml +0 -101
  38. data/spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml +0 -157
  39. data/spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +0 -96
  40. data/spec/cassettes/Red_5_Starships/finds_a_starship.yml +0 -102
  41. data/spec/cassettes/Red_5_Vehicles/finds_a_vehicle.yml +0 -102
@@ -19,7 +19,7 @@ http_interactions:
19
19
  message: MOVED PERMANENTLY
20
20
  headers:
21
21
  Date:
22
- - Tue, 23 Dec 2014 13:54:02 GMT
22
+ - Tue, 23 Dec 2014 23:34:51 GMT
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Transfer-Encoding:
@@ -27,23 +27,23 @@ http_interactions:
27
27
  Connection:
28
28
  - keep-alive
29
29
  Set-Cookie:
30
- - __cfduid=df854b58e3b5895c6e2d919a307f18ce51419342841; expires=Wed, 23-Dec-15
31
- 13:54:01 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/species/8/
30
+ - __cfduid=d3fa4702cb21ef500d03d762562f7e2c41419377690; expires=Wed, 23-Dec-15
31
+ 23:34:50 GMT; path=/; domain=.swapi.co; HttpOnly
34
32
  X-Frame-Options:
35
33
  - SAMEORIGIN
34
+ Location:
35
+ - http://swapi.co/api/species/8/
36
36
  Via:
37
37
  - 1.1 vegur
38
38
  Server:
39
39
  - cloudflare-nginx
40
40
  Cf-Ray:
41
- - 19d50c7a7b3c0a78-LHR
41
+ - 19d85f4805610a72-LHR
42
42
  body:
43
43
  encoding: UTF-8
44
44
  string: ''
45
45
  http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:54:02 GMT
46
+ recorded_at: Tue, 23 Dec 2014 23:34:51 GMT
47
47
  - request:
48
48
  method: get
49
49
  uri: http://swapi.co/api/species/8/
@@ -56,7 +56,7 @@ http_interactions:
56
56
  Accept-Encoding:
57
57
  - gzip, deflate
58
58
  Cookie:
59
- - __cfduid=df854b58e3b5895c6e2d919a307f18ce51419342841; domain=.swapi.co
59
+ - __cfduid=d3fa4702cb21ef500d03d762562f7e2c41419377690; domain=.swapi.co
60
60
  User-Agent:
61
61
  - Ruby
62
62
  response:
@@ -65,7 +65,7 @@ http_interactions:
65
65
  message: OK
66
66
  headers:
67
67
  Date:
68
- - Tue, 23 Dec 2014 13:54:03 GMT
68
+ - Tue, 23 Dec 2014 23:34:51 GMT
69
69
  Content-Type:
70
70
  - application/json
71
71
  Transfer-Encoding:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Server:
84
84
  - cloudflare-nginx
85
85
  Cf-Ray:
86
- - 19d50c7b2af00a78-LHR
86
+ - 19d85f49656a0a72-LHR
87
87
  Content-Encoding:
88
88
  - gzip
89
89
  body:
@@ -97,5 +97,5 @@ http_interactions:
97
97
  EGeyfXpknaEsZ2MdETJOzRml10ttlnp30LpS+2pjVmZbKqVep8kb+m0z6mB0
98
98
  VW6rtVnpzc02RPtgzhSwJkxyJ8XXNwAAAP//AwDATxlx6wEAAA==
99
99
  http_version:
100
- recorded_at: Tue, 23 Dec 2014 13:54:03 GMT
100
+ recorded_at: Tue, 23 Dec 2014 23:34:51 GMT
101
101
  recorded_with: VCR 2.9.3
@@ -19,7 +19,7 @@ http_interactions:
19
19
  message: MOVED PERMANENTLY
20
20
  headers:
21
21
  Date:
22
- - Tue, 23 Dec 2014 13:54:07 GMT
22
+ - Tue, 23 Dec 2014 23:34:53 GMT
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Transfer-Encoding:
@@ -27,23 +27,23 @@ http_interactions:
27
27
  Connection:
28
28
  - keep-alive
29
29
  Set-Cookie:
30
- - __cfduid=d4f33c5e1ca0cf3ceb01b6fe688915b7a1419342847; expires=Wed, 23-Dec-15
31
- 13:54:07 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/starships/12/
30
+ - __cfduid=d30cc595dff9aae9f5770cb5811a393da1419377693; expires=Wed, 23-Dec-15
31
+ 23:34:53 GMT; path=/; domain=.swapi.co; HttpOnly
34
32
  X-Frame-Options:
35
33
  - SAMEORIGIN
34
+ Location:
35
+ - http://swapi.co/api/starships/12/
36
36
  Via:
37
37
  - 1.1 vegur
38
38
  Server:
39
39
  - cloudflare-nginx
40
40
  Cf-Ray:
41
- - 19d50c9a2e1d0a78-LHR
41
+ - 19d85f5817cd0a72-LHR
42
42
  body:
43
43
  encoding: UTF-8
44
44
  string: ''
45
45
  http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:54:07 GMT
46
+ recorded_at: Tue, 23 Dec 2014 23:34:53 GMT
47
47
  - request:
48
48
  method: get
49
49
  uri: http://swapi.co/api/starships/12/
@@ -56,7 +56,7 @@ http_interactions:
56
56
  Accept-Encoding:
57
57
  - gzip, deflate
58
58
  Cookie:
59
- - __cfduid=d4f33c5e1ca0cf3ceb01b6fe688915b7a1419342847; domain=.swapi.co
59
+ - __cfduid=d30cc595dff9aae9f5770cb5811a393da1419377693; domain=.swapi.co
60
60
  User-Agent:
61
61
  - Ruby
62
62
  response:
@@ -65,7 +65,7 @@ http_interactions:
65
65
  message: OK
66
66
  headers:
67
67
  Date:
68
- - Tue, 23 Dec 2014 13:54:07 GMT
68
+ - Tue, 23 Dec 2014 23:34:55 GMT
69
69
  Content-Type:
70
70
  - application/json
71
71
  Transfer-Encoding:
@@ -83,20 +83,20 @@ http_interactions:
83
83
  Server:
84
84
  - cloudflare-nginx
85
85
  Cf-Ray:
86
- - 19d50c9b411f0a78-LHR
86
+ - 19d85f58c6370a72-LHR
87
87
  Content-Encoding:
88
88
  - gzip
89
89
  body:
90
90
  encoding: ASCII-8BIT
91
91
  string: !binary |-
92
- H4sIAAAAAAAAA4RSTUvEMBT8K0vOu23TD7W9ehBBT+5BFAkxfdsG0yQkqXUR
93
- /7svERHBuqHQZmbyZl5f3onmE5CO3O8WqQeyJZPpQSGw3501mx+U6/nARZgd
94
- OCSvtTDT5tI4axwP0miUCOMDk5oJB70MHlW0bnEhpUAPYYxImTWp2hvjYTLe
95
- juDQgHkL0Ee+aIpYysESd/hpufd4GlwsmDjuBsMEt1zIcIwqmmCj/TzxZwXJ
96
- ebMAvCA8Hi243slXYDEo9oJkFg/cXt3sk2Pc+MCdH6VlQqEfwncIHOQwBmwX
97
- Q0hlYkePZAzBdnnuF25lJkyOr9yCsQpymke/db49wdOLUwKs8LQlB6mm1SyJ
98
- XI/yRZf/01WywRnwkIZSFrTe0RKfPaUdbbuiyaq6wPWAdeKwf8lKlJ13VdPV
99
- dVa3tKyqKJtdvFR/mX7/e4yNwT4+AQAA//8DAPN/lCOSAgAA
92
+ H4sIAAAAAAAAAwAAAP//hFJNS8QwFPwrS867bdMPtb16EEFP7kEUCTF92wbT
93
+ JCSpdRH/uy8REcG6odBmZvJmXl/eieYTkI7c7xapB7Ilk+lBIbDfnTWbH5Tr
94
+ +cBFmB04JK+1MNPm0jhrHA/SaJQI4wOTmgkHvQweVbRucSGlQA9hjEiZNana
95
+ G+NhMt6O4NCAeQvQR75oiljKwRJ3+Gm593gaXCyYOO4GwwS3XMhwjCqaYKP9
96
+ PPFnBcl5swC8IDweLbjeyVdgMSj2gmQWD9xe3eyTY9z4wJ0fpWVCoR/Cdwgc
97
+ 5DAGbBdDSGViR49kDMF2ee4XbmUmTI6v3IKxCnKaR791vj3B04tTAqzwtCUH
98
+ qabVLIlcj/JFl//TVbLBGfCQhlIWtN7REp89pR1tu6LJqrrA9YB14rB/yUqU
99
+ nXdV09V1Vre0rKoom128VH+Zfv97jI3BPj4BAAD//wMA83+UI5ICAAA=
100
100
  http_version:
101
- recorded_at: Tue, 23 Dec 2014 13:54:07 GMT
101
+ recorded_at: Tue, 23 Dec 2014 23:34:55 GMT
102
102
  recorded_with: VCR 2.9.3
@@ -19,7 +19,7 @@ http_interactions:
19
19
  message: MOVED PERMANENTLY
20
20
  headers:
21
21
  Date:
22
- - Tue, 23 Dec 2014 13:54:03 GMT
22
+ - Tue, 23 Dec 2014 23:34:50 GMT
23
23
  Content-Type:
24
24
  - text/html; charset=utf-8
25
25
  Transfer-Encoding:
@@ -27,23 +27,23 @@ http_interactions:
27
27
  Connection:
28
28
  - keep-alive
29
29
  Set-Cookie:
30
- - __cfduid=d7afcd21ee5027456eba2d5c8f27f97a81419342843; expires=Wed, 23-Dec-15
31
- 13:54:03 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/vehicles/18/
30
+ - __cfduid=df42e4255ce60d76f813158e1e7af8da71419377690; expires=Wed, 23-Dec-15
31
+ 23:34:50 GMT; path=/; domain=.swapi.co; HttpOnly
34
32
  X-Frame-Options:
35
33
  - SAMEORIGIN
34
+ Location:
35
+ - http://swapi.co/api/vehicles/18/
36
36
  Via:
37
37
  - 1.1 vegur
38
38
  Server:
39
39
  - cloudflare-nginx
40
40
  Cf-Ray:
41
- - 19d50c821c810a78-LHR
41
+ - 19d85f43db620a78-LHR
42
42
  body:
43
43
  encoding: UTF-8
44
44
  string: ''
45
45
  http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:54:03 GMT
46
+ recorded_at: Tue, 23 Dec 2014 23:34:50 GMT
47
47
  - request:
48
48
  method: get
49
49
  uri: http://swapi.co/api/vehicles/18/
@@ -56,7 +56,7 @@ http_interactions:
56
56
  Accept-Encoding:
57
57
  - gzip, deflate
58
58
  Cookie:
59
- - __cfduid=d7afcd21ee5027456eba2d5c8f27f97a81419342843; domain=.swapi.co
59
+ - __cfduid=df42e4255ce60d76f813158e1e7af8da71419377690; domain=.swapi.co
60
60
  User-Agent:
61
61
  - Ruby
62
62
  response:
@@ -65,7 +65,7 @@ http_interactions:
65
65
  message: OK
66
66
  headers:
67
67
  Date:
68
- - Tue, 23 Dec 2014 13:54:03 GMT
68
+ - Tue, 23 Dec 2014 23:34:50 GMT
69
69
  Content-Type:
70
70
  - application/json
71
71
  Transfer-Encoding:
@@ -83,7 +83,7 @@ http_interactions:
83
83
  Server:
84
84
  - cloudflare-nginx
85
85
  Cf-Ray:
86
- - 19d50c82cc3d0a78-LHR
86
+ - 19d85f453c9d0a78-LHR
87
87
  Content-Encoding:
88
88
  - gzip
89
89
  body:
@@ -98,5 +98,5 @@ http_interactions:
98
98
  M//DCyXfxwSQx0DVXC+nuprqVaOrerGpq9XsfrHmO7+yTnmnG1pVNZo5utar
99
99
  2Vov79aLQhuofOVfpr/pktIbJb9/AAAA//8DABtg9g0GAgAA
100
100
  http_version:
101
- recorded_at: Tue, 23 Dec 2014 13:54:03 GMT
101
+ recorded_at: Tue, 23 Dec 2014 23:34:50 GMT
102
102
  recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red5
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2014-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest_client
@@ -197,7 +197,6 @@ files:
197
197
  - spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml
198
198
  - spec/cassettes/Red5_Films/finds_ALL_THE_FILMS_even_the_shitty_ones_.yml
199
199
  - spec/cassettes/Red5_Films/finds_a_particular_film.yml
200
- - spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml
201
200
  - spec/cassettes/Red5_Films/returns_a_film.yml
202
201
  - spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml
203
202
  - spec/cassettes/Red5_People/finds_ALL_THE_PEOPLE.yml
@@ -208,27 +207,8 @@ files:
208
207
  - spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml
209
208
  - spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml
210
209
  - spec/cassettes/Red5_Species/finds_a_species.yml
211
- - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml
212
- - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
213
210
  - spec/cassettes/Red5_Starships/finds_a_starship.yml
214
211
  - spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml
215
- - spec/cassettes/Red_5_Films/finds_a_film.yml
216
- - spec/cassettes/Red_5_Films/finds_a_particular_film.yml
217
- - spec/cassettes/Red_5_Films/returns_a_film.yml
218
- - spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml
219
- - spec/cassettes/Red_5_People/finds_a_particular_person.yml
220
- - spec/cassettes/Red_5_People/finds_a_person.yml
221
- - spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml
222
- - spec/cassettes/Red_5_People/has_an_id.yml
223
- - spec/cassettes/Red_5_People/returns_a_person.yml
224
- - spec/cassettes/Red_5_Planets/finds_a_planet.yml
225
- - spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml
226
- - spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml
227
- - spec/cassettes/Red_5_Species/finds_a_species.yml
228
- - spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml
229
- - spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
230
- - spec/cassettes/Red_5_Starships/finds_a_starship.yml
231
- - spec/cassettes/Red_5_Vehicles/finds_a_vehicle.yml
232
212
  - spec/failure_spec.rb
233
213
  - spec/models/films_spec.rb
234
214
  - spec/models/people_spec.rb
@@ -269,7 +249,6 @@ test_files:
269
249
  - spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml
270
250
  - spec/cassettes/Red5_Films/finds_ALL_THE_FILMS_even_the_shitty_ones_.yml
271
251
  - spec/cassettes/Red5_Films/finds_a_particular_film.yml
272
- - spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml
273
252
  - spec/cassettes/Red5_Films/returns_a_film.yml
274
253
  - spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml
275
254
  - spec/cassettes/Red5_People/finds_ALL_THE_PEOPLE.yml
@@ -280,27 +259,8 @@ test_files:
280
259
  - spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml
281
260
  - spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml
282
261
  - spec/cassettes/Red5_Species/finds_a_species.yml
283
- - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml
284
- - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
285
262
  - spec/cassettes/Red5_Starships/finds_a_starship.yml
286
263
  - spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml
287
- - spec/cassettes/Red_5_Films/finds_a_film.yml
288
- - spec/cassettes/Red_5_Films/finds_a_particular_film.yml
289
- - spec/cassettes/Red_5_Films/returns_a_film.yml
290
- - spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml
291
- - spec/cassettes/Red_5_People/finds_a_particular_person.yml
292
- - spec/cassettes/Red_5_People/finds_a_person.yml
293
- - spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml
294
- - spec/cassettes/Red_5_People/has_an_id.yml
295
- - spec/cassettes/Red_5_People/returns_a_person.yml
296
- - spec/cassettes/Red_5_Planets/finds_a_planet.yml
297
- - spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml
298
- - spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml
299
- - spec/cassettes/Red_5_Species/finds_a_species.yml
300
- - spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml
301
- - spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
302
- - spec/cassettes/Red_5_Starships/finds_a_starship.yml
303
- - spec/cassettes/Red_5_Vehicles/finds_a_vehicle.yml
304
264
  - spec/failure_spec.rb
305
265
  - spec/models/films_spec.rb
306
266
  - spec/models/people_spec.rb
@@ -1,111 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/films/2
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- User-Agent:
15
- - Ruby
16
- response:
17
- status:
18
- code: 301
19
- message: MOVED PERMANENTLY
20
- headers:
21
- Date:
22
- - Tue, 23 Dec 2014 14:36:57 GMT
23
- Content-Type:
24
- - text/html; charset=utf-8
25
- Transfer-Encoding:
26
- - chunked
27
- Connection:
28
- - keep-alive
29
- Set-Cookie:
30
- - __cfduid=d2fe2dfbf4c2c57a775fbe311bec700ab1419345416; expires=Wed, 23-Dec-15
31
- 14:36:56 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/films/2/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d54b5782210a72-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 14:36:57 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/films/2/
50
- body:
51
- encoding: US-ASCII
52
- string: ''
53
- headers:
54
- Accept:
55
- - "*/*; q=0.5, application/xml"
56
- Accept-Encoding:
57
- - gzip, deflate
58
- Cookie:
59
- - __cfduid=d2fe2dfbf4c2c57a775fbe311bec700ab1419345416; domain=.swapi.co
60
- User-Agent:
61
- - Ruby
62
- response:
63
- status:
64
- code: 200
65
- message: OK
66
- headers:
67
- Date:
68
- - Tue, 23 Dec 2014 14:36:57 GMT
69
- Content-Type:
70
- - application/json
71
- Transfer-Encoding:
72
- - chunked
73
- Connection:
74
- - keep-alive
75
- X-Frame-Options:
76
- - SAMEORIGIN
77
- Allow:
78
- - GET, HEAD, OPTIONS
79
- Vary:
80
- - Accept, Cookie
81
- Via:
82
- - 1.1 vegur
83
- Server:
84
- - cloudflare-nginx
85
- Cf-Ray:
86
- - 19d54b58d7fa0a72-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA3xSwY7UMAz9Favn0VQgcZkbsCtYLVx2ERdWWrmJ21hN48hJ
93
- Zyj8PE5hVnChUlU179l+7zk/u8o1UnfqvgSC2yWzEjxW5ZkKvEM3d4eOMhfx
94
- 9My+O705dJIpcZqeneIlWuFdBS6A4FFnqLwQjKJQAz3pU3qggWJkSUd4G2uQ
95
- dQoNghvCGhrhsaJCwAIDUQJPpaps5A8Nu1syKWMEO5NcjHYm8MpnY/7dvw10
96
- pndUWRrA1pG9p9QYAxYCTB7yqmUl3wgLoFMppeFNzYQRv2/H9tve2zN6c7gL
97
- 9Uroreqq5ap5jET1YLYnlTWDjDadyMvSCCNPoZIWiFY5bPBpnS3VebtgnEkb
98
- ozk2rzhELsFICIkuUMgp1RfVstsEpUUqATuCi2j0Dbd5H6WGF8lte3TmCFHU
99
- ww1qDfDVhOsepAyFSrExF7bzkdNub5M1Tbufq7LDvgnPJWN1Jut3PrIWy680
100
- j3+kZJXB8uZU5RrhaGu0qKxqJ1oHR0d77P54u1Ouira7omdOcG/RhERqmHXy
101
- q6OGfUDd4H6tPw7wwG6Gz+49xrguxnIBFV1LtDt960Kt+dT35YKZj056+/SZ
102
- JEfqX/XG/g/++h/8FwAAAP//jJZNDoIwEIXvwl7sDFCQc7AycUGwxiZoiFF3
103
- 3t0KhRL1MSTs3pfOz5sp/dUTQU8FPRN0UhIgZUBSClQIAEs5sNhFqY0sVcFS
104
- FSx1kvU2Orj5aeurueOxGOQF3zyAw3lASwDnfUJup91w2w6mNAELwzBjoBcz
105
- BtoxY2CBgcG+z5gVsbD7gVmB0NDQpznbpjWwn6O+sBkTgkc/nAKNDgjcsIDs
106
- RKQYxqUzjcXFeRnfayOAbfEAbrgHYN0jMNjhflD13biXQMSK0g2x+yqiknXJ
107
- aawzrZTau5PM0X5hWUVJqfIyS+KkGLHH7fOE+Bf2ZNtLX9frDQAA//8DAO9M
108
- e/ykCAAA
109
- http_version:
110
- recorded_at: Tue, 23 Dec 2014 14:36:57 GMT
111
- recorded_with: VCR 2.9.3
@@ -1,96 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/starships/lolwut
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- User-Agent:
15
- - Ruby
16
- response:
17
- status:
18
- code: 301
19
- message: MOVED PERMANENTLY
20
- headers:
21
- Date:
22
- - Tue, 23 Dec 2014 14:11:52 GMT
23
- Content-Type:
24
- - text/html; charset=utf-8
25
- Transfer-Encoding:
26
- - chunked
27
- Connection:
28
- - keep-alive
29
- Set-Cookie:
30
- - __cfduid=d515213776ad124ae30a0db48b8a1da791419343912; expires=Wed, 23-Dec-15
31
- 14:11:52 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/starships/lolwut/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d5269e2a4b0a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 14:11:52 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/starships/lolwut/
50
- body:
51
- encoding: US-ASCII
52
- string: ''
53
- headers:
54
- Accept:
55
- - "*/*; q=0.5, application/xml"
56
- Accept-Encoding:
57
- - gzip, deflate
58
- Cookie:
59
- - __cfduid=d515213776ad124ae30a0db48b8a1da791419343912; domain=.swapi.co
60
- User-Agent:
61
- - Ruby
62
- response:
63
- status:
64
- code: 404
65
- message: NOT FOUND
66
- headers:
67
- Date:
68
- - Tue, 23 Dec 2014 14:11:53 GMT
69
- Content-Type:
70
- - application/json
71
- Transfer-Encoding:
72
- - chunked
73
- Connection:
74
- - keep-alive
75
- X-Frame-Options:
76
- - SAMEORIGIN
77
- Allow:
78
- - GET, HEAD, OPTIONS
79
- Vary:
80
- - Accept, Cookie
81
- Via:
82
- - 1.1 vegur
83
- Server:
84
- - cloudflare-nginx
85
- Cf-Ray:
86
- - 19d5269fa3550a78-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA6pWSkktSczMUbJS8ssvUUjLL81LUaoFAAAA//8DAN21v3kW
93
- AAAA
94
- http_version:
95
- recorded_at: Tue, 23 Dec 2014 14:11:53 GMT
96
- recorded_with: VCR 2.9.3