vagrant-triggers 0.5.1 → 0.5.2

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: eab5f910be37b40cbc9319586e7c0c5e4f2248a0
4
- data.tar.gz: 998cad1f949056e3632426d3df13a237f4fa8371
3
+ metadata.gz: 2fc9e72e96c859d7a51666232ac6616d94ab1bad
4
+ data.tar.gz: 9a6582a7dba4fcf707ea943f33d1c3dd143a3a3f
5
5
  SHA512:
6
- metadata.gz: baa61783466b63533d4c13aa9377998bb8333d25b16824e9026e188714ff508cabe44f3df713b1f80ddcecb5613c3a042f5ba546cf415383706a5cabade943ec
7
- data.tar.gz: 9d40978b228fe256578e62b4f1f8935f59f31b316c6abbba4e230ad675dfd2ea59fa523d4697ff58cd32c31a4b057bb7dce7866630214d64eb702a0fdb4c2802
6
+ metadata.gz: 4894efdbaa8bfadcafa9b681c5c165bccd9a8c172181874c9b627cbe9c554c8c4f2cd2da3708cb479d5e232fc9c510707a705c417f9b4f27c0f1c0a09cec29f0
7
+ data.tar.gz: b1420068c5d83aa1b67fe2958d13a20fe4305820194e1c8428744fb5d01f6d342c517fbd45e5a37052cb664015933aba1f77f4015ebf0973e443f7255ffde6d4
@@ -1,3 +1,9 @@
1
+ ## 0.5.2 (September 9, 2015)
2
+
3
+ BUG FIXES:
4
+
5
+ - Skip subprocess jailbreak introduced in Vagrant 1.7.3 [(#52)](https://github.com/emyl/vagrant-triggers/issues/52)
6
+
1
7
  ## 0.5.1 (August 3, 2015)
2
8
 
3
9
  BUG FIXES:
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Triggers
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
@@ -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.1
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-03 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler