red5 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -0
  3. data/README.md +55 -1
  4. data/Rakefile +3 -1
  5. data/lib/red_5.rb +19 -0
  6. data/lib/red_5/exceptions/red_5_exception.rb +9 -0
  7. data/lib/red_5/helpers.rb +8 -0
  8. data/lib/red_5/models/entities.rb +54 -0
  9. data/lib/{red5 → red_5/models}/films.rb +1 -1
  10. data/lib/{red5 → red_5/models}/people.rb +1 -1
  11. data/lib/{red5 → red_5/models}/planets.rb +1 -1
  12. data/lib/{red5 → red_5/models}/species.rb +1 -1
  13. data/lib/{red5 → red_5/models}/starships.rb +1 -1
  14. data/lib/{red5 → red_5/models}/vehicles.rb +1 -1
  15. data/lib/{red5 → red_5}/root.rb +1 -1
  16. data/lib/red_5/version.rb +3 -0
  17. data/red5.gemspec +4 -1
  18. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_ludicrous_request.yml +96 -0
  19. data/spec/cassettes/Failure/404s/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  20. data/spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml +101 -0
  21. data/spec/cassettes/Red5_Films/finds_a_particular_film.yml +111 -0
  22. data/spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml +111 -0
  23. data/spec/cassettes/Red5_Films/returns_a_film.yml +111 -0
  24. data/spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml +155 -0
  25. data/spec/cassettes/{Red_5_People/should_find_a_person.yml → Red5_People/finds_a_particular_person.yml} +13 -13
  26. data/spec/cassettes/Red5_People/has_an_id.yml +101 -0
  27. data/spec/cassettes/Red5_People/returns_a_person.yml +101 -0
  28. data/spec/cassettes/{Red_5_Planets/should_find_a_planet.yml → Red5_Planets/finds_a_planet.yml} +18 -18
  29. data/spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml +157 -0
  30. data/spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml +101 -0
  31. data/spec/cassettes/Red5_Species/finds_a_species.yml +101 -0
  32. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml +96 -0
  33. data/spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  34. data/spec/cassettes/Red5_Starships/finds_a_starship.yml +102 -0
  35. data/spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml +102 -0
  36. data/spec/cassettes/Red_5_Films/finds_a_particular_film.yml +111 -0
  37. data/spec/cassettes/Red_5_Films/returns_a_film.yml +111 -0
  38. data/spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml +155 -0
  39. data/spec/cassettes/Red_5_People/finds_a_particular_person.yml +101 -0
  40. data/spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml +252 -0
  41. data/spec/cassettes/Red_5_People/has_an_id.yml +101 -0
  42. data/spec/cassettes/Red_5_People/returns_a_person.yml +101 -0
  43. data/spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml +157 -0
  44. data/spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml +101 -0
  45. data/spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml +157 -0
  46. data/spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml +96 -0
  47. data/spec/failure_spec.rb +31 -0
  48. data/spec/models/films_spec.rb +15 -0
  49. data/spec/models/people_spec.rb +25 -0
  50. data/spec/models/planets_spec.rb +10 -0
  51. data/spec/models/species_spec.rb +20 -0
  52. data/spec/models/starships_spec.rb +10 -0
  53. data/spec/models/vehicles_spec.rb +10 -0
  54. data/spec/red5_spec.rb +2 -45
  55. data/spec/spec_helper.rb +1 -1
  56. metadata +129 -17
  57. data/lib/red5.rb +0 -14
  58. data/lib/red5/entities.rb +0 -9
  59. data/lib/red5/version.rb +0 -3
