Skip to content

Commit 1f0ea0f

Browse files
committed
bump version to 3.4.0
1 parent e354aed commit 1f0ea0f

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
## Unreleased
2-
- Add support for renamed redis commands #29
1+
## 3.4.0
2+
- Added support for renamed redis commands [#29](https://github.com/logstash-plugins/logstash-input-redis/issues/29)
33

44
## 3.3.0
55
- Add channel to the event #46

lib/logstash/inputs/redis.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,9 @@ def connect
156156
redis = new_redis_instance
157157

158158
# register any renamed Redis commands
159-
if @command_map and not @command_map.empty?
160-
client_command_map = redis.client.command_map
161-
@command_map.each do |name, renamed|
162-
client_command_map[name.to_sym] = renamed.to_sym
163-
end
159+
client_command_map = redis.client.command_map
160+
@command_map.each do |name, renamed|
161+
client_command_map[name.to_sym] = renamed.to_sym
164162
end
165163

166164
load_batch_script(redis) if batched? && is_list_type?

logstash-input-redis.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-input-redis'
4-
s.version = '3.3.0'
4+
s.version = '3.4.0'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Reads events from a Redis instance"
77
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)