fluent-plugin-redis 0.3.3 → 0.3.4

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
- SHA1:
3
- metadata.gz: bc27a03a225977f7a940849612abe4dfb8f42de1
4
- data.tar.gz: b0177ec3657cb3407b504983afbb0e4fbd417b22
2
+ SHA256:
3
+ metadata.gz: ae84eb6a9435b40bcd189c605de835a276705435fc796a0934f737893dac449b
4
+ data.tar.gz: c4bc2ac4c90180e9b0307e217f1834e528f43060cbdabe38ffdec1ef7ba724f8
5
5
  SHA512:
6
- metadata.gz: 5c46bd642616f50876b99845091a80cf10a925d7d175edf12c7e2f3a7589bf3b3b84216cdbb60280059f9c86791fe4fafd05f1a6e48a1e3f39281773bc23784c
7
- data.tar.gz: b8733653372daf3b105b3f41d9d8f73570516cdc2b35f800def7c890a8b59bd1a1121191ddb45a4a9238546fe317fba62cc0c4ef45aba0be516c23f112d8bc41
6
+ metadata.gz: 3b9a6ddbb29ee2a29b8af0aed3d1bb7e26ec4a8a51cc2aa6d464d0f839f3faefb3808c99191918c5bc41841146bdfc299485da99b29838dcc70478b0822f6779
7
+ data.tar.gz: 194beaafb481ffa2c2690c72ce0711b44f7caf2e3071db1e6d585643b4d68617bc036e4d022d24e9c763c2246c263843e5bcd54009e3f24185c0fb31c907535b
@@ -0,0 +1,19 @@
1
+ #### Problem
2
+
3
+ ...
4
+
5
+ #### Steps to replicate
6
+
7
+ Provide example config and message
8
+
9
+ #### Expected Behavior
10
+
11
+ ...
12
+
13
+ #### Your environment
14
+
15
+ * OS version
16
+ * paste result of ``fluentd --version`` or ``td-agent --version``
17
+ * plugin version
18
+ * paste boot log of fluentd or td-agent
19
+ * paste result of ``fluent-gem list``, ``td-agent-gem list`` or your Gemfile.lock
@@ -4,8 +4,10 @@ services:
4
4
  rvm:
5
5
  - 2.1
6
6
  - 2.2
7
- - 2.3.3
8
- - 2.4.0
7
+ - 2.3
8
+ - 2.4
9
+ - 2.5.3
10
+ - 2.6.0
9
11
  gemfile:
10
12
  - gemfiles/fluentd_v0.14.gemfile
11
13
  - Gemfile
@@ -1,3 +1,12 @@
1
+ ## 0.3.4
2
+ * Pass chunk directly into builtin placeholders
3
+
4
+ ## 0.3.3
5
+ * Add multi workers environment considaration
6
+
7
+ ## 0.3.2
8
+ * Add TTL support
9
+
1
10
  ## 0.3.1
2
11
 
3
12
  * Use public msgpack APIs instead of its internal APIs
data/README.md CHANGED
@@ -60,7 +60,7 @@ They can use v0.3.0 or later. To use this parameters, users must update Fluentd
60
60
 
61
61
  <em>multi workers</em> are newly introduced feature in Fluentd v0.14.
62
62
 
63
- It can use this fetaure in this plugin in v0.3.3 or later.
63
+ It can use this feature in this plugin in v0.3.3 or later.
64
64
 
65
65
  ## Contributing to fluent-plugin-redis
66
66
 
@@ -3,10 +3,10 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-redis"
6
- s.version = "0.3.3"
6
+ s.version = "0.3.4"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Yuki Nishijima", "Hiroshi Hatake", "Kenji Okimoto"]
9
- s.date = %q{2017-04-17}
9
+ s.date = %q{2019-02-26}
10
10
  s.email = ["mail@yukinishijima.net", "fluent@clear-code.com"]
11
11
  s.homepage = "https://github.com/fluent-plugins-nursery/fluent-plugin-redis"
12
12
  s.summary = "Redis output plugin for Fluent"
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ["lib"]
18
18
 
19
- s.add_dependency %q<fluentd>, [">= 0.14.8", "< 2"]
19
+ s.add_dependency %q<fluentd>, [">= 0.14.22", "< 2"]
20
20
  s.add_dependency %q<redis>, ["~> 3.3.0"]
21
21
  s.add_development_dependency %q<rake>, [">= 11.3.0"]
22
22
  s.add_development_dependency %q<bundler>
@@ -74,7 +74,7 @@ module Fluent::Plugin
74
74
  end
75
75
 
76
76
  def write(chunk)
77
- tag, time = expand_placeholders(chunk.metadata)
77
+ tag, time = expand_placeholders(chunk)
78
78
  @redis.pipelined {
79
79
  unless @allow_duplicate_key
80
80
  stream = chunk.to_msgpack_stream
@@ -102,9 +102,9 @@ module Fluent::Plugin
102
102
 
103
103
  private
104
104
 
105
- def expand_placeholders(metadata)
106
- tag = extract_placeholders(@insert_key_prefix, metadata)
107
- time = extract_placeholders(@strftime_format, metadata)
105
+ def expand_placeholders(chunk)
106
+ tag = extract_placeholders(@insert_key_prefix, chunk)
107
+ time = extract_placeholders(@strftime_format, chunk)
108
108
  return tag, time
109
109
  end
110
110
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuki Nishijima
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-04-17 00:00:00.000000000 Z
13
+ date: 2019-02-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fluentd
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 0.14.8
21
+ version: 0.14.22
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
24
  version: '2'
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 0.14.8
31
+ version: 0.14.22
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '2'
@@ -110,6 +110,7 @@ executables: []
110
110
  extensions: []
111
111
  extra_rdoc_files: []
112
112
  files:
113
+ - ".github/ISSUE_TEMPLATE.md"
113
114
  - ".gitignore"
114
115
  - ".travis.yml"
115
116
  - CHANGELOG.md
@@ -141,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
142
  - !ruby/object:Gem::Version
142
143
  version: '0'
143
144
  requirements: []
144
- rubyforge_project:
145
- rubygems_version: 2.6.11
145
+ rubygems_version: 3.0.1
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Redis output plugin for Fluent