sensu-plugins-openldap 0.0.2 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0c5551a9f5875442f098f56c6b5dd8b5983a278d
4
- data.tar.gz: 331957dfac92d9b7c8426da9677dfaed8a16becb
2
+ SHA256:
3
+ metadata.gz: e48ff69139b8e64dec33bcd922d7f3b8e6390558f608fb4a91c7ca9e98cf8d56
4
+ data.tar.gz: 6c74aea7254187d3dae053124cfd9bb839fbe87b2ce5f97ca167adc2336c542e
5
5
  SHA512:
6
- metadata.gz: 9082de98a6b167d090c5022c62c01f5c39410586c396ee1193750fd97b2829289f85a2c27ead73861ef239b3aed2e120bf1bb630e7baf95e92a26cbbce51fe8c
7
- data.tar.gz: 8c007843e43322d6f7a024d10739d3333afbdb75e2904c48532e9149247a5564ffc122ef5dac62a642ddc82ffa94883dbb5168eacc4552d50de2a97ce89e5761
6
+ metadata.gz: 9636d5220067cdcb322f57f3d7abc19a3d57a170dfc62579556228e46a3bc3d0828056dd4c79523b745452cb5f8000925ddbe39040d2ed9c8cde4d68226c70ba
7
+ data.tar.gz: 5728b9dcda50da43f87237591e22d54c2b5cb675775695bca37bd0c1df8437f3b3421bd2160d1e33f4a7cd5b6b4869c82a1e22a8e83be8345aea7fe25bbfb999
@@ -1,12 +1,46 @@
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
- ## Unreleased][unreleased]
6
+ ## [Unreleased]
7
7
 
8
- ## [0.0.2] - 2015-06-03
8
+ ## [2.0.1] - 2020-09-26
9
+ - `bin/check-syncrepl.rb`: properly capture exception (@nwea-seanmckinley)
10
+ - bumped `net-ldap` dependency (@dependabot) (@majormoses)
11
+
12
+ ## [2.0.0] - 2020-06-22
13
+ ### Breaking Changes
14
+ - Update minimum required ruby version to 2.3. Drop unsupported ruby versions.
15
+ - Bump `sensu-plugin` dependency to `~> 4.0`
16
+
17
+ ### Added
18
+ - Bonsai asset support
19
+ - Ruby 2.4.1 testing
20
+
21
+ ### Changed
22
+ - Updated bundler dependency to '~> 2.1'
23
+ - Updated rubocop dependency to '0.81' # last version to support Ruby 2.3
24
+ - Updated net-ldap dependency to '0.16.2'
25
+ - Remediated rubocop issues
26
+ - Updated rake dependency to '~> 13.0'
27
+
28
+ ### [1.0.1]
29
+ - Fix #3 : metrics-ldap.rb Error Cannot connect to (@roumano)
9
30
 
31
+ ## [1.0.0] - 2017-01-17
32
+ ### Added
33
+ - check-syncrepl.rb: Add `--ca-certificate`, `--certificate` and `--encryption` options (@moriyoshi)
34
+ - Ruby 2.3.0 support (@eheydrick)
35
+
36
+ ### Removed
37
+ - Ruby < 2.1 support (@eheydrick)
38
+
39
+ ## [0.0.3] - 2015-07-14
40
+ ### Changed
41
+ - updated sensu-plugin gem to 1.2.0
42
+
43
+ ## [0.0.2] - 2015-06-03
10
44
  ### Fixed
11
45
  - added binstubs
12
46
 
@@ -14,7 +48,13 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
14
48
  - removed cruft from /lib
15
49
 
16
50
  ## 0.0.1 - 2015-05-21
17
-
18
51
  ### Added
19
52
  - initial release
20
53
 
54
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/2.0.1...HEAD
55
+ [2.0.1]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/2.0.0...2.0.1
56
+ [2.0.0]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/1.0.1...2.0.0
57
+ [1.0.1]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/1.0.0...1.0.1
58
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.3...1.0.0
59
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.2...0.0.3
60
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-openldap/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  ## Sensu-Plugins-openldap
2
2
 
