railway-ipc 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 133691d7aed29182f6310115b7de88fa29f20b75f7ee3146171f7a9e37a32c4f
4
- data.tar.gz: 4af075e0791c180d341654a19cade7ffdb2d7a1c6030f54c13c3abb9cb68ff05
3
+ metadata.gz: 4e93883b1436475f8b412a9bb1b689adf4d912575e3ebc406bba614321df1f4c
4
+ data.tar.gz: 42ba48cba7b1a384a3074715feae7d04b86012090e87b74a725925891214b238
5
5
  SHA512:
6
- metadata.gz: d58329cccd6475eadfc5a83da44cd8c1c19753bc6f28b39fb821a8f9667729b9ccd1826c2e14c99925e3bb5401122a86f15bbc32c850352104e1baf72ab72bab
7
- data.tar.gz: a2fcab82bd1e8a1c732ceb26710ea502e95e63785633a3c5484c45f70321c49a37e939afa3095323dd000fddc7387a3d13e5830117d97bb25b52eecf261bfce0
6
+ metadata.gz: 82a6d816b613df92db94065ce6c7027b44d49e8f8df91c59c82f2ddc3c6c0bd818ec8d2c8d511285acd393ee4624bb34f66ed1c39ed5a85be7f3779aac9900d0
7
+ data.tar.gz: 128ea826e0036463fcb635685e28bbc58916d073c48b5ff0100aa196bd2b824eee5117921eb571d87110b0d29b210779295b0f0fcd6d7f798c3f91e4f617e3e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- railway-ipc (0.1.2)
4
+ railway-ipc (0.1.3)
5
5
  bunny (~> 2.2.0)
6
6
  sneakers (~> 2.3.5)
7
7
 
@@ -36,8 +36,8 @@ module RailwayIpc
36
36
  private
37
37
 
38
38
  def setup_exchange
39
- @exchange = Bunny::Exchange.new(channel, :fanout, self.class.exchange_name)
40
- channel.queue(self.class.queue_name, auto_delete: true).bind(exchange)
39
+ @exchange = Bunny::Exchange.new(channel, :fanout, self.class.exchange_name, durable: true)
40
+ channel.queue(self.class.queue_name, durable: true).bind(exchange)
41
41
  end
42
42
 
43
43
  def setup_reply_queue
@@ -16,7 +16,7 @@ module RailwayIpc
16
16
  end
17
17
 
18
18
  def run
19
- @queue = channel.queue(self.class.queue_name, auto_delete: true)
19
+ @queue = channel.queue(self.class.queue_name, durable: true)
20
20
  subscribe_to_queue
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module RailwayIpc
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railway-ipc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-03 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake