eventsimple 1.8.0 → 1.8.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +0 -1
- data/lib/eventsimple/event.rb +5 -0
- data/lib/eventsimple/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 749605423a8d0f6c0cf7afc5f732a0860965ffe2c45ba0a3bcebfd82aaeacee4
|
|
4
|
+
data.tar.gz: 2ea129358411d3ca0deb072540f960326b7a31e26535d4f3413f0c2355f6baa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6320a5402ba8ab2e1cd20efa6a3c5e1f56c8c0210e0a0f4335170b5701800a861e642b1e860a4b4ca5a991bf52da7c5490b72aa57da3bb23a29ea6ebe2ff5adb
|
|
7
|
+
data.tar.gz: 6948417d9710a262e750175e8e680b94cdfdd75a309a42916aa8dfc302cf081998e8f9940a69909a606528c31cf35de46fb5c7407aed6a86ab074565db673403
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 1.8.1 - 2025-12-05
|
|
10
|
+
### Changed
|
|
11
|
+
- Remove having to redefine the custom data type on each event class. We now correctly define it in the Event mixin.
|
|
12
|
+
|
|
9
13
|
## 1.8.0 - 2025-11-11
|
|
10
14
|
### Changed
|
|
11
15
|
- Optimistic locking column is now required. Eventsimple will now raise an error if the optimistic locking column is not found.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -157,7 +157,6 @@ module UserComponent
|
|
|
157
157
|
module Events
|
|
158
158
|
class Created < UserEvent
|
|
159
159
|
# Optional: Rails by default will use JSON serialization for the data attribute. Use Eventsimple::DataType to serialize/deserialize the data attribute using the Message subclass below which uses dry-struct.
|
|
160
|
-
attribute :data, Eventsimple::DataType.new(self)
|
|
161
160
|
|
|
162
161
|
class Message < Eventsimple::Message
|
|
163
162
|
attribute :canonical_id, DryTypes::Strict::String
|
data/lib/eventsimple/event.rb
CHANGED
data/lib/eventsimple/version.rb
CHANGED