sensu-plugins-serverspec 1.0.0 → 2.0.0
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/CHANGELOG.md +11 -0
- data/README.md +4 -0
- data/bin/check-serverspec.rb +2 -2
- data/lib/sensu-plugins-serverspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d9388a0bc1057a9e7f53ea5acd86709a5de4865
|
|
4
|
+
data.tar.gz: 2db53e91b6fedc4fde40f0cb6e7cee366d0d3e03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0582b2113867de0d0445085230ec5090b38f89123cd6fa8b6e9970fe36e9759e341e036ef155a6e408bbb69b6a8b270ecfa52c1225c946b482cb4862a0035ac
|
|
7
|
+
data.tar.gz: 3ce1054ae97b6b621d042bdecf11a2f96e57540fa3b6e2fcb834daea89cd20dbf948bf1c0b1d84f351c8a123d19c5912add53a45dfcc934caa05a5db9a35d5ee
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.0.0] - 2017-07-29
|
|
9
|
+
### Added
|
|
10
|
+
- Ruby 2.4.1 testing
|
|
11
|
+
|
|
12
|
+
### Breaking Changes
|
|
13
|
+
- Check result names will now be appended with a unique index value to ensure a unique namespace for all results
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- PR template spelling
|
|
17
|
+
|
|
8
18
|
## [1.0.0] - 2016-09-25
|
|
9
19
|
### Changed
|
|
10
20
|
- Dependency on sensu-plugin changed from strict (= 1.2.0) to pessimistic (~> 1.2)
|
|
@@ -36,6 +46,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
36
46
|
- initial release
|
|
37
47
|
|
|
38
48
|
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-serverspec/compare/1.0.0...HEAD
|
|
49
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-serverspec/compare/1.0.0...2.0.0
|
|
39
50
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-serverspec/compare/0.1.0...1.0.0
|
|
40
51
|
[0.1.0]: https://github.com/sensu-plugins/sensu-plugins-serverspec/compare/0.0.2...0.1.0
|
|
41
52
|
[0.0.2]: https://github.com/sensu-plugins/sensu-plugins-serverspec/compare/0.0.1...0.0.2
|
data/README.md
CHANGED
data/bin/check-serverspec.rb
CHANGED
|
@@ -108,8 +108,8 @@ class CheckServerspec < Sensu::Plugin::Check::CLI
|
|
|
108
108
|
end
|
|
109
109
|
parsed = JSON.parse(serverspec_results)
|
|
110
110
|
|
|
111
|
-
parsed['examples'].
|
|
112
|
-
test_name = serverspec_test['file_path'].split('/')[-1] + '_' + serverspec_test['line_number'].to_s
|
|
111
|
+
parsed['examples'].each_with_index do |serverspec_test, index|
|
|
112
|
+
test_name = serverspec_test['file_path'].split('/')[-1] + '_' + serverspec_test['line_number'].to_s + '_' + index.to_s
|
|
113
113
|
output = serverspec_test['full_description'].delete!('"')
|
|
114
114
|
|
|
115
115
|
if serverspec_test['status'] == 'passed'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-serverspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
203
203
|
version: '0'
|
|
204
204
|
requirements: []
|
|
205
205
|
rubyforge_project:
|
|
206
|
-
rubygems_version: 2.5
|
|
206
|
+
rubygems_version: 2.4.5
|
|
207
207
|
signing_key:
|
|
208
208
|
specification_version: 4
|
|
209
209
|
summary: Sensu plugins for serverspec
|