simnos 0.1.0.beta2 → 0.1.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simnos/dsl.rb +2 -1
- data/lib/simnos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dcea340c324817d32c60f71d02321d614e8420e
|
4
|
+
data.tar.gz: dde014013415169d6944bb17783ec56807d14876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08420d0f439fa25d925aff904c49f4f4c2d26805892492bdabc92fbb6a4c286105fb97273e8ea47c93983ce60eb8bbfa68489b8c3710df8d9f8c1ed13b873f0d'
|
7
|
+
data.tar.gz: e4e02de224e3601f6299c16015e8cc0e9f643c7ee1d10f60e788499a3a65b95f861e94b7c06966a7ae9df2efdb20f3de6dee9fef02803b403ade976bceaa834f
|
data/lib/simnos/dsl.rb
CHANGED
@@ -47,7 +47,8 @@ module Simnos
|
|
47
47
|
|
48
48
|
def sns(region = nil, &block)
|
49
49
|
current_region = @context[:region] = region || ENV['AWS_DEFAULT_REGION'] || ENV.fetch('AWS_REGION')
|
50
|
-
|
50
|
+
current_region_sns = @result.snss[current_region]
|
51
|
+
topics = current_region_sns ? current_region_sns.topics : []
|
51
52
|
@result.snss[current_region] = SNS.new(@context, topics, &block).result
|
52
53
|
end
|
53
54
|
end
|
data/lib/simnos/version.rb
CHANGED