messaging 4.0.6 → 4.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/messaging/adapters/postgres/serialized_message.rb +4 -1
- data/lib/messaging/routing.rb +2 -2
- data/lib/messaging/routing_23.rb +2 -2
- data/lib/messaging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f905acc6e7fb4a8475648b2007787c8a8019bfe19c402e7d052fbeac5f50fb37
|
4
|
+
data.tar.gz: a934234063a52c36daa669129f44f3fb999b8945eb35a0d7f6c0181e5abba721
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6275d0dfacce6c3c5957bb28aa1b374af0b61aeef5a3cd8965ee1e2cce6ebb51f350fcdb4cd8ae50bf94027227cd74b7996e124df3e89989ae0549adb4569289
|
7
|
+
data.tar.gz: 68b1baa8eba18ff12dd878b2fe56582ebb4950f4dc5fbabaddd05a706eaf654b9286e0ee2538eda393eba1459fba0dfcc260cea32c36b2a1b6c47c7abfa29a81
|
data/Gemfile.lock
CHANGED
@@ -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(
|
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
|
|
data/lib/messaging/routing.rb
CHANGED
@@ -77,13 +77,13 @@ module Messaging
|
|
77
77
|
|
78
78
|
# Internal: Used by Rails reloading in development.
|
79
79
|
def clear_routes!
|
80
|
-
@routes = Set.new
|
80
|
+
@routes = Concurrent::Set.new
|
81
81
|
end
|
82
82
|
|
83
83
|
private
|
84
84
|
|
85
85
|
def routes
|
86
|
-
@routes ||= Set.new
|
86
|
+
@routes ||= Concurrent::Set.new
|
87
87
|
end
|
88
88
|
|
89
89
|
def topics
|
data/lib/messaging/routing_23.rb
CHANGED
@@ -77,13 +77,13 @@ module Messaging
|
|
77
77
|
|
78
78
|
# Internal: Used by Rails reloading in development.
|
79
79
|
def clear_routes!
|
80
|
-
@routes = Set.new
|
80
|
+
@routes = Concurrent::Set.new
|
81
81
|
end
|
82
82
|
|
83
83
|
private
|
84
84
|
|
85
85
|
def routes
|
86
|
-
@routes ||= Set.new
|
86
|
+
@routes ||= Concurrent::Set.new
|
87
87
|
end
|
88
88
|
|
89
89
|
def topics
|
data/lib/messaging/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bukowskis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|