pg_dumper 0.1.0 → 0.1.1

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.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/pg_dumper.rb CHANGED
@@ -8,10 +8,11 @@ class PgDumper
8
8
  attr_reader :database
9
9
  attr_reader :output
10
10
 
11
- def initialize database
11
+ def initialize database, binary = nil
12
12
  @database = database
13
13
  @args = []
14
14
  @options = {}
15
+ @binary = binary
15
16
  end
16
17
 
17
18
  def run(mode = :silent)
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.0
4
+ version: 0.1.1
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: &70198585003040 !ruby/object:Gem::Requirement
16
+ requirement: &70196580035200 !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: *70198585003040
24
+ version_requirements: *70196580035200
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: