themoviedb 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +10 -5
- data/lib/themoviedb/api.rb +5 -5
- data/lib/themoviedb/collection.rb +1 -1
- data/lib/themoviedb/company.rb +1 -1
- data/lib/themoviedb/configuration.rb +8 -8
- data/lib/themoviedb/episode.rb +3 -3
- data/lib/themoviedb/find.rb +6 -6
- data/lib/themoviedb/genre.rb +5 -5
- data/lib/themoviedb/job.rb +1 -1
- data/lib/themoviedb/keyword.rb +20 -0
- data/lib/themoviedb/movie.rb +15 -9
- data/lib/themoviedb/person.rb +3 -3
- data/lib/themoviedb/resource.rb +1 -1
- data/lib/themoviedb/search.rb +22 -20
- data/lib/themoviedb/season.rb +3 -3
- data/lib/themoviedb/tv.rb +6 -6
- data/lib/themoviedb/version.rb +2 -1
- data/lib/themoviedb.rb +6 -6
- data/spec/company_spec.rb +30 -32
- data/spec/find_spec.rb +14 -16
- data/spec/invalid_api_key_spec.rb +13 -14
- data/spec/keyword_spec.rb +66 -0
- data/spec/movie_spec.rb +134 -133
- data/spec/person_spec.rb +60 -63
- data/spec/spec_helper.rb +13 -17
- data/spec/tv_spec.rb +175 -177
- data/spec/vcr/keyword/detail.yml +56 -0
- data/spec/vcr/keyword/movies_for_id.yml +334 -0
- data/spec/vcr/movie/detail.yml +22 -56
- data/themoviedb.gemspec +1 -7
- metadata +50 -100
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: themoviedb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmet Abdi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -24,62 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: vcr
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: webmock
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
27
|
description: Provides a simple, easy to use interface for The Movie Database API.
|
84
28
|
email:
|
85
29
|
- ahmetabdi@gmail.com
|
@@ -97,6 +41,7 @@ files:
|
|
97
41
|
- lib/themoviedb/find.rb
|
98
42
|
- lib/themoviedb/genre.rb
|
99
43
|
- lib/themoviedb/job.rb
|
44
|
+
- lib/themoviedb/keyword.rb
|
100
45
|
- lib/themoviedb/movie.rb
|
101
46
|
- lib/themoviedb/person.rb
|
102
47
|
- lib/themoviedb/resource.rb
|
@@ -107,6 +52,7 @@ files:
|
|
107
52
|
- spec/company_spec.rb
|
108
53
|
- spec/find_spec.rb
|
109
54
|
- spec/invalid_api_key_spec.rb
|
55
|
+
- spec/keyword_spec.rb
|
110
56
|
- spec/movie_spec.rb
|
111
57
|
- spec/person_spec.rb
|
112
58
|
- spec/spec/vcr/find/search_imdb.yml
|
@@ -119,6 +65,8 @@ files:
|
|
119
65
|
- spec/vcr/company/movies.yml
|
120
66
|
- spec/vcr/find/search_imdb.yml
|
121
67
|
- spec/vcr/find/search_tvdb.yml
|
68
|
+
- spec/vcr/keyword/detail.yml
|
69
|
+
- spec/vcr/keyword/movies_for_id.yml
|
122
70
|
- spec/vcr/movie/alternative_titles_for_id.yml
|
123
71
|
- spec/vcr/movie/cast_information_for_id.yml
|
124
72
|
- spec/vcr/movie/changes_made.yml
|
@@ -159,7 +107,7 @@ files:
|
|
159
107
|
homepage: https://rubygems.org/gems/themoviedb
|
160
108
|
licenses: []
|
161
109
|
metadata: {}
|
162
|
-
post_install_message:
|
110
|
+
post_install_message:
|
163
111
|
rdoc_options: []
|
164
112
|
require_paths:
|
165
113
|
- lib
|
@@ -174,60 +122,62 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
122
|
- !ruby/object:Gem::Version
|
175
123
|
version: '0'
|
176
124
|
requirements: []
|
177
|
-
|
178
|
-
|
179
|
-
signing_key:
|
125
|
+
rubygems_version: 3.5.18
|
126
|
+
signing_key:
|
180
127
|
specification_version: 4
|
181
128
|
summary: A Ruby wrapper for the The Movie Database API.
|
182
129
|
test_files:
|
183
|
-
- spec/invalid_api_key_spec.rb
|
184
130
|
- spec/company_spec.rb
|
185
|
-
- spec/spec_helper.rb
|
186
|
-
- spec/tv_spec.rb
|
187
131
|
- spec/find_spec.rb
|
188
|
-
- spec/
|
189
|
-
- spec/
|
132
|
+
- spec/invalid_api_key_spec.rb
|
133
|
+
- spec/keyword_spec.rb
|
190
134
|
- spec/movie_spec.rb
|
191
|
-
- spec/
|
135
|
+
- spec/person_spec.rb
|
136
|
+
- spec/spec/vcr/find/search_imdb.yml
|
137
|
+
- spec/spec_helper.rb
|
138
|
+
- spec/tv_spec.rb
|
139
|
+
- spec/vcr/api_key/empty_string.yml
|
140
|
+
- spec/vcr/api_key/invalid_key.yml
|
141
|
+
- spec/vcr/api_key/nil_key.yml
|
142
|
+
- spec/vcr/company/detail.yml
|
143
|
+
- spec/vcr/company/movies.yml
|
144
|
+
- spec/vcr/find/search_imdb.yml
|
145
|
+
- spec/vcr/find/search_tvdb.yml
|
146
|
+
- spec/vcr/keyword/detail.yml
|
147
|
+
- spec/vcr/keyword/movies_for_id.yml
|
148
|
+
- spec/vcr/movie/alternative_titles_for_id.yml
|
149
|
+
- spec/vcr/movie/cast_information_for_id.yml
|
192
150
|
- spec/vcr/movie/changes_made.yml
|
193
|
-
- spec/vcr/movie/
|
194
|
-
- spec/vcr/movie/similar_for_id.yml
|
195
|
-
- spec/vcr/movie/detail_with_appended_response.yml
|
196
|
-
- spec/vcr/movie/translations_for_id.yml
|
151
|
+
- spec/vcr/movie/credits_for_id.yml
|
197
152
|
- spec/vcr/movie/crew_for_id.yml
|
198
|
-
- spec/vcr/movie/
|
199
|
-
- spec/vcr/movie/
|
153
|
+
- spec/vcr/movie/detail.yml
|
154
|
+
- spec/vcr/movie/detail_with_appended_response.yml
|
200
155
|
- spec/vcr/movie/images.yml
|
201
156
|
- spec/vcr/movie/keywords_for_id.yml
|
202
|
-
- spec/vcr/movie/
|
203
|
-
- spec/vcr/movie/
|
157
|
+
- spec/vcr/movie/language_german.yml
|
158
|
+
- spec/vcr/movie/movie_belongs_for_id.yml
|
159
|
+
- spec/vcr/movie/now_playing.yml
|
160
|
+
- spec/vcr/movie/popular.yml
|
161
|
+
- spec/vcr/movie/releases_for_id.yml
|
204
162
|
- spec/vcr/movie/return_latest_movie.yml
|
205
|
-
- spec/vcr/movie/
|
163
|
+
- spec/vcr/movie/return_upcoming_movie.yml
|
164
|
+
- spec/vcr/movie/similar_for_id.yml
|
206
165
|
- spec/vcr/movie/top_rated.yml
|
207
|
-
- spec/vcr/movie/cast_information_for_id.yml
|
208
|
-
- spec/vcr/movie/now_playing.yml
|
209
|
-
- spec/vcr/movie/movie_belongs_for_id.yml
|
210
166
|
- spec/vcr/movie/trailers_for_id.yml
|
211
|
-
- spec/vcr/
|
212
|
-
- spec/vcr/
|
213
|
-
- spec/vcr/
|
214
|
-
- spec/vcr/
|
215
|
-
- spec/vcr/
|
216
|
-
- spec/vcr/
|
217
|
-
- spec/vcr/
|
218
|
-
- spec/vcr/
|
167
|
+
- spec/vcr/movie/translations_for_id.yml
|
168
|
+
- spec/vcr/person/changes.yml
|
169
|
+
- spec/vcr/person/credits.yml
|
170
|
+
- spec/vcr/person/detail.yml
|
171
|
+
- spec/vcr/person/detail_with_appended_response.yml
|
172
|
+
- spec/vcr/person/images.yml
|
173
|
+
- spec/vcr/person/latest.yml
|
174
|
+
- spec/vcr/person/popular.yml
|
219
175
|
- spec/vcr/tv/cast.yml
|
176
|
+
- spec/vcr/tv/crew.yml
|
177
|
+
- spec/vcr/tv/detail.yml
|
220
178
|
- spec/vcr/tv/detail_with_appeded_response.yml
|
221
|
-
- spec/vcr/tv/popular.yml
|
222
|
-
- spec/vcr/tv/images.yml
|
223
179
|
- spec/vcr/tv/external_ids.yml
|
224
|
-
- spec/vcr/tv/
|
225
|
-
- spec/vcr/tv/
|
180
|
+
- spec/vcr/tv/images.yml
|
181
|
+
- spec/vcr/tv/popular.yml
|
226
182
|
- spec/vcr/tv/test_chuck.yml
|
227
|
-
- spec/vcr/
|
228
|
-
- spec/vcr/person/popular.yml
|
229
|
-
- spec/vcr/person/latest.yml
|
230
|
-
- spec/vcr/person/credits.yml
|
231
|
-
- spec/vcr/person/images.yml
|
232
|
-
- spec/vcr/person/changes.yml
|
233
|
-
- spec/vcr/person/detail.yml
|
183
|
+
- spec/vcr/tv/top_rated.yml
|