serverspec-runner 1.2.0 → 1.2.1

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: 19179211dd67128be5bcd4c9892fb59632e71b31
4
- data.tar.gz: 3d0d1abab1f51d273aa4ed93e7e785a13303f67e
3
+ metadata.gz: dddf2039381eafbc9a672461f7e9ae2e8c26a5d8
4
+ data.tar.gz: bbb0efcef02a8dfac43fef77767c408788495e8f
5
5
  SHA512:
6
- metadata.gz: 9e195c8cb69548627a9baeaca8eab29166e070d14db701c3400caaf554853b181bdc5afccdd400b2aac963d885895f96ef972d3835fbabb94f39bdb9074ea05e
7
- data.tar.gz: 2067415539b7ed1723e8bdddd4f02f27c974f568298ee059ce64abb78f880dbca96facfde6cbbb6d075ceaea0b3648f0e941e0a5331119fc9b4e8b5f42af9213
6
+ metadata.gz: cf14a4d5bd9dcfb9c28105ee86ff541a6a33e6cae77039c64034503af82035e53ccc275f536bb1b38945018e359aeadbb8003f9ea52aa766551ca4b035065a5a
7
+ data.tar.gz: eb5c8530db352c11bdf214af23a3f36f8f8a069c7547e5dfeae91f4197561474a240c44e9657efc4ba0d34a3b5ba623b98d6f8e550a4cbb603b36caab789b8ee
@@ -1,3 +1,3 @@
1
1
  module ServerspecRunner
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/scenario.yml CHANGED
@@ -1,12 +1,12 @@
1
1
  #
2
- # role_1:
3
- # role_detail_1:
2
+ # test_dir_top:
3
+ # test_dir_second_1:
4
4
  # - ssh-access-host-or-symbol
5
5
  # - :
6
- # role_detail_2:
6
+ # role_dir_second_2:
7
7
  # - :
8
8
  # :
9
- # role_2:
9
+ # test_dir_hierarchies:
10
10
  # :
11
11
  # ---
12
12
  # ssh-access-host-or-symbol:
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'serverspec'
2
2
  require 'pathname'
3
3
  require 'net/ssh'
4
+ require 'net/ssh/proxy/command'
4
5
  require 'yaml'
5
6
  require 'csv'
6
7
  require 'serverspec-runner/util/hash'
@@ -56,6 +57,7 @@ RSpec.configure do |c|
56
57
  options = Net::SSH::Config.for(c.host, files=["~/.ssh/config"])
57
58
  ssh_opts ||= ssh_opts_default
58
59
  property[:ssh_opts].each { |k, v| ssh_opts[k.to_sym] = v } if property[:ssh_opts]
60
+ ssh_opts[:proxy] = Kernel.eval(ssh_opts[:proxy]) if ssh_opts[:proxy]
59
61
  user = options[:user] || ssh_opts[:user] || Etc.getlogin
60
62
  options.merge!(ssh_opts)
61
63
  set :ssh_options, options
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serverspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-ssh
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.3'
83
83
  description: simple execution framework for serverspec
@@ -88,9 +88,9 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - ".gitignore"
92
- - ".rspec"
93
- - ".travis.yml"
91
+ - .gitignore
92
+ - .rspec
93
+ - .travis.yml
94
94
  - Gemfile
95
95
  - LICENSE
96
96
  - README.md
@@ -120,12 +120,12 @@ require_paths:
120
120
  - lib
121
121
  required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ">="
123
+ - - '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">="
128
+ - - '>='
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []