logstash-output-s3 4.0.1 → 4.0.2
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/CHANGELOG.md +3 -0
- data/CONTRIBUTORS +1 -0
- data/lib/logstash/outputs/s3.rb +2 -2
- data/logstash-output-s3.gemspec +1 -1
- data/spec/outputs/s3/file_repository_spec.rb +0 -3
- data/spec/supports/helpers.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec9c55fa24c4711344516d06763f977e78462f43
|
4
|
+
data.tar.gz: 88475769f935c73400adcc168ccb19ec4ffa44e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddf1170cd85706fa7b93ea9046d84243ca1fa4835e58d17acfb29a49a9eeba400a59e534df1bce985c6457d54719dd40f1190937b57b990c7b3f9e66fbd3ee4c
|
7
|
+
data.tar.gz: a791fb9e6e0c1f76a5628281047bcc1271336be2c3d1113b465c801f854d1b2bae7f6b40d9fc1bf3934d013d7a0a68a898e64eb3ad8ae02636fe3b05a0d832e0
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTORS
CHANGED
data/lib/logstash/outputs/s3.rb
CHANGED
@@ -253,7 +253,7 @@ class LogStash::Outputs::S3 < LogStash::Outputs::Base
|
|
253
253
|
end
|
254
254
|
|
255
255
|
def full_options
|
256
|
-
options =
|
256
|
+
options = Hash.new
|
257
257
|
options[:s3_signature_version] = @signature_version if @signature_version
|
258
258
|
options.merge(aws_options_hash)
|
259
259
|
end
|
@@ -281,7 +281,7 @@ class LogStash::Outputs::S3 < LogStash::Outputs::Base
|
|
281
281
|
end
|
282
282
|
|
283
283
|
def bucket_resource
|
284
|
-
Aws::S3::Bucket.new(@bucket,
|
284
|
+
Aws::S3::Bucket.new(@bucket, full_options)
|
285
285
|
end
|
286
286
|
|
287
287
|
def aws_service_endpoint(region)
|
data/logstash-output-s3.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-s3'
|
3
|
-
s.version = '4.0.
|
3
|
+
s.version = '4.0.2'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "This plugin was created for store the logstash's events into Amazon Simple Storage Service (Amazon S3)"
|
6
6
|
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"
|
@@ -105,9 +105,6 @@ describe LogStash::Outputs::S3::FileRepository do
|
|
105
105
|
|
106
106
|
@file_repository.get_file("another-prefix") { |file| file.write("hello") }
|
107
107
|
expect(@file_repository.size).to eq(2)
|
108
|
-
@file_repository.keys.each do |k|
|
109
|
-
puts k
|
110
|
-
end
|
111
108
|
try(10) { expect(@file_repository.size).to eq(1) }
|
112
109
|
expect(File.directory?(path)).to be_falsey
|
113
110
|
end
|
data/spec/supports/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|