lib/table_saw/configuration.rb in table_saw-3.1.0 vs lib/table_saw/configuration.rb in table_saw-3.2.0

- old
+ new

@@ -4,10 +4,10 @@ class Configuration attr_writer :variables attr_accessor :dbname, :host, :port, :user, :password, :manifest, :output, :format def connection - { dbname: dbname, host: host, port: port, user: user, password: password } + { adapter: 'postgresql', database: dbname, host:, port:, username: user, password: } end def url=(value) URI.parse(value).tap do |uri| self.dbname = uri.path[1..]