isimud 1.4.5 → 1.4.6

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
  SHA1:
3
- metadata.gz: 241f47ed16151bbd9c11cee52f01d9ae70548fd5
4
- data.tar.gz: 80f8a90cbd8d503e4ed92320b0c5ae58bce4f80b
3
+ metadata.gz: 2769638fbc9d69ddf26502e1929baf2884a2e821
4
+ data.tar.gz: 3f565c195f891af40a07e9c9f05bea6557c9519e
5
5
  SHA512:
6
- metadata.gz: 3b7d5e25af847dba9b139b95f23a8b082238ef1597edccf7fbfe0c6a830e96e86908f4a4183818bcf3991e7056f2ac901197813c79112a97518c8944aa2ae0d3
7
- data.tar.gz: 778a84005844f1887433ce51101d4871e5122d1c0a1819840b7c316a1cdd6e247332153b55e771def4e127de0472bc71ee65770458e0d622b0141b6f2bd6a646
6
+ metadata.gz: c3aac1635d4399cf011cb013b7d5930bfb9026f7da390ce2d78db1e451dc90b73d44d2d6e2759185b0392820f0fd6a1176dfa9a5db7b4520e117dfbee59b1690
7
+ data.tar.gz: bb8de5051878f5a25e1552934c9a4c22b44691e45dfd59e30396c76e89de894a037b7617f5bde92cdf7b28fe1ac859560b63fb930e0ed1b7ed22347d2bdad485
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- isimud (1.4.5)
4
+ isimud (1.4.6)
5
5
  activerecord (>= 4.1.4)
6
6
  activesupport (>= 4.1.4)
7
7
  bunny (>= 1.6.0)
data/README.md CHANGED
@@ -120,12 +120,10 @@ the message is not re-queued.
120
120
 
121
121
  # Changes
122
122
 
123
- ## 1.4.5
123
+ ## 1.4.6
124
124
 
125
+ * When consuming messages, use the channel setting from the delivery_info
125
126
  * Explicitly set Bunny logger to the Isimud logger
126
-
127
- ## 1.4.4
128
-
129
127
  * Check if current channel is open before sending message ack
130
128
 
131
129
  ## 1.4.3
@@ -0,0 +1 @@
1
+ 44e382d22b3d9e5b57e64a34fb76e20232855a6af0bb8d0a50c3a5bf5134f350a6212bc331d85d94f823e47c8dfcff0435da556cfa6b7f75d1bebfeaf9ce29ab
@@ -68,7 +68,7 @@ module Isimud
68
68
  # @yieldparam [String] payload message text
69
69
  def subscribe(queue, options = {}, &block)
70
70
  queue.subscribe(options.merge(manual_ack: true)) do |delivery_info, properties, payload|
71
- current_channel = channel
71
+ current_channel = delivery_info.channel
72
72
  begin
73
73
  log "Isimud: queue #{queue.name} received #{properties[:message_id]} routing_key: #{delivery_info.routing_key}", :debug
74
74
  Thread.current['isimud_queue_name'] = queue.name
@@ -1,3 +1,3 @@
1
1
  module Isimud
2
- VERSION = '1.4.5'
2
+ VERSION = '1.4.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isimud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Feil
@@ -119,6 +119,7 @@ files:
119
119
  - checksum/isimud-1.4.2.gem.sha512
120
120
  - checksum/isimud-1.4.3.gem.sha512
121
121
  - checksum/isimud-1.4.4.gem.sha512
122
+ - checksum/isimud-1.4.5.gem.sha512
122
123
  - config.ru
123
124
  - config/tddium.yml
124
125
  - doc/Isimud.html
metadata.gz.sig CHANGED
Binary file