sensu-plugins-rspec 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b45ac87d98ba3d4f52378d28678910761a67219
4
- data.tar.gz: c3f59b8e887b46a8430e566a923d32cabad88071
3
+ metadata.gz: 428d05d94a8254cfca641a69b1461802962c679f
4
+ data.tar.gz: e50f2607591e139231193be0109100da292a0b7e
5
5
  SHA512:
6
- metadata.gz: 3f782cf88cdb5653ce0ddb3333fa19056c80fd5cad2bdf9772a2cdc8086b77ce6088fc174b918fb843eeab6c9f199934634648d0d61222825423c1dcef0b6d50
7
- data.tar.gz: 654a400e4738dc4291e08b9ad11a43f49874d57397ebc18c8bf92c2340ce02d9700fae0d871c0cdc4b2161ea856ef792b63c87e110b64c3cf1e777d4768bec67
6
+ metadata.gz: a0989869d18904b58ede173b825ef3e7194fc3ad202bb69d7f5d87ec57da67045e4e7b145190ab9498a87e5e98557c6339020c164e75167e5cc554de88e26051
7
+ data.tar.gz: 7f0af66f9d00c30397209445fe1bafb587ad38abf10524764ce84b21cc2398dc5b57a08ec56ba7a6e10003ad99972dbd24c999bb05d0d4c62c0709fc3124cb6f
@@ -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
- ## [1.1.0] 2017-07-15
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/1.1.0...HEAD
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
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-rspec.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-rspec)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-rspec.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-rspec)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-rspec.svg)](http://badge.fury.io/rb/sensu-plugins-rspec)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
@@ -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'].each do |rspec_test|
108
- test_name = rspec_test['file_path'].split('/')[-1] + '_' + rspec_test['line_number'].to_s
109
- output = rspec_test['full_description']
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)
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsRSpec
2
2
  module Version
3
- MAJOR = 1
4
- MINOR = 1
3
+ MAJOR = 2
4
+ MINOR = 0
5
5
  PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
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: 1.1.0
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-15 00:00:00.000000000 Z
11
+ date: 2017-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin