themoviedb 0.0.24 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZGY5ZjljMTFhYzE4ZjNmNzYyZTg0MmY0MmQxOGUyMzEyNGZmNDIxOA==
5
- data.tar.gz: !binary |-
6
- NWYzYmJlZDZlNjQ2NGQ2M2ZiNDk1MjAwZjc5ZjkwMjM4Y2E4MmZhMg==
2
+ SHA1:
3
+ metadata.gz: 73d05ca26470c6c7ddd743b611c0737f3fcd2f20
4
+ data.tar.gz: 7679dd24e5cf956982471028309bc81bf6959a44
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzJhOGE3ZmM2ZGQxYTI1MzY3ZmI3YmI5YTVlYzlkMDAxYjExMjBiYzZlMjQ5
10
- OGUzNzZiMzk4Yjg5MDA0N2M2NWI5ZmNlMGYxMjA3YTEwYmI2ZTI1NTAwMTQy
11
- MDg0YTAwMjU2N2JmZDBkOWEzOWU5YWIwZjJlMTdlYzk0YTA2NmM=
12
- data.tar.gz: !binary |-
13
- NTAyOTQ0Mjk2ZDBjMzU5ZWQ3NGVlY2UxN2NkOTE5ZTJkNmUwMGQ0MDU1N2Iy
14
- YzAyNDQxYTI0YWRkZDJlYjA3MTFiMmYwZDNmOWEzNjY5MTcwNTVlYmEwZDdm
15
- MjdhMDVkNTZhODgzZTdmNWEzZWQ4YTY2Zjg1M2ZiMTY1NTE1ZWI=
6
+ metadata.gz: ecd223e631fb0fab9c1d09e655a12428c3189812babd3c5a66e1defd3e2d33e0ecf7d75740af3281a1b845dede379eef4cdebe691790be16ccf1f0b45b3f7c5a
7
+ data.tar.gz: 107bdad32b4a8fc8dc7efafaa7e5cbcdbffde1ba0b9f3dd4978ae23607300580ac5827149e73df19f216b06c463e39d0ea798eedabfdbd07438543f1e7e90689
@@ -1,6 +1,5 @@
1
1
  require 'rubygems'
2
2
  require 'httparty'
3
- require 'hashugar'
4
3
 
5
4
  ["api", "search", "resource", "configuration"].each do |inc|
6
5
  require File.join(File.dirname(__FILE__), "themoviedb", inc)
@@ -1,7 +1,7 @@
1
1
  module Tmdb
2
2
  class Api
3
3
  include HTTParty
4
- base_uri 'http://api.themoviedb.org/3/'
4
+ base_uri 'api.themoviedb.org/3/'
5
5
  format :json
6
6
  headers 'Accept' => 'application/json'
7
7
  headers 'Content-Type' => 'application/json'
@@ -10,7 +10,7 @@ module Tmdb
10
10
  :parts,
11
11
  :poster_path
12
12
  ]
13
-
13
+
14
14
  @@fields.each do |field|
15
15
  attr_accessor field
16
16
  end
@@ -12,7 +12,7 @@ module Tmdb
12
12
  :name,
13
13
  :parent_company
14
14
  ]
15
-
15
+
16
16
  @@fields.each do |field|
17
17
  attr_accessor field
18
18
  end
@@ -12,13 +12,13 @@ module Tmdb
12
12
  #Get the TV episode cast credits by combination of season and episode number.
13
13
  def self.cast(id, season, episode, conditions={})
14
14
  search = Tmdb::Search.new("/tv/#{self.endpoint_id + id.to_s}/season/#{self.endpoint_id + season.to_s}/#{self.endpoints[:singular]}/#{self.endpoint_id + episode.to_s}/credits")
15
- search.fetch_response.cast
15
+ search.fetch_response['cast']
16
16
  end
17
17
 
18
18
  #Get the TV episode crew credits by combination of season and episode number.
19
19
  def self.crew(id, season, episode, conditions={})
20
20
  search = Tmdb::Search.new("/tv/#{self.endpoint_id + id.to_s}/season/#{self.endpoint_id + season.to_s}/#{self.endpoints[:singular]}/#{self.endpoint_id + episode.to_s}/credits")
21
- search.fetch_response.crew
21
+ search.fetch_response['crew']
22
22
  end
23
23
 
24
24
  #Get the external ids for a TV episode by comabination of a season and episode number.
@@ -89,13 +89,13 @@ module Tmdb
89
89
  #Get the cast information for a specific movie id.
90
90
  def self.casts(id, conditions={})
91
91
  search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/casts")
92
- search.fetch_response.cast
92
+ search.fetch_response['cast']
93
93
  end
94
94
 
95
95
  #Get the cast information for a specific movie id.
96
96
  def self.crew(id, conditions={})
97
97
  search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/casts")
98
- search.fetch_response.crew
98
+ search.fetch_response['crew']
99
99
  end
100
100
 
101
101
  #Get the images (posters and backdrops) for a specific movie id.
@@ -57,7 +57,7 @@ module Tmdb
57
57
 
58
58
  #Sends back main data
59
59
  def fetch
60
- fetch_response.results
60
+ fetch_response['results']
61
61
  end
62
62
 
63
63
  #Send back whole response
