bosh-stemcell 1.5.0.pre.1657 → 1.1722.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Stemcell
3
- VERSION = '1.5.0.pre.1657'
3
+ VERSION = '1.1722.0'
4
4
  end
5
- end
5
+ end
@@ -1,10 +1,14 @@
1
1
  # rubocop:disable all
2
2
  # => disabling rubocop to preserve original style
3
3
  require 'serverspec'
4
+ require 'serverspec/helper/backend'
4
5
  require 'pathname'
5
6
 
6
- raise "Unexpected Serverspec version #{Serverspec::VERSION}" unless Serverspec::VERSION == '0.7.10'
7
- module Serverspec::Backend
7
+ unless Serverspec::VERSION == '0.13.7'
8
+ raise "Unexpected Serverspec version #{Serverspec::VERSION}"
9
+ end
10
+
11
+ module SpecInfra::Backend
8
12
  class Exec
9
13
  # ORIGINAL
10
14
  #def run_command(cmd, opts={})
@@ -76,11 +80,13 @@ module Serverspec::Backend
76
80
  end
77
81
 
78
82
  def chroot_cmd(cmd)
83
+ #quoting command so $ will not be interpreted by shell
84
+ quoted_cmd = cmd.gsub('$', '\$')
79
85
  %Q{
80
86
  sudo chroot #{chroot_dir} /bin/bash <<CHROOT_CMD
81
- #{cmd} 2>&1; echo #{exit_code_token}\\$?
87
+ #{quoted_cmd} 2>&1; echo #{exit_code_token}\\$?
82
88
  CHROOT_CMD
83
89
  }
84
90
  end
85
91
  end
86
- end
92
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-stemcell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.pre.1657
5
- prerelease: 6
4
+ version: 1.1722.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Pivotal
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-27 00:00:00.000000000 Z
12
+ date: 2014-01-04 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.5.0.pre.1657
21
+ version: 1.1722.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.5.0.pre.1657
29
+ version: 1.1722.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: fakefs
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
- name: rspec-fire
79
+ name: rspec-its
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
@@ -177,9 +177,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements:
180
- - - ! '>'
180
+ - - ! '>='
181
181
  - !ruby/object:Gem::Version
182
- version: 1.3.1
182
+ version: '0'
183
+ segments:
184
+ - 0
185
+ hash: -3360736965549516063
183
186
  requirements: []
184
187
  rubyforge_project:
185
188
  rubygems_version: 1.8.23