sensu-plugins-victorops 1.0.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
- SHA1:
3
- metadata.gz: 2f4f518228ffc32d119dd470281342a900ec6228
4
- data.tar.gz: b86bdd7e192b34cb51e23456c6e7bcd0c0e7cef9
2
+ SHA256:
3
+ metadata.gz: e1438d310bbc76e827b3d2eafdc209185a52c248b8bb1f3dc3ae1b835c719cf6
4
+ data.tar.gz: a6151d40038504026eb8c719015e0f534f16fc4300c599ac3f5d185cde9fa13b
5
5
  SHA512:
6
- metadata.gz: 94d4f7152539ce5747a701a4e95a8175339a89fecbdaf262fbff58a2a3cba0793ca03ea09d8bf6ab0724a9a162a36859446f90e9017f90b01702ee2af675b79d
7
- data.tar.gz: 99e04cf8a159de84e0ca450960626a96b4ebe72cfbef130143c9cb6e7339ba7b881210ec373181e8d8f1ab2e4cd1a81b4c6ff2a63a425af4d9d7212f3f5a2937
6
+ metadata.gz: 391374de08cd4de08ac2ad4b11ddcdfa7e3bf9d4f0faf764c08cbddfb41712eb7f37706a1362caede9e08176ecd5129ae38648b09d10704451d2279743a14969
7
+ data.tar.gz: d214e897aeb926a9a9e3dcf23f6408140f839ed98c22fe4caac6fceb0de35d13a3f3f00a9e00ac8a70cc0c011e9da122cdb775246d15372d8eadbc6bdd617338
data/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
5
 
6
6
  ## [Unreleased]
7
+ ## [2.0.0] - 2019-06-06
8
+ ### Breaking Changes
9
+ - Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
10
+ - Update dependancy on sensu-plugin to 4.0
11
+
12
+ ### Added
13
+ - Travis build automation to generate Sensu Asset tarballs that can be used n conjunction with Sensu provided ruby runtime assets and the Bonsai Asset Index
14
+ - Require latest sensu-plugin for Sensu Go support
15
+
7
16
  ## [1.0.0] - 2017-07-6
8
17
  ### Added
9
18
  - Ruby 2.3 & 2.4 testing
@@ -37,8 +46,9 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
37
46
  ### Added
38
47
  - initial release
39
48
 
40
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/1.1.0...HEAD
41
- [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/1.1.0...1.1.0
49
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/2.0.0...HEAD
50
+ [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/1.0.0...2.0.0
51
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/0.1.0...1.0.0
42
52
  [0.1.0]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/0.0.3...0.1.0
43
53
  [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/0.0.2...0.0.3
44
54
  [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-victorops/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-victorops/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-victorops)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-victorops/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-victorops)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-victorops.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-victorops)
8
+ [![Sensu Bonsai Asset](https://img.shields.io/badge/Bonsai-Download%20Me-brightgreen.svg?colorB=89C967&logo=sensu)](https://bonsai.sensu.io/assets/sensu-plugins/sensu-plugins-victorops)
8
9
 
9
10
  ## Functionality
10
11
 
@@ -27,3 +28,12 @@
27
28
 
28
29
 
29
30
  ## Notes
31
+ If you have multiple VictorOps accounts and need to route alerts to different endpoints, specifying the handler name in the config is necessary otherwise, the handler will attempt to route to the default `victorops`. You will therefore need to use the `-name` switch to specify the API endpoint as noted below.
32
+
33
+ ```
34
+ "victorops_enpoint1": {
35
+ "type": "pipe",
36
+ "command": "/opt/sensu/embedded/bin/handler-victorops.rb -name victorops_endpoint1"
37
+ },
38
+ ```
39
+
@@ -1,6 +1,6 @@
1
1
  module SensuPluginsVictorops
2
2
  module Version
3
- MAJOR = 1
3
+ MAJOR = 2
4
4
  MINOR = 0
5
5
  PATCH = 0
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-victorops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.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-07 00:00:00.000000000 Z
11
+ date: 2019-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.2'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.3'
75
+ version: '3.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.3'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -195,15 +195,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
195
  requirements:
196
196
  - - ">="
197
197
  - !ruby/object:Gem::Version
198
- version: 2.0.0
198
+ version: '2.3'
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  requirements:
201
201
  - - ">="
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubyforge_project:
206
- rubygems_version: 2.4.5
205
+ rubygems_version: 3.0.3
207
206
  signing_key:
208
207
  specification_version: 4
209
208
  summary: Sensu plugins for Victorops alerting service