vagrant-triggers 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/vagrant-triggers/dsl.rb +3 -0
- data/lib/vagrant-triggers/version.rb +1 -1
- data/spec/vagrant-triggers/dsl_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fc9e72e96c859d7a51666232ac6616d94ab1bad
|
4
|
+
data.tar.gz: 9a6582a7dba4fcf707ea943f33d1c3dd143a3a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4894efdbaa8bfadcafa9b681c5c165bccd9a8c172181874c9b627cbe9c554c8c4f2cd2da3708cb479d5e232fc9c510707a705c417f9b4f27c0f1c0a09cec29f0
|
7
|
+
data.tar.gz: b1420068c5d83aa1b67fe2958d13a20fe4305820194e1c8428744fb5d01f6d342c517fbd45e5a37052cb664015933aba1f77f4015ebf0973e443f7255ffde6d4
|
data/CHANGELOG.md
CHANGED
data/lib/vagrant-triggers/dsl.rb
CHANGED
@@ -96,6 +96,9 @@ module VagrantPlugins
|
|
96
96
|
|
97
97
|
# Add the VAGRANT_NO_TRIGGERS variable to avoid loops
|
98
98
|
ENV["VAGRANT_NO_TRIGGERS"] = "1"
|
99
|
+
|
100
|
+
# Skip the subprocess jailbreak introduced in vagrant 1.7.3
|
101
|
+
ENV["VAGRANT_SKIP_SUBPROCESS_JAILBREAK"] = "1"
|
99
102
|
end
|
100
103
|
|
101
104
|
def process_result(command, result, options)
|
@@ -106,6 +106,14 @@ describe VagrantPlugins::Triggers::DSL do
|
|
106
106
|
@dsl.run(@command)
|
107
107
|
end
|
108
108
|
|
109
|
+
it "should pass VAGRANT_SKIP_SUBPROCESS_JAILBREAK environment variable to the command" do
|
110
|
+
Vagrant::Util::Subprocess.should_receive(:execute) do |command|
|
111
|
+
expect(ENV).to have_key("VAGRANT_SKIP_SUBPROCESS_JAILBREAK")
|
112
|
+
result
|
113
|
+
end
|
114
|
+
@dsl.run(@command)
|
115
|
+
end
|
116
|
+
|
109
117
|
it "should remove escape sequences on UNIX Bourne Shell" do
|
110
118
|
command = "echo foo\\ bar"
|
111
119
|
Vagrant::Util::Subprocess.should_receive(:execute).with("echo", "foo bar", @options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-triggers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emiliano Ticci
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|