rservicebus-beanstalk-webadmin 0.0.3 → 0.0.4

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: ef6a92d49546266389c6e73c6349a98aa35163b7
4
- data.tar.gz: e9ba210ce5624d73b334a2136e91567a6925e304
3
+ metadata.gz: 82f22909774063aff2f3f3ad41ba8e33913d1e9f
4
+ data.tar.gz: 7288d316c1e3c2e4979ccf3c36c79c6917636540
5
5
  SHA512:
6
- metadata.gz: 94d71c9425e7ecb51d4c1723af34b90d206af3f3c9cf6512633e2fafb6b8c5b16d2d6472d3cf6d00d7f1c57d98c241a6a019d2ae532e52756c6f9b93f01c0dad
7
- data.tar.gz: 1f0ebd68edf4983f5dd229bcfa35937921dcaf89fa9ae962993424105fe53f50fa90dd2526862eea5a39e3e6d37c0bf004acbf3a5fa92cb12a25778d0f30298e
6
+ metadata.gz: 50fea6dd1b206d6b06658f7dce18b966b106ab2776a45327ca7c41177dce91d5b3fd587bb903ae7f6e41f4cdb7faad7269dcb5a8c562b27969ee207cf8f75863
7
+ data.tar.gz: 8e5fc658f92a8cd64f33acc100774697d8f234b06b66e2b8d6800a2d651ef81cc7ce8bba1d0163d72d2f1dc49f9c9caaac4718877ba64c7fceb6105c086772dc
@@ -27,6 +27,7 @@ def convert_rservicebus2_msg_to_hash(idx, body)
27
27
  hash = Hash['idx', idx,
28
28
  'msg_id', msg_wrapper.msg_id,
29
29
  'return_address', msg_wrapper.return_address,
30
+ 'body', body,
30
31
  'error_list', []]
31
32
 
32
33
  msg_wrapper.error_list.each do |e|
@@ -42,20 +43,21 @@ def convert_rservicebus2_msg_to_hash(idx, body)
42
43
  end
43
44
 
44
45
  def convert_rservicebus_msg_to_hash(idx, body)
45
- require 'RServiceBus'
46
+ require 'rservicebus'
46
47
  msg_wrapper = YAML.load(body)
47
48
 
48
49
  hash = Hash['idx', idx,
49
- 'msg_id', msg_wrapper.msg_id,
50
- 'return_address', msg_wrapper.return_address,
50
+ 'msg_id', msg_wrapper.msgId,
51
+ 'return_address', msg_wrapper.returnAddress,
52
+ 'body', body,
51
53
  'error_list', []]
52
54
 
53
- msg_wrapper.error_list.each do |e|
54
- h = Hash['occurredat', e.occurredat,
55
- 'source_queue', e.source_queue,
56
- 'error_msg', e.error_msg]
57
- hash['error_list'] << h
58
- end
55
+ # msg_wrapper.error_list.each do |e|
56
+ # h = Hash['occurredat', e.occurredat,
57
+ # 'source_queue', e.source_queue,
58
+ # 'error_msg', e.error_msg]
59
+ # hash['error_list'] << h
60
+ # end
59
61
 
60
62
  hash['name'] = body.match('ruby/object:([A-Za-z0-9_:]*?)[^A-Za-z0-9_:]',
61
63
  '-- !ruby/object:RServiceBus2::Message'.length)[1]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rservicebus-beanstalk-webadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine