serverspec 2.24.2 → 2.24.3

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: 5213e206a2e2280342fb3ee736b826dffd7ca479
4
- data.tar.gz: e040af39605271dc476c709aa4c54b187436ca4b
3
+ metadata.gz: a965ec1d52dcea600b56fd1efa16bf4d101a625e
4
+ data.tar.gz: fe5cb86c4204e3877dcf1e9c4293e69786ba4d99
5
5
  SHA512:
6
- metadata.gz: 617f8c3c28fb04e4666b3912a3d47af75e73fb1579ee9c7479eb5494d84d513da32ba6f5a08700ffe4b6c032c57a917530cac0a1ee70daf0d64844d1bb912c27
7
- data.tar.gz: ef3e1c068264f4234f9ba5dede49b659eb093d71e2e0781593da699af41c2adf6c8614a9b8421138a8f034d71f133c8bd18a9a55e94552a0b1b6b2efe3586b21
6
+ metadata.gz: 2c927b4f890752a1bb1122a448ad6dc5bd811b6c1cf953ac7c76104b3484e2c38119b513d6a181cb43954e044433d819229f254718f76a58f814868e72ab42e6
7
+ data.tar.gz: abbec172c408d549e589606ebfbf4403e686a92c588616079fba320fcc61629048cc589301f21c66d2797d6563f0a7f36ed7d0e95bcd15b925163d8c636dd49a
data/README.md CHANGED
@@ -4,6 +4,17 @@ RSpec tests for your servers configured by Puppet, Chef or anything else
4
4
 
5
5
  You can see the details of serverspec on [serverspec.org](http://serverspec.org/).
6
6
 
7
+ ----
8
+
9
+ ## Maintenance policy of Serverspec/Specinfra
10
+
11
+ * The person who found a bug should fix the bug by themself.
12
+ * If you find a bug and cannot fix it by yourself, send a pull request and attache test code to reproduce the bug, please.
13
+ * The person who want a new feature should implement it by themself.
14
+ * For above reasons, I accept pull requests only and disable issues.
15
+ * If you'd like to discuss about a new feature before implement it, make an empty commit and send [a WIP pull request](http://ben.straub.cc/2015/04/02/wip-pull-request/). But It is better that the WIP PR has some code than an empty commit.
16
+
17
+
7
18
  ----
8
19
 
9
20
  ## Contributing
data/lib/serverspec.rb CHANGED
@@ -43,7 +43,12 @@ if defined?(RSpec::Core::Formatters::ExceptionPresenter)
43
43
  begin
44
44
  lines = []
45
45
  lines << "On host `#{host}'" if host
46
- lines << failure_slash_error_line unless (description == failure_slash_error_line)
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(''))
47
52
  lines << "#{exception_class_name}:" unless exception_class_name =~ /RSpec/
48
53
  encoded_string(exception.message.to_s).split("\n").each do |line|
49
54
  lines << " #{line}"
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.24.2"
2
+ VERSION = "2.24.3"
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.24.2
4
+ version: 2.24.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-28 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec