Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README

  • Loading branch information...
commit a142b12a53ed18bf6d82fa1e49347126bb05bc47 1 parent 8612b69
Mustafa Yalçın Açıkyıldız authored
Showing with 43 additions and 37 deletions.
  1. +40 −34 README.md
  2. +3 −3 ruby-imdb.gemspec
74 README.md
View
@@ -1,54 +1,60 @@
-== Welcome to Ruby IMDB
+Welcome to Ruby IMDB
+--------------------
ruby-imdb is IMDB parsing library for Ruby.
-== Features
+Features
+--------
- * Dynamic Caching with MongoDB backend
- * Object Oriented design
- * Fast access to data
+- Dynamic Caching with MongoDB backend
+- Object Oriented design
+- Fast access to data
-== Download
+Download
+--------
- * [sudo] gem i ruby-imdb
- * http://github.com/yalcin/ruby-imdb
- * git clone git://github.com/yalcin/ruby-imdb.git
+- [sudo] gem i ruby-imdb
+- http://github.com/yalcin/ruby-imdb
+- git clone git://github.com/yalcin/ruby-imdb.git
-== Enable caching
+Enable caching
+--------------
-require 'rubygems'
-require 'imdb'
+ require 'rubygems'
+ require 'imdb'
-IMDB::Configuration.caching = true
-IMDB::Configuration.db(:hostname => "localhost", :database => "imdb")
+ IMDB::Configuration.caching = true
+ IMDB::Configuration.db(:hostname => "localhost", :database => "imdb")
-== Usage
+Usage
+-----
+ require 'rubygems'
+ require 'imdb'
-require 'rubygems'
-require 'imdb'
+ s = IMDB::Search.new
+ s.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
-s = IMDB::Search.new
-s.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
-movie = IMDB::Movie.new('0120669')
-p movie.poster
-
-== Examples
+Examples
+--------
Are Under features directory
-== Authors
- * Yalcin ACIKYILDIZ (mailto:yalcin@webliyacelebi.com)
+Authors
+-------
+- Yalcin ACIKYILDIZ (mailto:yalcin@webliyacelebi.com)
This library is released under the terms of the GNU/GPL.
6 ruby-imdb.gemspec
View
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{ruby-imdb}
- s.version = "0.7.2"
+ s.version = "0.7.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Yalcin Acikyildiz"]
@@ -14,12 +14,12 @@ Gem::Specification.new do |s|
s.email = %q{yalcin@webliyacelebi.com}
s.extra_rdoc_files = [
"LICENSE",
- "README"
+ "README.md"
]
s.files = [
".gitignore",
"LICENSE",
- "README",
+ "README.md",
"Rakefile",
"VERSION",
"features/movie.feature",
Please sign in to comment.
Something went wrong with that request. Please try again.