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
@@ -1,102 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/starships/12
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
- - Mon, 22 Dec 2014 21:22:29 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=d0aa3854a097b3893ef12b039fced5bcf1419283349; expires=Tue, 22-Dec-15
31
- 21:22:29 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/starships/12/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19cf60083bff0a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Mon, 22 Dec 2014 21:22:30 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/starships/12/
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=d0aa3854a097b3893ef12b039fced5bcf1419283349; domain=.swapi.co
60
- User-Agent:
61
- - Ruby
62
- response:
63
- status:
64
- code: 200
65
- message: OK
66
- headers:
67
- Date:
68
- - Mon, 22 Dec 2014 21:22:30 GMT
69
- Content-Type:
70
- - application/json
71
- Transfer-Encoding:
72
- - chunked
73
- Connection:
74
- - keep-alive
75
- Allow:
76
- - GET, HEAD, OPTIONS
77
- X-Frame-Options:
78
- - SAMEORIGIN
79
- Vary:
80
- - Accept, Cookie
81
- Via:
82
- - 1.1 vegur
83
- Server:
84
- - cloudflare-nginx
85
- Cf-Ray:
86
- - 19cf6009bcf50a78-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
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
- http_version:
101
- recorded_at: Mon, 22 Dec 2014 21:22:30 GMT
102
- recorded_with: VCR 2.9.3
@@ -1,102 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/vehicles/18
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
- - Mon, 22 Dec 2014 21:26:43 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=d873a608e6ad141f01b364fd1edb30b6d1419283603; expires=Tue, 22-Dec-15
31
- 21:26:43 GMT; path=/; domain=.swapi.co; HttpOnly
32
- X-Frame-Options:
33
- - SAMEORIGIN
34
- Location:
35
- - http://swapi.co/api/vehicles/18/
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19cf663885340a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Mon, 22 Dec 2014 21:26:43 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/vehicles/18/
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=d873a608e6ad141f01b364fd1edb30b6d1419283603; domain=.swapi.co
60
- User-Agent:
61
- - Ruby
62
- response:
63
- status:
64
- code: 200
65
- message: OK
66
- headers:
67
- Date:
68
- - Mon, 22 Dec 2014 21:26:43 GMT
69
- Content-Type:
70
- - application/json
71
- Transfer-Encoding:
72
- - chunked
73
- Connection:
74
- - keep-alive
75
- Allow:
76
- - GET, HEAD, OPTIONS
77
- X-Frame-Options:
78
- - SAMEORIGIN
79
- Vary:
80
- - Accept, Cookie
81
- Via:
82
- - 1.1 vegur
83
- Server:
84
- - cloudflare-nginx
85
- Cf-Ray:
86
- - 19cf663a67a80a78-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAAwAAAP//dFHBbgIhEP0VwllFVq12byZemqaXZi9t02ymOLpE
93
- FsjAak3Tf++w6cWkvcAw7817PPiSHnqUtdw2020jJ7IPe3Tl7JxokAisF1vq
94
- A+FeNAQ+xUC58MAPBzB5ICSmPw6QxY7sGcUL0D5NxEMfkSw4scMIlHv0WYSD
95
- eLLOZqCreMaEQKZjLRNSbq1vDZvYnFhu8CcfLp4xh/6YO25V89H1s4XchxQ7
96
- FvfHNkXEPaN3BeX5C9crLiOkxJNIRW05gkDH0BqIYGy+clfP52M/+DT08OHw
97
- 1viMnTUOW+NYihFeYXBZXMCdODJbWBfKZd/eJ/JgXV9K2eUca6XSBaKdmaB4
98
- UyOoKsUz/8MLJd/HBJDHQNVcL6e6mupVo6t6samr1ex+seY7v7JOeacbWlU1
99
- mjm61qvZWi/v1otCG6h85V+mv+mS0hslv38AAAD//wMAG2D2DQYCAAA=
100
- http_version:
101
- recorded_at: Mon, 22 Dec 2014 21:26:43 GMT
102
- recorded_with: VCR 2.9.3