tmdb_trailer 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,9 @@
1
1
  = tmdb_trailer
2
2
 
3
3
  == Installation
4
+
5
+ Install mongoDB - http://www.mongodb.org/
6
+
4
7
  gem install tmdb_trailer
5
8
 
6
9
  == Examples
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
data/lib/tmdb_trailer.rb CHANGED
@@ -121,7 +121,7 @@ module TMDB
121
121
  def get_extra_info(id)
122
122
  genres = []
123
123
  keywords = []
124
- url = "http://api.themoviedb.org/2.1/Movie.getInfo/en/json/eb2786a326c9258f0bf9ad9ccb2876b5/#{id}"
124
+ url = "http://api.themoviedb.org/2.1/Movie.getInfo/en/json/#{API_KEY}/#{id}"
125
125
  s = open(url).read
126
126
  res = JSON.parse(s)
127
127
  trailer = res[0]["trailer"] if res[0]["trailer"]
data/tmdb_trailer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tmdb_trailer}
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["redgetan"]
12
- s.date = %q{2011-02-13}
12
+ s.date = %q{2011-02-14}
13
13
  s.description = %q{ Movie Trailer information will be stored in mongoDB. Information includes year released, movie genres, keywords, and country}
14
14
  s.email = %q{redge.tan@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmdb_trailer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - redgetan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-13 00:00:00 -05:00
18
+ date: 2011-02-14 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency