fluent-plugin-syslog-tls 2.1.0 → 2.1.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 +4 -4
- data/Gemfile.lock +85 -27
- data/lib/fluent/plugin/out_syslog_tls.rb +3 -3
- data/lib/syslog_tls/version.rb +2 -2
- data/test/syslog_tls/test_ssl_transport.rb +4 -4
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f2ff2579f826484e5e6220a2613dac5d885e08cf573c34090572991e53039a9
|
4
|
+
data.tar.gz: 2c145deb0888ba0e98f62809e9705cec278fd90479fb0b18fd4fb917dd9dbbe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 448dd2c2dd71a41c2d58eeea359c8e3eec4cbcb8ce588c59d0e6a096c5c04f2e8d0ce5caa63370b30f974692fa84452fa17bb7e38ad70a8a50d64a386fa5b21e
|
7
|
+
data.tar.gz: dc121850a435a634dfa723c949bab0cf789baf0e99b79994cd691a4728c6aa4606465647ed548a27688221ff77ca6fe47cbacf02dc962b83d89978feccaaf25e
|
data/Gemfile.lock
CHANGED
@@ -1,62 +1,120 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-syslog-tls (2.1.
|
4
|
+
fluent-plugin-syslog-tls (2.1.1)
|
5
5
|
fluentd (>= 0.14.0, < 2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.8.
|
11
|
-
public_suffix (>= 2.0.2, <
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
addressable (2.8.7)
|
11
|
+
public_suffix (>= 2.0.2, < 7.0)
|
12
|
+
async (2.24.0)
|
13
|
+
console (~> 1.29)
|
14
|
+
fiber-annotation
|
15
|
+
io-event (~> 1.9)
|
16
|
+
metrics (~> 0.12)
|
17
|
+
traces (~> 0.15)
|
18
|
+
async-http (0.91.0)
|
19
|
+
async (>= 2.10.2)
|
20
|
+
async-pool (~> 0.11)
|
21
|
+
io-endpoint (~> 0.14)
|
22
|
+
io-stream (~> 0.6)
|
23
|
+
metrics (~> 0.12)
|
24
|
+
protocol-http (~> 0.49)
|
25
|
+
protocol-http1 (~> 0.30)
|
26
|
+
protocol-http2 (~> 0.22)
|
27
|
+
traces (~> 0.10)
|
28
|
+
async-pool (0.11.0)
|
29
|
+
async (>= 2.0)
|
30
|
+
base64 (0.3.0)
|
31
|
+
bigdecimal (3.2.2)
|
32
|
+
concurrent-ruby (1.3.5)
|
33
|
+
console (1.33.0)
|
34
|
+
fiber-annotation
|
35
|
+
fiber-local (~> 1.1)
|
36
|
+
json
|
37
|
+
cool.io (1.9.0)
|
38
|
+
crack (1.0.0)
|
39
|
+
bigdecimal
|
15
40
|
rexml
|
16
|
-
|
17
|
-
|
41
|
+
csv (3.3.5)
|
42
|
+
docile (1.4.1)
|
43
|
+
drb (2.2.3)
|
44
|
+
fiber-annotation (0.2.0)
|
45
|
+
fiber-local (1.1.0)
|
46
|
+
fiber-storage
|
47
|
+
fiber-storage (1.0.1)
|
48
|
+
fluentd (1.19.0)
|
49
|
+
async-http (~> 0.86)
|
50
|
+
base64 (~> 0.2)
|
18
51
|
bundler
|
19
52
|
cool.io (>= 1.4.5, < 2.0.0)
|
53
|
+
csv (~> 3.2)
|
54
|
+
drb (~> 2.2)
|
20
55
|
http_parser.rb (>= 0.5.1, < 0.9.0)
|
56
|
+
io-event (< 1.11.0)
|
57
|
+
io-stream (< 0.8.0)
|
58
|
+
logger (~> 1.6)
|
21
59
|
msgpack (>= 1.3.1, < 2.0.0)
|
22
|
-
serverengine (>= 2.3.
|
23
|
-
sigdump (~> 0.2.
|
60
|
+
serverengine (>= 2.3.2, < 3.0.0)
|
61
|
+
sigdump (~> 0.2.5)
|
24
62
|
strptime (>= 0.2.4, < 1.0.0)
|
25
63
|
tzinfo (>= 1.0, < 3.0)
|
26
64
|
tzinfo-data (~> 1.0)
|
27
|
-
|
65
|
+
uri (~> 1.0)
|
66
|
+
webrick (~> 1.4)
|
28
67
|
yajl-ruby (~> 1.0)
|
29
|
-
|
68
|
+
zstd-ruby (~> 1.5)
|
69
|
+
hashdiff (1.2.0)
|
30
70
|
http_parser.rb (0.8.0)
|
31
|
-
|
71
|
+
io-endpoint (0.15.2)
|
72
|
+
io-event (1.10.2)
|
73
|
+
io-stream (0.7.0)
|
74
|
+
json (2.13.2)
|
75
|
+
logger (1.7.0)
|
76
|
+
metrics (0.13.0)
|
77
|
+
minitest (5.25.5)
|
32
78
|
minitest-stub_any_instance (1.0.3)
|
33
|
-
msgpack (1.
|
34
|
-
power_assert (2.0.
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
79
|
+
msgpack (1.8.0)
|
80
|
+
power_assert (2.0.5)
|
81
|
+
protocol-hpack (1.5.1)
|
82
|
+
protocol-http (0.53.0)
|
83
|
+
protocol-http1 (0.34.1)
|
84
|
+
protocol-http (~> 0.22)
|
85
|
+
protocol-http2 (0.22.1)
|
86
|
+
protocol-hpack (~> 1.4)
|
87
|
+
protocol-http (~> 0.47)
|
88
|
+
public_suffix (6.0.2)
|
89
|
+
rake (13.3.0)
|
90
|
+
rexml (3.4.1)
|
91
|
+
serverengine (2.4.0)
|
92
|
+
base64 (~> 0.1)
|
93
|
+
logger (~> 1.4)
|
39
94
|
sigdump (~> 0.2.2)
|
40
|
-
sigdump (0.2.
|
95
|
+
sigdump (0.2.5)
|
41
96
|
simplecov (0.22.0)
|
42
97
|
docile (~> 1.1)
|
43
98
|
simplecov-html (~> 0.11)
|
44
99
|
simplecov_json_formatter (~> 0.1)
|
45
|
-
simplecov-html (0.
|
100
|
+
simplecov-html (0.13.2)
|
46
101
|
simplecov_json_formatter (0.1.4)
|
47
102
|
strptime (0.2.5)
|
48
|
-
test-unit (3.
|
103
|
+
test-unit (3.7.0)
|
49
104
|
power_assert
|
50
|
-
|
105
|
+
traces (0.17.0)
|
106
|
+
tzinfo (2.0.6)
|
51
107
|
concurrent-ruby (~> 1.0)
|
52
|
-
tzinfo-data (1.
|
108
|
+
tzinfo-data (1.2025.2)
|
53
109
|
tzinfo (>= 1.0.0)
|
54
|
-
|
110
|
+
uri (1.0.3)
|
111
|
+
webmock (3.25.1)
|
55
112
|
addressable (>= 2.8.0)
|
56
113
|
crack (>= 0.3.2)
|
57
114
|
hashdiff (>= 0.4.0, < 2.0.0)
|
58
|
-
webrick (1.
|
115
|
+
webrick (1.9.1)
|
59
116
|
yajl-ruby (1.4.3)
|
117
|
+
zstd-ruby (1.5.7.0)
|
60
118
|
|
61
119
|
PLATFORMS
|
62
120
|
ruby
|
@@ -71,4 +129,4 @@ DEPENDENCIES
|
|
71
129
|
webmock (~> 3.0)
|
72
130
|
|
73
131
|
BUNDLED WITH
|
74
|
-
2.
|
132
|
+
2.6.9
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Copyright 2016 Acquia, Inc.
|
2
|
-
# Copyright 2016-
|
2
|
+
# Copyright 2016-2025 t.e.morgan.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -121,8 +121,8 @@ module Fluent::Plugin
|
|
121
121
|
|
122
122
|
def process(tag, es)
|
123
123
|
es.each do |time, record|
|
124
|
-
record.each_pair do |
|
125
|
-
v.force_encoding('
|
124
|
+
record.each_pair do |k, v|
|
125
|
+
record[k] = v.dup.force_encoding('UTF-8') if v.is_a?(String) && v.encoding != Encoding::UTF_8
|
126
126
|
end
|
127
127
|
|
128
128
|
# Check if severity has been provided in record otherwise use INFO
|
data/lib/syslog_tls/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Copyright 2016 Acquia, Inc.
|
2
|
-
# Copyright 2016-
|
2
|
+
# Copyright 2016-2025 t.e.morgan.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -14,5 +14,5 @@
|
|
14
14
|
# limitations under the License.
|
15
15
|
|
16
16
|
module SyslogTls
|
17
|
-
VERSION = '2.1.
|
17
|
+
VERSION = '2.1.1'
|
18
18
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Copyright 2016 Acquia, Inc.
|
2
|
-
# Copyright 2016-
|
2
|
+
# Copyright 2016-2025 t.e.morgan.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
5
|
# you may not use this file except in compliance with the License.
|
@@ -38,8 +38,8 @@ class SSLTransportTest < Test::Unit::TestCase
|
|
38
38
|
client.close
|
39
39
|
}
|
40
40
|
t = SyslogTls::SSLTransport.new("localhost", server.addr[1], ca_cert: false, ssl_version: client_min)
|
41
|
-
t.write("TEST")
|
42
|
-
t.write("TEST2\n")
|
41
|
+
t.write(+"TEST")
|
42
|
+
t.write(+"TEST2\n")
|
43
43
|
st.join
|
44
44
|
end
|
45
45
|
if should_raise
|
@@ -64,7 +64,7 @@ class SSLTransportTest < Test::Unit::TestCase
|
|
64
64
|
SyslogTls::SSLTransport.stub_any_instance(:get_ssl_connection, client) do
|
65
65
|
assert_raises RuntimeError do
|
66
66
|
t = SyslogTls::SSLTransport.new("localhost", 33000, max_retries: 3)
|
67
|
-
t.write("TEST\n")
|
67
|
+
t.write(+"TEST\n")
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-syslog-tls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thomas morgan
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: fluentd
|
@@ -150,7 +149,6 @@ homepage: https://github.com/zarqman/fluent-plugin-syslog-tls
|
|
150
149
|
licenses:
|
151
150
|
- Apache v2
|
152
151
|
metadata: {}
|
153
|
-
post_install_message:
|
154
152
|
rdoc_options: []
|
155
153
|
require_paths:
|
156
154
|
- lib
|
@@ -165,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
163
|
- !ruby/object:Gem::Version
|
166
164
|
version: '0'
|
167
165
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
169
|
-
signing_key:
|
166
|
+
rubygems_version: 3.6.9
|
170
167
|
specification_version: 4
|
171
168
|
summary: Fluent Syslog TLS output plugin
|
172
169
|
test_files:
|