serverspec 2.29.1 → 2.29.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73609889512435a4cf287514f4e8fd600483d1b0
4
- data.tar.gz: 387cd20f52ac4fe4479f7e735eeecb8856102bd0
3
+ metadata.gz: 3ed47abd0163d425439cda72a1f516b7089ece17
4
+ data.tar.gz: 0101db4c86239636a97353473f70341d3cbd86c8
5
5
  SHA512:
6
- metadata.gz: 8801eb5d34c926633e8ddb6d2aa1a0a9b130a46e64225ff79a08f640359a02a464b6ca6c4aaeaa3a7878d174ee0718a6b9d7d48904d8a0360985d485935be331
7
- data.tar.gz: 3d3b2cd4436eeaa3a4a29afccf277c62069e8ce822960c01ef1cc8c84474d3792bdd5f4200e483635aac455fc18dd0f527181440ec0a266125a3a378445f3b02
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 = if defined?(failure_slash_error_lines)
47
- failure_slash_error_lines
48
- else
49
- [failure_slash_error_line]
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}"
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.29.1"
2
+ VERSION = "2.29.2"
3
3
  end
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.1
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-01-15 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec