syslogstash 0.1.4 → 0.1.5

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: 57f9a03e8075654fe964cc2fd0da045912296789
4
- data.tar.gz: 2e6e1b3264305e47a55d5fd9b275527e4e7b57dc
3
+ metadata.gz: 1146e4aa94b87702bcc7859071f330a0dc82217b
4
+ data.tar.gz: 7e309b2725310d9353486caf3e39083c92cc10ff
5
5
  SHA512:
6
- metadata.gz: 7be74a42eb0f2970cf47872c0d83a2a52fe5ab8d1e739e1951759ec70ce8bf6f5987fb47915691fa172c67f2fd2a5ab93099afe66d62264434a37f9102bad080
7
- data.tar.gz: be5027ec85b4e32364a5a5f0101160b41634d76691c0271730f1599b83de6291d1ad747413613a1c2a6ad996865f3fa0f176cd22c1064c09e7788117bc4a9d97
6
+ metadata.gz: f1c11c88ca4b5d27e0c9bb10b7e9438acf1e9f199f1053d5ebf8e60d4266224218d388afda093f755b3596e3a686316b06d54b2370459012ae5e7b5b04708eda
7
+ data.tar.gz: df55bd4d65f556b60fc2eb3fe229a5f0cf6af00b7cad19971fa47fb60cf14e1852cbb0bc014070d741c9280e2d1a31db2d404e0cc56ec49a1ef044d3c4be8645
@@ -20,7 +20,7 @@ class Syslogstash::SyslogReader
20
20
  socket = Socket.new(Socket::AF_UNIX, Socket::SOCK_DGRAM, 0)
21
21
  socket.bind(Socket.pack_sockaddr_un(@file))
22
22
  rescue Errno::EEXIST, Errno::EADDRINUSE
23
- log { "socket file #{@file} already exists; deleting"
23
+ log { "socket file #{@file} already exists; deleting" }
24
24
  File.unlink(@file) rescue nil
25
25
  retry
26
26
  rescue SystemCallError
@@ -37,7 +37,7 @@ class Syslogstash::SyslogReader
37
37
  end
38
38
  ensure
39
39
  socket.close
40
- log { "removing socket file #{@file}"
40
+ log { "removing socket file #{@file}" }
41
41
  File.unlink(@file) rescue nil
42
42
  end
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syslogstash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer