lib/taps/config.rb in taps2-0.5.5 vs lib/taps/config.rb in taps2-0.6.0

- old
+ new

@@ -20,11 +20,11 @@ class << self attr_accessor :taps_database_url attr_accessor :login, :password, :database_url, :remote_url attr_accessor :chunksize - def verify_database_url(db_url=nil) - db_url ||= self.database_url + def verify_database_url(db_url = nil) + db_url ||= database_url db = Sequel.connect(db_url) db.tables db.disconnect rescue Object => e puts "Failed to connect to database:\n #{e.class} -> #{e}"