serverspec 2.29.1 → 2.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverspec.rb +4 -6
- data/lib/serverspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed47abd0163d425439cda72a1f516b7089ece17
|
4
|
+
data.tar.gz: 0101db4c86239636a97353473f70341d3cbd86c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e98f71979be7f14e858c00ad7c8ce240178dfb30d5a64390d9ea074120688c2f055d9dc8570bd83c77e1c8ab4c74cd5829992528375e2d7f26645b4cb753c5a
|
7
|
+
data.tar.gz: 6545a00487106a805620819380cfeaed53103a1902354707aca3afa88a270e146ebdda0c0f87b1f72a99ba559052ed7306e59d05057c748cf1879ff561b5195b
|
data/lib/serverspec.rb
CHANGED
@@ -43,12 +43,10 @@ if defined?(RSpec::Core::Formatters::ExceptionPresenter)
|
|
43
43
|
begin
|
44
44
|
lines = []
|
45
45
|
lines << "On host `#{host}'" if host
|
46
|
-
error_lines =
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
end
|
51
|
-
lines += error_lines if error_lines unless (description == error_lines.join(''))
|
46
|
+
error_lines = []
|
47
|
+
error_lines = [failure_slash_error_line] if defined?(failure_slash_error_line)
|
48
|
+
error_lines = failure_slash_error_lines if defined?(failure_slash_error_lines)
|
49
|
+
lines += error_lines unless (description == error_lines.join(''))
|
52
50
|
lines << "#{exception_class_name}:" unless exception_class_name =~ /RSpec/
|
53
51
|
encoded_string(exception.message.to_s).split("\n").each do |line|
|
54
52
|
lines << " #{line}"
|
data/lib/serverspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.29.
|
4
|
+
version: 2.29.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|