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: cdb611a6ab63be55b0d04fde9ebea3916ca56f9e
4
- data.tar.gz: 8173124a63bbc2e54596901ba952101681b3dd7c
3
+ metadata.gz: e8c83bd0eaa995fa7670ffdefc142601edf76b67
4
+ data.tar.gz: 3da06e688819bd362c5ad5496ff8bb69373ff8a6
5
5
  SHA512:
6
- metadata.gz: 6848853a000871de5dd4186aab9aa04f0cf213595d3a9e591a2af525717ea090e1b4b87207e40ffbacd5c7811d15204b17be6242ef8d359c76c6f6e0048405ab
7
- data.tar.gz: e2828945bc2f00a0723e009979025414eb4bed20ff82a35cb53ae553e4a02e55628200790f375ae4aa2f1817b3ebd4005533083b24b9361a2d13f9d3d136ac27
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
- notifier.topics[self.fetch(name)]
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
@@ -1,4 +1,4 @@
1
1
  # This file specifies the current version of the gem.
2
2
  module DispatchRider
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  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.5
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-04 00:00:00.000000000 Z
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.0.3
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