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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eef83d74da3e2847ab640c15a096494fd23adc71
|
4
|
+
data.tar.gz: eb2c44a7629282b0b4dd8110a3e66d47400139b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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::
|
12
|
+
result = Vagrant::Util::SafeExec.exec(
|
13
13
|
'bash',
|
14
14
|
'-c',
|
15
15
|
config.inline,
|