serverspec 0.11.0 → 0.11.1
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 +4 -4
- data/lib/serverspec/setup.rb +2 -2
- data/lib/serverspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 023526d17b8618754baa4934056510262885ae34
|
|
4
|
+
data.tar.gz: f93f6e2ba37634eec4d5891f725f6ab4cc1c1a39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68647589cb070900e3d4ad44d03423c064249619e4367993c00ea7f58a3437906d391a4f0e135e73c0c3a2c56e0169c18e59f2fe43942e89b47cc6b0b722d29d
|
|
7
|
+
data.tar.gz: a5048fa1b0a72b2bb4a869b089d8e7207424a821686c7a930e67d596a0a4e6f3f3b7b37aa5167ccc393d14e8d4503459e3a4046e5d9c3f7de951f845e222db80
|
data/lib/serverspec/setup.rb
CHANGED
|
@@ -259,7 +259,7 @@ RSpec.configure do |c|
|
|
|
259
259
|
if config != ''
|
|
260
260
|
config.each_line do |line|
|
|
261
261
|
if match = /HostName (.*)/.match(line)
|
|
262
|
-
|
|
262
|
+
host = match[1]
|
|
263
263
|
elsif match = /User (.*)/.match(line)
|
|
264
264
|
user = match[1]
|
|
265
265
|
elsif match = /IdentityFile (.*)/.match(line)
|
|
@@ -270,7 +270,7 @@ RSpec.configure do |c|
|
|
|
270
270
|
end
|
|
271
271
|
end
|
|
272
272
|
<%- end -%>
|
|
273
|
-
c.ssh = Net::SSH.start(
|
|
273
|
+
c.ssh = Net::SSH.start(host, user, options)
|
|
274
274
|
end
|
|
275
275
|
end
|
|
276
276
|
<%- end -%>
|
data/lib/serverspec/version.rb
CHANGED