sensu-plugins-etcd 1.0.0 → 1.1.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: 719e2f8bad357bce3388a0a8c3694bd1ba8c0ae9
4
- data.tar.gz: 608f276a0bae2bf555e13e72ad2bdeaa754d9d09
2
+ SHA256:
3
+ metadata.gz: cfcaf65f024d02d66c8ba5f4624f13085c62edbbcd59fe300cb1800f404d5f09
4
+ data.tar.gz: 57cfa0efa95c1f2ff7fd0b0a47bafd03c0e3aa874a8888492d1806f621a18b1a
5
5
  SHA512:
6
- metadata.gz: 8af6cd869e12042603890f0b35c35ca024fa38d721e2327d5dbe2fa175b3a78422d280c29a9e4d52b6007239950caa0313f74bd07fd580d4869e4bced0042b13
7
- data.tar.gz: 1dee2b818781cf20dee2684dcb410190260a97814da6e919a7ffb50222e18dbb054d4e11671227d22ebec9b8950b254fb951f4643d528fa4855d3ae0898ed650
6
+ metadata.gz: 499bd40c0eb25cbd8efb30f1d46d414a87d410e63a4752a5157c8876643f433ef37642be052437120b1472d2c586270143e642cb72314a1ab836d54e6286ef71
7
+ data.tar.gz: b17bd2c77da45cde04da7a9d4714f30dac4cac940713d86f5bc96fb696f4d2cf8eb59492e2ea1a1c4bcadd38891562f37cdc92593656a67c82eaa2fa998633c4
@@ -1,10 +1,20 @@
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] - 2019-06-11
9
+ ### Added
10
+ - Updated to be compatible with other type of private keys than RSA (@CoRf)
11
+
12
+ ### Changed
13
+ - Updated Travis configuration to include Ruby 2.4.1
14
+
15
+ ### Removed
16
+ - Ruby 1.9.3 from deploy-time testing (@eheydrick)
17
+
8
18
  ## [1.0.0] - 2016-08-10
9
19
  ### Changed
10
20
  - Removed Ruby 1.9 support
@@ -35,7 +45,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
35
45
  ### Added
36
46
  - initial release
37
47
 
38
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/1.0.0...HEAD
48
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/1.1.0...HEAD
49
+ [1.1.0]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/1.0.0...1.1.0
39
50
  [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/0.1.0...1.0.0
40
51
  [0.1.0]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/0.0.3...0.1.0
41
52
  [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-etcd/compare/0.0.2...0.0.3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Sensu-Plugins-etcd
2
2
 
3
- [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-etcd.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-etcd)
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-etcd.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-etcd)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-etcd.svg)](http://badge.fury.io/rb/sensu-plugins-etcd)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-etcd/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-etcd)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-etcd/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-etcd)
@@ -87,7 +87,7 @@ class EtcdNodeStatus < Sensu::Plugin::Check::CLI
87
87
  r = RestClient::Resource.new("#{protocol}://#{config[:server]}:#{config[:port]}/v2/members",
88
88
  timeout: 5,
89
89
  ssl_client_cert: (OpenSSL::X509::Certificate.new(File.read(config[:cert])) unless config[:cert].nil?),
90
- ssl_client_key: (OpenSSL::PKey::RSA.new(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
90
+ ssl_client_key: (OpenSSL::PKey.read(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
91
91
  ssl_ca_file: config[:ca],
92
92
  verify_ssl: config[:insecure] ? 0 : 1).get
93
93
  peers = JSON.parse(r.to_str)['members'].length
@@ -124,7 +124,7 @@ class EtcdNodeStatus < Sensu::Plugin::Check::CLI
124
124
  RestClient::Resource.new("#{protocol}://#{server}:#{config[:port]}/#{path}",
125
125
  timeout: 5,
126
126
  ssl_client_cert: (OpenSSL::X509::Certificate.new(File.read(config[:cert])) unless config[:cert].nil?),
127
- ssl_client_key: (OpenSSL::PKey::RSA.new(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
127
+ ssl_client_key: (OpenSSL::PKey.read(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
128
128
  ssl_ca_file: config[:ca],
129
129
  verify_ssl: config[:insecure] ? 0 : 1).get
130
130
  end
@@ -122,7 +122,7 @@ class FlannelSubnetStatus < Sensu::Plugin::Check::CLI
122
122
  "#{protocol}://#{server}:#{config[:port]}/#{path}",
123
123
  timeout: 5,
124
124
  ssl_client_cert: (OpenSSL::X509::Certificate.new(File.read(config[:cert])) unless config[:cert].nil?),
125
- ssl_client_key: (OpenSSL::PKey::RSA.new(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
125
+ ssl_client_key: (OpenSSL::PKey.read(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?),
126
126
  ssl_ca_file: config[:ca],
127
127
  verify_ssl: config[:insecure] ? 0 : 1
128
128
  ).get
@@ -96,7 +96,7 @@ class EtcdMetrics < Sensu::Plugin::Metric::CLI::Graphite
96
96
  verify_mode: (config[:insecure] ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER),
97
97
  ca_file: config[:ca],
98
98
  ssl_cert: (OpenSSL::X509::Certificate.new(File.read(config[:cert])) unless config[:cert].nil?),
99
- ssl_key: (OpenSSL::PKey::RSA.new(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?)
99
+ ssl_key: (OpenSSL::PKey.read(File.read(config[:key]), config[:passphrase]) unless config[:key].nil?)
100
100
  )
101
101
  else
102
102
  client = Etcd.client(host: config[:etcd_host], port: config[:etcd_port])
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsEtcd
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 0
4
+ MINOR = 1
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-etcd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.4'
75
+ version: '1.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: '0.4'
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: github-markup
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: '3.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '10.5'
117
+ version: '12.3'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '10.5'
124
+ version: '12.3'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: redcarpet
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -181,10 +181,10 @@ dependencies:
181
181
  description: Sensu plugins for etcd health and status monitoring
182
182
  email: "<sensu-users@googlegroups.com>"
183
183
  executables:
184
- - check-etcd-peer-count.rb
185
- - check-etcd.rb
186
184
  - check-flannel-subnet-count.rb
187
185
  - metrics-etcd.rb
186
+ - check-etcd-peer-count.rb
187
+ - check-etcd.rb
188
188
  extensions: []
189
189
  extra_rdoc_files: []
190
190
  files:
@@ -222,8 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []
225
- rubyforge_project:
226
- rubygems_version: 2.5.1
225
+ rubygems_version: 3.0.3
227
226
  signing_key:
228
227
  specification_version: 4
229
228
  summary: Sensu plugins for etcd