Permalink
Browse files

GNU/GPL License, README

  • Loading branch information...
1 parent 9d99bac commit 257cb0265effd07d6e93eaa6a2d97778d34ac776 @yalcin committed Apr 27, 2010
Showing with 698 additions and 16 deletions.
  1. +674 −0 LICENSE
  2. +23 −0 README
  3. +0 −15 lib/imdb.rb
  4. +1 −1 ruby-imdb.gemspec
View
View
@@ -0,0 +1,23 @@
+Installation
+-------------
+[sudo] gem i ruby-imdb
+
+
+example:
+
+require 'rubygems'
+require 'imdb'
+
+IMDB::Search.movie("fear and loathing in las vegas").each do
+ |result|
+ movie = IMDB::Movie.new(result.id)
+ p movie.title
+ movie.cast.each do
+ |cast|
+ p "#{cast.name} as #{cast.char}"
+ end
+ p movie.poster
+end
+
+movie = IMDB::Movie.new('0120669')
+p movie.poster
View
@@ -6,18 +6,3 @@
require "imdb/search"
require "imdb/movie"
require "imdb/person"
-
-#IMDB::Search.movie("fight club").each do
-# |result|
-# movie = IMDB::Movie.new(result.id)
-# p movie.title
-# movie.cast.each do
-# |cast|
-# p "#{cast.name} as #{cast.char}"
-# end
-# p movie.poster
-#end
-
-#movie = IMDB::Movie.new('0133093')
-#p movie.poster
-
View
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{ruby-imdb}
- s.version = "0.0.3"
+ s.version = "0.1.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Yalcin Acikyildiz"]

0 comments on commit 257cb02

Please sign in to comment.