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.
- checksums.yaml +4 -4
- data/lib/aws/broker/base.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a2b0655af91c388ff08600509ef40fb6bd5598c
|
4
|
+
data.tar.gz: f642d65e645ef19c27922cadfa1a0b8a54b79444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f0291bee882923c0a1d231cd7d6b447413b9f61039bcabedda34a91969b327a9415a77fe1d8a48d335cf5c810632c19a02b5c0da232f6ce556f63c71c96f029
|
7
|
+
data.tar.gz: 360ebdb0eef7fc232e4dcbfdcacaea35397b33e3d7cf1efd90e69545746fdcb4c560d827804fe68c2e191b6460147aabb08d8d3236840ebde93a566c990e914d
|
data/lib/aws/broker/base.rb
CHANGED
@@ -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}
|
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.
|
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
|
+
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.
|
77
|
+
rubygems_version: 2.6.11
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: AWS Broker
|