themoviedb 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/themoviedb.rb CHANGED
@@ -10,5 +10,5 @@ end
10
10
  end
11
11
 
12
12
  module Tmdb
13
- VERSION = "0.0.3"
13
+ VERSION = "0.0.4"
14
14
  end
@@ -75,6 +75,12 @@ module Tmdb
75
75
  search.fetch_response['cast']
76
76
  end
77
77
 
78
+ #Get the cast information for a specific movie id.
79
+ def self.crew(id, conditions={})
80
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/casts")
81
+ search.fetch_response['crew']
82
+ end
83
+
78
84
  #Get the images (posters and backdrops) for a specific movie id.
79
85
  def self.images(id, conditions={})
80
86
  search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/images")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themoviedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-22 00:00:00.000000000 Z
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty