remote_syslog_sender 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/remote_syslog_sender/sender.rb +5 -2
- data/remote_syslog_sender.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc17b2dbd91abbead6c61c461c5ba7b7556d1303
|
4
|
+
data.tar.gz: 535a792d4ac47f8695aabe9c6bd72f08d169572e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f3853d6c9ce1903e8c6bc4bc7bfd2775bb66a98a1841ec1832982b0631dd2e9cc959a76640afb1f8b61e9024b8aa76f373247381407c445f2fac6083aa26c0
|
7
|
+
data.tar.gz: 35bd18ceafbbc39945b3718a2bc3ac66abf8b4f018abdb03b7d8eeb8da8c452f34d90ed3c697949df12d14e6e9d317befcee1f964e95ac59c724202985699ce5
|
@@ -48,8 +48,11 @@ module RemoteSyslogSender
|
|
48
48
|
packet.content = line
|
49
49
|
send_msg(packet.assemble(@packet_size))
|
50
50
|
rescue
|
51
|
-
|
52
|
-
|
51
|
+
if @whinyerrors
|
52
|
+
raise
|
53
|
+
else
|
54
|
+
$stderr.puts "#{self.class} error: #{$!.class}: #{$!}\nOriginal message: #{line}"
|
55
|
+
end
|
53
56
|
end
|
54
57
|
end
|
55
58
|
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.1'
|
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
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomohiro Hashidate
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: syslog_protocol
|