syslogstash 1.1.2 → 1.2.0

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: f6626cb091b7bf5bca9d7e54920e6e8be5318848
4
- data.tar.gz: a089189b99321f4acf311dba99fb96851266322a
3
+ metadata.gz: ca1a0168110eec37aff3b2a88a22219b68ab198f
4
+ data.tar.gz: 9313e0158213fe941008f4c246c0a78a17271dfd
5
5
  SHA512:
6
- metadata.gz: d0f4955359259e45996ed2bac20b1dba1796ae6b7329dcc65ec9f355d785b3587cf175469c1ecde45dd16f4f2ba09b5b0701e0e086d4d7b255b2a221efa94ce2
7
- data.tar.gz: f713dbb9bd1d961179392e3e78a1cf81bcde87e6b9d476545fcb51f2c38d94b535b8ddcdc3208ae9ecb2772932975786ee254ba4c4740cc8a03f29611295eda7
6
+ metadata.gz: 1583881a837c53b0732110d5ee35858d874a486842bf03f6ec49f582030b4ac2b2cb4641c437a8112bea8048ee97881cab8e9040624c52a07579030bdbb3f133
7
+ data.tar.gz: 142599f19b0be339dd1b21ef987dd8068f399f4197cdcc574044b53cbb37d62e8ee0c70c16987c12002179a98be376d99b982ea311054d9e6558789aa5d4d2f8
@@ -108,7 +108,7 @@ class Syslogstash::LogstashWriter
108
108
  next_server = @servers.shift
109
109
  debug { "Trying to connect to #{next_server.to_s}" }
110
110
  @servers.push(next_server)
111
- @current_server = TCPSocket.new(next_server.host, next_server.port)
111
+ @current_server = TCPSocket.new(next_server.hostname, next_server.port)
112
112
  rescue SystemCallError => ex
113
113
  # Connection failed for any number of reasons; try again
114
114
  debug { "Failed to connect to #{next_server.to_s}: #{ex.message} (#{ex.class})" }
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.2
4
+ version: 1.2.0
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-12-05 00:00:00.000000000 Z
11
+ date: 2018-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client
@@ -221,9 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  requirements: []
223
223
  rubyforge_project:
224
- rubygems_version: 2.2.2
224
+ rubygems_version: 2.6.13
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: Send messages from syslog UNIX sockets to logstash
228
228
  test_files: []
229
- has_rdoc: