messaging 4.0.6 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 453b65c49cebcc69c61734174427b71bfcb5f8a7a2a3e95accede52187c20d7e
4
- data.tar.gz: 8fc1ca7183766a39ed816a5cdd20951158d1b374f50f1be37048894d4a208869
3
+ metadata.gz: 8d97703c43540975f23e063202772870e7439b03fb6c235a62542db64a59c903
4
+ data.tar.gz: 4e8a8fc4b255ef40d46faf78e2b632a16b8b2005ff6ee3738f338337fcf2dae5
5
5
  SHA512:
6
- metadata.gz: ae7f4188feebdfbcd9751389f4935cff0642211733c7413647d978aa8bf68fbc2efaa6024ae68a6988214e394de00e16c22f09784fd0b4026e21a2ffdc4f1915
7
- data.tar.gz: 838050ea4683a816eb080cca3f6595159d4da2a345a9e9fea8b5ac58b69d4e9010eef71f7a74b2cd863ccdcab01a51dd6e3238ea812f9d80548effb28e3fba29
6
+ metadata.gz: fca2269ac7b7fa8bb3ab12231dd54c1bfb860d0fa24b9a9eaf616e5a5e58f36c256d838653f26d0019070d27e8082c9a0a638d0012976a4d1c4f014ca210fcf8
7
+ data.tar.gz: db69ec7bdf8757fc37bae8f450bfa4652dfe3456d18568e33495d4e6e6a1dfe381ef562ec041c4de6bc41df9e32acaf890b5c408da3c5c61216298b234abaf8e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messaging (4.0.6)
4
+ messaging (4.0.7)
5
5
  activerecord
6
6
  activesupport
7
7
  after_transaction
@@ -30,7 +30,10 @@ module Messaging
30
30
  # Rails version < 6
31
31
  def self.instantiate(attributes, *_args)
32
32
  attributes['message_type'].constantize.new(
33
- JSON.parse(attributes['data']).merge(stream_position: attributes['stream_position'])
33
+ JSON.parse(attributes['data']).merge(
34
+ stream_position: attributes['stream_position'],
35
+ transaction_id: attributes['transaction_id'],
36
+ global_position: attributes['id'])
34
37
  )
35
38
  end
36
39
 
@@ -1,3 +1,3 @@
1
1
  module Messaging
2
- VERSION = '4.0.6'.freeze
2
+ VERSION = '4.0.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.6
4
+ version: 4.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bukowskis