pg_dumper 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -2
- data/Gemfile +5 -4
- data/README.md +5 -0
- data/lib/pg_dumper/version.rb +1 -1
- data/lib/tasks/db_dump.rake +2 -2
- data/pg_dumper.gemspec +1 -1
- metadata +11 -6
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -18,3 +18,8 @@ Dumps database schema **without data**.
|
|
18
18
|
# Credits
|
19
19
|
PgDumper uses awesome [Escape](https://github.com/akr/escape) library so thanks to [Tanaka Akira](https://github.com/akr).
|
20
20
|
|
21
|
+
# Tests
|
22
|
+
|
23
|
+
Huge TODO!
|
24
|
+
|
25
|
+
But is tested on Travis against 1.8.7, ree, 1.9.2 and 1.9.3.
|
data/lib/pg_dumper/version.rb
CHANGED
data/lib/tasks/db_dump.rake
CHANGED
@@ -11,7 +11,7 @@ namespace :db do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
dump = PgDumper.new db["database"]
|
14
|
-
dump.
|
14
|
+
dump.clear!
|
15
15
|
dump.connection = db
|
16
16
|
dump.output = backup_file
|
17
17
|
dump.verbose! if ENV['VERBOSE'].present?
|
@@ -60,4 +60,4 @@ namespace :db do
|
|
60
60
|
@backup_file = file
|
61
61
|
end
|
62
62
|
end
|
63
|
-
end
|
63
|
+
end
|
data/pg_dumper.gemspec
CHANGED
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.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-10-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.8.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.8.0
|
25
30
|
description: Provides abstraction layer between pg_dump utility and ruby. Also adds
|
26
31
|
rake task to easily dump database with or without data.
|
27
32
|
email:
|
@@ -64,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
69
|
version: '0'
|
65
70
|
requirements: []
|
66
71
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
72
|
+
rubygems_version: 1.8.24
|
68
73
|
signing_key:
|
69
74
|
specification_version: 3
|
70
75
|
summary: Adds Rake tasks to easily dump postgresql database with or without data
|