@@ -0,0 +1,96 @@
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
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe 'Failure' do
5
+ context '404s' do
6
+ it 'raises an exception on a non-existent thing', :vcr do
7
+ expect{ Starships.find 999 }.to raise_exception do |exception|
8
+ expect(exception).to be_a Red5Exception
9
+ expect(exception.status).to eq 'Starship #999 does not exist'
10
+ end
11
+ end
12
+
13
+ it 'raises an exception on a ludicrous request', :vcr do
14
+ expect{ Starships.find 'lolwut' }.to raise_exception do |exception|
15
+ expect(exception).to be_a Red5Exception
16
+ expect(exception.status).to eq 'Starship lolwut does not exist'
17
+ end
18
+ end
19
+ end
20
+
21
+ context 'Non-existent attributes' do
22
+ it 'raises an exception on a bogus lookup', :vcr do
23
+ person = People.find 19
24
+ expect{ person['favourite_food'] }. to raise_exception do |exception|
25
+ expect(exception).to be_a Red5Exception
26
+ expect(exception.status).to eq 'No such attribute favourite_food'
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe Films do
5
+ it 'returns a film', :vcr do
6
+ expect(Films.first.class).to eq Films
7
+ end
8
+
9
+ it 'finds a particular film', :vcr do
10
+ film = Films.find 1
11
+ expect(film['title']).to eq 'A New Hope'
12
+ expect(film['episode_id']).to eq 4
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe People do
5
+ it 'returns a person', :vcr do
6
+ person = People.find 1
7
+ expect(person.class).to eq People
8
+ end
9
+
10
+ it 'finds a particular person', :vcr do
11
+ person = People.find 7 # Aunt Beru
12
+ expect(person['eye_color']).to eq 'blue'
13
+ end
14
+
15
+ it 'has an id', :vcr do
16
+ person = People.find 13
17
+ expect(person['id']).to eq 13
18
+ end
19
+
20
+ it 'fetches the species for a person', :vcr do
21
+ person = People.find 15 # Greedo
22
+ expect(person.fetch_species[0]['name']).to eq 'Rodian'
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe Planets do
5
+ it 'finds a planet', :vcr do
6
+ planet = Planets.find 2
7
+ expect(planet['name']).to eq 'Alderaan'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe Species do
5
+ it 'finds a species', :vcr do
6
+ species = Species.find 8 # Mon Calamari
7
+ expect(species['classification']).to eq 'amphibian'
8
+ end
9
+
10
+ it 'finds a homeworld for a species', :vcr do
11
+ species = Species.find 9
12
+ expect(species['homeworld']).to eq 'http://swapi.co/api/planets/7/'
13
+ end
14
+
15
+ it 'fetches the homeworld for a species', :vcr do
16
+ species = Species.find 3 # Wookie
17
+ expect(species.fetch_homeworld['name']).to eq 'Kashyyyk'
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe Starships do
5
+ it 'finds a starship', :vcr do
6
+ starship = Starships.find 12
7
+ expect(starship['model']).to eq 'T-65 X-wing'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ module Red5
4
+ describe Vehicles do
5
+ it 'finds a vehicle', :vcr do
6
+ vehicle = Vehicles.find 18 # AT-AT
7
+ expect(vehicle['manufacturer']).to match /Kuat Drive Yards/
8
+ end
9
+ end
10
+ end
@@ -1,53 +1,10 @@
1
1
  require 'spec_helper'
2
2
 
3
- module Red_5
3
+ module Red5
4
4
  describe Root do
5
5
  it 'has vehicles' do
6
6
  root = Root.all
7
- expect(root.keys).to include 'films'
8
- end
9
- end
10
-
11
- describe Films do
12
- it 'finds a film', :vcr do
13
- film = Films.find 1
14
- expect(film['title']).to eq 'A New Hope'
15
- expect(film['episode_id']).to eq 4
16
- end
17
- end
18
-
19
- describe People do
20
- it 'finds a person', :vcr do
21
- person = People.find 7 # Aunt Beru
22
- expect(person['eye_color']).to eq 'blue'
23
- end
24
- end
25
-
26
- describe Planets do
27
- it 'finds a planet', :vcr do
28
- planet = Planets.find 2
29
- expect(planet['name']).to eq 'Alderaan'
30
- end
31
- end
32
-
33
- describe Species do
34
- it 'finds a species', :vcr do
35
- species = Species.find 8 # Mon Calamari
36
- expect(species['classification']).to eq 'amphibian'
37
- end
38
- end
39
-
40
- describe Starships do
41
- it 'finds a starship', :vcr do
42
- starship = Starships.find 12
43
- expect(starship['model']).to eq 'T-65 X-wing'
44
- end
45
- end
46
-
47
- describe Vehicles do
48
- it 'finds a vehicle', :vcr do
49
- vehicle = Vehicles.find 18 # AT-AT
50
- expect(vehicle['manufacturer']).to match /Kuat Drive Yards/
7
+ expect(root.keys).to include 'vehicles'
51
8
  end
52
9
  end
53
10
  end
@@ -1,4 +1,4 @@
1
- require 'red5'
1
+ require 'red_5'
2
2
  require_relative 'support/vcr_setup'
3
3
 
4
4
  RSpec.configure do |config|
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.2
4
+ version: 0.0.3
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-22 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest_client
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.2'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +108,20 @@ dependencies:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
110
  version: '4.5'
111
+ - !ruby/object:Gem::Dependency
112
+ name: terminal-notifier-guard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.6'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.6'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: vcr
99
127
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +150,20 @@ dependencies:
122
150
  - - "~>"
123
151
  - !ruby/object:Gem::Version
124
152
  version: '1.18'
153
+ - !ruby/object:Gem::Dependency
154
+ name: coveralls
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.7'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '0.7'
125
167
  description: ''
126
168
  email:
127
169
  - sam@pikesley.org
@@ -137,25 +179,61 @@ files:
137
179
  - LICENSE.md
138
180
  - README.md
139
181
  - Rakefile
140
- - lib/red5.rb
141
- - lib/red5/entities.rb
142
- - lib/red5/films.rb
143
- - lib/red5/people.rb
144
- - lib/red5/planets.rb
145
- - lib/red5/root.rb
146
- - lib/red5/species.rb
147
- - lib/red5/starships.rb
148
- - lib/red5/vehicles.rb
149
- - lib/red5/version.rb
182
+ - lib/red_5.rb
183
+ - lib/red_5/exceptions/red_5_exception.rb
184
+ - lib/red_5/helpers.rb
185
+ - lib/red_5/models/entities.rb
186
+ - lib/red_5/models/films.rb
187
+ - lib/red_5/models/people.rb
188
+ - lib/red_5/models/planets.rb
189
+ - lib/red_5/models/species.rb
190
+ - lib/red_5/models/starships.rb
191
+ - lib/red_5/models/vehicles.rb
192
+ - lib/red_5/root.rb
193
+ - lib/red_5/version.rb
150
194
  - red5.gemspec
195
+ - spec/cassettes/Failure/404s/raises_an_exception_on_a_ludicrous_request.yml
196
+ - spec/cassettes/Failure/404s/raises_an_exception_on_a_non-existent_thing.yml
197
+ - spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml
198
+ - spec/cassettes/Red5_Films/finds_a_particular_film.yml
199
+ - spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml
200
+ - spec/cassettes/Red5_Films/returns_a_film.yml
201
+ - spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml
202
+ - spec/cassettes/Red5_People/finds_a_particular_person.yml
203
+ - spec/cassettes/Red5_People/has_an_id.yml
204
+ - spec/cassettes/Red5_People/returns_a_person.yml
205
+ - spec/cassettes/Red5_Planets/finds_a_planet.yml
206
+ - spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml
207
+ - spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml
208
+ - spec/cassettes/Red5_Species/finds_a_species.yml
209
+ - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml
210
+ - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
211
+ - spec/cassettes/Red5_Starships/finds_a_starship.yml
212
+ - spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml
151
213
  - spec/cassettes/Red_5_Films/finds_a_film.yml
214
+ - spec/cassettes/Red_5_Films/finds_a_particular_film.yml
215
+ - spec/cassettes/Red_5_Films/returns_a_film.yml
216
+ - spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml
217
+ - spec/cassettes/Red_5_People/finds_a_particular_person.yml
152
218
  - spec/cassettes/Red_5_People/finds_a_person.yml
153
- - spec/cassettes/Red_5_People/should_find_a_person.yml
219
+ - spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml
220
+ - spec/cassettes/Red_5_People/has_an_id.yml
221
+ - spec/cassettes/Red_5_People/returns_a_person.yml
154
222
  - spec/cassettes/Red_5_Planets/finds_a_planet.yml
155
- - spec/cassettes/Red_5_Planets/should_find_a_planet.yml
223
+ - spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml
224
+ - spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml
156
225
  - spec/cassettes/Red_5_Species/finds_a_species.yml
226
+ - spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml
227
+ - spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
157
228
  - spec/cassettes/Red_5_Starships/finds_a_starship.yml
158
229
  - spec/cassettes/Red_5_Vehicles/finds_a_vehicle.yml
