gimdb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -0
- data/VERSION +1 -1
- data/gimdb.gemspec +1 -1
- data/src/controller.rb +1 -1
- data/src/gimdb.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -60,6 +60,11 @@ Avaiable options are:
|
|
60
60
|
|
61
61
|
== Install
|
62
62
|
|
63
|
+
* sudo apt-get install ruby1.8-dev
|
64
|
+
* sudo apt-get install libxml2-dev
|
65
|
+
* sudo apt-get install libxslt1-dev
|
66
|
+
* sudo apt-get install libsqlite3-dev
|
67
|
+
* sudo apt-get install rubygems
|
63
68
|
* sudo gem install gimdb
|
64
69
|
|
65
70
|
== Support
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/gimdb.gemspec
CHANGED
data/src/controller.rb
CHANGED
@@ -27,7 +27,7 @@ module Controller
|
|
27
27
|
record = Movie.find(:first, :conditions => "code = '#{v[:code]}'")
|
28
28
|
if record.nil?
|
29
29
|
record = Movie.new(v)
|
30
|
-
options[:path] ||= "#{$
|
30
|
+
options[:path] ||= "#{$GIMDB_LOCAL_PATH}/posters/"
|
31
31
|
image_path = "#{options[:path]}#{record.code}.jpg"
|
32
32
|
if imdb.get_image(record.image_url, image_path)
|
33
33
|
record.image_path = image_path
|
data/src/gimdb.rb
CHANGED