sbmt-outbox 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/sbmt/outbox/base_item.rb +16 -0
- data/lib/sbmt/outbox/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: a240a2348f45c36bf76377a8edbc3af77cea2caf1c3240f85b68072fbb99cd32
|
4
|
+
data.tar.gz: 33a71dec75089581641a2ddc1bde47e35994c3e9b5f383ace8865077e3620df1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd32451e9af08be2e0c5d3793b34a9c3f23997482304e9783e8dc0bab5b9c01d46e265ae4cb5ed8649429972f28bb51aa8421fdc5ce418aebf4f41a21d99594e
|
7
|
+
data.tar.gz: a57430bf42f65f452bf20e6d3f468e2c750085b8fc50e558d6ad99f3d39cb317bcfd0a0b3ac13ba8c04eb167001c0be027a32de9abb64c32daa04a1b99dcb604
|
@@ -58,6 +58,22 @@ module Sbmt
|
|
58
58
|
self.uuid ||= SecureRandom.uuid if has_attribute?(:uuid)
|
59
59
|
end
|
60
60
|
|
61
|
+
def proto_payload
|
62
|
+
if has_attribute?(:payload)
|
63
|
+
payload
|
64
|
+
else
|
65
|
+
self[:proto_payload]
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
def proto_payload=(value)
|
70
|
+
if has_attribute?(:payload)
|
71
|
+
self.payload = value
|
72
|
+
else
|
73
|
+
self[:proto_payload] = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
61
77
|
def payload
|
62
78
|
if has_attribute?(:proto_payload)
|
63
79
|
proto_payload
|
data/lib/sbmt/outbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbmt-outbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sbermarket Ruby-Platform Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|