sensu-plugins-rspec 0.0.1.alpha.4 → 0.0.1
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +20 -8
- data/LICENSE +1 -1
- data/README.md +3 -34
- data/bin/check-test-suite.rb +1 -1
- data/lib/sensu-plugins-rspec/version.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +14 -12
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c747461b8771f5201e91729d3a228d31f02b6fc
|
|
4
|
+
data.tar.gz: ea0c5741f87a5151a853f37a1cc35e906660cee2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b31c0834e695cf3358021d595e80ec7d100ba147202c45b8faf2c484af5db5a4abda0248aea2cea54b1ddc34476a31d3164c2cc6ad8e278bfa415653a12d0d6
|
|
7
|
+
data.tar.gz: bac4b5c66f43db44147ee153c9d54ed01cbb4eb0c6adb7c318948158312207797d396982a840adabb661e002dfb6c08b2191ffbf1da4dfa3ffd490ac9b8fbc09
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
#Change Log
|
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
* fix rubocop errors
|
|
5
|
-
* add unpinned dependencies to gemspec
|
|
4
|
+
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
## Unreleased][unreleased]
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
## 0.0.1 - 2015-04-29
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- initial release
|
|
11
12
|
|
|
12
13
|
#### 0.0.1.alpha.3
|
|
13
14
|
|
|
14
15
|
* pin all runtime dependencies
|
|
15
16
|
* fix rubocop issues
|
|
16
17
|
* add new version modules
|
|
17
|
-
* add new bump and version rake tasks
|
|
18
|
+
* add new bump and version rake tasks
|
|
19
|
+
|
|
20
|
+
#### 0.0.1.alpha.2
|
|
21
|
+
|
|
22
|
+
* clean codebase
|
|
23
|
+
* add irc notification to Travis build
|
|
24
|
+
|
|
25
|
+
#### 0.0.1.alpha.1
|
|
26
|
+
|
|
27
|
+
* identical functionality as community-plugins
|
|
28
|
+
* fix rubocop errors
|
|
29
|
+
* add unpinned dependencies to gemspec
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
|
|
6
6
|
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-rspec)
|
|
7
7
|
[](https://gemnasium.com/sensu-plugins/sensu-plugins-rspec)
|
|
8
|
+
[](https://codeship.com/projects/77533)
|
|
8
9
|
|
|
9
10
|
## Functionality
|
|
10
11
|
|
|
11
12
|
## Files
|
|
12
|
-
* bin/check-rspec
|
|
13
|
+
* bin/check-rspec.rb
|
|
13
14
|
|
|
14
15
|
## Usage
|
|
15
16
|
|
|
@@ -32,39 +33,7 @@ Run tests with required options and multiple environment variables
|
|
|
32
33
|
|
|
33
34
|
## Installation
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
[Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
|
|
36
37
|
|
|
37
|
-
```
|
|
38
|
-
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
|
|
39
|
-
gem install sensu-plugins-rspec -P MediumSecurity
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
You can also download the key from /certs/ within each repository.
|
|
43
|
-
|
|
44
|
-
#### Rubygems
|
|
45
|
-
|
|
46
|
-
`gem install sensu-plugins-rspec`
|
|
47
|
-
|
|
48
|
-
#### Bundler
|
|
49
|
-
|
|
50
|
-
Add *sensu-plugins-rspec* to your Gemfile and run `bundle install` or `bundle update`
|
|
51
|
-
|
|
52
|
-
#### Chef
|
|
53
|
-
|
|
54
|
-
Using the Sensu **sensu_gem** LWRP
|
|
55
|
-
```
|
|
56
|
-
sensu_gem 'sensu-plugins-rspec' do
|
|
57
|
-
options('--prerelease')
|
|
58
|
-
version '0.0.1'
|
|
59
|
-
end
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Using the Chef **gem_package** resource
|
|
63
|
-
```
|
|
64
|
-
gem_package 'sensu-plugins-rspec' do
|
|
65
|
-
options('--prerelease')
|
|
66
|
-
version '0.0.1'
|
|
67
|
-
end
|
|
68
|
-
```
|
|
69
38
|
|
|
70
39
|
## Notes
|
data/bin/check-test-suite.rb
CHANGED
|
@@ -151,7 +151,7 @@ class CheckTestSuite < Sensu::Plugin::Check::CLI
|
|
|
151
151
|
case tests[path]['exitstatus']
|
|
152
152
|
when 2
|
|
153
153
|
test_suite_lines = tests[path]['test_suite_out'].split("\n")
|
|
154
|
-
test_suite_out_fail_line = test_suite_lines.index(test_suite_lines.
|
|
154
|
+
test_suite_out_fail_line = test_suite_lines.index(test_suite_lines.find { |line| line.include?('Failures:') })
|
|
155
155
|
|
|
156
156
|
write_file_cache_message commit_file, 'failure'
|
|
157
157
|
|
|
@@ -8,7 +8,7 @@ module SensuPluginsRSpec
|
|
|
8
8
|
MINOR = 0
|
|
9
9
|
PATCH = 1
|
|
10
10
|
|
|
11
|
-
VER_STRING = [MAJOR, MINOR, PATCH
|
|
11
|
+
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
|
12
12
|
|
|
13
13
|
NAME = 'sensu-plugins-rspec'
|
|
14
14
|
BANNER = "#{NAME} v%s"
|
|
@@ -21,7 +21,7 @@ module SensuPluginsRSpec
|
|
|
21
21
|
|
|
22
22
|
def json_version
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
'version' => VER_STRING
|
|
25
25
|
}.to_json
|
|
26
26
|
end
|
|
27
27
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-rspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.1
|
|
4
|
+
version: 0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Sensu-Plugins and contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2015-
|
|
33
|
+
date: 2015-05-03 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: sensu-plugin
|
|
@@ -98,16 +98,16 @@ dependencies:
|
|
|
98
98
|
name: rubocop
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.
|
|
103
|
+
version: '0.30'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.
|
|
110
|
+
version: '0.30'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: bundler
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -212,7 +212,10 @@ metadata:
|
|
|
212
212
|
maintainer: ''
|
|
213
213
|
development_status: active
|
|
214
214
|
production_status: unstable - testing recommended
|
|
215
|
-
|
|
215
|
+
release_draft: 'false'
|
|
216
|
+
release_prerelease: 'false'
|
|
217
|
+
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
|
218
|
+
in /etc/default/sensu
|
|
216
219
|
rdoc_options: []
|
|
217
220
|
require_paths:
|
|
218
221
|
- lib
|
|
@@ -223,14 +226,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
223
226
|
version: 1.9.3
|
|
224
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
228
|
requirements:
|
|
226
|
-
- - "
|
|
229
|
+
- - ">="
|
|
227
230
|
- !ruby/object:Gem::Version
|
|
228
|
-
version:
|
|
231
|
+
version: '0'
|
|
229
232
|
requirements: []
|
|
230
233
|
rubyforge_project:
|
|
231
|
-
rubygems_version: 2.
|
|
234
|
+
rubygems_version: 2.4.6
|
|
232
235
|
signing_key:
|
|
233
236
|
specification_version: 4
|
|
234
237
|
summary: Sensu plugins for working with RSpec
|
|
235
238
|
test_files: []
|
|
236
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
|
Binary file
|