logstash-output-redis-increment 1.1.0 → 1.3.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: 1c01371b89f079b054bf731322dc9837ba6842b831166b6209eca7f5cb99bb06
4
- data.tar.gz: db90d9f54cf14a1a6cbd8ebbd7910781ae7fa5d6db4e2be253affeb83c2d7917
3
+ metadata.gz: b72d26b3ab56c8410410ed4c29b1ebd30fc8e7030b2829877d0446e8b94ba976
4
+ data.tar.gz: b495a6bc7c7230e085d6fb14760e97db90d579ca3d94d8aa53abc5a76426a4a7
5
5
  SHA512:
6
- metadata.gz: f532cae7c9519cb5f1067b88c0680f2522b3746d2b00dbd8f0e39122a7194d4d953357dd73ab932cc4aabe4b51bc6b95ee2d77ed5061122ba21aca1c74b8f58a
7
- data.tar.gz: 9432450da5268bb6b50f6ec59b219111afbbfd5b6dfebbdc4fbdb8d3714f1799b2bce6b8b7a7ad7c4908802e989bbd23ac2b9bf3e5c13cf5918d2190fabca2fb
6
+ metadata.gz: 70825a170fc233a0f0e0c8e46250f33dc1b3e05a335c3d010377fcfccca3df98513221d813e6abfe11b9c60134012507c295c716cf1e39ba8825c34d2da7a979
7
+ data.tar.gz: 32fdc0877162b2f2cf98641fac3582e5db0f08c2ecf58bca709aa162fb796e9ffd987f06b46d56f84beb28eddcc03b164f588eecb9ade4e672a43a7205d7c2d2
@@ -31,7 +31,7 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
31
31
 
32
32
  public
33
33
  def register
34
- require "redis-clustering"
34
+ require "redis"
35
35
  @redis = nil
36
36
  @codec.on_event(&method(:send_to_redis))
37
37
  end # def register
@@ -54,7 +54,7 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
54
54
  private
55
55
  def connect
56
56
  if @cluster
57
- Redis.new(cluster:@host)
57
+ Redis.new(cluster:@host)
58
58
  else
59
59
  @current_host, @current_port = @host.split(':')
60
60
  params = {
@@ -69,7 +69,8 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
69
69
  params[:password] = @password.value
70
70
  end
71
71
 
72
- Redis.new(params)
72
+ Redis.new(params)
73
+ end
73
74
  end #def connect
74
75
 
75
76
  # A string used to identify a Redis instance in log messages
@@ -90,5 +91,5 @@ class LogStash::Outputs::Redis < LogStash::Outputs::Base
90
91
  @redis = nil
91
92
  retry
92
93
  end
93
- end #def send_to_redis
94
+ end #def send_to_redis
94
95
  end # class LogStash::Outputs::Redis
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-redis-increment'
3
- s.version = '1.1.0'
3
+ s.version = '1.3.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.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Vinciguerra