fluent-plugin-aws-sqs 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fluent/plugin/in-sqs.rb +0 -9
- data/lib/fluent/plugin/version.rb +1 -1
- data/tests/test_in-sqs.rb +0 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0330f3d1c74ab526db71fd1b1fe8d5f47947cb7fedf81a16841e9fe28f2c8d2
|
4
|
+
data.tar.gz: 8dd7787731dad211e3fd913809f88926b39cd6fef887e54a2f836f5c99ed6bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 506caae24fd4b426d7e514ac42f83203c87b1c9bf8e9940bf674419e78ce4d744941fcb129cc1bb1ed11a0f180d114ad42081b85139a3ee81badda53822baef7
|
7
|
+
data.tar.gz: 59ba5c04dc7de5113151b2b2a9014388e458bc107d47a3f9b8f6b5408bd55a2caf0a06cb250c73c210fef0b68cf38eb5d7de4805b2cccde955c679e89a3ff62d
|
data/Gemfile.lock
CHANGED
data/lib/fluent/plugin/in-sqs.rb
CHANGED
@@ -22,15 +22,6 @@ module Fluent::Plugin
|
|
22
22
|
def configure(conf)
|
23
23
|
super
|
24
24
|
|
25
|
-
# configured "port" is referred by `@port` or instance method #port
|
26
|
-
if @aws_key_id == nil
|
27
|
-
raise Fluent::ConfigError, "aws_key_id configuration key is mandatory"
|
28
|
-
end
|
29
|
-
|
30
|
-
if @aws_sec_key == nil
|
31
|
-
raise Fluent::ConfigError, "aws_sec_key configuration key is mandatory"
|
32
|
-
end
|
33
|
-
|
34
25
|
if @tag == nil
|
35
26
|
raise Fluent::ConfigError, "tag configuration key is mandatory"
|
36
27
|
end
|
data/tests/test_in-sqs.rb
CHANGED
@@ -24,31 +24,9 @@ class InSqsTest < Test::Unit::TestCase
|
|
24
24
|
end
|
25
25
|
|
26
26
|
sub_test_case 'configured with invalid configurations' do
|
27
|
-
test 'should reject because aws_key_id is missing' do
|
28
|
-
assert_raise Fluent::ConfigError do
|
29
|
-
create_driver(%[
|
30
|
-
aws_sec_key test_aws_sec_key
|
31
|
-
tag tag
|
32
|
-
sqs_url http://sqs-url.com
|
33
|
-
])
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
test 'should reject because aws_sec_key is missing' do
|
38
|
-
assert_raise Fluent::ConfigError do
|
39
|
-
create_driver(%[
|
40
|
-
aws_key_id test_aws_key_id
|
41
|
-
tag tag
|
42
|
-
sqs_url http://sqs-url.com
|
43
|
-
])
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
27
|
test 'should reject because tag is missing' do
|
48
28
|
assert_raise Fluent::ConfigError do
|
49
29
|
create_driver(%[
|
50
|
-
aws_sec_key test_aws_sec_key
|
51
|
-
aws_key_id test_aws_key_id
|
52
30
|
sqs_url http://sqs-url.com
|
53
31
|
])
|
54
32
|
end
|
@@ -57,8 +35,6 @@ class InSqsTest < Test::Unit::TestCase
|
|
57
35
|
test 'should reject because sqs_url is missing' do
|
58
36
|
assert_raise Fluent::ConfigError do
|
59
37
|
create_driver(%[
|
60
|
-
aws_sec_key test_aws_sec_key
|
61
|
-
aws_key_id test_aws_key_id
|
62
38
|
tag test_tag
|
63
39
|
])
|
64
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-aws-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shai Moria
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-09-
|
13
|
+
date: 2019-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fluentd
|