syslogstash 1.1.1 → 1.1.2

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: af725e3c31909a7e2d251311d11f5bfdf5471daa
4
- data.tar.gz: 133065e8e9b7dba55c685193e8508ce8b781e148
3
+ metadata.gz: f6626cb091b7bf5bca9d7e54920e6e8be5318848
4
+ data.tar.gz: a089189b99321f4acf311dba99fb96851266322a
5
5
  SHA512:
6
- metadata.gz: add9d7cf8393d1b7666e48fb13935ec89e8998c934da871aba8dd39131dbd4756b8ff98a6f8cfb6a8936b61f28a63ed29616f219b4472c56f1582f636ee3c81b
7
- data.tar.gz: 13eac2698ce0c8020203e7547ee9049137ee7f6a5c84995ddd18077fb020132c65ca5cd54b90ada37d792f72ffbd343ad22b3543130339aca09b75f3fc228e42
6
+ metadata.gz: d0f4955359259e45996ed2bac20b1dba1796ae6b7329dcc65ec9f355d785b3587cf175469c1ecde45dd16f4f2ba09b5b0701e0e086d4d7b255b2a221efa94ce2
7
+ data.tar.gz: f713dbb9bd1d961179392e3e78a1cf81bcde87e6b9d476545fcb51f2c38d94b535b8ddcdc3208ae9ecb2772932975786ee254ba4c4740cc8a03f29611295eda7
@@ -37,6 +37,7 @@ class Syslogstash::SyslogReader
37
37
  begin
38
38
  socket = Socket.new(Socket::AF_UNIX, Socket::SOCK_DGRAM, 0)
39
39
  socket.bind(Socket.pack_sockaddr_un(@file))
40
+ File.chmod(0666, @file)
40
41
  rescue Errno::EEXIST, Errno::EADDRINUSE
41
42
  log { "socket file #{@file} already exists; deleting" }
42
43
  File.unlink(@file) rescue nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syslogstash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2016-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client