imdb 0.6.0 → 0.6.1
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.
- data/VERSION +1 -1
- data/imdb.gemspec +2 -2
- data/lib/imdb.rb +1 -1
- data/lib/imdb/cli.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.1
|
data/imdb.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{imdb}
|
|
8
|
-
s.version = "0.6.
|
|
8
|
+
s.version = "0.6.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ariejan de Vroom"]
|
|
12
|
-
s.date = %q{2009-12-
|
|
12
|
+
s.date = %q{2009-12-08}
|
|
13
13
|
s.default_executable = %q{imdb}
|
|
14
14
|
s.description = %q{Easily use Ruby or the command line to find information on IMDB.com.}
|
|
15
15
|
s.email = %q{ariejan@ariejan.net}
|
data/lib/imdb.rb
CHANGED
data/lib/imdb/cli.rb
CHANGED
|
@@ -49,7 +49,7 @@ Usage: #{File.basename($0)} Search Query
|
|
|
49
49
|
movie, search = nil, nil
|
|
50
50
|
|
|
51
51
|
# If ID, fetch movie
|
|
52
|
-
if query.match(/(\d\d\d\d\d\d\d)/) || query.downcase.match(/^http:\/\/www.imdb.com\/title\/tt(.+)\/$/)
|
|
52
|
+
if query.match(/(\d\d\d\d\d\d\d)/) || query.downcase.match(/^http:\/\/[www.]*imdb.com\/title\/tt(.+)\/$/)
|
|
53
53
|
fetch_movie($1)
|
|
54
54
|
else
|
|
55
55
|
search_movie(query)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ariejan de Vroom
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-12-
|
|
12
|
+
date: 2009-12-08 00:00:00 +01:00
|
|
13
13
|
default_executable: imdb
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|