publisher_renote_dac 0.0.12 → 0.0.13

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: f0ce94ac1ee04b18085c6f3c90368ec315722439683570e3113b6d24dbef8c17
4
- data.tar.gz: 01b84e0860043c04d8b237a1337b74f86833ed3dd3b9a58b7e718bb14635a3a1
3
+ metadata.gz: 0c4f747be65d4b58339a5ebfe51d6316924e8abfa458eae8f9c6934fc49a7290
4
+ data.tar.gz: 9aa40ece9df79179928951eb2b0147cf8179dbfc0c9b749b03102fab82bc6bf4
5
5
  SHA512:
6
- metadata.gz: 951b1599520653c7e3204eff934e8f48f35ebde6e9616ea75e145d108b9f18eaf4bc52a30ea21a61ef4f1e6028fa54a4c4715b55156f75fba87dd0e0be2553bf
7
- data.tar.gz: 65d7dec60e869f06d82e3f6dbdc51eed2c2353d8ce131401610411bca5f0e7863833a0010aac18d920559e78b217bb7616da1c30c762f97ce9d3a0466dde6bb0
6
+ metadata.gz: aebbc1ef0715e52497d3ca5ff081bf39501b50a89eaa55700823cb804d96a95e64f43c876b2a76617917a29d0dca5a5c037de67090ddafb8a928c27fff76e0f9
7
+ data.tar.gz: 57d425cf338120642b47ee84d8b9d73ca89b06bb4bf0d65399560b1e23fc2e662dd675f3982cf431a2b59deb1faeda326b4a81a8015f6e9221f41c8cce5db21e
@@ -1,3 +1,3 @@
1
1
  module PublisherRenoteDac
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
@@ -9,13 +9,10 @@ namespace :publisher_renote_dac do
9
9
  conn.start
10
10
 
11
11
  ch = conn.create_channel
12
- # get or create exchange
13
- x = ch.fanout('publisher_renote_dac.email')
14
- # get or create queue (note the durable setting)
15
- queue = ch.queue('consumer_renote_dac.email', durable: true)
16
- # bind queue to exchange
17
- queue.bind('publisher_renote_dac.email')
18
12
 
13
+ # connect one exchange to multiple queues
14
+ x = ch.fanout('publisher_renote_dac.email')
15
+ ch.queue('consumer_renote_dac.email', durable: true).bind('publisher_renote_dac.email')
19
16
  conn.close
20
17
  end
21
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publisher_renote_dac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidney Leatherwood