themoviedb 0.0.23 → 0.0.24

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWNmNWIwNzhmMTE1ZDA5ZDhmMzQxZjEwMWFiZTE5OTg0YTMyNWU0Ng==
4
+ ZGY5ZjljMTFhYzE4ZjNmNzYyZTg0MmY0MmQxOGUyMzEyNGZmNDIxOA==
5
5
  data.tar.gz: !binary |-
6
- OWU4MmQ4MTIyNGQyODU0ZTgzYTRiZGNiOWQ4Y2Q2ZmM5ZDAxM2E4Nw==
6
+ NWYzYmJlZDZlNjQ2NGQ2M2ZiNDk1MjAwZjc5ZjkwMjM4Y2E4MmZhMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDU4OTY0YjVjY2VlZWU1YTMyOTlhMWQ4YjNhY2ZmY2YzODBjNDdjMDU3MGRk
10
- OTc3NjY3OWE0MmMwNDE5YWQzYWE5OTlkMGFkNzVjYTlkMzliNDE1YTQ4Nzcz
11
- MmE3ODFiNDQ1NDdiMzZlYThkZGRkNTBlMjI0Njc1M2M2NjMyNTQ=
9
+ MzJhOGE3ZmM2ZGQxYTI1MzY3ZmI3YmI5YTVlYzlkMDAxYjExMjBiYzZlMjQ5
10
+ OGUzNzZiMzk4Yjg5MDA0N2M2NWI5ZmNlMGYxMjA3YTEwYmI2ZTI1NTAwMTQy
11
+ MDg0YTAwMjU2N2JmZDBkOWEzOWU5YWIwZjJlMTdlYzk0YTA2NmM=
12
12
  data.tar.gz: !binary |-
13
- YmU4ZTc5NGQ0YWVjNjExZmUyMzY5YzA2NDA1MDU5ZTE2N2JkNjJmZTk1MzBj
14
- ODY5ODFlOWJkNTA4ZGRiYzY2M2FmMmQ0ZWYxYzRiZDk4MTE3OGM1MzdjYjZm
15
- MGQ5NDczMWJiZjZkYTcwMGViNzhiYWNlZWQ3N2UwOWI0ZDA2ZTE=
13
+ NTAyOTQ0Mjk2ZDBjMzU5ZWQ3NGVlY2UxN2NkOTE5ZTJkNmUwMGQ0MDU1N2Iy
14
+ YzAyNDQxYTI0YWRkZDJlYjA3MTFiMmYwZDNmOWEzNjY5MTcwNTVlYmEwZDdm
15
+ MjdhMDVkNTZhODgzZTdmNWEzZWQ4YTY2Zjg1M2ZiMTY1NTE1ZWI=
@@ -37,9 +37,27 @@ module Tmdb
37
37
  search.fetch_response
38
38
  end
39
39
 
40
- #Get the credits for a specific person id.
40
+ #Get the combined credits for a specific person id.
41
41
  def self.credits(id, conditions={})
42
- search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/credits")
42
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/combined_credits")
43
+ search.fetch_response
44
+ end
45
+
46
+ #Get film credits for a specific person id.
47
+ def self.movie_credits(id, conditions={})
48
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/movie_credits")
49
+ search.fetch_response
50
+ end
51
+
52
+ #Get TV credits for a specific person id.
53
+ def self.tv_credits(id, conditions={})
54
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/tv_credits")
55
+ search.fetch_response
56
+ end
57
+
58
+ #Get external ID's for a specific person id.
59
+ def self.external_ids(id, conditions={})
60
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/external_ids")
43
61
  search.fetch_response
44
62
  end
45
63
 
@@ -49,6 +67,12 @@ module Tmdb
49
67
  search.fetch_response
50
68
  end
51
69
 
70
+ #Get the tagged images for a specific person id.
71
+ def self.tagged_images(id, conditions={})
72
+ search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/tagged_images")
73
+ search.fetch_response
74
+ end
75
+
52
76
  #Get the changes for a specific person id.
53
77
  #Changes are grouped by key, and ordered by date in descending order.
54
78
  #By default, only the last 24 hours of changes are returned.
@@ -1,3 +1,3 @@
1
1
  module Tmdb
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
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: 0.0.23
4
+ version: 0.0.24
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-07-24 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty