lib/pg_dumper.rb in pg_dumper-0.1.4 vs lib/pg_dumper.rb in pg_dumper-0.1.5
- old
+ new
@@ -48,10 +48,10 @@
add_args "-a", '--disable-triggers'
add_args '-T', 'schema_migrations'
end
def compress! level=9
- add_args '-Z', level if level.present?
+ add_args '-Z', level if level
end
def verbose!
@stderr = nil
add_args "-v"