dispatch-rider 1.3.4 → 1.3.5

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: 32966eadbd279ef867243d46da412d61368d5e53
4
- data.tar.gz: cc4fc502f92c8f9e181007df1ff53216be0247b9
3
+ metadata.gz: 746bb0e847be8e806be3ff493879dbbb7cfc4ca4
4
+ data.tar.gz: 03cc1700a13d4c6bafc29c5443fb6d9d0ba4f01c
5
5
  SHA512:
6
- metadata.gz: 04edfbd92afddecabd39852edf8e04121d85928bac06831a2c221cf95eb679b01794b32d24ed6a0294c53d681b9997081f235265eb76e8e1399ebc92dad6b933
7
- data.tar.gz: dabe483ea5460c9d2b3f783020cd8b620b5a4b41cf19ae812b6cbdab2e425658ecec84f44759daa3005067179b976387742d92111205cd4759cb57b17155e5fb
6
+ metadata.gz: 64c28d61819dbdc3f0988ccee863fd5c0a7c8db1baf158ab4aab1278ca6ab6fa21276f07b0df1c1da23fd1e7fa070e831c8dc64895cf3f6a1265c72ec9438beb
7
+ data.tar.gz: 818ecac335be4c9af8d84577e12937404a092822095593a0be3d6bde3987302f066d11432749a70e65d4b57609de3e6124ec4e9ee32391da106cb4573efbbf18
@@ -65,7 +65,13 @@ module DispatchRider
65
65
  end
66
66
 
67
67
  def message_info_fragment(message)
68
- "(#{message.object_id}): #{message.subject} : #{message.body.inspect}"
68
+ "(#{message.guid}): #{message.subject} : #{message_info_arguments(message).inspect}"
69
+ end
70
+
71
+ def message_info_arguments(message)
72
+ message.body.dup.tap { |m|
73
+ m.delete('guid')
74
+ }
69
75
  end
70
76
 
71
77
  def handle_next_queue_item
@@ -13,6 +13,10 @@ module DispatchRider
13
13
  super(message)
14
14
  end
15
15
 
16
+ def guid
17
+ self.body['guid']
18
+ end
19
+
16
20
  def extend_timeout(time)
17
21
  raise NotImplementedError
18
22
  end
@@ -1,4 +1,4 @@
1
1
  # This file specifies the current version of the gem.
2
2
  module DispatchRider
3
- VERSION = "1.3.4"
3
+ VERSION = "1.3.5"
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: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suman Mukherjee