capistrano-db-pull 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-db-pull.gemspec +1 -1
- data/lib/capistrano/tasks/db-pull.rake +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d56a4549a56ab81f4603db543ad8b314dcbed380
|
4
|
+
data.tar.gz: 46fc3748f00f072c092dc4adcee9394d3777ea8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: 53349540c11a68a7d7b27e4847de0f2e30b0c914e78ee772d94a633528f0e323a54208238cfca2e35a6a54fbbdd8c3519a3d717db0038e2555de95853bf8b2c2
|
7
|
+
data.tar.gz: '018bac2b4acae0ed9743023e7734ebfa87c58dadda083f79ba1a7446318e37529387bc6f3137a98c82ea12d760b623476d6f0d0c5f058cd7996bc3627f1fcf0b'
|
data/capistrano-db-pull.gemspec
CHANGED
@@ -4,7 +4,7 @@ namespace :db do
|
|
4
4
|
local = Application::Local.new(self)
|
5
5
|
|
6
6
|
on roles(:db) do
|
7
|
-
remote = Application::Remote.new(self, fetch(:
|
7
|
+
remote = Application::Remote.new(self, fetch(:rails_env) || 'production')
|
8
8
|
if remote.postgresql? && local.postgresql?
|
9
9
|
execute "pg_dump --no-owner #{remote.database} | gzip -9 > #{fetch(:application)}.sql.gz"
|
10
10
|
elsif remote.postgresql? && local.sqlite3?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-db-pull
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Groeneveld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
64
|
rubyforge_project:
|
65
|
-
rubygems_version: 2.6.14
|
65
|
+
rubygems_version: 2.6.14.1
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Download remote database to local database
|