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,101 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/species/9
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 13:11:36 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=dcba1c61e30d415f5797b2a94861730ef1419340295; expires=Wed, 23-Dec-15
31
- 13:11:35 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/species/9/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d4ce5030570a72-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:11:35 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/species/9/
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=dcba1c61e30d415f5797b2a94861730ef1419340295; 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 13:11:36 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
- - 19d4ce5226810a72-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA3SPTW4CMQxGr1JlDeQHaGH2vQGrVhVyg5mxyCRRHDqqqt69
93
- nhGIViqLyNH7Xhz7S0XoUTXqeUgnNVM+ADMdyUOlFIX30PcQJDkgUxuvmDFW
94
- kiMBfGCBFvcdUttVyawxgvlEce9TSIWFvZc0RKEdULnRoaOKs4cplBLAjzPg
95
- J96UVCC2V+fXb4GOyBnGWc7xFC/dU49DKuEgtKs1N1rzAJkWPmkpOgeIWFk/
96
- aZHl3p6l1WV5ZBSYMeUg6PX/91Oql0art5k6Uuj5njqFejmJviBUHIdyxq7m
97
- 1s3tZmdt41xjzMJt1saYl3HxA/3VnNk52ywfm5Vb2PVVO5dwZz/O6AlZb7X6
98
- /gEAAP//AwArBqwx2gEAAA==
99
- http_version:
100
- recorded_at: Tue, 23 Dec 2014 13:11:36 GMT
101
- recorded_with: VCR 2.9.3
@@ -1,101 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/species/8
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:18:40 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=d267891c2bc3dff31486725148b7b39a11419283120; expires=Tue, 22-Dec-15
31
- 21:18:40 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/species/8/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19cf5a708b940a72-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Mon, 22 Dec 2014 21:18:40 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/species/8/
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=d267891c2bc3dff31486725148b7b39a11419283120; 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:18:41 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
- - 19cf5a71674b0a72-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA3SQzW7CMBCEXwX5HPBPgEKuPffGqVWFlmRJVji2ZTuNUNV3
93
- 7yYSoq3KwbY83+x415/CQY+iEi/eLZ7BQg+RRCFqCynRmWrI5B1z6ENHJwLH
94
- sMFErbuRhC4TLwbwgRFaPHZIbZeZ6a1iOV3IHWtvfUysRWyKxckOyHv0oysW
95
- Pde4DOzsgOLd6bxDFvGKd+2K1vrxx1uWzpgCTJ0M7uI4cMrxPY4+2obVLudQ
96
- SZlGCLSqveRDBgsOc5KlluzmSztw1p9vmGcN6INl8vZ/zkyleZLivRBnsn16
97
- ZJ2hLGdjHREyTs0ZpddLbZZ6d9C6UvtqY1ZmWyqlXqfJG/ptM+pgdFVuq7VZ
98
- 6c3NNkT7YM4UsCZMcifF1zcAAAD//wMAwE8ZcesBAAA=
99
- http_version:
100
- recorded_at: Mon, 22 Dec 2014 21:18:41 GMT
101
- recorded_with: VCR 2.9.3
@@ -1,157 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://swapi.co/api/species/3
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 11:56:51 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=d310eb2b783ded1f80cd7c6e685b68ffc1419335810; expires=Wed, 23-Dec-15
31
- 11:56:50 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/species/3/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d460d296ca0a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 11:56:50 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/species/3/
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=d310eb2b783ded1f80cd7c6e685b68ffc1419335810; 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 11:56:52 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
- - 19d460d34e760a78-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA3yRW2rDMBBFtxL07USPiBC8jQYKLSUo8sQeIktCUmpM6d47
93
- dlKaQt0PYXTOZXQZfzBvemA1ew7hgsAqZp3JGc9oTcHgyfSm740j00DG1n/j
94
- DL4gHRLmHZJp4dgBtl0hp6QgnC/ojza4kDKxNpmRYGcw/cCTM/ZSrU4pDJ4k
95
- jPDorlCt2gTgq9UIzoXhniQaXDPhBM3D+w7PkKOZ2mkxNehCD0NIriHSlRJr
96
- zvNgIm5s4PTh0RkPJXOpOaXp0l5pDoWfujEhDrQT4hFCdERf/54xWy6304h/
97
- AnvB2VvFzuj6vDRrllwuTbpp9b9e7HHTu7mFTWAKTGtRQuq1VGspDnJXa11v
98
- 5Ubvd0KIl+mHNPg7psRByXpLSbWRWt1j1+QWNpwjWIS51ecXAAAA//8DAFpH
99
- /hJsAgAA
100
- http_version:
101
- recorded_at: Tue, 23 Dec 2014 11:56:52 GMT
102
- - request:
103
- method: get
104
- uri: http://swapi.co/api/planets/14/
105
- body:
106
- encoding: US-ASCII
107
- string: ''
108
- headers:
109
- Accept:
110
- - "*/*; q=0.5, application/xml"
111
- Accept-Encoding:
112
- - gzip, deflate
113
- User-Agent:
114
- - Ruby
115
- response:
116
- status:
117
- code: 200
118
- message: OK
119
- headers:
120
- Date:
121
- - Tue, 23 Dec 2014 11:56:52 GMT
122
- Content-Type:
123
- - application/json
124
- Transfer-Encoding:
125
- - chunked
126
- Connection:
127
- - keep-alive
128
- Set-Cookie:
129
- - __cfduid=d64e54d1f9e5c7d4549200b78f95f8c471419335812; expires=Wed, 23-Dec-15
130
- 11:56:52 GMT; path=/; domain=.swapi.co; HttpOnly
131
- Allow:
132
- - GET, HEAD, OPTIONS
133
- X-Frame-Options:
134
- - SAMEORIGIN
135
- Vary:
136
- - Accept, Cookie
137
- Via:
138
- - 1.1 vegur
139
- Server:
140
- - cloudflare-nginx
141
- Cf-Ray:
142
- - 19d460da37d30a78-LHR
143
- Content-Encoding:
144
- - gzip
145
- body:
146
- encoding: ASCII-8BIT
147
- string: !binary |-
148
- H4sIAAAAAAAAAwAAAP//fJDdTsMwDEZfZcp1t/y0K1VegdtdgdBkWm/LliaR
149
- k26qEO+OV5AQEpAbS8cn/py8iQAjCiseIZ/meb6ISlAsUFwM+4Tk4sBN0zKO
150
- 9OoK+G9ad5rx4HhAQWKgzUO7ZdR7N0K5Ty0Uk+vBMzwSXF2Z79oqFwgD0MCY
151
- bxK4wPg8haPHanWIhLnkauXhglzIXZEyq3miA/S4v8FnXKsYppgmv6zLpNmq
152
- 5dwfgdkNGEoW9lmcSklWynyD5DZ9lFxkwpg8Sl1Ltv8ROiXFSyUOzo9/zlqa
153
- sl3EnpD3W35N6WatzVqrna5tbaxSG20a3u+JI3FwPzWjdkbZbWd1t2ka86VN
154
- 5Nn5LTR5CFiy1I0U7x8AAAD//wMA/GEORsgBAAA=
155
- http_version:
156
- recorded_at: Tue, 23 Dec 2014 11:56:52 GMT
157
- 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/999
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 13:34:45 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=d9c46542dd88767464d8af905cf3911971419341684; expires=Wed, 23-Dec-15
31
- 13:34:44 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/starships/999/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d4f03a5b2e0a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:34:45 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/starships/999/
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=d9c46542dd88767464d8af905cf3911971419341684; 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 13:34:45 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
- - 19d4f03e8b7f0a78-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 13:34:45 GMT
96
- recorded_with: VCR 2.9.3