logstash-output-redis-increment 1.5.0 → 1.6.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
  SHA256:
3
- metadata.gz: f9fbc8d61655a467e6cc047504cfc5040a63ca19df6cd80440b4b337ca96a9e2
4
- data.tar.gz: 103fa43170d3a25954d15c2f575e2ce613d94b5ea0a49abc089c0e129949c74f
3
+ metadata.gz: 1222bb09a078d38332ca1640f621cccb07a2bda7586af545413b05f9ddc599d5
4
+ data.tar.gz: 0fdd2782dc875800169e82c2b65796bddbf0ee8947bb2b513cffb64ae96fd85b
5
5
  SHA512:
6
- metadata.gz: 260fe2e2106d7aca3019a6b48493826d8d1919ffd41a8693eb751c3b34bc3d1c9f39a159bf136a82603ec9e9490509f14ebddf21a98a7fc0106ed1926901ae69
7
- data.tar.gz: f0e4fd54c548455c3cb4162b5dcc5a3163e50cf9c31cc27d5d23b9a393dd6c12366535a2a2f10bc7a1ef02df38807f11f10c39f003ab2a1c0834389cfd68b2a7
6
+ metadata.gz: e8cb7dcb2f8c2d28582769c9026f7351b82801b1f493b299f4a63757c6cb3d75645a845de28362881634e8f1a0e7ab4cb18e23c4b46af6192da85042954f8068
7
+ data.tar.gz: a15ad68218ec16c6d9536b5205769f3d64e723f1a8e785c322401ad1708d954a0e60257e9f03431606d931a7a1411b76cc88c352bcec858d3f9a5c92fca84df6
@@ -53,12 +53,13 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
53
53
 
54
54
  private
55
55
  def connect
56
+ @current_host, @current_port = @host.split(':')
57
+
56
58
  if @cluster
57
59
  node_list = Array.new
58
60
  node_list << "redis://#{@host}"
59
61
  Redis.new(cluster:node_list)
60
62
  else
61
- @current_host, @current_port = @host.split(':')
62
63
  params = {
63
64
  :host => @current_host,
64
65
  :port => @current_port,
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-redis-increment'
3
- s.version = '1.5.0'
3
+ s.version = '1.6.0'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Logstash Output Plugin for RedisIncrement'
6
6
  s.description = 'Logstash Redis Output plugin for incrementing a key from each event.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-redis-increment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Vinciguerra