sensu-plugins-rspec 1.1.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 -3
- data/README.md +1 -1
- data/bin/check-rspec.rb +3 -3
- data/lib/sensu-plugins-rspec/version.rb +2 -2
- 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: 428d05d94a8254cfca641a69b1461802962c679f
|
|
4
|
+
data.tar.gz: e50f2607591e139231193be0109100da292a0b7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0989869d18904b58ede173b825ef3e7194fc3ad202bb69d7f5d87ec57da67045e4e7b145190ab9498a87e5e98557c6339020c164e75167e5cc554de88e26051
|
|
7
|
+
data.tar.gz: 7f0af66f9d00c30397209445fe1bafb587ad38abf10524764ce84b21cc2398dc5b57a08ec56ba7a6e10003ad99972dbd24c999bb05d0d4c62c0709fc3124cb6f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
#Change Log
|
|
1
|
+
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [2.0.0] - 2017-07-27
|
|
9
|
+
### Breaking Changes
|
|
10
|
+
- Check result names will now be appended with a unique index value to ensure a unique namespace for all results (@Evesy)
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
- Ruby 1.9.3 from deploy-time testing (@eheydrick)
|
|
14
|
+
|
|
15
|
+
## [1.1.0] - 2017-07-15
|
|
9
16
|
### Added
|
|
10
17
|
- Config option to provide a proxy client name for rspec results
|
|
11
18
|
|
|
@@ -46,7 +53,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
|
46
53
|
* fix rubocop errors
|
|
47
54
|
* add unpinned dependencies to gemspec
|
|
48
55
|
|
|
49
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/
|
|
56
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/2.0.0...HEAD
|
|
57
|
+
[2.0.0]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/1.1.0...2.0.0
|
|
50
58
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/1.0.0...1.1.0
|
|
51
59
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/0.0.3...1.0.0
|
|
52
60
|
[0.0.3]: https://github.com/sensu-plugins/sensu-plugins-rspec/compare/0.0.2...0.0.3
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Sensu-Plugins-rspec
|
|
2
2
|
|
|
3
|
-
[
|
|
3
|
+
[](https://travis-ci.org/sensu-plugins/sensu-plugins-rspec)
|
|
4
4
|
[](http://badge.fury.io/rb/sensu-plugins-rspec)
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
|
data/bin/check-rspec.rb
CHANGED
|
@@ -104,9 +104,9 @@ class CheckRspec < Sensu::Plugin::Check::CLI
|
|
|
104
104
|
rspec_results = `#{cd} #{run}`
|
|
105
105
|
parsed = JSON.parse(rspec_results)
|
|
106
106
|
|
|
107
|
-
parsed['examples'].
|
|
108
|
-
test_name = rspec_test['file_path'].split('/')[-1] + '_' + rspec_test['line_number'].to_s
|
|
109
|
-
output
|
|
107
|
+
parsed['examples'].each_with_index do |rspec_test, index|
|
|
108
|
+
test_name = rspec_test['file_path'].split('/')[-1] + '_' + rspec_test['line_number'].to_s + '_' + index.to_s
|
|
109
|
+
output = rspec_test['full_description']
|
|
110
110
|
|
|
111
111
|
if rspec_test['status'] == 'passed'
|
|
112
112
|
send_ok(test_name, output)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-rspec
|
|
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: 2017-07-
|
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|