circuitry 3.0.0 → 3.0.1

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
  SHA1:
3
- metadata.gz: df4dbe3ed4201727d1176f9fe8a520ec273b70e6
4
- data.tar.gz: ee091c7d8112aa937040c5bb9dbfb3b4979094ee
3
+ metadata.gz: 07ae4efdabd382cf4dcc8cda4c2102639e14515d
4
+ data.tar.gz: c7b36755a9674de3660b169b08e0db6765e65819
5
5
  SHA512:
6
- metadata.gz: 963e72ac4514a4d5eaa65eff1a745bbb8c4fce67cb8d244e9287bdc9b5017d17eeb8b97a24555ae4be3764c880052320c9aa219f395af7ba88bdbcae5a35e3df
7
- data.tar.gz: 5e42c1e6858ca016b19dc6c1f954547672e20ff9857d06d58747aa05f4266e84c46eb1c9f45159b12102ef7664cc6fa2ed12787440835c60fb9c2c67521622d6
6
+ metadata.gz: ece369e583e3f2febaaba9ef5bc16481d88b5756fff08d9926f2baea3185e849efb7d9468276d32bc7560cc7822e8546fee01d7d0fd11623052a756522754634
7
+ data.tar.gz: 7314bcd628b794be00e20f2f160970ef02b8a2e443220bde6b11257527bf4a8da667acd4e571b039bdf6fc0b4f1a99bbaca2a2d0fa85784475aa3dd24a995e46
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Circuitry 3.0.1 (Feb 19, 2016)
2
+
3
+ * Reworded provisioner subscription creator message *Brandon Croft*
4
+
1
5
  ## Circuitry 3.0.0 (Feb 19, 2016)
2
6
 
3
7
  * Added separate configuration for publisher/subscriber applications *Brandon Croft*
@@ -30,7 +30,7 @@ module Circuitry
30
30
  end
31
31
 
32
32
  def create_queue
33
- safe_aws('Create Queue') do
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.capitalize} Topics") do
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 Topics') do
56
+ safe_aws('Subscribe to topics') do
57
57
  SubscriptionCreator.subscribe_all(queue, topics)
58
- logger.info "Subscribed all topics to #{queue.name}"
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
@@ -1,3 +1,3 @@
1
1
  module Circuitry
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
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.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.