remote_syslog_sender 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/remote_syslog_sender/tcp_sender.rb +4 -2
- data/remote_syslog_sender.gemspec +2 -2
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5f790e1aed9473d0578f52ec35947fd78d1ab614670513efe787ec79ac4cf42b
|
4
|
+
data.tar.gz: f65e0ced0294ecbe1533fe04a4b2054e9f976230e74fd813ca30733dd2fbea9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef23aa24b79470f4c0e5fb51be9b90e1801c1513b85494d7d63facd4abc47fc109f4e5a34366b96eaf45c729895a904f8767da718e53676a734e723c1ebd8720
|
7
|
+
data.tar.gz: 4128b921473bf397d423a08f99895a3e2d77a7c1dc158b9e9c8b3b2f85fe85b34bc983a18fbaaf1b492d0ecb8946d24853974659b90cc8af7569f114bbba69c1
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Remote Syslog Sender
|
2
2
|
|
3
|
-
This gem is syslog sender that is extracted from
|
3
|
+
This gem is syslog sender that is extracted from [papertrail/remote_syslog_logger](https://github.com/papertrail/remote_syslog_logger)
|
4
4
|
|
5
5
|
This can send message to remote syslog server via UDP, TCP, TCP+TLS.
|
6
6
|
(Original does not support TCP, TCP+TLS protocol).
|
@@ -69,8 +69,10 @@ module RemoteSyslogSender
|
|
69
69
|
|
70
70
|
@socket = OpenSSL::SSL::SSLSocket.new(@tcp_socket, context)
|
71
71
|
@socket.connect
|
72
|
-
@
|
73
|
-
|
72
|
+
if @verify_mode != OpenSSL::SSL::VERIFY_NONE
|
73
|
+
@socket.post_connection_check(@remote_hostname)
|
74
|
+
raise "verification error" if @socket.verify_result != OpenSSL::X509::V_OK
|
75
|
+
end
|
74
76
|
else
|
75
77
|
@socket = @tcp_socket
|
76
78
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'remote_syslog_sender'
|
3
|
-
s.version = '1.2.
|
3
|
+
s.version = '1.2.2'
|
4
4
|
s.summary = "Message sender that sends directly to a remote syslog endpoint"
|
5
5
|
s.description = "Message sender that sends directly to a remote syslog endpoint (Support UDP, TCP, TCP+TLS)"
|
6
6
|
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
|
16
16
|
s.add_runtime_dependency 'syslog_protocol'
|
17
17
|
|
18
|
-
s.add_development_dependency "bundler", "
|
18
|
+
s.add_development_dependency "bundler", ">= 1.6", "< 3.0"
|
19
19
|
s.add_development_dependency "rake"
|
20
20
|
s.add_development_dependency "test-unit"
|
21
21
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_syslog_sender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomohiro Hashidate
|
8
8
|
- Eric Lindvall
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: syslog_protocol
|
@@ -29,16 +29,22 @@ dependencies:
|
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '1.6'
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.0'
|
35
38
|
type: :development
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
|
-
- - "
|
42
|
+
- - ">="
|
40
43
|
- !ruby/object:Gem::Version
|
41
44
|
version: '1.6'
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: rake
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +95,7 @@ files:
|
|
89
95
|
homepage: https://github.com/reproio/remote_syslog_logger
|
90
96
|
licenses: []
|
91
97
|
metadata: {}
|
92
|
-
post_install_message:
|
98
|
+
post_install_message:
|
93
99
|
rdoc_options: []
|
94
100
|
require_paths:
|
95
101
|
- lib
|
@@ -104,9 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
110
|
- !ruby/object:Gem::Version
|
105
111
|
version: '0'
|
106
112
|
requirements: []
|
107
|
-
|
108
|
-
|
109
|
-
signing_key:
|
113
|
+
rubygems_version: 3.2.3
|
114
|
+
signing_key:
|
110
115
|
specification_version: 4
|
111
116
|
summary: Message sender that sends directly to a remote syslog endpoint
|
112
117
|
test_files:
|