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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ade6bbd7b09d15191e05854d0f9b6ffbb9c3d13270b70c417f4064059bd4c986
4
- data.tar.gz: cb315c2a3bf2d42c7836358bb848a58ef8aecd2e5c58a23e216ad849c9bbb705
3
+ metadata.gz: a240a2348f45c36bf76377a8edbc3af77cea2caf1c3240f85b68072fbb99cd32
4
+ data.tar.gz: 33a71dec75089581641a2ddc1bde47e35994c3e9b5f383ace8865077e3620df1
5
5
  SHA512:
6
- metadata.gz: 8584326986eb5be82b5d8a64ae9c6f3acd1a9702d91f2fffa980f5da4a8a8a344c6c184f24ab9fa9ad96f480d2d7c35f9cae615de6e64a5231697e928b5f6a97
7
- data.tar.gz: ac0fc97998938b1410bd6df209baea1f387129e5b368e785115e690e2cc7899980595787ae0908dc7e8d6ee1a1a16f201c18e299b7156d32c849495f71fa9b1c
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sbmt
4
4
  module Outbox
5
- VERSION = "5.0.0"
5
+ VERSION = "5.0.1"
6
6
  end
7
7
  end
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.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-27 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool