lib/table_saw/configuration.rb in table_saw-1.2.0 vs lib/table_saw/configuration.rb in table_saw-1.3.0

- old
+ new

@@ -1,16 +1,12 @@ # frozen_string_literal: true module TableSaw class Configuration - attr_accessor :dbname, :host, :port, :user, :password, :manifest, :output, :pool + attr_accessor :dbname, :host, :port, :user, :password, :manifest, :output def connection { dbname: dbname, host: host, port: port, user: user, password: password } - end - - def pool_size - (pool || 2).to_i end def url=(value) URI.parse(value).tap do |uri| self.dbname = uri.path[1..-1]