capistrano-shortcuts 0.6.0 → 0.6.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bfef9df77ac8d4fd5751d55a9c341f2e0cd2ec8
4
- data.tar.gz: 4f87c0123b6a2982dfa748aa902e4a9fedea82df
3
+ metadata.gz: 9013af032f3b5bf35417397388819b1675044e5b
4
+ data.tar.gz: ef8a5ff9d741326842bb01abef8cbbcf5adf33f0
5
5
  SHA512:
6
- metadata.gz: f22077f51a320def3ff627ee7a7aabbcbc2b235f16989dc5967cc6741c123aef96084f01370f7692707cbf487ea9f42b2177f003b1a941762d50be426017eba8
7
- data.tar.gz: 5a56b127f3ba623666caa4ff4b2f40d86314f3cd63ade79713471f481004acc5d44454e1a2fff1552d517c618c18ad228bb46fbd944ea16d26ed2dbea39caf33
6
+ metadata.gz: 824b2979f951aad98089840f7af147fc28bca558d7a47ae94ad0f5abb5b36797ba1a8c1994fc2ccb3e9cef66245bd6644c126429d1076ec8d9839d140987519e
7
+ data.tar.gz: c6de0aeed3965dc8e31fef26b80bb7528c840d06f61cad746e98f19aaf8ba866e91b406d72c44af18ce38811cf2e79637449b4fb02969b2023e0f885a961cb47
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-shortcuts (0.6.0)
4
+ capistrano-shortcuts (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -47,8 +47,11 @@ namespace :db do
47
47
  task :push_db do
48
48
 
49
49
  if freeze_production and fetch(:rails_env) == 'production'
50
- raise "By default, I won't push the local database to production. To override this protection add this to deploy.rb:\nset :production_protected, false'
51
- "
50
+ run_locally do
51
+ execute("rm #{dump_file}.gz")
52
+ raise "By default, I won't push the local database to production. To override this protection add this to deploy.rb:\n" +
53
+ "set :production_protected, false'"
54
+ end
52
55
  end
53
56
  run_locally do
54
57
  if db_config[fetch(:rails_env)]['host'].nil?
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Shortcuts
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-shortcuts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Gehman