circuitry 3.0.0 → 3.0.1
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 +4 -0
- data/lib/circuitry/provisioning/provisioner.rb +5 -4
- data/lib/circuitry/version.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: 07ae4efdabd382cf4dcc8cda4c2102639e14515d
|
4
|
+
data.tar.gz: c7b36755a9674de3660b169b08e0db6765e65819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece369e583e3f2febaaba9ef5bc16481d88b5756fff08d9926f2baea3185e849efb7d9468276d32bc7560cc7822e8546fee01d7d0fd11623052a756522754634
|
7
|
+
data.tar.gz: 7314bcd628b794be00e20f2f160970ef02b8a2e443220bde6b11257527bf4a8da667acd4e571b039bdf6fc0b4f1a99bbaca2a2d0fa85784475aa3dd24a995e46
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,7 @@ module Circuitry
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def create_queue
|
33
|
-
safe_aws('Create
|
33
|
+
safe_aws('Create queue') do
|
34
34
|
queue = QueueCreator.find_or_create(
|
35
35
|
subscriber_config.queue_name,
|
36
36
|
dead_letter_queue_name: subscriber_config.dead_letter_queue_name,
|
@@ -43,7 +43,7 @@ module Circuitry
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def create_topics(type, topics)
|
46
|
-
safe_aws("Create #{type.to_s
|
46
|
+
safe_aws("Create #{type.to_s} topics") do
|
47
47
|
topics.map do |topic_name|
|
48
48
|
topic = TopicCreator.find_or_create(topic_name)
|
49
49
|
logger.info "Created topic #{topic.name}"
|
@@ -53,9 +53,10 @@ module Circuitry
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def subscribe_topics(queue, topics)
|
56
|
-
safe_aws('Subscribe
|
56
|
+
safe_aws('Subscribe to topics') do
|
57
57
|
SubscriptionCreator.subscribe_all(queue, topics)
|
58
|
-
|
58
|
+
plural_form = topics.size == 1 ? '' : 's'
|
59
|
+
logger.info "Subscribed #{topics.size} topic#{plural_form} to #{queue.name}"
|
59
60
|
true
|
60
61
|
end
|
61
62
|
end
|
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.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Huggins
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
297
|
version: '0'
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
|
-
rubygems_version: 2.5.1
|
300
|
+
rubygems_version: 2.4.5.1
|
301
301
|
signing_key:
|
302
302
|
specification_version: 4
|
303
303
|
summary: Decouple ruby applications using Amazon SNS fanout with SQS processing.
|