aws-broker 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aws/broker/base.rb +6 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e55ec09b5dfe5a8343300e6e925e0061c8ad2892
4
- data.tar.gz: ab7380dca0974b5f07bbf8d9c12c38378fdf7f15
3
+ metadata.gz: 1a2b0655af91c388ff08600509ef40fb6bd5598c
4
+ data.tar.gz: f642d65e645ef19c27922cadfa1a0b8a54b79444
5
5
  SHA512:
6
- metadata.gz: 550bfefa10a343e8e8054bc664566728614264fb9b1ddb47fcd6291e967d306f7420fcd1b3f07effee986d73adb7995091c54e717aec576c223ab19a2478d5a6
7
- data.tar.gz: e2bf6de6ac1b0b26a9b1bfcc79a533cd8a01d77d9641bb23388683784e3131b854fb9b44f735372abe8ca55fe16402fb22fd1ae6c6c3b202122088d88a17525c
6
+ metadata.gz: 2f0291bee882923c0a1d231cd7d6b447413b9f61039bcabedda34a91969b327a9415a77fe1d8a48d335cf5c810632c19a02b5c0da232f6ce556f63c71c96f029
7
+ data.tar.gz: 360ebdb0eef7fc232e4dcbfdcacaea35397b33e3d7cf1efd90e69545746fdcb4c560d827804fe68c2e191b6460147aabb08d8d3236840ebde93a566c990e914d
@@ -12,9 +12,14 @@ module Aws
12
12
  @topic_arn = sns.create_topic(name: topic_name).topic_arn
13
13
  end
14
14
 
15
+ # http://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SNS/Resource.html
16
+ #
17
+ # Constraints: Topic names must be made up of only uppercase and
18
+ # lowercase ASCII letters, numbers, underscores, and hyphens, and must
19
+ # be between 1 and 256 characters long.
15
20
  def topic_name
16
21
  if config.topic_prefix
17
- "#{config.topic_prefix}:#{@topic}"
22
+ "#{config.topic_prefix}_#{@topic}"
18
23
  else
19
24
  @topic
20
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eng @ Thanx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-28 00:00:00.000000000 Z
11
+ date: 2017-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sns
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.6.13
77
+ rubygems_version: 2.6.11
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: AWS Broker