sensu-translator 1.1.0 → 1.2.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: 1fc36873235d11e5b2da787667a59b65aeae117a
4
- data.tar.gz: e0e7a997b835c0384a514b895ce7959be98d7857
2
+ SHA256:
3
+ metadata.gz: 650c8cdfabbe7a3c6f8fd224a4655d6ff6208e8e1e6ada2f2b01e6223883cc9e
4
+ data.tar.gz: af0978bded782e6c6cc0c52cd86efb5cfadaa5f3592e7ca9e988105c553d05af
5
5
  SHA512:
6
- metadata.gz: a694222f1c71e562835c4e20b1969b18b1cedd0ad4b4e4b52f5ed1118200205a711cd01bc54bb2fd7094bf28e06c34cd1db886047220c90a0338f406dd80f5f9
7
- data.tar.gz: 93b022d922305edf0e3775c75c92f69a3a401a72d6e49bc72c211031024955bb256ed545ca6fb47908ddf80eef7601a90c6a4b475ae5bb61dd6e265a0e4e62fc
6
+ metadata.gz: d3210d02ec78544877a61f2d34128942dae1934056a0c80e0de064891e7342b3a5d5376ee7ae794140dc6901e9ec3dc4e250d2e2049416de2aba00bd07173b49
7
+ data.tar.gz: 1514ebcfc57391505e1365a9bf1dd7f9467e676171b1d2b16099d942e9a73fc36001ceac9fd5347454057e6352ed18857981ef80a67226904f99ee508340bc1d
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ vendor/
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.0] - 2021-03-10
10
+ ### Added
11
+ - Translate check pager_team to the pagerduty plugin config team annotation
12
+
9
13
  ## [1.1.0] - 2020-02-19
10
14
  ### Added
11
15
  - Translate check occurrences and refresh to fatigue_check annotations
@@ -46,6 +46,7 @@ module Sensu
46
46
  end
47
47
  annotations["fatigue_check/occurrences"] = object[:occurrences].to_s if object[:occurrences]
48
48
  annotations["fatigue_check/interval"] = object[:refresh].to_s if object[:refresh]
49
+ annotations["sensu.io/plugins/sensu-pagerduty-handler/config/team"] = object[:pager_team].to_s if object[:pager_team]
49
50
  go_spec(:check, check, namespace, name, {}, annotations)
50
51
  end
51
52
 
@@ -1,5 +1,5 @@
1
1
  module Sensu
2
2
  module Translator
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency "sensu-json", ">= 2.1.1"
25
25
  spec.add_dependency "sensu-settings", ">= 10.13.1"
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.15"
27
+ spec.add_development_dependency "bundler"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-02-19 00:00:00.000000000 Z
12
+ date: 2021-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sensu-json
@@ -43,16 +43,16 @@ dependencies:
43
43
  name: bundler
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '1.15'
48
+ version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '1.15'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rake
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.6.11
128
+ rubygems_version: 3.1.2
130
129
  signing_key:
131
130
  specification_version: 4
132
131
  summary: A tool for translating Sensu 1.x config to the Sensu 2.x format.