3
- [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap)
3
+ [ ![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-openldap)
4
4
  [![Gem Version](https://badge.fury.io/rb/sensu-plugins-openldap.svg)](http://badge.fury.io/rb/sensu-plugins-openldap)
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-openldap)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-openldap.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-openldap)
8
- [ ![Codeship Status for sensu-plugins/sensu-plugins-openldap](https://codeship.com/projects/7cc16ea0-db3b-0132-9eb0-0eed4ec53b27/status?branch=master)](https://codeship.com/projects/79575)
9
8
 
10
9
  ## Functionality
11
10
 
@@ -17,6 +16,6 @@
17
16
 
18
17
  ## Installation
19
18
 
20
- [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
19
+ [Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
21
20
 
22
21
  ## Notes
@@ -1,9 +1,13 @@
1
1
  #! /usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # check-syncrepl
4
6
  #
5
7
  # DESCRIPTION:
6
- # This plugin checks OpenLDAP nodes to veryfiy syncrepl is working.
8
+ # This plugin checks that OpenLDAP Sync replication is working by
9
+ # comparing the context change sequence number (contextCSN) of
10
+ # a list of servers.
7
11
  # The plugin will attempt to use an unauthenticated connection if no
8
12
  # user name (with the -u or --user option) and password (with the -p
9
13
  # or --password option) are specified.
@@ -22,13 +26,13 @@
22
26
  # bind to LDAP without authorisation
23
27
  # ----------------------------------
24
28
  # ./check-syncrepl.rb -h 'ldap1.domain,ldap2.domain'
25
- # will compare the contextCSN of the ldap servers ldap1.domain and
29
+ # will compare the contextCSN of the LDAP servers ldap1.domain and
26
30
  # ldap2.domain
27
31
  #
28
32
  # bind to LDAP requiring authorisation
29
33
  # ------------------------------------
30
34
  # ./check-syncrepl.rb -h 'ldap1.domain,ldap2.domain' -u auser -p passwd
31
- # will bind to the ldap servers ldap1.domain and ldap2.domain as user
35
+ # will bind to the LDAP servers ldap1.domain and ldap2.domain as user
32
36
  # auser with password passwd and compare the contextCSN
33
37
  #
34
38
  # NOTES:
@@ -46,7 +50,7 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
46
50
  option :hosts,
47
51
  short: '-h HOSTS',
48
52
  long: '--hosts HOSTS',
49
- description: 'Comma seperated list of hosts to compare',
53
+ description: 'Comma separated list of hosts to compare',
50
54
  required: true,
51
55
  proc: proc { |hosts| hosts.split(',') }
52
56
 
@@ -78,6 +82,23 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
78
82
  long: '--insecure',
79
83
  description: 'Do not use encryption'
80
84
 
85
+ option :encryption,
86
+ short: '-e ENCRYPTION',
87
+ long: '--encryption ENCRYPTION',
88
+ description: 'Encryption method to use. Either simple_tls or start_tls',
89
+ default: nil,
90
+ proc: proc(&:to_sym)
91
+
92
+ option :cacert,
93
+ long: '--ca-certificate ENCRYPTION',
94
+ description: 'Trusted CA certificate for checking the endpoint validity',
95
+ default: nil
96
+
97
+ option :cert,
98
+ long: '--certificate ENCRYPTION',
99
+ description: 'Client certificate',
100
+ default: nil
101
+
81
102
  option :retries,
82
103
  short: '-r RETRIES',
83
104
  long: '--retries RETRIES',
@@ -86,7 +107,7 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
86
107
  proc: proc(&:to_i)
87
108
 
88
109
  def get_csns(host)
89
- if config[:user]
110
+ if config[:user] # rubocop:disable Style/ConditionalAssignment
90
111
  ldap = Net::LDAP.new host: host,
91
112
  port: config[:port],
92
113
  auth: {
@@ -99,8 +120,18 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
99
120
  port: config[:port]
100
121
  end
101
122
 
102
- unless config[:insecure]
103
- ldap.encryption(method: :simple_tls)
123
+ unless (config[:insecure] && config[:encryption].nil?) || config[:encryption] == :none
124
+ config[:encryption] ||= :simple_tls
125
+ tls_options = {
126
+ verify_mode: (config[:insecure] ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER)
127
+ }
128
+ if config[:cacert]
129
+ tls_options[:ca_file] = config[:cacert]
130
+ end
131
+ if config[:cert]
132
+ tls_options[:cert] = open(config[:cert]) { |i| OpenSSL::X509::Certificate.new(i) } # rubocop:disable Security/Open
133
+ end
134
+ ldap.encryption(method: config[:encryption], tls_options: tls_options)
104
135
  end
105
136
 
106
137
  begin
@@ -116,11 +147,12 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
116
147
  critical message
117
148
  end
118
149
  end
119
- rescue
150
+ rescue StandardError => e
120
151
  message = "Cannot connect to #{host}:#{config[:port]}"
121
152
  if config[:user]
122
153
  message += " as #{config[:user]}"
123
154
  end
155
+ message += e.inspect
124
156
  critical message
125
157
  end
126
158
 
@@ -138,15 +170,15 @@ class CheckSyncrepl < Sensu::Plugin::Check::CLI
138
170
  @differences = []
139
171
  combinations = csns.keys.combination(2).to_a
140
172
  combinations.each do |hosts|
141
- @differences << hosts if (csns[hosts[0]] - csns[hosts[1]]).length > 0
173
+ @differences << hosts if (csns[hosts[0]] - csns[hosts[1]]).length > 0 # rubocop:disable all
142
174
  end
143
175
 
144
176
  # If everything is OK, no need to retry
145
- ok 'All nodes are in sync' if @differences.length == 0
177
+ ok 'All nodes are in sync' if @differences.length == 0 # rubocop:disable all
146
178
  end
147
179
 
148
180
  # Hit max retries, report latest differences
149
- message = 'ContextCSNs differe between: '
181
+ message = 'ContextCSNs differ between: '
150
182
 
151
183
  joined = []
152
184
  @differences.each do |different|
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: false
3
+
2
4
  #
3
5
  # ldap-metrics.rb
4
6
  #
@@ -38,9 +40,9 @@ require 'sensu-plugin/utils'
38
40
  require 'socket'
39
41
  require 'net/ldap'
40
42
 
41
- include Sensu::Plugin::Utils
42
-
43
43
  class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
44
+ include Sensu::Plugin::Utils
45
+
44
46
  option :scheme,
45
47
  description: 'Metric naming scheme, text to prepend to metric',
46
48
  short: '-s SCHEME',
@@ -98,7 +100,6 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
98
100
 
99
101
  begin
100
102
  if ldap.bind
101
- message += 'So far'
102
103
  metrics = {
103
104
  conn_total: {
104
105
  title: 'connections.total',
@@ -131,8 +132,8 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
131
132
  attribute: 'monitorCounter'
132
133
  }
133
134
  }
134
- monitor_ops = %w(add modify delete search compare bind unbind)
135
- %w(initiated completed).each do |state|
135
+ monitor_ops = %w[add modify delete search compare bind unbind]
136
+ %w[initiated completed].each do |state|
136
137
  monitor_ops.each do |op|
137
138
  metrics["ops_#{op}_#{state}".to_sym] = {
138
139
  title: "operations.#{op}.#{state}",
@@ -149,7 +150,7 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
149
150
  metric[:value] = entry[metric[:attribute]]
150
151
  end
151
152
  end
152
- return metrics
153
+ return metrics # rubocop:disable Style/RedundantReturn
153
154
  else
154
155
  message = "Cannot connect to #{host}:#{config[:port]}"
155
156
  if config[:user]
@@ -158,7 +159,7 @@ class LDAPGraphite < Sensu::Plugin::Metric::CLI::Graphite
158
159
  critical message
159
160
  end
160
161
  end
161
- rescue
162
+ rescue StandardError
162
163
  message = "Cannot connect to #{host}:#{config[:port]}"
163
164
  message += " as #{config[:user]}"
164
165
  critical message
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  require 'sensu-plugins-openldap/version'
3
4
 
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SensuPluginsOpenldap
2
4
  module Version
3
- MAJOR = 0
5
+ MAJOR = 2
4
6
  MINOR = 0
5
- PATCH = 2
7
+ PATCH = 1
6
8
 
7
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
10
  end
metadata CHANGED
@@ -1,196 +1,174 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-openldap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2015-06-03 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2020-09-27 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
- name: sensu-plugin
14
+ name: net-ldap
37
15
  requirement: !ruby/object:Gem::Requirement
38
16
  requirements:
39
17
  - - '='
40
18
  - !ruby/object:Gem::Version
41
- version: 1.1.0
19
+ version: 0.16.3
42
20
  type: :runtime
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
24
  - - '='
47
25
  - !ruby/object:Gem::Version
48
- version: 1.1.0
26
+ version: 0.16.3
49
27
  - !ruby/object:Gem::Dependency
50
- name: net-ldap
28
+ name: sensu-plugin
51
29
  requirement: !ruby/object:Gem::Requirement
52
30
  requirements:
53
- - - '='
31
+ - - "~>"
54
32
  - !ruby/object:Gem::Version
55
- version: '0.11'
33
+ version: '4.0'
56
34
  type: :runtime
57
35
  prerelease: false
58
36
  version_requirements: !ruby/object:Gem::Requirement
59
37
  requirements:
60
- - - '='
38
+ - - "~>"
61
39
  - !ruby/object:Gem::Version
62
- version: '0.11'
40
+ version: '4.0'
63
41
  - !ruby/object:Gem::Dependency
64
- name: codeclimate-test-reporter
42
+ name: bundler
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
45
  - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: '0.4'
47
+ version: '2.1'
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - "~>"
75
53
  - !ruby/object:Gem::Version
76
- version: '0.4'
54
+ version: '2.1'
77
55
  - !ruby/object:Gem::Dependency
78
- name: rubocop
56
+ name: codeclimate-test-reporter
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
59
  - - "~>"
82
60
  - !ruby/object:Gem::Version
83
- version: '0.30'
61
+ version: '1.0'
84
62
  type: :development
85
63
  prerelease: false
86
64
  version_requirements: !ruby/object:Gem::Requirement
87
65
  requirements:
88
66
  - - "~>"
89
67
  - !ruby/object:Gem::Version
90
- version: '0.30'
68
+ version: '1.0'
91
69
  - !ruby/object:Gem::Dependency
92
- name: rspec
70
+ name: github-markup
93
71
  requirement: !ruby/object:Gem::Requirement
94
72
  requirements:
95
73
  - - "~>"
96
74
  - !ruby/object:Gem::Version
97
- version: '3.1'
75
+ version: '3.0'
98
76
  type: :development
99
77
  prerelease: false
100
78
  version_requirements: !ruby/object:Gem::Requirement
101
79
  requirements:
102
80
  - - "~>"
103
81
  - !ruby/object:Gem::Version
104
- version: '3.1'
82
+ version: '3.0'
105
83
  - !ruby/object:Gem::Dependency
106
- name: bundler
84
+ name: pry
107
85
  requirement: !ruby/object:Gem::Requirement
108
86
  requirements:
109
87
  - - "~>"
110
88
  - !ruby/object:Gem::Version
111
- version: '1.7'
89
+ version: '0.10'
112
90
  type: :development
113
91
  prerelease: false
114
92
  version_requirements: !ruby/object:Gem::Requirement
115
93
  requirements:
116
94
  - - "~>"
117
95
  - !ruby/object:Gem::Version
118
- version: '1.7'
96
+ version: '0.10'
119
97
  - !ruby/object:Gem::Dependency
120
98
  name: rake
121
99
  requirement: !ruby/object:Gem::Requirement
122
100
  requirements:
123
101
  - - "~>"
124
102
  - !ruby/object:Gem::Version
125
- version: '10.0'
103
+ version: '13.0'
126
104
  type: :development
127
105
  prerelease: false
128
106
  version_requirements: !ruby/object:Gem::Requirement
129
107
  requirements:
130
108
  - - "~>"
131
109
  - !ruby/object:Gem::Version
132
- version: '10.0'
110
+ version: '13.0'
133
111
  - !ruby/object:Gem::Dependency
134
- name: github-markup
112
+ name: redcarpet
135
113
  requirement: !ruby/object:Gem::Requirement
136
114
  requirements:
137
115
  - - "~>"
138
116
  - !ruby/object:Gem::Version
139
- version: '1.3'
117
+ version: '3.2'
140
118
  type: :development
141
119
  prerelease: false
142
120
  version_requirements: !ruby/object:Gem::Requirement
143
121
  requirements:
144
122
  - - "~>"
145
123
  - !ruby/object:Gem::Version
146
- version: '1.3'
124
+ version: '3.2'
147
125
  - !ruby/object:Gem::Dependency
148
- name: redcarpet
126
+ name: rspec
149
127
  requirement: !ruby/object:Gem::Requirement
150
128
  requirements:
151
129
  - - "~>"
152
130
  - !ruby/object:Gem::Version
153
- version: '3.2'
131
+ version: '3.4'
154
132
  type: :development
155
133
  prerelease: false
156
134
  version_requirements: !ruby/object:Gem::Requirement
157
135
  requirements:
158
136
  - - "~>"
159
137
  - !ruby/object:Gem::Version
160
- version: '3.2'
138
+ version: '3.4'
161
139
  - !ruby/object:Gem::Dependency
162
- name: yard
140
+ name: rubocop
163
141
  requirement: !ruby/object:Gem::Requirement
164
142
  requirements:
165
- - - "~>"
143
+ - - '='
166
144
  - !ruby/object:Gem::Version
167
- version: '0.8'
145
+ version: '0.81'
168
146
  type: :development
169
147
  prerelease: false
170
148
  version_requirements: !ruby/object:Gem::Requirement
171
149
  requirements:
172
- - - "~>"
150
+ - - '='
173
151
  - !ruby/object:Gem::Version
174
- version: '0.8'
152
+ version: '0.81'
175
153
  - !ruby/object:Gem::Dependency
176
- name: pry
154
+ name: yard
177
155
  requirement: !ruby/object:Gem::Requirement
178
156
  requirements:
179
157
  - - "~>"
180
158
  - !ruby/object:Gem::Version
181
- version: '0.10'
159
+ version: '0.8'
182
160
  type: :development
183
161
  prerelease: false
184
162
  version_requirements: !ruby/object:Gem::Requirement
185
163
  requirements:
186
164
  - - "~>"
187
165
  - !ruby/object:Gem::Version
188
- version: '0.10'
189
- description: Sensu plugins for openldap
166
+ version: '0.8'
167
+ description: Sensu plugins for OpenLDAP
190
168
  email: "<sensu-users@googlegroups.com>"
191
169
  executables:
192
- - metrics-ldap.rb
193
170
  - check-syncrepl.rb
171
+ - metrics-ldap.rb
194
172
  extensions: []
195
173
  extra_rdoc_files: []
196
174
  files:
@@ -205,7 +183,7 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-openldap
205
183
  licenses:
206
184
  - MIT
207
185
  metadata:
208
- maintainer: "@tas50"
186
+ maintainer: sensu-plugin
209
187
  development_status: active
210
188
  production_status: unstable - testing recommended
211
189
  release_draft: 'false'
@@ -219,16 +197,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
197
  requirements:
220
198
  - - ">="
221
199
  - !ruby/object:Gem::Version
222
- version: 1.9.3
200
+ version: '2.3'
223
201
  required_rubygems_version: !ruby/object:Gem::Requirement
224
202
  requirements:
225
203
  - - ">="
226
204
  - !ruby/object:Gem::Version
227
205
  version: '0'
228
206
  requirements: []
229
- rubyforge_project:
230
- rubygems_version: 2.4.6
207
+ rubygems_version: 3.0.8
231
208
  signing_key:
232
209
  specification_version: 4
233
- summary: Sensu plugins for openldap
210
+ summary: Sensu plugins for OpenLDAP
234
211
  test_files: []
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file