pg_dumper 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class PgDumper
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/pg_dumper.rb CHANGED
@@ -69,9 +69,9 @@ class PgDumper
69
69
  end
70
70
 
71
71
  def connection= opts
72
- add_args '-p', opts['port'] if opts['port'].present?
73
- add_args '-h', opts['host'] if opts['host'].present?
74
- add_args '-U', opts['username'] if opts['host'].present?
72
+ add_args('-p', opts['port']) if opts['port']
73
+ add_args('-h', opts['host']) if opts['host']
74
+ add_args('-U', opts['username']) if opts['host']
75
75
  end
76
76
  alias :auth= :connection=
77
77
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_dumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70148566433940 !ruby/object:Gem::Requirement
16
+ requirement: &70111011892940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.7'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70148566433940
24
+ version_requirements: *70111011892940
25
25
  description: Provides abstraction layer between pg_dump utility and ruby. Also adds
26
26
  rake task to easily dump database with or without data.
27
27
  email: