logstash-input-sqs_s3 1.1.4 → 1.1.5
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/lib/logstash/inputs/sqs_s3.rb +1 -0
- data/lib/logstash/inputs/sqs_s3/patch.rb +22 -0
- data/logstash-input-sqs_s3.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54b8c56c9cae55cc5b9d96cb24ff5e64b42c1b1db07369e7b71eff26451e61c6
|
4
|
+
data.tar.gz: 9b76d647abed713b99c70abbd050e3483cd53637f93ea1ab4a6ef2345f572ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bf22d5c80d5510dc959ba96d4d2e0a17cf40ae2db3bf316f0c9b9e774a6b7ca352a42e20633d2218f0fe61232b3f9b62fe21ec33077288bcb4b563a04fa1678
|
7
|
+
data.tar.gz: fabd98107fee4a217445ae34b15e78387bf3c3d8c4f0d33cec31a44bf3f30aae3a3123396d25b4749662ed8b0e7d2e1d233fea98797078d857d458edb4b2305f
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# This patch was stolen from logstash-plugins/logstash-output-sqs#20.
|
2
|
+
#
|
3
|
+
# This patch is a workaround for a JRuby issue which has been fixed in JRuby
|
4
|
+
# 9000, but not in JRuby 1.7. See https://github.com/jruby/jruby/issues/3645
|
5
|
+
# and https://github.com/jruby/jruby/issues/3920. This is necessary because the
|
6
|
+
# `aws-sdk` is doing tricky name discovery to generate the correct error class.
|
7
|
+
#
|
8
|
+
# As per https://github.com/aws/aws-sdk-ruby/issues/1301#issuecomment-261115960,
|
9
|
+
# this patch may be short-lived anyway.
|
10
|
+
require 'aws-sdk'
|
11
|
+
|
12
|
+
begin
|
13
|
+
old_stderr = $stderr
|
14
|
+
$stderr = StringIO.new
|
15
|
+
|
16
|
+
module Aws
|
17
|
+
const_set(:SQS, Aws::SQS)
|
18
|
+
const_set(:S3, Aws::S3)
|
19
|
+
end
|
20
|
+
ensure
|
21
|
+
$stderr = old_stderr
|
22
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-sqs_s3'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.5'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Get logs from AWS s3 buckets as issued by an object-created event via sqs."
|
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/plugin install gemname. This gem is not a stand-alone program. Full credit goes to Heiko Finzel. Republishing this gem to support Logstash 5."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-sqs_s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heiko Finzel
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- README.md
|
90
90
|
- lib/logstash/inputs/sqs_s3.rb
|
91
91
|
- lib/logstash/inputs/sqs_s3.rb.save
|
92
|
+
- lib/logstash/inputs/sqs_s3/patch.rb
|
92
93
|
- logstash-input-sqs_s3.gemspec
|
93
94
|
- spec/inputs/sqs_s3_spec.rb
|
94
95
|
- spec/spec_helper.rb
|