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/people/13
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:20:32 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=df965b2a0c9557140c6625ce3eea283a21419333632; expires=Wed, 23-Dec-15
31
- 11:20:32 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/people/13/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d42ba15a670a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 11:20:32 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/people/13/
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=df965b2a0c9557140c6625ce3eea283a21419333632; 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:20:33 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
- - 19d42ba29a980a78-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAAwAAAP//fJHBbsIwDIbfpedBYlO6rUd4BS7bNKGQeiQiTao0
93
- XYWmvfscYKBJK6fI3//FcpyvwquWirpYGxp3SmtVPBSG7N4khohPXLaq77kA
94
- wJwpG7c6uBAZ7WIYPcP+YP0VDv7gz5iOdFPdQIx2NiazPZLKDKVcrV6Y7sk3
95
- lEmrXLZMaGkM0TWMTEpdLUQ/qs7OdRB8iM4pT6kXUAq2P6xrecC3f9VTKCB7
96
- 0zHejxf340oU77yDjrSlyTkuce7F8icZq920/ZsLeD43Tyr2xnaTF66CADk1
97
- 7c1BPHXVkVSivGSUUM4AZyA3UNUl1uVyLqtKSvma/7GxfzWUG4QaHuulnC8W
98
- eNGG6Kb+i0LnSAA//vsHAAD//wMAyyaXinICAAA=
99
- http_version:
100
- recorded_at: Tue, 23 Dec 2014 11:20:32 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/people/1
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 10:17:44 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=d48e6fe2f8a7c11e70ea41961a39885941419329864; expires=Wed, 23-Dec-15
31
- 10:17:44 GMT; path=/; domain=.swapi.co; HttpOnly
32
- Location:
33
- - http://swapi.co/api/people/1/
34
- X-Frame-Options:
35
- - SAMEORIGIN
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19d3cfa2dea50a72-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 10:17:44 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/people/1/
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=d48e6fe2f8a7c11e70ea41961a39885941419329864; 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 10:17: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
- - 19d3cfa4d2a40a72-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA3yRy07DMBBFfwVlTeNHXsTLrtnRDSBUucm0tuLEkeMQRYh/
93
- Z5xCAanpyppzj0djz0fUyRYiET2ODdw9NfMkTQMuuo8U6JPymLCCY9nKYcCi
94
- KEIktdtX1liH5GBsVyMcGt1d4BENZDDDH28ERAftvNrPIANj5Xb7jPAEXQ0B
95
- tNIESdkWJutMjUh53wtChkn2Oq4swYP0RnbgB8IIykdtWhzt9aq5hGdvPea3
96
- 4+R2nJPoDZ/fQ6UhzIHFOyhdmaW6evEnJyxd631REnru76UblO5Xe14Ewlbf
97
- 8+twvnStHEgP4Zs5ZemG8Q0tdywRGRUZi/M0pZS+hEXW+r/G6Y4zwQqR5fFD
98
- yb610Zm1jYHtDYRFfH4BAAD//wMAhHGJM3MCAAA=
99
- http_version:
100
- recorded_at: Tue, 23 Dec 2014 10:17:44 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/planets/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
- - Mon, 22 Dec 2014 21:14:44 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=dd8e20390e5e100280d1b4d6b431fceaa1419282884; expires=Tue, 22-Dec-15
31
- 21:14:44 GMT; path=/; domain=.swapi.co; HttpOnly
32
- X-Frame-Options:
33
- - SAMEORIGIN
34
- Location:
35
- - http://swapi.co/api/planets/2/
36
- Via:
37
- - 1.1 vegur
38
- Server:
39
- - cloudflare-nginx
40
- Cf-Ray:
41
- - 19cf54ab1e100a78-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Mon, 22 Dec 2014 21:14:44 GMT
47
- - request:
48
- method: get
49
- uri: http://swapi.co/api/planets/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=dd8e20390e5e100280d1b4d6b431fceaa1419282884; 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:14:45 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
- - 19cf54ace3280a72-LHR
87
- Content-Encoding:
88
- - gzip
89
- body:
90
- encoding: ASCII-8BIT
91
- string: !binary |-
92
- H4sIAAAAAAAAA4SQ3U7EIBCFX2XDdXeBblsrd77DXmnMZiyzSkKBwNSNMb67
93
- QzfGmLjKDeScjzM/7yLAjMKIO28xAwTRiBwJyMVwTJhdtGy2HcsxPzkC/63u
94
- hypbxwGEmQXd9kqxNHk3A9VUwpnx+m7Ec4ZXR2+V2xSCYCFblvlrBhdYZqAU
95
- z0ZpNnNcArFcmChLPsGExzNcynS1Ropp8WubtT/1dWr7WJzFQEWYB/FClIyU
96
- 5QzJ7aYo+ZIJY/Ioe8nwH/4w/gOMWorHRpycn6/WWk2pryVd7GHNmTLygOu6
97
- le62ut1qddDa7HvTjbvu5pbHu+cctO4n1qpDq0w/Gs3YuoqKLdkz81vRxDtG
98
- KrKV4uMTAAD//wMAMgUgfwACAAA=
99
- http_version:
100
- recorded_at: Mon, 22 Dec 2014 21:14:45 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 13:12:22 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=ded4f6dce405be3722a447805bc43a01c1419340341; expires=Wed, 23-Dec-15
31
- 13:12:21 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
- - 19d4cf6da5d70a72-LHR
42
- body:
43
- encoding: UTF-8
44
- string: ''
45
- http_version:
46
- recorded_at: Tue, 23 Dec 2014 13:12:22 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=ded4f6dce405be3722a447805bc43a01c1419340341; 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:12:25 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
- - 19d4cf76f1de0a72-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 13:12:24 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 13:12:33 GMT
122
- Content-Type:
123
- - application/json
124
- Transfer-Encoding:
125
- - chunked
126
- Connection:
127
- - keep-alive
128
- Set-Cookie:
129
- - __cfduid=d315c2099599d9289c058d8a48ae3b26b1419340353; expires=Wed, 23-Dec-15
130
- 13:12:33 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
- - 19d4cfb7e7620a72-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 13:12:33 GMT
157
- recorded_with: VCR 2.9.3