circuitry 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +2 -0
- data/lib/circuitry/config/shared_settings.rb +3 -1
- data/lib/circuitry/version.rb +1 -1
- 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: 3e0e95ae254f6e53edf4853f0c507771386adb035b0c787e91104e4813427872
|
4
|
+
data.tar.gz: 3a36c8be0a8b12049bd2c32622e77d8308d87a70000a3d1e9ecabc285ea9ab61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5c8cce1b408194926597b3450db3c0223d3731b1ac593957605422cf1b9184220d102531d5640eb667a85c29f5b0324f1e79e5bb28fafe47b56205d7c2dcbc2
|
7
|
+
data.tar.gz: 449402e98d9f043649757e6a2b5c6eed12a007511efb39930b7f146ee6bb161cadfaa29ca1a9916b4f1057ba246d088fa097555e2f812c999ec68ea087dfa961
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
|
+
## Circuitry 3.4.0 Sep 16, 2020)
|
2
|
+
|
3
|
+
* Adds an option for publisher and subscriber configs to override the AWS client options. *wahlg*
|
4
|
+
See: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html
|
5
|
+
See: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Client.html
|
6
|
+
|
1
7
|
## Circuitry 3.3.0 (June 23, 2020)
|
2
8
|
|
3
9
|
* Update AWS SDK to version 3 and use module sdk gems. *thogg4*
|
4
|
-
See https://github.com/aws/aws-sdk-ruby
|
10
|
+
See https://github.com/aws/aws-sdk-ruby
|
5
11
|
Version 3 is backwards compatible with version 2.
|
6
12
|
* Catch `Aws::SNS::Errors::InvalidParameter` and rethrow with the topic
|
7
13
|
and message that caused the problem for improved debugging.
|
data/README.md
CHANGED
@@ -150,6 +150,8 @@ Available configuration options for *both* subscriber and publisher applications
|
|
150
150
|
* `middleware`: A chain of middleware that messages must go through when sent or received.
|
151
151
|
Please refer to the [Middleware](#middleware) section for more details regarding this
|
152
152
|
option.
|
153
|
+
* `aws_options_overrides`: A key/value hash of option overrides and additions passed through to the
|
154
|
+
[`AWS::SQS::Client`](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SQS/Client.html)(for subscriber config) or [`AWS::SNS::Client`](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Client.html)(for publisher config)
|
153
155
|
|
154
156
|
Available configuration options for subscriber applications include:
|
155
157
|
|
@@ -15,6 +15,7 @@ module Circuitry
|
|
15
15
|
base.attribute :topic_names, Array[String], default: []
|
16
16
|
base.attribute :on_async_exit
|
17
17
|
base.attribute :async_strategy, Symbol, default: ->(_page, _att) { :fork }
|
18
|
+
base.attribute :aws_options_overrides, Hash, default: {}
|
18
19
|
end
|
19
20
|
|
20
21
|
def middleware
|
@@ -27,7 +28,8 @@ module Circuitry
|
|
27
28
|
{
|
28
29
|
access_key_id: access_key,
|
29
30
|
secret_access_key: secret_key,
|
30
|
-
region: region
|
31
|
+
region: region,
|
32
|
+
**aws_options_overrides
|
31
33
|
}
|
32
34
|
end
|
33
35
|
|
data/lib/circuitry/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circuitry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Huggins
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk-sqs
|