themoviedb 0.0.8 → 0.0.9

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.
@@ -1,14 +1,14 @@
1
1
  require 'rubygems'
2
2
  require 'httparty'
3
3
 
4
- ["api","search","resource", "configuration"].each do |inc|
4
+ ["api", "search", "resource", "configuration"].each do |inc|
5
5
  require File.join(File.dirname(__FILE__), "themoviedb", inc)
6
6
  end
7
7
 
8
- ["movie", "collection", "people", "company", "genre"].each do |inc|
8
+ ["movie", "tv", "season", "episode", "collection", "people", "company", "genre"].each do |inc|
9
9
  require File.join(File.dirname(__FILE__), "themoviedb", inc)
10
10
  end
11
11
 
12
12
  module Tmdb
13
- VERSION = "0.0.8"
13
+ VERSION = "0.0.9"
14
14
  end
@@ -16,6 +16,8 @@ module Tmdb
16
16
  @resource = '/search/movie'
17
17
  elsif resource == 'collection' then
18
18
  @resource = '/search/collection'
19
+ elsif resource == 'tv' then
20
+ @resource = '/search/tv'
19
21
  elsif resource == 'person' then
20
22
  @resource = '/search/person'
21
23
  elsif resource == 'list' then
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.8
4
+ version: 0.0.9
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-09-20 00:00:00.000000000 Z
12
+ date: 2013-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty