royw-imdb 0.0.16 → 0.0.17

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.
Files changed (3) hide show
  1. data/README +28 -2
  2. data/lib/imdb.rb +3 -1
  3. metadata +2 -2
data/README CHANGED
@@ -84,6 +84,32 @@ String unescape_html
84
84
  String strip_tags
85
85
  - should strip HTML tags
86
86
 
87
- Finished in 3.605632 seconds
87
+ ImdbProfile
88
+ - should find by imdb_id that is prefixed with a 'tt'
89
+ - should find by imdb_id that is not prefixed with 'tt'
90
+ - should find by single title
91
+ - should find by multiple title
92
+ - should find by multiple title embedded in arrays
93
+ - should find by AKA title
94
+ - should find multiple versions of The Alamo
95
+ - should find the two versions of The Alamo that we are interested in
96
+ - should find John Wayne's The Alamo by title with media year
97
+ - should find John Lee Hancock's The Alamo by title with media year
98
+ - should find John Wayne's The Alamo by title with production year
99
+ - should find John Lee Hancock's The Alamo by title with production year
100
+ - should find John Wayne's The Alamo by title with released year
101
+ - should find John Lee Hancock's The Alamo by title with released year
102
+ - should not find John Wayne's The Alamo by title with the media year off by a year
103
+ - should find John Wayne's The Alamo by title with the production year off by a year
104
+ - should find John Wayne's The Alamo by title with the released year off by a year
105
+ - should not find John Wayne's The Alamo by title with the production year off by two years
106
+ - should not find John Wayne's The Alamo by title with the released year off by two years
107
+ - should be able to convert to xml and then from xml
108
+ - should not create a file if a :filespec option is passed that is nil
109
+ - should create a file if a :filespec option is passed
110
+ - should load from a file if a :filespec option is passed and the file exists
111
+ - should not load from a file if a :filespec option is passed and the file does not exists
88
112
 
89
- 61 examples, 0 failures
113
+ Finished in 9.20481 seconds
114
+
115
+ 85 examples, 0 failures
data/lib/imdb.rb CHANGED
@@ -1,12 +1,14 @@
1
+ require 'rubygems'
1
2
  require 'open-uri'
2
3
  require 'date'
3
4
  require 'cgi'
4
- require 'rubygems'
5
5
  require 'hpricot'
6
6
  require 'chronic'
7
+ require 'ruby-debug'
7
8
 
8
9
  require File.dirname(__FILE__) + '/imdb/imdb_search'
9
10
  require File.dirname(__FILE__) + '/imdb/imdb_movie'
11
+ require File.dirname(__FILE__) + '/imdb/imdb_profile'
10
12
  require File.dirname(__FILE__) + '/imdb/imdb_image'
11
13
  require File.dirname(__FILE__) + '/string_extensions'
12
14
  require File.dirname(__FILE__) + '/file_extensions'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: royw-imdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Gil
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-01 00:00:00 -07:00
12
+ date: 2009-04-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency