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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdcf105840d27767bf46b07b254bed58e57f384f
4
- data.tar.gz: 656e12861763f1a53048840ddbc9c3b6d56bafb4
3
+ metadata.gz: d56a4549a56ab81f4603db543ad8b314dcbed380
4
+ data.tar.gz: 46fc3748f00f072c092dc4adcee9394d3777ea8c
5
5
  SHA512:
6
- metadata.gz: f3dd96c264f9ccde33739b97fb7b0c265c4d145613ef096a17b58e6c04c852786f664ff2ed7101d35ca44f850d22eaed40e694ce2a6de37f03a955fab7875091
7
- data.tar.gz: '09da85be23c9f2747045811c439ebea7cc1da5fd173eda84b2a19ce9711747d75b6f93c2e769dca8a9325cb051f8548944aadfa70ed814fe308e66dc1ac64670'
6
+ metadata.gz: 53349540c11a68a7d7b27e4847de0f2e30b0c914e78ee772d94a633528f0e323a54208238cfca2e35a6a54fbbdd8c3519a3d717db0038e2555de95853bf8b2c2
7
+ data.tar.gz: '018bac2b4acae0ed9743023e7734ebfa87c58dadda083f79ba1a7446318e37529387bc6f3137a98c82ea12d760b623476d6f0d0c5f058cd7996bc3627f1fcf0b'
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'capistrano-db-pull'
5
- s.version = '0.0.5'
5
+ s.version = '0.0.6'
6
6
  s.licenses = ['BSD-2-Clause']
7
7
 
8
8
  s.summary = 'Download remote database to local database'
@@ -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(:stage) || 'production')
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.5
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-01 00:00:00.000000000 Z
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