pg_backup 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_backup/tasks/capistrano.rake +2 -2
- data/lib/pg_backup/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8af56d1b65118f8aa9b6a5ad0c3b97b061f1068
|
4
|
+
data.tar.gz: 02bfc00a354b6af4257869d6ffd3d09d75ababaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a946f1a796e475019242bffa5079c5b5d9ff0733ddd2ad8afa5583f07fb64b5c1398c6391aadeed6e814b2d80447bd7bd11b0a82b1bc53829cc70c5d7062cc
|
7
|
+
data.tar.gz: 218f213b67533a2958c7e5867637be73ee4ce60b9a91413b9d04f5ff3e73ddcca5f6bf4a34f7363234624b12bdcfcba940dc2b80348585bc61cbb5b2c7bd0a83
|
@@ -14,7 +14,7 @@ namespace :pg_backup do
|
|
14
14
|
task :load do
|
15
15
|
on roles(:app) do
|
16
16
|
within current_path do
|
17
|
-
with rails_env: fetch(:environment),
|
17
|
+
with rails_env: fetch(:environment), pg_dump_dir: fetch(:pg_backup_remote_dump_dir) do
|
18
18
|
ask :answer, "Are you sure? This overwrites the '#{fetch(:environment)}' database! Type 'YES' if you want to continue..."
|
19
19
|
if fetch(:answer) == "YES"
|
20
20
|
rake "pg_backup:dump:load"
|
@@ -30,7 +30,7 @@ namespace :pg_backup do
|
|
30
30
|
task :create do
|
31
31
|
on roles(:app) do
|
32
32
|
within current_path do
|
33
|
-
with rails_env: fetch(:environment),
|
33
|
+
with rails_env: fetch(:environment), pg_dump_dir: fetch(:pg_backup_remote_dump_dir) do
|
34
34
|
rake "pg_backup:dump:create"
|
35
35
|
end
|
36
36
|
end
|
data/lib/pg_backup/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Geissler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|