riemann-client 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 +4 -4
- data/.rubocop.yml +2 -3
- data/CHANGELOG.md +8 -0
- data/lib/riemann/client/ssl_socket.rb +1 -1
- data/lib/riemann/client/tcp.rb +3 -1
- data/lib/riemann/client/udp.rb +1 -0
- data/lib/riemann/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ecf7fbb122c865afd7a238b0431fa0e7612911bd144c245ede6e1b4bba7d315
|
4
|
+
data.tar.gz: ba917bc1d701fc4879b5273fb0b719271c39a0a9aca442d300f6e2864829f955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0ee1e832110bd39c4caf6fe16af86691dea30e77768789bfd3db23ddb5ddf1e0b9786a5c326586526e8ccf9da40d4b1168378b701ab97f36a92c7ea71e2eb4
|
7
|
+
data.tar.gz: 82e370d71c95d39530b3b1fc4725b6a4f9ece4348cbe6cce08d944bf6c3e72b6cd9ccea47e243ed307c989f44ddb12ad03b5abc8837f81ce8b0915fbf2236665
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
---
|
2
|
+
AllCops:
|
3
|
+
TargetRubyVersion: 2.6
|
2
4
|
require:
|
3
5
|
- rubocop-rspec
|
4
6
|
Metrics/AbcSize:
|
@@ -13,8 +15,5 @@ Metrics/MethodLength:
|
|
13
15
|
Enabled: false
|
14
16
|
Metrics/PerceivedComplexity:
|
15
17
|
Enabled: false
|
16
|
-
Naming/VariableNumber:
|
17
|
-
AllowedIdentifiers:
|
18
|
-
- TLSv1_2
|
19
18
|
Style/Documentation:
|
20
19
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v1.2.0](https://github.com/riemann/riemann-ruby-client/tree/v1.2.0) (2023-06-28)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/riemann/riemann-ruby-client/compare/v1.1.0...v1.2.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Allow connection to Riemann using TLS 1.3 [\#49](https://github.com/riemann/riemann-ruby-client/pull/49) ([smortex](https://github.com/smortex))
|
10
|
+
|
3
11
|
## [v1.1.0](https://github.com/riemann/riemann-ruby-client/tree/v1.1.0) (2023-01-23)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/riemann/riemann-ruby-client/compare/v1.0.1...v1.1.0)
|
@@ -20,7 +20,7 @@ module Riemann
|
|
20
20
|
ctx.key = OpenSSL::PKey::RSA.new(File.read(@key_file))
|
21
21
|
ctx.cert = OpenSSL::X509::Certificate.new(File.read(@cert_file))
|
22
22
|
ctx.ca_file = @ca_file if @ca_file
|
23
|
-
ctx.
|
23
|
+
ctx.min_version = OpenSSL::SSL::TLS1_2_VERSION
|
24
24
|
ctx.verify_mode = OpenSSL::SSL::VERIFY_PEER if @ssl_verify
|
25
25
|
end
|
26
26
|
end
|
data/lib/riemann/client/tcp.rb
CHANGED
@@ -17,7 +17,7 @@ module Riemann
|
|
17
17
|
|
18
18
|
# Public: Return a socket factory
|
19
19
|
def self.socket_factory
|
20
|
-
@socket_factory
|
20
|
+
@socket_factory ||= proc { |options|
|
21
21
|
if options[:ssl]
|
22
22
|
SSLSocket.connect(options)
|
23
23
|
else
|
@@ -29,6 +29,8 @@ module Riemann
|
|
29
29
|
def initialize(options = {}) # rubocop:disable Lint/MissingSuper
|
30
30
|
@options = options
|
31
31
|
@locket = Monitor.new
|
32
|
+
@socket = nil
|
33
|
+
@pid = nil
|
32
34
|
end
|
33
35
|
|
34
36
|
def socket
|
data/lib/riemann/client/udp.rb
CHANGED
data/lib/riemann/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riemann-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kingsbury
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -149,7 +149,7 @@ homepage: https://github.com/aphyr/riemann-ruby-client
|
|
149
149
|
licenses:
|
150
150
|
- MIT
|
151
151
|
metadata: {}
|
152
|
-
post_install_message:
|
152
|
+
post_install_message:
|
153
153
|
rdoc_options: []
|
154
154
|
require_paths:
|
155
155
|
- lib
|
@@ -164,8 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
rubygems_version: 3.
|
168
|
-
signing_key:
|
167
|
+
rubygems_version: 3.2.5
|
168
|
+
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Client for the distributed event system Riemann.
|
171
171
|
test_files:
|