vagrant-capistrano-push 0.0.11 → 0.0.12

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: a6948af53922873fb4ee279daadb2b350a2be05f
4
- data.tar.gz: c1c04abfeb047e77916d39f124e8f49c41dd3495
3
+ metadata.gz: eef83d74da3e2847ab640c15a096494fd23adc71
4
+ data.tar.gz: eb2c44a7629282b0b4dd8110a3e66d47400139b3
5
5
  SHA512:
6
- metadata.gz: da192d831365b43061f1b6de12a97b6f73c5b5393088dc8482b4ea2bdb2b9eddbc9adbd20f895f6b2da3cc67b5e26b888627f0d206c8226c442348bdde5da323
7
- data.tar.gz: f26fc31837cd2ef3511e30ffbf7dd7a6eee71ad2c5e772d88b984ab23d4c21e00a37c0838d5280466567f7c93d96e57124817719822d91c2c92dea0e8fa683ae
6
+ metadata.gz: d139e3f27860f98dd09ea5ef5f2e9e75c2c7a16fc47c732a813d188d40582353cd0fd94c79cb8c1d6763243bc90e97f82312d8588e6cdcdbb675fbff86ce4eea
7
+ data.tar.gz: 418c10574b35485874852ac8a74eba5c2b978d3b0375b283ffa83237cdac55edf93b545200f3f836529b5626ed37de060826ccf586d90a28447a1c280ed60f42
@@ -4,14 +4,10 @@ rescue LoadError
4
4
  raise "The Vagrant capistrano-push plugin must be run within Vagrant."
5
5
  end
6
6
 
7
- # This is a sanity check to make sure no one is attempting to install
8
- # this into an early Vagrant version.
9
- if Vagrant::VERSION < "1.2.0"
10
- raise "The Vagrant capistrano-push plugin is only compatible with Vagrant 1.2+"
11
- end
12
-
13
7
  module VagrantPlugins
14
8
  module CapistranoPush
9
+ autoload :Errors, File.expand_path("../errors", __FILE__)
10
+
15
11
  class Plugin < Vagrant.plugin("2")
16
12
  name "capistrano"
17
13
  description <<-DESC
@@ -9,7 +9,7 @@ module VagrantPlugins
9
9
  # Capistrano is not part of the current Vagrant bundle, so it needs to run
10
10
  # in the context of the system.
11
11
  Vagrant::Util::Env.with_clean_env do
12
- result = Vagrant::Util::Subprocess.execute(
12
+ result = Vagrant::Util::SafeExec.exec(
13
13
  'bash',
14
14
  '-c',
15
15
  config.inline,
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module CapistranoPush
3
- VERSION = '0.0.11'
3
+ VERSION = '0.0.12'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-capistrano-push
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner