tmdb_rexx 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tmdb_rexx/client/certification.rb +1 -1
- data/lib/tmdb_rexx/client/genre.rb +1 -1
- data/lib/tmdb_rexx/client/job.rb +1 -1
- data/lib/tmdb_rexx/client/movie.rb +2 -2
- data/lib/tmdb_rexx/client/person.rb +1 -1
- data/lib/tmdb_rexx/client/tv.rb +2 -2
- data/lib/tmdb_rexx/connection.rb +0 -1
- data/lib/tmdb_rexx/version.rb +1 -1
- data/tmdb_rexx.gemspec +0 -1
- metadata +3 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd545f5bd6f908733a1dc634e3d6acd663ad7613
|
4
|
+
data.tar.gz: 50e9c680851d1c808e29c6bcca6b970a51f55251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f135a80d3394c123964fda320161af194f2db7b6a7cb145dd1e8db584f541be5376e6bd8015578e148bb4483b0ed12c70b88727c3310d7fb62659aa714ba476d
|
7
|
+
data.tar.gz: 90075de812c7d9f86fa929a150221d2f72abeda0aa90eb334c34fa0fe129736fae3f8a02f0c270a7e6fdaacd165324e190375a81fd1348bfddcd320694b385f2
|
@@ -17,7 +17,7 @@ module TmdbRexx
|
|
17
17
|
# @example Get the movie certifications api response
|
18
18
|
# client.certifications("movies")
|
19
19
|
def certifications(type = "movie", options = {})
|
20
|
-
get([RESOURCE, type, "list"].join("/"), options)
|
20
|
+
get([RESOURCE, type, "list"].join("/"), options)['certifications']
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
@@ -17,7 +17,7 @@ module TmdbRexx
|
|
17
17
|
# client.genres("movie")
|
18
18
|
def genres(type = "movie", options = {})
|
19
19
|
raise InvalidTypeError unless POSSIBLE_TYPES.include?(type)
|
20
|
-
get([RESOURCE, type, "list"].join("/"), options)
|
20
|
+
get([RESOURCE, type, "list"].join("/"), options)['genres']
|
21
21
|
end
|
22
22
|
|
23
23
|
# Get the list of movies for a particular genre by id. By default, only
|
data/lib/tmdb_rexx/client/job.rb
CHANGED
@@ -69,7 +69,7 @@ module TmdbRexx
|
|
69
69
|
# @example Get the movie backdrops
|
70
70
|
# TmdbRexx::Client.movie_backdrops("movie-id")
|
71
71
|
def movie_backdrops(movie_id, options = {})
|
72
|
-
get([RESOURCE, movie_id, "images"].join("/"), options)
|
72
|
+
get([RESOURCE, movie_id, "images"].join("/"), options)['backdrops']
|
73
73
|
end
|
74
74
|
|
75
75
|
# Get the posters for a specific movie id.
|
@@ -82,7 +82,7 @@ module TmdbRexx
|
|
82
82
|
# @example Get the movie posters
|
83
83
|
# TmdbRexx::Client.movie_posters("movie-id")
|
84
84
|
def movie_posters(movie_id, options = {})
|
85
|
-
get([RESOURCE, movie_id, "images"].join("/"), options)
|
85
|
+
get([RESOURCE, movie_id, "images"].join("/"), options)['posters']
|
86
86
|
end
|
87
87
|
|
88
88
|
# Get the plot keywords for a specific movie id.
|
@@ -119,7 +119,7 @@ module TmdbRexx
|
|
119
119
|
# @example Get the person profile images
|
120
120
|
# TmdbRexx::Client.person_profiles("person-id")
|
121
121
|
def person_profiles(person_id, options = {})
|
122
|
-
get([RESOURCE, person_id, "images"].join("/"), options)
|
122
|
+
get([RESOURCE, person_id, "images"].join("/"), options)["profiles"]
|
123
123
|
end
|
124
124
|
|
125
125
|
# Get the changes made to the movie.
|
data/lib/tmdb_rexx/client/tv.rb
CHANGED
@@ -121,7 +121,7 @@ module TmdbRexx
|
|
121
121
|
# @example Get the tv backdrops
|
122
122
|
# TmdbRexx::Client.tv_backdrops("tv-id")
|
123
123
|
def tv_backdrops(tv_id, options = {})
|
124
|
-
get([RESOURCE, tv_id, "images"].join("/"), options)
|
124
|
+
get([RESOURCE, tv_id, "images"].join("/"), options)["backdrops"]
|
125
125
|
end
|
126
126
|
|
127
127
|
# Get the posters for a specific tv id.
|
@@ -134,7 +134,7 @@ module TmdbRexx
|
|
134
134
|
# @example Get the tv posters
|
135
135
|
# TmdbRexx::Client.tv_posters("tv-id")
|
136
136
|
def tv_posters(tv_id, options = {})
|
137
|
-
get([RESOURCE, tv_id, "images"].join("/"), options)
|
137
|
+
get([RESOURCE, tv_id, "images"].join("/"), options)["posters"]
|
138
138
|
end
|
139
139
|
|
140
140
|
# Get the plot keywords for a specific tv id.
|
data/lib/tmdb_rexx/connection.rb
CHANGED
data/lib/tmdb_rexx/version.rb
CHANGED
data/tmdb_rexx.gemspec
CHANGED
@@ -22,7 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.9"
|
23
23
|
spec.add_dependency "faraday", "~> 0.9"
|
24
24
|
spec.add_dependency "faraday_middleware", "~> 0.10"
|
25
|
-
spec.add_dependency "hashie", "~> 3.4"
|
26
25
|
spec.add_dependency 'multi_json', "~> 1.11"
|
27
26
|
spec.add_development_dependency "rspec", "~> 3.3"
|
28
27
|
spec.add_development_dependency "json_spec", "~> 1.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tmdb_rexx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Truluck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.10'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: hashie
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.4'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.4'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: multi_json
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,9 +229,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
229
|
version: '0'
|
244
230
|
requirements: []
|
245
231
|
rubyforge_project:
|
246
|
-
rubygems_version: 2.4.
|
232
|
+
rubygems_version: 2.4.5
|
247
233
|
signing_key:
|
248
234
|
specification_version: 4
|
249
235
|
summary: Ruby wrapper for TMDB API
|
250
236
|
test_files: []
|
251
|
-
has_rdoc:
|