lib/pg_dumper.rb in pg_dumper-0.1.2 vs lib/pg_dumper.rb in pg_dumper-0.1.3
- old
+ new
@@ -71,9 +71,10 @@
def connection= opts
add_args '-p', opts['port'] if opts['port'].present?
add_args '-h', opts['host'] if opts['host'].present?
add_args '-U', opts['username'] if opts['host'].present?
end
+ alias :auth= :connection=
def output= filename
@output = filename
end