psql-cm 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.md +4 -0
- data/README.md +1 -1
- data/lib/psql-cm/dump.rb +1 -1
- data/lib/psql-cm/version.rb +1 -1
- metadata +3 -2
data/History.md
CHANGED
data/README.md
CHANGED
|
@@ -44,7 +44,7 @@ psql-cm is not intended on being a solution for data backup.
|
|
|
44
44
|
For backup of data instead use the
|
|
45
45
|
[pg\_dump](http://www.postgresql.org/docs/current/static/app-pgdump.html)
|
|
46
46
|
command line utility for backing up data in addition to a
|
|
47
|
-
[
|
|
47
|
+
[replication](http://www.postgresql.org/docs/current/static/different-replication-solutions.html)
|
|
48
48
|
technique tailored to your needs.
|
|
49
49
|
|
|
50
50
|
## The process
|
data/lib/psql-cm/dump.rb
CHANGED
|
@@ -14,7 +14,7 @@ module PSQLCM
|
|
|
14
14
|
|
|
15
15
|
cm_file = File.join(sql_path,database,"#{schema}.sql")
|
|
16
16
|
|
|
17
|
-
sh %W[ pg_dump #{db(database).psql_args}
|
|
17
|
+
sh %W[ pg_dump #{db(database).psql_args}
|
|
18
18
|
--schema=#{schema} --file=#{cm_file}
|
|
19
19
|
--table=#{schema}.#{config.cm_table} #{database}
|
|
20
20
|
].join(' ')
|
data/lib/psql-cm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: psql-cm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-05-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pg
|
|
@@ -73,3 +73,4 @@ signing_key:
|
|
|
73
73
|
specification_version: 3
|
|
74
74
|
summary: PostgreSQL CM
|
|
75
75
|
test_files: []
|
|
76
|
+
has_rdoc:
|