fluent-plugin-logmatic 0.9.1 → 0.9.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: 5a30e2c66cf206b595f59ba1be9bbd34a0c3ac26
4
- data.tar.gz: 3a426bb92f291ade3dbbe01d669c7f68c97937a7
3
+ metadata.gz: 2d9146a5e82a016e6eb25690a460a50e9d01a752
4
+ data.tar.gz: d09cc8b5acfa6318da8b625382dac673481eb6eb
5
5
  SHA512:
6
- metadata.gz: dbc9ec516620c079c5c00ad5948e398fa814d4982f15a8d43909d8e19d3af7cb32205ac6922ba4aa93ce6f3c61cb56114840f345590f7b1c89e1d5bb7ef9fd07
7
- data.tar.gz: 30d38f4691524a4641f23ea69db610ce9a32ee6d4ce0260eed1a8cc00cddbd54e8ca4b724f347b4f4886a400ef5ed00840058b168a95e9cc96af49e1dd76bad1
6
+ metadata.gz: 6fe1ad9f33e4d3ce8d32560b4240620a17249e131d187f3f7e0c69e6d6794f8fade6297b8aa301d1a31980a3facb99e1cb2e7fd63015b045655ca5173ff05e0f
7
+ data.tar.gz: 0cbc87c3216e83121c829e393f87be8bfdb23822ddb33c1a3738e9170b42c28d25e9a3fda3b564b7c09f7fe180428d31ad83397b3fb498e5c69cc9fd403ada9b
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-logmatic"
7
- spec.version = "0.9.1"
7
+ spec.version = "0.9.2"
8
8
  spec.authors = ["Logmatic support team"]
9
9
  spec.email = ["support@logmatic.io"]
10
10
  spec.summary = "Logmatic output plugin for Fluent event collector"
@@ -56,9 +56,16 @@ class Fluent::LogmaticOutput < Fluent::BufferedOutput
56
56
  end
57
57
 
58
58
  @_socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_KEEPALIVE, true)
59
- @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPIDLE, 10)
60
- @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPINTVL, 3)
61
- @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPCNT, 3)
59
+
60
+ begin
61
+ @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPIDLE, 10)
62
+ @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPINTVL, 3)
63
+ @_socket.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPCNT, 3)
64
+ rescue
65
+ # JRuby defines SOL_TCP, but it doesn't work
66
+ @_socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_KEEPINTVL, 3)
67
+ @_socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_KEEPCNT, 3)
68
+ end
62
69
 
63
70
  return @_socket
64
71
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-logmatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logmatic support team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-01 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: yajl-ruby
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.2'
55
55
  description:
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - LICENSE
65
65
  - README.md
@@ -77,17 +77,17 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.0.14.1
90
+ rubygems_version: 2.6.13
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Logmatic output plugin for Fluent event collector