lib/sane.rb in sane-0.19.1 vs lib/sane.rb in sane-0.20.0

- old
+ new

@@ -1,22 +1,23 @@ # require some "necessary" other gems # shouldn't need this next line # require 'rubygems' if RUBY_VERSION < '1.9' # for the other requires -require 'require_all' # for require_rel require 'os' require 'andand' -require_rel 'sane' # now require all files in sub directory +for file in Dir[File.dirname(__FILE__) + '/sane/*'] do + require file +end class Sane # helper for installing it locally on 1.8 # if you want to be able to use it without rubygems # except, then you'll still need rubygems anyway... # I hate 1.8 def self.install_local! if RUBY_VERSION >= '1.9' - raise 'you dont need to install local for 1.9!' + raise 'you dont need to install local for 1.9!' end require 'fileutils' require 'rbconfig' Dir.chdir File.dirname(__FILE__) do