dispatch-rider 0.2.5 → 0.2.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c83bd0eaa995fa7670ffdefc142601edf76b67
|
4
|
+
data.tar.gz: 3da06e688819bd362c5ad5496ff8bb69373ff8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80f0873bf4ba615d32eef762af905f2c627d100183de4fabb5ddb96a849a0656ed233b4d77cd19983c540ad44f3b2bad43247eecb6d57e5c4532f169cca23c4e
|
7
|
+
data.tar.gz: a0488d4f6932746868fb83a60714a35b59d26798c32bc5dd82a9c2ac700c9ad914324f5ba1c49e8127fcf18d73f8435b1ab320306bc0eac434b8c5819a5a9cb9
|
@@ -15,8 +15,12 @@ module DispatchRider
|
|
15
15
|
Registrars::SnsChannel
|
16
16
|
end
|
17
17
|
|
18
|
+
# not really happy with this, but the notification service registrar system is way too rigid to do this cleaner
|
19
|
+
# since you only can have one notifier for the whole service, but you need to create a new one for each region
|
18
20
|
def channel(name)
|
19
|
-
|
21
|
+
arn = self.fetch(name)
|
22
|
+
region = arn.split(':')[3]
|
23
|
+
notifier_builder.new(region: region).topics[arn]
|
20
24
|
end
|
21
25
|
end
|
22
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dispatch-rider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suman Mukherjee
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-12-
|
14
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
225
|
rubyforge_project:
|
226
|
-
rubygems_version: 2.
|
226
|
+
rubygems_version: 2.1.11
|
227
227
|
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: Messaging system based on the reactor patter. You can publish messages to
|