fluent-plugin-redis-render 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24a552a7eb957db03917c555088adf88103eeabbf02997b8b7537b12dce2ef63
4
- data.tar.gz: 404e5a97587fc1fbfe8de92c7a2997d90c63df7ca03e6698c093febb58d12618
3
+ metadata.gz: effc553c4d5965f3b699311691ffc5a9ec2a10eecac1af9ec8ab6d31ef0eca50
4
+ data.tar.gz: 305814104fdc4fc6ab5b4781a083e3f67260d8c44f047a8b34a8b5f0e030d2cf
5
5
  SHA512:
6
- metadata.gz: 566b836276144963a0ed23e7bbf4ede0739d9ebc8404531fea6a567bf73d53f3ef5cfcc0c2887ee642670cd392e4cc4df4c432a1220c0a6c949fb76bcbb35e3a
7
- data.tar.gz: e4ceec61a4e540382821deaf345332918825a1eb76a2273f274b890515c65d5c1d7576afaf8a6ab26ba74c049abd59a773190b97874cd9e6cd404ca1ef49e2ff
6
+ metadata.gz: 34fd53f765ebab478d2604995bed411bd6265f2b31a9caa23c1073b1bce7c7cc13c21acba6390022e05b51ae0c67a1443ff445437c5e48b478c861ed6b9d02c1
7
+ data.tar.gz: 75b1dc15b0a384b922dd4312bfe39f6e0400a6f156afa41120490cf2f55562831c7b5e6f33b4a3ecf521a9ea738af76c3655887daf2808a9c892dd734ee29d1a
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-redis-render"
4
4
  gem.email = "dev@render.com"
5
- gem.version = "0.2.8"
5
+ gem.version = "0.2.9"
6
6
  gem.authors = ["Render Developers", "moaikids", "HANAI Tohru aka pokehanai"]
7
7
  gem.licenses = ["Apache-2.0"]
8
8
  gem.summary = %q{Redis(zset/set/list/string/publish) output plugin for Fluentd}
@@ -12,6 +12,7 @@ module Fluent::Plugin
12
12
  config_param :host, :string, :default => '127.0.0.1'
13
13
  config_param :port, :integer, :default => 6379
14
14
  config_param :path, :string, :default => nil
15
+ config_param :username, :string, :default => nil
15
16
  config_param :password, :string, :default => nil
16
17
  config_param :db, :integer, :default => 0
17
18
  config_param :timeout, :float, :default => 5.0
@@ -55,10 +56,10 @@ module Fluent::Plugin
55
56
  def start
56
57
  super
57
58
  if @path
58
- @redis = Redis.new(:path => @path, :password => @password,
59
+ @redis = Redis.new(:path => @path, :username => @username, :password => @password,
59
60
  :timeout => @timeout, :thread_safe => true, :db => @db)
60
61
  else
61
- @redis = Redis.new(:host => @host, :port => @port, :password => @password,
62
+ @redis = Redis.new(:host => @host, :port => @port, :username => @username, :password => @password,
62
63
  :timeout => @timeout, :thread_safe => true, :db => @db)
63
64
  end
64
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redis-render
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Render Developers