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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50685c5260965737557cc07ca01975b2fcb055fbab68d2fc0a805242b1a15fac
4
- data.tar.gz: 20ce27643d10fe6b80d9f6b48b885c256869e92cc1c8854683b9c3a6ec026a2b
3
+ metadata.gz: a0330f3d1c74ab526db71fd1b1fe8d5f47947cb7fedf81a16841e9fe28f2c8d2
4
+ data.tar.gz: 8dd7787731dad211e3fd913809f88926b39cd6fef887e54a2f836f5c99ed6bdb
5
5
  SHA512:
6
- metadata.gz: a3a1971248f41a9ef47f3582b3ed786e91ec098c37cef776ab4f5508464256f4a297a5839c8fe49921a7e57385d567f77cb4facc64cc2a0bd1d66204f237edf0
7
- data.tar.gz: f4d5d67dc5fdeb0c46841844bf5bbb4f59d700a7a86961ee2fca5f77a594482e140019a9bf7d5d1dc06aaa8d9fe2915d4672e40569de3f88d90e0eed796877a0
6
+ metadata.gz: 506caae24fd4b426d7e514ac42f83203c87b1c9bf8e9940bf674419e78ce4d744941fcb129cc1bb1ed11a0f180d114ad42081b85139a3ee81badda53822baef7
7
+ data.tar.gz: 59ba5c04dc7de5113151b2b2a9014388e458bc107d47a3f9b8f6b5408bd55a2caf0a06cb250c73c210fef0b68cf38eb5d7de4805b2cccde955c679e89a3ff62d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-aws-sqs (1.0.1)
4
+ fluent-plugin-aws-sqs (1.0.4)
5
5
  aws-sdk-sqs (>= 1.22.0)
6
6
  fluentd (>= 0.14.0)
7
7
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module SQS
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  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
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-19 00:00:00.000000000 Z
13
+ date: 2019-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fluentd