230
+ - spec/failure_spec.rb
231
+ - spec/models/films_spec.rb
232
+ - spec/models/people_spec.rb
233
+ - spec/models/planets_spec.rb
234
+ - spec/models/species_spec.rb
235
+ - spec/models/starships_spec.rb
236
+ - spec/models/vehicles_spec.rb
159
237
  - spec/red5_spec.rb
160
238
  - spec/spec_helper.rb
161
239
  - spec/support/vcr_setup.rb
@@ -179,19 +257,53 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
257
  version: '0'
180
258
  requirements: []
181
259
  rubyforge_project:
182
- rubygems_version: 2.2.2
260
+ rubygems_version: 2.4.3
183
261
  signing_key:
184
262
  specification_version: 4
185
263
  summary: SWAPI bindings
186
264
  test_files:
265
+ - spec/cassettes/Failure/404s/raises_an_exception_on_a_ludicrous_request.yml
266
+ - spec/cassettes/Failure/404s/raises_an_exception_on_a_non-existent_thing.yml
267
+ - spec/cassettes/Failure/Non-existent_attributes/raises_an_exception_on_a_bogus_lookup.yml
268
+ - spec/cassettes/Red5_Films/finds_a_particular_film.yml
269
+ - spec/cassettes/Red5_Films/has_OpenStruct-type_lookups.yml
270
+ - spec/cassettes/Red5_Films/returns_a_film.yml
271
+ - spec/cassettes/Red5_People/fetches_the_species_for_a_person.yml
272
+ - spec/cassettes/Red5_People/finds_a_particular_person.yml
273
+ - spec/cassettes/Red5_People/has_an_id.yml
274
+ - spec/cassettes/Red5_People/returns_a_person.yml
275
+ - spec/cassettes/Red5_Planets/finds_a_planet.yml
276
+ - spec/cassettes/Red5_Species/fetches_the_homeworld_for_a_species.yml
277
+ - spec/cassettes/Red5_Species/finds_a_homeworld_for_a_species.yml
278
+ - spec/cassettes/Red5_Species/finds_a_species.yml
279
+ - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_ludicrous_request.yml
280
+ - spec/cassettes/Red5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
281
+ - spec/cassettes/Red5_Starships/finds_a_starship.yml
282
+ - spec/cassettes/Red5_Vehicles/finds_a_vehicle.yml
187
283
  - spec/cassettes/Red_5_Films/finds_a_film.yml
284
+ - spec/cassettes/Red_5_Films/finds_a_particular_film.yml
285
+ - spec/cassettes/Red_5_Films/returns_a_film.yml
286
+ - spec/cassettes/Red_5_People/fetches_the_species_for_a_person.yml
287
+ - spec/cassettes/Red_5_People/finds_a_particular_person.yml
188
288
  - spec/cassettes/Red_5_People/finds_a_person.yml
189
- - spec/cassettes/Red_5_People/should_find_a_person.yml
289
+ - spec/cassettes/Red_5_People/gets_the_species_for_a_person.yml
290
+ - spec/cassettes/Red_5_People/has_an_id.yml
291
+ - spec/cassettes/Red_5_People/returns_a_person.yml
190
292
  - spec/cassettes/Red_5_Planets/finds_a_planet.yml
191
- - spec/cassettes/Red_5_Planets/should_find_a_planet.yml
293
+ - spec/cassettes/Red_5_Species/fetches_the_homeworld_for_a_species.yml
294
+ - spec/cassettes/Red_5_Species/finds_a_homeworld_for_a_species.yml
192
295
  - spec/cassettes/Red_5_Species/finds_a_species.yml
296
+ - spec/cassettes/Red_5_Species/gets_the_homeworld_for_a_species.yml
297
+ - spec/cassettes/Red_5_Starships/Failure/raises_an_exception_on_a_non-existent_thing.yml
193
298
  - spec/cassettes/Red_5_Starships/finds_a_starship.yml
194
299
  - spec/cassettes/Red_5_Vehicles/finds_a_vehicle.yml
300
+ - spec/failure_spec.rb
301
+ - spec/models/films_spec.rb
302
+ - spec/models/people_spec.rb
303
+ - spec/models/planets_spec.rb
304
+ - spec/models/species_spec.rb
305
+ - spec/models/starships_spec.rb
306
+ - spec/models/vehicles_spec.rb
195
307
  - spec/red5_spec.rb
196
308
  - spec/spec_helper.rb
197
309
  - spec/support/vcr_setup.rb