logstash-output-redis-increment 1.5.0 → 1.7.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: 708cc601c70a1f2e86a3fd2fcb8a3c48361b9b55607a07c68a0ec7265051efd5
4
+ data.tar.gz: d885cd329abc36a31c8e5e2839e9b41da2623a43284ebe6d810c453dfc3e2e5f
5
5
  SHA512:
6
- metadata.gz: 260fe2e2106d7aca3019a6b48493826d8d1919ffd41a8693eb751c3b34bc3d1c9f39a159bf136a82603ec9e9490509f14ebddf21a98a7fc0106ed1926901ae69
7
- data.tar.gz: f0e4fd54c548455c3cb4162b5dcc5a3163e50cf9c31cc27d5d23b9a393dd6c12366535a2a2f10bc7a1ef02df38807f11f10c39f003ab2a1c0834389cfd68b2a7
6
+ metadata.gz: 4cbd48e2c6657540c8af5e98719e53bfc2e7211dc82fc415cf325f00cd35904a749db9ae8dd51cc53a6c28e35be8e00f5e3e220f46636580d3b200856797389a
7
+ data.tar.gz: b9ec09ba4d55582e5334c97b9f585e75a7e7dcc2d0a452b571485aabea94da1bc8dcd71750862ec09db311f5c5843a907c2ce51bb74441c35f0ba476ba8048a1
@@ -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
- node_list << "redis://#{@host}"
60
+ node_list << "#{@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.7.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,66 +1,66 @@
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.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Vinciguerra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: logstash-core-plugin-api
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '2.0'
19
- name: logstash-core-plugin-api
20
- prerelease: false
21
20
  type: :runtime
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: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: redis
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '4'
33
- name: redis
34
- prerelease: false
35
34
  type: :runtime
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: '4'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: logstash-codec-plain
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - ">="
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
- name: logstash-codec-plain
48
- prerelease: false
49
48
  type: :runtime
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: '0'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: logstash-devutils
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: logstash-devutils
62
- prerelease: false
63
62
  type: :development
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubygems_version: 3.2.33
105
+ rubygems_version: 3.1.6
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Logstash Output Plugin for RedisIncrement