@@ -73,7 +73,7 @@ module Tmdb
73
73
  etag = original_etag.gsub(/"/, '')
74
74
 
75
75
  Api.set_response({'code' => response.code, 'etag' => etag})
76
- return response.to_hash.to_hashugar
76
+ return response.to_hash
77
77
  end
78
78
  end
79
79
  end
@@ -12,13 +12,13 @@ module Tmdb
12
12
  #Get the cast credits for a TV season by season number.
13
13
  def self.cast(id, season, conditions={})
14
14
  search = Tmdb::Search.new("/tv/#{self.endpoint_id + id.to_s}/#{self.endpoints[:singular]}/#{self.endpoint_id + season.to_s}/credits")
15
- search.fetch_response.cast
15
+ search.fetch_response['cast']
16
16
  end
17
17
 
18
18
  #Get the crew credits for a TV season by season number.
19
19
  def self.crew(id, season, conditions={})
20
20
  search = Tmdb::Search.new("/tv/#{self.endpoint_id + id.to_s}/#{self.endpoints[:singular]}/#{self.endpoint_id + season.to_s}/credits")
21
- search.fetch_response.crew
21
+ search.fetch_response['crew']
22
22
  end
23
23
 
24
24
  #Get the external ids that we have stored for a TV season by season number.
@@ -57,13 +57,13 @@ module Tmdb
57
57
  #Get the cast information about a TV series.
58
58
  def self.cast(id, conditions={})
59
59
  search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/credits")
60
- search.fetch_response.cast
60
+ search.fetch_response['cast']
61
61
  end
62
62
 
63
63
  #Get the crew information about a TV series.
64
64
  def self.crew(id, conditions={})
65
65
  search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/credits")
66
- search.fetch_response.crew
66
+ search.fetch_response['crew']
67
67
  end
68
68
 
69
69
  #Get the external ids that we have stored for a TV series.
@@ -1,3 +1,3 @@
1
1
  module Tmdb
2
- VERSION = "0.0.24"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -27,27 +27,27 @@ describe Tmdb::Company do
27
27
  end
28
28
 
29
29
  it "should return a id" do
30
- @company.id.should eq(5)
30
+ @company['id'].should eq(5)
31
31
  end
32
32
 
33
33
  it "should have a description" do
34
- @company.description.should eq("Columbia Pictures Industries, Inc. (CPII) is an American film production and distribution company. Columbia Pictures now forms part of the Columbia TriStar Motion Picture Group, owned by Sony Pictures Entertainment, a subsidiary of the Japanese conglomerate Sony. It is one of the leading film companies in the world, a member of the so-called Big Six. It was one of the so-called Little Three among the eight major film studios of Hollywood's Golden Age.")
34
+ @company['description'].should eq("Columbia Pictures Industries, Inc. (CPII) is an American film production and distribution company. Columbia Pictures now forms part of the Columbia TriStar Motion Picture Group, owned by Sony Pictures Entertainment, a subsidiary of the Japanese conglomerate Sony. It is one of the leading film companies in the world, a member of the so-called Big Six. It was one of the so-called Little Three among the eight major film studios of Hollywood's Golden Age.")
35
35
  end
36
36
 
37
37
  it "should have a homepage" do
38
- @company.homepage.should eq("http://www.sonypictures.com/")
38
+ @company['homepage'].should eq("http://www.sonypictures.com/")
39
39
  end
40
40
 
41
41
  it "should have logo" do
42
- @company.logo_path.should eq("/mjUSfXXUhMiLAA1Zq1TfStNSoLR.png")
42
+ @company['logo_path'].should eq("/mjUSfXXUhMiLAA1Zq1TfStNSoLR.png")
43
43
  end
44
44
 
45
45
  it "should have a name" do
46
- @company.name.should eq("Columbia Pictures")
46
+ @company['name'].should eq("Columbia Pictures")
47
47
  end
48
48
 
49
49
  it "could have a parent company" do
50
- @company.parent_company.name.should eq("Sony Pictures Entertainment")
50
+ @company['parent_company']["name"].should eq("Sony Pictures Entertainment")
51
51
  end
52
52
 
53
53
  end
@@ -65,31 +65,31 @@ describe Tmdb::Company do
65
65
  end
66
66
 
67
67
  it "should have a id" do
68
- @movie.id.should eq(97020)
68
+ @movie["id"].should eq(97020)
69
69
  end
70
70
 
71
71
  it "should have a title" do
72
- @movie.title.should eq("RoboCop")
72
+ @movie["title"].should eq("RoboCop")
73
73
  end
74
74
 
75
75
  it "should have a original title" do
76
- @movie.original_title.should eq("RoboCop")
76
+ @movie["original_title"].should eq("RoboCop")
77
77
  end
78
78
 
79
79
  it "should have a poster" do
80
- @movie.poster_path.should eq("/xxLhczZMiJt1iRdhfkVkuMu87si.jpg")
80
+ @movie["poster_path"].should eq("/xxLhczZMiJt1iRdhfkVkuMu87si.jpg")
81
81
  end
82
82
 
83
83
  it "should have a popularity rating" do
84
- @movie.popularity.should eq(3.13451193740971)
84
+ @movie["popularity"].should eq(3.13451193740971)
85
85
  end
86
86
 
87
87
  it "should show whether it is an adult movie" do
88
- @movie.adult.should eq(false)
88
+ @movie["adult"].should eq(false)
89
89
  end
90
90
 
91
91
  it "should have a release date" do
92
- @movie.release_date.should eq("2014-02-07")
92
+ @movie["release_date"].should eq("2014-02-07")
93
93
  end
94
94
 
95
95
  end
@@ -12,17 +12,17 @@ describe Tmdb::Find do
12
12
  it "should return results for imdb_id" do
13
13
  VCR.use_cassette 'find/search_imdb' do
14
14
  find = @find.imdb_id("tt1375666")
15
- find.movie_results.should be_true
16
- find.person_results.should be_true
17
- find.tv_results.should be_true
15
+ find['movie_results'].should be_true
16
+ find['person_results'].should be_true
17
+ find['tv_results'].should be_true
18
18
  end
19
19
  end
20
20
 
21
21
  it "should return results for tvdb_id" do
22
22
  VCR.use_cassette 'find/search_tvdb' do
23
23
  find = @find.tvdb_id("81189")
24
- find.tv_results.first.name.should == 'Breaking Bad'
25
- find.tv_results.should be_true
24
+ find['tv_results'].first['name'].should == 'Breaking Bad'
25
+ find['tv_results'].should be_true
26
26
  end
27
27
  end
28
28
 
@@ -128,87 +128,87 @@ describe Tmdb::Movie do
128
128
  end
129
129
 
130
130
  it "should return a id" do
131
- @movie.id.should == 22855
131
+ @movie['id'].should == 22855
132
132
  end
133
133
 
134
134
  it "should return a adult" do
135
- @movie.adult.should == false
135
+ @movie['adult'].should == false
136
136
  end
137
137
 
138
138
  it "should return a backdrop_path" do
139
- @movie.backdrop_path.should == "/mXuqM7ksHW1AJ30AInwJvJTAwut.jpg"
139
+ @movie['backdrop_path'].should == "/mXuqM7ksHW1AJ30AInwJvJTAwut.jpg"
140
140
  end
141
141
 
142
142
  it "should return a belongs_to_collection" do
143
- @movie.belongs_to_collection.name.should == "DC Universe Animated Original Movies"
143
+ @movie['belongs_to_collection']['name'].should == "DC Universe Animated Original Movies"
144
144
  end
145
145
 
146
146
  it "should return a budget" do
147
- @movie.budget.should == 0
147
+ @movie['budget'].should == 0
148
148
  end
149
149
 
150
150
  it "should return genres" do
151
- @movie.genres.should_not == []
151
+ @movie['genres'].should_not == []
152
152
  end
153
153
 
154
154
  it "should return homepage" do
155
- @movie.homepage.should == "http://www.warnervideo.com/supermanbatmandvd/"
155
+ @movie['homepage'].should == "http://www.warnervideo.com/supermanbatmandvd/"
156
156
  end
157
157
 
158
158
  it "should return a imdb_id" do
159
- @movie.imdb_id.should == "tt1398941"
159
+ @movie['imdb_id'].should == "tt1398941"
160
160
  end
161
161
 
162
162
  it "should return a original_title" do
163
- @movie.original_title.should == "Superman/Batman: Public Enemies"
163
+ @movie['original_title'].should == "Superman/Batman: Public Enemies"
164
164
  end
165
165
 
166
166
  it "should return a overview" do
167
- @movie.overview.should == "United States President Lex Luthor uses the oncoming trajectory of a Kryptonite meteor to frame Superman and declare a $1 billion bounty on the heads of the Man of Steel and his ‘partner in crime’, Batman. Heroes and villains alike launch a relentless pursuit of Superman and Batman, who must unite—and recruit help—to try and stave off the action-packed onslaught, stop the meteor Luthors plot."
167
+ @movie['overview'].should == "United States President Lex Luthor uses the oncoming trajectory of a Kryptonite meteor to frame Superman and declare a $1 billion bounty on the heads of the Man of Steel and his ‘partner in crime’, Batman. Heroes and villains alike launch a relentless pursuit of Superman and Batman, who must unite—and recruit help—to try and stave off the action-packed onslaught, stop the meteor Luthors plot."
168
168
  end
169
169
 
170
170
  it "should return popularity" do
171
- @movie.popularity.should == 1.15974723131612
171
+ @movie['popularity'].should == 1.15974723131612
172
172
  end
173
173
 
174
174
  it "should return poster_path" do
175
- @movie.poster_path.should == "/7eaHkUKAzfstt6XQCiXyuKiZUAw.jpg"
175
+ @movie['poster_path'].should == "/7eaHkUKAzfstt6XQCiXyuKiZUAw.jpg"
176
176
  end
177
177
 
178
178
  it "should return production_companies" do
179
- @movie.production_companies.should_not == []
179
+ @movie['production_companies'].should_not == []
180
180
  end
181
181
 
182
182
  it "should return production_countries" do
183
- @movie.production_countries.should_not == []
183
+ @movie['production_countries'].should_not == []
184
184
  end
185
185
 
186
186
  it "should return release_date" do
187
- @movie.release_date.should == "2009-09-29"
187
+ @movie['release_date'].should == "2009-09-29"
188
188
  end
189
189
 
190
190
  it "should return revenue" do
191
- @movie.revenue.should == 0
191
+ @movie['revenue'].should == 0
192
192
  end
193
193
 
194
194
  it "should return a runtime" do
195
- @movie.runtime.should == 67
195
+ @movie['runtime'].should == 67
196
196
  end
197
197
 
198
198
  it "should return spoken_languages" do
199
- @movie.spoken_languages.first.name.should == "English"
199
+ @movie['spoken_languages'].first['name'].should == "English"
200
200
  end
201
201
 
202
202
  it "should return status" do
203
- @movie.status.should == "Released"
203
+ @movie['status'].should == "Released"
204
204
  end
205
205
 
206
206
  it "should return vote_average" do
207
- @movie.vote_average.should == 7.4
207
+ @movie['vote_average'].should == 7.4
208
208
  end
209
209
 
210
210
  it "should return vote_count" do
211
- @movie.vote_count.should == 23
211
+ @movie['vote_count'].should == 23
212
212
  end
213
213
  end
214
214
 
@@ -222,56 +222,56 @@ describe Tmdb::Movie do
222
222
  end
223
223
 
224
224
  it 'should return alternative_titles' do
225
- @movie.alternative_titles.titles.size.should == 4
226
- @movie.alternative_titles.titles.first.title.should == 'Superman und Batman Public Enemies'
225
+ @movie['alternative_titles']['titles'].size.should == 4
226
+ @movie['alternative_titles']['titles'].first['title'].should == 'Superman und Batman Public Enemies'
227
227
  end
228
228
 
229
229
  it 'should return credits' do
230
- @movie.credits.cast.size.should == 20
231
- @movie.credits.cast.first.id.should == 34947
232
- @movie.credits.crew.size.should == 3
233
- @movie.credits.crew.first.id.should == 90367
230
+ @movie['credits']['cast'].size.should == 20
231
+ @movie['credits']['cast'].first['id'].should == 34947
232
+ @movie['credits']['crew'].size.should == 3
233
+ @movie['credits']['crew'].first['id'].should == 90367
234
234
  end
235
235
 
236
236
  it 'should return images' do
237
- @movie.images.backdrops.size.should == 6
238
- @movie.images.backdrops.first.file_path.should == '/mXuqM7ksHW1AJ30AInwJvJTAwut.jpg'
239
- @movie.images.posters.size.should == 9
240
- @movie.images.posters.first.file_path.should == '/7eaHkUKAzfstt6XQCiXyuKiZUAw.jpg'
237
+ @movie['images']['backdrops'].size.should == 6
238
+ @movie['images']['backdrops'].first['file_path'].should == '/mXuqM7ksHW1AJ30AInwJvJTAwut.jpg'
239
+ @movie['images']['posters'].size.should == 9
240
+ @movie['images']['posters'].first['file_path'].should == '/7eaHkUKAzfstt6XQCiXyuKiZUAw.jpg'
241
241
  end
242
242
 
243
243
  it 'should return keywords' do
244
- @movie.keywords.keywords.size.should == 2
245
- @movie.keywords.keywords.first.id.should == 9715
244
+ @movie['keywords']['keywords'].size.should == 2
245
+ @movie['keywords']['keywords'].first['id'].should == 9715
246
246
  end
247
247
 
248
248
  it 'should return releases' do
249
- @movie.releases.countries.size.should == 1
250
- @movie.releases.countries.first.release_date.should == '2009-09-29'
249
+ @movie['releases']['countries'].size.should == 1
250
+ @movie['releases']['countries'].first['release_date'].should == '2009-09-29'
251
251
  end
252
252
 
253
253
  it 'should return trailers' do
254
- @movie.trailers.quicktime.should == []
255
- @movie.trailers.youtube.size.should == 1
256
- @movie.trailers.youtube.first.name.should == 'Official Preview Trailer'
254
+ @movie['trailers']['quicktime'].should == []
255
+ @movie['trailers']['youtube'].size.should == 1
256
+ @movie['trailers']['youtube'].first['name'].should == 'Official Preview Trailer'
257
257
  end
258
258
 
259
259
  it 'should return translations' do
260
- @movie.translations.translations.size.should == 13
261
- @movie.translations.translations.first.name.should == 'English'
260
+ @movie['translations']['translations'].size.should == 13
261
+ @movie['translations']['translations'].first['name'].should == 'English'
262
262
  end
263
263
 
264
264
  it 'should return reviews' do
265
- @movie.reviews.results.should == []
265
+ @movie['reviews']['results'].should == []
266
266
  end
267
267
 
268
268
  it 'should return lists' do
269
- @movie.lists.results.size.should == 4
270
- @movie.lists.results.first.id.should == '51d6b52219c295172912ff1e'
269
+ @movie['lists']['results'].size.should == 4
270
+ @movie['lists']['results'].first['id'].should == '51d6b52219c295172912ff1e'
271
271
  end
272
272
 
273
273
  it 'should return changes' do
274
- @movie.changes.changes.should == []
274
+ @movie['changes']['changes'].should == []
275
275
  end
276
276
  end
277
277
 
@@ -284,11 +284,11 @@ describe Tmdb::Movie do
284
284
  end
285
285
 
286
286
  it "should return backdrops" do
287
- @movie.backdrops.length == 4
287
+ @movie['backdrops'].length == 4
288
288
  end
289
289
 
290
290
  it "should return posters" do
291
- @movie.posters.should be_true
291
+ @movie['posters'].should be_true
292
292
  end
293
293
 
294
294
  end
@@ -304,11 +304,11 @@ describe Tmdb::Movie do
304
304
  end
305
305
 
306
306
  it "should return the german name" do
307
- @movie.title.should == "Stirb Langsam"
307
+ @movie['title'].should == "Stirb Langsam"
308
308
  end
309
309
 
310
310
  it "should return the german description" do
311
- @movie.overview.should == "Eigentlich möchte der New Yorker Polizist John McClane dieses Weihnachten nur seine Noch-Ehefrau Holly, welche in Los Angeles in einer großen, erfolgreichen Firma Karriere gemacht hat, besuchen und das Fest mit den beiden gemeinsamen Kinder verbringen. Als die Feierlichkeiten im Nakatomi Plaza beginnen sollen, stürmt eine Gruppe von Terroristen das Hochhaus und nur John McClane schafft es ihnen zu entwischen. Lediglich bewaffnet mit ein paar Zigaretten und einem Walkie-Talkie, wodurch er den Funk der Geiselnehmer mithören kann, und mit Waffen, welche die Terroristen gelegentlich so rumliegen lassen, muss John nun nicht nur sein eigenes Leben retten, sondern möglichst auch das aller anderen Beteiligten. Und so beschließt er, die äußerst brutale Truppe auszumerzen und sich einen Terroristen nach dem anderen vorzuknöpfen. Während draußen dann schon die Polizei und das FBI stümperhaft versucht, das Gebäude zu stürmen, kämpft McClane ohne Schuhe gegen die 12 Aggressoren..."
311
+ @movie['overview'].should == "Eigentlich möchte der New Yorker Polizist John McClane dieses Weihnachten nur seine Noch-Ehefrau Holly, welche in Los Angeles in einer großen, erfolgreichen Firma Karriere gemacht hat, besuchen und das Fest mit den beiden gemeinsamen Kinder verbringen. Als die Feierlichkeiten im Nakatomi Plaza beginnen sollen, stürmt eine Gruppe von Terroristen das Hochhaus und nur John McClane schafft es ihnen zu entwischen. Lediglich bewaffnet mit ein paar Zigaretten und einem Walkie-Talkie, wodurch er den Funk der Geiselnehmer mithören kann, und mit Waffen, welche die Terroristen gelegentlich so rumliegen lassen, muss John nun nicht nur sein eigenes Leben retten, sondern möglichst auch das aller anderen Beteiligten. Und so beschließt er, die äußerst brutale Truppe auszumerzen und sich einen Terroristen nach dem anderen vorzuknöpfen. Während draußen dann schon die Polizei und das FBI stümperhaft versucht, das Gebäude zu stürmen, kämpft McClane ohne Schuhe gegen die 12 Aggressoren..."
312
312
  end
313
313
 
314
314
  end
@@ -51,43 +51,43 @@ describe Tmdb::Person do
51
51
  end
52
52
 
53
53
  it "should return a id" do
54
- @person.id.should == 5292
54
+ @person['id'].should == 5292
55
55
  end
56
56
 
57
57
  it "should return a name" do
58
- @person.name.should == "Denzel Washington"
58
+ @person['name'].should == "Denzel Washington"
59
59
  end
60
60
 
61
61
  it "should return a adult" do
62
- @person.adult.should == false
62
+ @person['adult'].should == false
63
63
  end
64
64
 
65
65
  it "should return a biography" do
66
- @person.biography.should == "From Wikipedia, the free encyclopedia.\n\nDenzel Hayes Washington, Jr. (born December 28, 1954) is an American actor, screenwriter, director and film producer. He first rose to prominence when he joined the cast of the medical drama St. Elsewhere, playing Dr. Philip Chandler for six years. He has received much critical acclaim for his work in film since the 1990s, including for his portrayals of real-life figures, such as Steve Biko, Malcolm X, Rubin \"Hurricane\" Carter, Melvin B. Tolson, Frank Lucas, and Herman Boone.\n\nWashington has received two Academy Awards, two Golden Globe awards, a Tony Award. He is notable for winning the Best Supporting Actor for Glory in 1989; and the Academy Award for Best Actor in 2001 for his role in the film Training Day\n\nDescription above from the Wikipedia article Denzel Washington, licensed under CC-BY-SA, full list of contributors on Wikipedia."
66
+ @person['biography'].should == "From Wikipedia, the free encyclopedia.\n\nDenzel Hayes Washington, Jr. (born December 28, 1954) is an American actor, screenwriter, director and film producer. He first rose to prominence when he joined the cast of the medical drama St. Elsewhere, playing Dr. Philip Chandler for six years. He has received much critical acclaim for his work in film since the 1990s, including for his portrayals of real-life figures, such as Steve Biko, Malcolm X, Rubin \"Hurricane\" Carter, Melvin B. Tolson, Frank Lucas, and Herman Boone.\n\nWashington has received two Academy Awards, two Golden Globe awards, a Tony Award. He is notable for winning the Best Supporting Actor for Glory in 1989; and the Academy Award for Best Actor in 2001 for his role in the film Training Day\n\nDescription above from the Wikipedia article Denzel Washington, licensed under CC-BY-SA, full list of contributors on Wikipedia."
67
67
  end
68
68
 
69
69
  it "should return a birthday" do
70
- @person.birthday.should == "1954-12-28"
70
+ @person['birthday'].should == "1954-12-28"
71
71
  end
72
72
 
73
73
  it "should return a deathday" do
74
- @person.deathday.should == ""
74
+ @person['deathday'].should == ""
75
75
  end
76
76
 
77
77
  it "should return a homepage" do
78
- @person.homepage.should == ""
78
+ @person['homepage'].should == ""
79
79
  end
80
80
 
81
81
  it "should return a place of birth" do
82
- @person.place_of_birth.should == "Mount Vernon, New York, USA"
82
+ @person['place_of_birth'].should == "Mount Vernon, New York, USA"
83
83
  end
84
84
 
85
85
  it "should return a profile path" do
86
- @person.profile_path.should == "/khMf8LLTtppUwuZqqnigD2nAy26.jpg"
86
+ @person['profile_path'].should == "/khMf8LLTtppUwuZqqnigD2nAy26.jpg"
87
87
  end
88
88
 
89
89
  it "should return an array with also known as names" do
90
- @person.also_known_as.should == []
90
+ @person['also_known_as'].should == []
91
91
  end
92
92
  end
93
93
 
@@ -101,33 +101,33 @@ describe Tmdb::Person do
101
101
  end
102
102
 
103
103
  it 'should return movie credits' do
104
- @person.movie_credits.cast.size.should == 47
105
- @person.movie_credits.cast.first.id.should == 388
106
- @person.movie_credits.crew.size.should == 4
107
- @person.movie_credits.crew.first.id.should == 13435
104
+ @person['movie_credits']['cast'].size.should == 47
105
+ @person['movie_credits']['cast'].first['id'].should == 388
106
+ @person['movie_credits']['crew'].size.should == 4
107
+ @person['movie_credits']['crew'].first['id'].should == 13435
108
108
  end
109
109
 
110
110
  it 'should return tv credits' do
111
- @person.tv_credits.cast.size.should == 17
112
- @person.tv_credits.cast.first.id.should == 1709
113
- @person.tv_credits.crew.size.should == 3
114
- @person.tv_credits.crew.first.id.should == 18881
111
+ @person['tv_credits']['cast'].size.should == 17
112
+ @person['tv_credits']['cast'].first['id'].should == 1709
113
+ @person['tv_credits']['crew'].size.should == 3
114
+ @person['tv_credits']['crew'].first['id'].should == 18881
115
115
  end
116
116
 
117
117
  it 'should return combined credits' do
118
- @person.combined_credits.cast.size.should == 64
119
- @person.combined_credits.cast.first.id.should == 388
120
- @person.combined_credits.crew.size.should == 7
121
- @person.combined_credits.crew.first.id.should == 13435
118
+ @person['combined_credits']['cast'].size.should == 64
119
+ @person['combined_credits']['cast'].first['id'].should == 388
120
+ @person['combined_credits']['crew'].size.should == 7
121
+ @person['combined_credits']['crew'].first['id'].should == 13435
122
122
  end
123
123
 
124
124
  it 'should return images' do
125
- @person.images.profiles.size.should == 6
126
- @person.images.profiles.first.file_path.should == '/khMf8LLTtppUwuZqqnigD2nAy26.jpg'
125
+ @person['images']['profiles'].size.should == 6
126
+ @person['images']['profiles'].first['file_path'].should == '/khMf8LLTtppUwuZqqnigD2nAy26.jpg'
127
127
  end
128
128
 
129
129
  it 'should return changes' do
130
- @person.changes.changes.should == []
130
+ @person['changes']['changes'].should == []
131
131
  end
132
132
  end
133
133
 
@@ -139,7 +139,7 @@ describe Tmdb::Person do
139
139
  end
140
140
 
141
141
  it "should return profiles" do
142
- @person_images.profiles.length == 6
142
+ @person_images['profiles'].length == 6
143
143
  end
144
144
  end
145
145
  end
@@ -44,11 +44,11 @@ describe Tmdb::TV do
44
44
  end
45
45
 
46
46
  it "should return backdrops for chuck" do
47
- @tv.backdrops.length.should >= 1
47
+ @tv['backdrops'].length.should >= 1
48
48
  end
49
49
 
50
50
  it "should return posters for chuck" do
51
- @tv.posters.length.should >= 1
51
+ @tv['posters'].length.should >= 1
52
52
  end
53
53
  end
54
54
 
@@ -61,96 +61,96 @@ describe Tmdb::TV do
61
61
  end
62
62
 
63
63
  it "should return a id" do
64
- @tv.id.should == 1396
64
+ @tv['id'].should == 1396
65
65
  end
66
66
 
67
67
  it "should return a backdrop" do
68
- @tv.backdrop_path.should == "/8STVFl9kvWtFAydXUFHIUvT47AA.jpg"
68
+ @tv['backdrop_path'].should == "/8STVFl9kvWtFAydXUFHIUvT47AA.jpg"
69
69
  end
70
70
 
71
71
  it "should return a created date" do
72
- @tv.created_by.first.name.should == "Vince Gilligan"
72
+ @tv['created_by'].first['name'].should == "Vince Gilligan"
73
73
  end
74
74
 
75
75
  it "should return a run time" do
76
- @tv.episode_run_time.should == [45, 47]
76
+ @tv['episode_run_time'].should == [45, 47]
77
77
  end
78
78
 
79
79
  it "should return genres" do
80
- @tv.genres.should_not == []
80
+ @tv['genres'].should_not == []
81
81
  end
82
82
 
83
83
  it "should return a first air date" do
84
- @tv.first_air_date.should == "2008-01-20"
84
+ @tv['first_air_date'].should == "2008-01-20"
85
85
  end
86
86
 
87
87
  it "should return a homepage" do
88
- @tv.homepage.should == "http://www.amctv.com/shows/breaking-bad"
88
+ @tv['homepage'].should == "http://www.amctv.com/shows/breaking-bad"
89
89
  end
90
90
 
91
91
  it "should return a production state" do
92
- @tv.in_production.should be_false
92
+ @tv['in_production'].should be_false
93
93
  end
94
94
 
95
95
  it "should return languages" do
96
- @tv.languages.should == ["en", "de", "ro", "es", "fa"]
96
+ @tv['languages'].should == ["en", "de", "ro", "es", "fa"]
97
97
  end
98
98
 
99
99
  it "should return a last air date" do
100
- @tv.last_air_date.should == "2013-09-29"
100
+ @tv['last_air_date'].should == "2013-09-29"
101
101
  end
102
102
 
103
103
  it "should return a name" do
104
- @tv.name.should == "Breaking Bad"
104
+ @tv['name'].should == "Breaking Bad"
105
105
  end
106
106
 
107
107
  it "should return a network" do
108
- @tv.networks.first.id.should == 174
109
- @tv.networks.first.name == "AMC"
108
+ @tv['networks'].first['id'].should == 174
109
+ @tv['networks'].first['name'] == "AMC"
110
110
  end
111
111
 
112
112
  it "should return the number of episodes" do
113
- @tv.number_of_episodes.should == 62
113
+ @tv['number_of_episodes'].should == 62
114
114
  end
115
115
 
116
116
  it "should return the number of seasons" do
117
- @tv.number_of_seasons.should == 5
117
+ @tv['number_of_seasons'].should == 5
118
118
  end
119
119
 
120
120
  it "should return the original name" do
121
- @tv.original_name.should == "Breaking Bad"
121
+ @tv['original_name'].should == "Breaking Bad"
122
122
  end
123
123
 
124
124
  it "should return the origin country" do
125
- @tv.origin_country.should == ["US"]
125
+ @tv['origin_country'].should == ["US"]
126
126
  end
127
127
 
128
128
  it "should return a overview" do
129
- @tv.overview.should == "Breaking Bad is an American crime drama television series created and produced by Vince Gilligan. Set and produced in Albuquerque, New Mexico, Breaking Bad is the story of Walter White, a struggling high school chemistry teacher who is diagnosed with inoperable lung cancer at the beginning of the series. He turns to a life of crime, producing and selling methamphetamine, in order to secure his family's financial future before he dies, teaming with his former student, Jesse Pinkman. Heavily serialized, the series is known for positioning its characters in seemingly inextricable corners and has been labeled a contemporary western by its creator."
129
+ @tv['overview'].should == "Breaking Bad is an American crime drama television series created and produced by Vince Gilligan. Set and produced in Albuquerque, New Mexico, Breaking Bad is the story of Walter White, a struggling high school chemistry teacher who is diagnosed with inoperable lung cancer at the beginning of the series. He turns to a life of crime, producing and selling methamphetamine, in order to secure his family's financial future before he dies, teaming with his former student, Jesse Pinkman. Heavily serialized, the series is known for positioning its characters in seemingly inextricable corners and has been labeled a contemporary western by its creator."
130
130
  end
131
131
 
132
132
  it "should return a popularity rating" do
133
- @tv.popularity.should == 6.60821276854239
133
+ @tv['popularity'].should == 6.60821276854239
134
134
  end
135
135
 
136
136
  it "should return a poster" do
137
- @tv.poster_path.should == "/iRDNn9EHKuBhGa77UBteazvsZa1.jpg"
137
+ @tv['poster_path'].should == "/iRDNn9EHKuBhGa77UBteazvsZa1.jpg"
138
138
  end
139
139
 
140
140
  it "should return seasons" do
141
- @tv.seasons.should_not == []
141
+ @tv['seasons'].should_not == []
142
142
  end
143
143
 
144
144
  it "should return a status" do
145
- @tv.status.should == "Ended"
145
+ @tv['status'].should == "Ended"
146
146
  end
147
147
 
148
148
  it "should return a vote average" do
149
- @tv.vote_average.should == 8.86764705882353
149
+ @tv['vote_average'].should == 8.86764705882353
150
150
  end
151
151
 
152
152
  it "should return a vote count" do
153
- @tv.vote_count.should == 34
153
+ @tv['vote_count'].should == 34
154
154
  end
155
155
 
156
156
  end
@@ -165,14 +165,14 @@ describe Tmdb::TV do
165
165
  end
166
166
 
167
167
  it 'should return credits' do
168
- @tv.credits.cast.size.should == 7
169
- @tv.credits.cast.first.id.should == 17419
170
- @tv.credits.crew.size.should == 4
171
- @tv.credits.crew.first.id.should == 5162
168
+ @tv['credits']['cast'].size.should == 7
169
+ @tv['credits']['cast'].first['id'].should == 17419
170
+ @tv['credits']['crew'].size.should == 4
171
+ @tv['credits']['crew'].first['id'].should == 5162
172
172
  end
173
173
 
174
174
  it 'should return external_ids' do
175
- @tv.external_ids.imdb_id.should == 'tt0903747'
175
+ @tv['external_ids']['imdb_id'].should == 'tt0903747'
176
176
  end
177
177
  end
178
178
 
@@ -189,39 +189,39 @@ describe Tmdb::TV do
189
189
  end
190
190
 
191
191
  it "each show should return an id" do
192
- @tv.first.id.should == 57243
192
+ @tv.first['id'].should == 57243
193
193
  end
194
194
 
195
195
  it "each show should return an name" do
196
- @tv.first.name.should == "Doctor Who"
196
+ @tv.first['name'].should == "Doctor Who"
197
197
  end
198
198
 
199
199
  it "each show should return an original name" do
200
- @tv.first.original_name.should == "Doctor Who"
200
+ @tv.first['original_name'].should == "Doctor Who"
201
201
  end
202
202
 
203
203
  it "each show should return an popularity" do
204
- @tv.first.popularity.should == 16.5167252220739
204
+ @tv.first['popularity'].should == 16.5167252220739
205
205
  end
206
206
 
207
207
  it "each show should return an poster_path" do
208
- @tv.first.poster_path.should == "/4a94ptIdYz0JwSzo0dCNuPCcfM8.jpg"
208
+ @tv.first['poster_path'].should == "/4a94ptIdYz0JwSzo0dCNuPCcfM8.jpg"
209
209
  end
210
210
 
211
211
  it "each show should return an vote_average" do
212
- @tv.first.vote_average.should == 7.875
212
+ @tv.first['vote_average'].should == 7.875
213
213
  end
214
214
 
215
215
  it "each show should return an vote_count" do
216
- @tv.first.vote_count.should == 4
216
+ @tv.first['vote_count'].should == 4
217
217
  end
218
218
 
219
219
  it "each show should return an backdrop" do
220
- @tv.first.backdrop_path.should == nil
220
+ @tv.first['backdrop_path'].should == nil
221
221
  end
222
222
 
223
223
  it "each show should return an first air date" do
224
- @tv.first.first_air_date.should == "2005-03-26"
224
+ @tv.first['first_air_date'].should == "2005-03-26"
225
225
  end
226
226
 
227
227
  end
@@ -239,39 +239,39 @@ describe Tmdb::TV do
239
239
  end
240
240
 
241
241
  it "each show should return an id" do
242
- @tv.first.id.should == 1104
242
+ @tv.first['id'].should == 1104
243
243
  end
244
244
 
245
245
  it "each show should return an name" do
246
- @tv.first.name.should == "Mad Men"
246
+ @tv.first['name'].should == "Mad Men"
247
247
  end
248
248
 
249
249
  it "each show should return an original name" do
250
- @tv.first.original_name.should == "Mad Men"
250
+ @tv.first['original_name'].should == "Mad Men"
251
251
  end
252
252
 
253
253
  it "each show should return an popularity" do
254
- @tv.first.popularity.should == 2.15615937122719
254
+ @tv.first['popularity'].should == 2.15615937122719
255
255
  end
256
256
 
257
257
  it "each show should return an poster_path" do
258
- @tv.first.poster_path.should == "/xA2nHrx2oHGPnL4ehBwPxD0ABvb.jpg"
258
+ @tv.first['poster_path'].should == "/xA2nHrx2oHGPnL4ehBwPxD0ABvb.jpg"
259
259
  end
260
260
 
261
261
  it "each show should return an vote_average" do
262
- @tv.first.vote_average.should == 9.66666666666667
262
+ @tv.first['vote_average'].should == 9.66666666666667
263
263
  end
264
264
 
265
265
  it "each show should return an vote_count" do
266
- @tv.first.vote_count.should == 3
266
+ @tv.first['vote_count'].should == 3
267
267
  end
268
268
 
269
269
  it "each show should return an backdrop" do
270
- @tv.first.backdrop_path.should == "/yGW0NX3I8GXPlWPdoWWyaH0AsCk.jpg"
270
+ @tv.first['backdrop_path'].should == "/yGW0NX3I8GXPlWPdoWWyaH0AsCk.jpg"
271
271
  end
272
272
 
273
273
  it "each show should return an first air date" do
274
- @tv.first.first_air_date.should == "2007-07-19"
274
+ @tv.first['first_air_date'].should == "2007-07-19"
275
275
  end
276
276
 
277
277
  end
@@ -282,36 +282,36 @@ describe Tmdb::TV do
282
282
 
283
283
  before(:each) do
284
284
  VCR.use_cassette 'tv/images' do
285
- @backdrop = Tmdb::TV.images(1396).backdrops.first
285
+ @backdrop = Tmdb::TV.images(1396)['backdrops'].first
286
286
  end
287
287
  end
288
288
 
289
289
  it "should return a aspect ratio" do
290
- @backdrop.aspect_ratio.should == 1.78
290
+ @backdrop['aspect_ratio'].should == 1.78
291
291
  end
292
292
 
293
293
  it "should return a file path" do
294
- @backdrop.file_path.should == "/dRaV8HGx7Z9xmw77qSs8prp5OuI.jpg"
294
+ @backdrop['file_path'].should == "/dRaV8HGx7Z9xmw77qSs8prp5OuI.jpg"
295
295
  end
296
296
 
297
297
  it "should return a height" do
298
- @backdrop.height.should == 720
298
+ @backdrop['height'].should == 720
299
299
  end
300
300
 
301
301
  it "should return a iso code" do
302
- @backdrop.iso_639_1.should == nil
302
+ @backdrop['iso_639_1'].should == nil
303
303
  end
304
304
 
305
305
  it "should return a vote average" do
306
- @backdrop.vote_average.should == 0.0
306
+ @backdrop['vote_average'].should == 0.0
307
307
  end
308
308
 
309
309
  it "should return a vote count" do
310
- @backdrop.vote_count.should == 0.0
310
+ @backdrop['vote_count'].should == 0.0
311
311
  end
312
312
 
313
313
  it "should return a width" do
314
- @backdrop.width.should == 1280
314
+ @backdrop['width'].should == 1280
315
315
  end
316
316
 
317
317
  end
@@ -320,36 +320,36 @@ describe Tmdb::TV do
320
320
 
321
321
  before(:each) do
322
322
  VCR.use_cassette 'tv/images' do
323
- @poster = Tmdb::TV.images(1396).posters.first
323
+ @poster = Tmdb::TV.images(1396)['posters'].first
324
324
  end
325
325
  end
326
326
 
327
327
  it "should return a aspect ratio" do
328
- @poster.aspect_ratio.should == 1.0
328
+ @poster['aspect_ratio'].should == 1.0
329
329
  end
330
330
 
331
331
  it "should return a file path" do
332
- @poster.file_path.should == "/lVbofIPlw3kYa8FQgHT7GtWMI2Q.jpg"
332
+ @poster['file_path'].should == "/lVbofIPlw3kYa8FQgHT7GtWMI2Q.jpg"
333
333
  end
334
334
 
335
335
  it "should return a height" do
336
- @poster.height.should == 1000
336
+ @poster['height'].should == 1000
337
337
  end
338
338
 
339
339
  it "should return a iso code" do
340
- @poster.iso_639_1.should == "nl"
340
+ @poster['iso_639_1'].should == "nl"
341
341
  end
342
342
 
343
343
  it "should return a vote average" do
344
- @poster.vote_average.should == 5.3125
344
+ @poster['vote_average'].should == 5.3125
345
345
  end
346
346
 
347
347
  it "should return a vote count" do
348
- @poster.vote_count.should == 1
348
+ @poster['vote_count'].should == 1
349
349
  end
350
350
 
351
351
  it "should return a width" do
352
- @poster.width.should == 1000
352
+ @poster['width'].should == 1000
353
353
  end
354
354
 
355
355
  end
@@ -365,27 +365,27 @@ describe Tmdb::TV do
365
365
  end
366
366
 
367
367
  it "should return a id" do
368
- @cast.id.should == 17419
368
+ @cast['id'].should == 17419
369
369
  end
370
370
 
371
371
  it "should return a name" do
372
- @cast.name.should == "Bryan Cranston"
372
+ @cast['name'].should == "Bryan Cranston"
373
373
  end
374
374
 
375
375
  it "should return a order" do
376
- @cast.order.should == 0
376
+ @cast['order'].should == 0
377
377
  end
378
378
 
379
379
  it "should return a profile image" do
380
- @cast.profile_path.should == "/qXWgFCk4OJqmLRUBEj7cbp8dnkx.jpg"
380
+ @cast['profile_path'].should == "/qXWgFCk4OJqmLRUBEj7cbp8dnkx.jpg"
381
381
  end
382
382
 
383
383
  it "should return a character name" do
384
- @cast.character.should == "Walter White"
384
+ @cast['character'].should == "Walter White"
385
385
  end
386
386
 
387
387
  it "should return a credit id" do
388
- @cast.credit_id.should == "52542282760ee313280017f9"
388
+ @cast['credit_id'].should == "52542282760ee313280017f9"
389
389
  end
390
390
 
391
391
  end
@@ -399,23 +399,23 @@ describe Tmdb::TV do
399
399
  end
400
400
 
401
401
  it "should return a id" do
402
- @crew.id.should == 29779
402
+ @crew['id'].should == 29779
403
403
  end
404
404
 
405
405
  it "should return a department" do
406
- @crew.department.should == "Production"
406
+ @crew['department'].should == "Production"
407
407
  end
408
408
 
409
409
  it "should return a job" do
410
- @crew.job.should == "Executive Producer"
410
+ @crew['job'].should == "Executive Producer"
411
411
  end
412
412
 
413
413
  it "should return a name" do
414
- @crew.name.should == "Michelle MacLaren"
414
+ @crew['name'].should == "Michelle MacLaren"
415
415
  end
416
416
 
417
417
  it "should return a profile image" do
418
- @crew.profile_path.should == nil
418
+ @crew['profile_path'].should == nil
419
419
  end
420
420
 
421
421
  end
@@ -429,27 +429,27 @@ describe Tmdb::TV do
429
429
  end
430
430
 
431
431
  it "should return a id" do
432
- @external.id.should == 1396
432
+ @external['id'].should == 1396
433
433
  end
434
434
 
435
435
  it "should return a imdb id" do
436
- @external.imdb_id.should == "tt0903747"
436
+ @external['imdb_id'].should == "tt0903747"
437
437
  end
438
438
 
439
439
  it "should return a tvdb id" do
440
- @external.tvdb_id.should == 81189
440
+ @external['tvdb_id'].should == 81189
441
441
  end
442
442
 
443
443
  it "should return a tvrage id" do
444
- @external.tvrage_id.should == 18164
444
+ @external['tvrage_id'].should == 18164
445
445
  end
446
446
 
447
447
  it "should return a freebase id" do
448
- @external.freebase_id.should == "/en/breaking_bad"
448
+ @external['freebase_id'].should == "/en/breaking_bad"
449
449
  end
450
450
 
451
451
  it "should return a freebase mid" do
452
- @external.freebase_mid.should == "/m/03d34x8"
452
+ @external['freebase_mid'].should == "/m/03d34x8"
453
453
  end
454
454
 
455
455
 
@@ -43,7 +43,6 @@ Gem::Specification.new do |s|
43
43
  s.require_paths = ["lib"]
44
44
 
45
45
  s.add_runtime_dependency 'httparty'
46
- s.add_runtime_dependency 'hashugar'
47
46
 
48
47
  s.add_development_dependency 'vcr'
49
48
  s.add_development_dependency 'rake'
metadata CHANGED
@@ -1,97 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themoviedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmet Abdi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-26 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: hashugar
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ! '>='
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: vcr
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ! '>='
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
33
  version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ! '>='
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ! '>='
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ! '>='
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ! '>='
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
61
  version: '0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ! '>='
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: webmock
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ! '>='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
75
  version: '0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ! '>='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  description: Provides a simple, easy to use interface for the Movie Database API.
@@ -132,17 +118,17 @@ require_paths:
132
118
  - lib
133
119
  required_ruby_version: !ruby/object:Gem::Requirement
134
120
  requirements:
135
- - - ! '>='
121
+ - - ">="
136
122
  - !ruby/object:Gem::Version
137
123
  version: '0'
138
124
  required_rubygems_version: !ruby/object:Gem::Requirement
139
125
  requirements:
140
- - - ! '>='
126
+ - - ">="
141
127
  - !ruby/object:Gem::Version
142
128
  version: '0'
143
129
  requirements: []
144
130
  rubyforge_project: themoviedb
145
- rubygems_version: 2.2.2
131
+ rubygems_version: 2.4.3
146
132
  signing_key:
147
133
  specification_version: 4
148
134
  summary: A Ruby wrapper for the The Movie Database API.
@@ -152,4 +138,3 @@ test_files:
152
138
  - spec/company_spec.rb
153
139
  - spec/person_spec.rb
154
140
  - spec/find_spec.rb
155
- has_rdoc: