serverspec-runner 1.1.2 → 1.1.3

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: b1953a1b6b09efe7ed378356a5aecef8c48caa6c
4
- data.tar.gz: a542a385753d809871518ed73dffa8083e421a41
3
+ metadata.gz: 3fc65dee30ff334a944d2a893fc0e6b356a8d1f9
4
+ data.tar.gz: 027e00d0dad0b931e4acaa85eed73f42ae34a8fc
5
5
  SHA512:
6
- metadata.gz: eb4c59509232ea341466c7e43fb5f7c3e8a27e8081926210d00ddfe9c0a62ca9fa55d2d5950658ad2393282b4050fb30336f46577a65328e795ea10cb8f55f88
7
- data.tar.gz: da6a4fdb9d4094cf2fee656430356fccaa1727acfc53e32381b8abe9a6c7be1e7911d208fa384607fc775e0686fc33c4fd9881347de7c567e183beb83b7bce7c
6
+ metadata.gz: ebda9b9bcd682f8a4d75debf18d0c1484e5ca791e1a0c33108f0e1e56a15859e9d0919c51873dc3c91ba7f88c490062c10d47b3f91d133106c8b6359a0c550ca
7
+ data.tar.gz: bc87aa143f2659f41022a6c11b45ff1aa0bf9b55556b879aef34967e84212ffbd756d59c1b5bc5a9217bc1dd59b50a8a3f72d0c15d4eafcd8d8ba3f8b9e080c4
data/Rakefile CHANGED
@@ -14,9 +14,17 @@ namespace :spec do
14
14
 
15
15
  ENV['EXEC_PATH'] = '/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin'
16
16
 
17
- ENV['specroot'] = ENV['specroot'] || "."
18
- ENV['specpath'] = "#{ENV['specroot']}/spec"
17
+ if ENV['specroot'] == nil
18
+ if ENV['scenario'] != nil
19
+ ENV['specroot'] = "#{File.dirname(ENV['scenario'])}"
20
+ else
21
+ ENV['specroot'] = '.'
22
+ end
23
+ end
24
+
25
+ Dir.chdir(ENV['specroot'])
19
26
 
27
+ ENV['specpath'] = "#{ENV['specroot']}/spec"
20
28
  ENV['ssh_options'] = ENV['ssh_options'] || "#{ENV['specroot']}/ssh_options_default.yml" || "#{File.dirname(__FILE__)}/ssh_options_default.yml"
21
29
  ENV['ssh_options'] = "#{File.dirname(__FILE__)}/ssh_options_default.yml" unless File.exists?(ENV['ssh_options'])
22
30
  ssh_options = YAML.load_file(ENV['ssh_options'])
@@ -1,3 +1,3 @@
1
1
  module ServerspecRunner
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-08 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.2.2
133
+ rubygems_version: 2.4.2
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: simple execution framework for serverspec