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 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.2
1
+ 0.0.3
data/gimdb.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gimdb}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Enrico Pilotto"]
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] ||= "#{$GIMDB_PATH}/posters/"
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
@@ -6,7 +6,7 @@ rescue LoadError => e
6
6
  puts "You must install 'gtk2' to run this program."
7
7
  puts "If you are using Debian/GNU Linux you can install it with:"
8
8
  puts ""
9
- puts " apt-get install libgnome2-ruby"
9
+ puts " apt-get install libgtk2-ruby"
10
10
  puts ""
11
11
  exit -1
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gimdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Pilotto