fluent-plugin-s3 1.0.0.rc7 → 1.0.0.rc8
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 +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_s3.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23f48015111ef6d82e594f44bf13aacf1c1cae98
|
|
4
|
+
data.tar.gz: 426187af67d57eafeced8825d53a702c0a648b85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dde04abfd7cca7ab08e883a4dec05947aeb38eca90e356252b0331447defb562b51fc9f01558c832482254372b8a009d295ee7d10fd64332cb0b9fd4230541ee
|
|
7
|
+
data.tar.gz: d06679296f6552a54dea51b6eb26f0f8551f866e36e7afd26ff0b20565f914d40cf64d4c13491f41d71e8d150bcc659f8a274e9e46e9e482e10ea80b5df7f56d
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.0.
|
|
1
|
+
1.0.0.rc8
|
data/lib/fluent/plugin/out_s3.rb
CHANGED
|
@@ -273,7 +273,7 @@ module Fluent::Plugin
|
|
|
273
273
|
begin
|
|
274
274
|
@compressor.compress(chunk, tmp)
|
|
275
275
|
tmp.rewind
|
|
276
|
-
log.debug "out_s3: write chunk with metadata #{chunk.metadata} to s3://#{@s3_bucket}/#{s3path}"
|
|
276
|
+
log.debug "out_s3: write chunk #{dump_unique_id_hex(chunk.unique_id)} with metadata #{chunk.metadata} to s3://#{@s3_bucket}/#{s3path}"
|
|
277
277
|
|
|
278
278
|
put_options = {
|
|
279
279
|
body: tmp,
|
|
@@ -290,7 +290,7 @@ module Fluent::Plugin
|
|
|
290
290
|
if @s3_metadata
|
|
291
291
|
put_options[:metadata] = {}
|
|
292
292
|
@s3_metadata.each do |k, v|
|
|
293
|
-
put_options[:metadata][k] = extract_placeholders(v, metadata)
|
|
293
|
+
put_options[:metadata][k] = extract_placeholders(v, metadata).gsub(%r(%{[^}]+}), {"%{index}" => i - 1})
|
|
294
294
|
end
|
|
295
295
|
end
|
|
296
296
|
@bucket.object(s3path).put(put_options)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-s3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.
|
|
4
|
+
version: 1.0.0.rc8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sadayuki Furuhashi
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-10-
|
|
12
|
+
date: 2017-10-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
version: 1.3.1
|
|
156
156
|
requirements: []
|
|
157
157
|
rubyforge_project:
|
|
158
|
-
rubygems_version: 2.6.
|
|
158
|
+
rubygems_version: 2.6.13
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: Amazon S3 output plugin for Fluentd event collector
|