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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42092d994e9efb80b76a480394d234a4f6323598
4
- data.tar.gz: c1eba5a22d33471f2eb8ba38b2af20b9a15513b0
3
+ metadata.gz: cc17b2dbd91abbead6c61c461c5ba7b7556d1303
4
+ data.tar.gz: 535a792d4ac47f8695aabe9c6bd72f08d169572e
5
5
  SHA512:
6
- metadata.gz: c592dc4e54a2d8dc827a5007e5fc7d49416c504b142c311051174498eeaf6c95d6461435721bfb4d9495ce2fc2cce3c7d54306d13ead8762aced09ef49c339c9
7
- data.tar.gz: a212f43c5e3c6124b1cfd07cdc198977e1637e5f8d551ec828762bec825343a294ec529bc5b7c6dd27a776d7f74a70bcc53e4079026f6ed8b40a40cabfaacaaa
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
- $stderr.puts "#{self.class} error: #{$!.class}: #{$!}\nOriginal message: #{line}"
52
- raise if @whinyerrors
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.0'
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.0
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-05 00:00:00.000000000 Z
12
+ date: 2017-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: syslog_protocol