bosh-stemcell 1.2605.0 → 1.2606.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,8 @@ module SpecInfra::Backend
|
|
32
32
|
def run_command(cmd, opts={})
|
33
33
|
cmd = build_command(cmd)
|
34
34
|
cmd = add_pre_command(cmd)
|
35
|
-
|
35
|
+
# In ruby 1.9, it is possible to use Open3.capture3, but not in 1.8
|
36
|
+
# stdout, stderr, status = Open3.capture3(cmd)
|
36
37
|
|
37
38
|
if use_chroot?
|
38
39
|
chroot_stdout = `#{chroot_cmd(cmd)} 2>&1`
|
@@ -43,12 +44,10 @@ module SpecInfra::Backend
|
|
43
44
|
stdout = run_with_no_ruby_environment { `#{cmd} 2>&1` }
|
44
45
|
exit_status = $?.exitstatus
|
45
46
|
end
|
46
|
-
# In ruby 1.9, it is possible to use Open3.capture3, but not in 1.8
|
47
|
-
#stdout, stderr, status = Open3.capture3(cmd)
|
48
47
|
|
49
48
|
if @example
|
50
49
|
@example.metadata[:command] = cmd
|
51
|
-
@example.metadata[:stdout]
|
50
|
+
@example.metadata[:stdout] = stdout
|
52
51
|
end
|
53
52
|
|
54
53
|
CommandResult.new :stdout => stdout, :exit_status => exit_status
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2606.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_aws_cpi
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.2606.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.2606.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: fakefs
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
segments:
|
190
190
|
- 0
|
191
|
-
hash:
|
191
|
+
hash: 2320823509088933453
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
194
|
rubygems_version: 1.8.23.2
|