filmbuff 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History CHANGED
@@ -1,9 +1,14 @@
1
+ == 0.1.1 2011-03-06
2
+
3
+ * minor enhancements
4
+ * Included "Readme.markdown" in released gem.
5
+
1
6
  == 0.1.0 2011-03-06
2
7
 
3
8
  * major enhancements
4
- * Rewrote everything from the ground up. A lot of unnecessary functionality
5
- has been removed.
6
- * Added RSpec tests
9
+ * Rewrote everything from the ground up. A lot of unnecessary functionality
10
+ has been removed.
11
+ * Added RSpec tests
7
12
 
8
13
  == 0.0.2 2010-09-30
9
14
 
@@ -1,3 +1,3 @@
1
1
  module Filmbuff
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,54 @@
1
+ # Film Buff - A Ruby wrapper for IMDb's JSON API
2
+
3
+ ## Description
4
+
5
+ Film Buff provides a Ruby wrapper for IMDb's JSON API, which is the fastest and easiest way to get information from IMDb.
6
+
7
+ ## Installation
8
+
9
+ ### RubyGems
10
+
11
+ You can install the latest Film Buff gem using RubyGems
12
+
13
+ gem install filmbuff
14
+
15
+ ### GitHub
16
+
17
+ Alternatively you can check out the latest code directly from Github
18
+
19
+ git clone http://github.com/sachse/filmbuff.git
20
+
21
+ ## Usage
22
+
23
+ Film Buff 0.1.0 provides two easy ways to return an object with information on a movie or TV show. First, set up an IMDb instance:
24
+
25
+ require 'filmbuff'
26
+ imdb = FilmBuff::IMDb.new
27
+
28
+ You can then find a movie by its title. This will return the first result from IMDb's search feature:
29
+
30
+ movie = imdb.find_by_title("The Wizard of Oz")
31
+
32
+ movie.title => "The Wizard of Oz"
33
+ movie.rating => 8.3
34
+ movie.genres => ["Adventure", "Comedy", "Family", "Fantasy", "Musical"]
35
+
36
+ If you know the movie's IMDb ID you can get the information as well:
37
+
38
+ movie = imdb.find_by_id("tt0032138")
39
+
40
+ movie.title => "The Wizard of Oz"
41
+ movie.rating => 8.3
42
+ movie.genres => ["Adventure", "Comedy", "Family", "Fantasy", "Musical"]
43
+
44
+ ## Authors
45
+
46
+ * [Kristoffer Sachse](http://github.com/sachse)
47
+
48
+ ## Contribute
49
+
50
+ Fork the project, implement your changes in it's own branch, and send
51
+ a pull request to me. I'll gladly consider any help or ideas.
52
+
53
+ ### Contributors
54
+ - Jon Maddox (https://github.com/maddox) inspired the 0.1.0 rewrite through the imdb_party gem.
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: filmbuff
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kristoffer Sachse
@@ -56,6 +56,7 @@ files:
56
56
  - lib/filmbuff/imdb.rb
57
57
  - lib/filmbuff/title.rb
58
58
  - lib/filmbuff/version.rb
59
+ - readme.markdown
59
60
  - spec/filmbuff/imdb_spec.rb
60
61
  - spec/filmbuff/title_spec.rb
61
62
  - spec/filmbuff_spec.rb