themoviedb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/themoviedb.rb +1 -1
- data/lib/themoviedb/movie.rb +2 -2
- metadata +9 -5
- checksums.yaml +0 -15
data/lib/themoviedb.rb
CHANGED
data/lib/themoviedb/movie.rb
CHANGED
@@ -72,13 +72,13 @@ module Tmdb
|
|
72
72
|
#Get the cast information for a specific movie id.
|
73
73
|
def self.casts(id, conditions={})
|
74
74
|
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/casts")
|
75
|
-
search.fetch_response
|
75
|
+
search.fetch_response['cast']
|
76
76
|
end
|
77
77
|
|
78
78
|
#Get the images (posters and backdrops) for a specific movie id.
|
79
79
|
def self.images(id, conditions={})
|
80
80
|
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/images")
|
81
|
-
search.fetch_response
|
81
|
+
search.fetch_response['backdrops']
|
82
82
|
end
|
83
83
|
|
84
84
|
#Get the plot keywords for a specific movie id.
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: themoviedb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Ahmet Abdi
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-22 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: httparty
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -44,26 +47,27 @@ files:
|
|
44
47
|
- test/movie_test.rb
|
45
48
|
homepage: http://rubygems.org/gems/themoviedb
|
46
49
|
licenses: []
|
47
|
-
metadata: {}
|
48
50
|
post_install_message:
|
49
51
|
rdoc_options: []
|
50
52
|
require_paths:
|
51
53
|
- lib
|
52
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
53
56
|
requirements:
|
54
57
|
- - ! '>='
|
55
58
|
- !ruby/object:Gem::Version
|
56
59
|
version: '0'
|
57
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
58
62
|
requirements:
|
59
63
|
- - ! '>='
|
60
64
|
- !ruby/object:Gem::Version
|
61
65
|
version: '0'
|
62
66
|
requirements: []
|
63
67
|
rubyforge_project: themoviedb
|
64
|
-
rubygems_version:
|
68
|
+
rubygems_version: 1.8.24
|
65
69
|
signing_key:
|
66
|
-
specification_version:
|
70
|
+
specification_version: 3
|
67
71
|
summary: A Ruby wrapper for the The Movie Database API.
|
68
72
|
test_files:
|
69
73
|
- test/movie_test.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
YjNlMzNkYTk3N2JjMGFlMDU5NGNmNDlhODY2NDM3NmRhNjE1NDExMQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzE0Mzk1NTMzZmI4ZGY2OTdkNDZkZWJlZjQwNTgzYWVlYmJlNzg2ZA==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MGI0MjJiNjEzYjY4MTcyNjEyOTI4MzM1M2Y1OTdhMmNkOTg2M2Q1YmIzZmIz
|
10
|
-
MDY4YWY3YjhkZTIzMmM3M2VhOGZkNjk4ZDBhMmJkOTdhN2ZhZDI3OGI2ZmIx
|
11
|
-
ZjY3YTVlMTkwNGE3MGM2MjEwOTExZGY1YjdkMGUxMzhiMzEwY2I=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MGE3OTRmYWI4MjU5YTgwNDI3YTQ0NmZmNmViYzU1MDYyNmI2N2MwM2VmM2Y4
|
14
|
-
OTE0Nzk1OWZjNzlkN2RjMTRjY2U1NjM0NmI0NzBhYzc0MWUwZTg4Yzg5OTJi
|
15
|
-
YTlhY2JjNDZiNTAxZDI0NjJmZDUwNjM0OGRlYWI4Y2M5NGZlMDE=
|