eventsimple 2.1.1 → 2.2.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 +2 -2
- data/lib/eventsimple/outbox/consumer.rb +5 -0
- data/lib/eventsimple/types.rb +0 -1
- 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: b24c718c0873c73f051bf040aba71527ca20f08237e6bf97c20f308ac654404f
|
|
4
|
+
data.tar.gz: 984f31379e00b61fee3afdcffa839386638840cbdca0f327d518ea6ee59ad4a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02eaddfd2440ef2df26d7029e7b4e4dddda0be6797b0a4e8df0184935644e745fa807a25d12f10927a395b14a0c016b4325a590be62997d2c82a7752d72aee4a
|
|
7
|
+
data.tar.gz: 1818f9a233b7607248713c7e0d694cfd69342103ff9f394230908064ac756efd9be25a13683c1db46e2793f47f4b3b93343bf17fed8d63824e6331511edb131b
|
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
|
+
## 2.2.1 - 2026-02-03
|
|
10
|
+
### Removed
|
|
11
|
+
- Removed `DateTime` type support. Use `Time` type instead. DateTime objects are no longer supported.
|
|
12
|
+
|
|
9
13
|
## 2.1.1 - 2026-02-03
|
|
10
14
|
### Changed
|
|
11
15
|
- Ensure `ActiveSupport::JSON::Encoding.time_precision` is at least 6 (microseconds) for consistent JSON timestamp serialization.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
eventsimple (2.
|
|
4
|
+
eventsimple (2.2.1)
|
|
5
5
|
concurrent-ruby (>= 1.2.3)
|
|
6
6
|
dry-struct (>= 1.8.0)
|
|
7
7
|
dry-types (>= 1.7.0)
|
|
@@ -458,7 +458,7 @@ CHECKSUMS
|
|
|
458
458
|
dry-types (1.9.0) sha256=7b656fe0a78d2432500ae1f29fefd6762f5a032ca7000e4f36bc111453d45d4d
|
|
459
459
|
erb (6.0.1) sha256=28ecdd99c5472aebd5674d6061e3c6b0a45c049578b071e5a52c2a7f13c197e5
|
|
460
460
|
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
|
461
|
-
eventsimple (2.
|
|
461
|
+
eventsimple (2.2.1)
|
|
462
462
|
factory_bot (6.5.6) sha256=12beb373214dccc086a7a63763d6718c49769d5606f0501e0a4442676917e077
|
|
463
463
|
factory_bot_rails (6.5.1) sha256=d3cc4851eae4dea8a665ec4a4516895045e710554d2b5ac9e68b94d351bc6d68
|
|
464
464
|
ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
|
|
@@ -81,6 +81,11 @@ module Eventsimple
|
|
|
81
81
|
sleep(1)
|
|
82
82
|
end
|
|
83
83
|
rescue ExitError
|
|
84
|
+
$stdout.puts("Stopping consumer for #{_identifier}")
|
|
85
|
+
rescue Concurrent::MultipleErrors => e
|
|
86
|
+
non_exit_errors = e.errors.reject { |err| err.is_a?(ExitError) }
|
|
87
|
+
raise e if non_exit_errors.any?
|
|
88
|
+
|
|
84
89
|
$stdout.puts("Stopping consumer for #{_identifier}")
|
|
85
90
|
end
|
|
86
91
|
end
|
data/lib/eventsimple/types.rb
CHANGED
|
@@ -46,7 +46,6 @@ module Eventsimple
|
|
|
46
46
|
|
|
47
47
|
Decimal = DryTypes::JSON::Decimal.meta(EVENTSIMPLE_META)
|
|
48
48
|
Date = DryTypes::JSON::Date.meta(EVENTSIMPLE_META)
|
|
49
|
-
DateTime = DryTypes::JSON::DateTime.meta(EVENTSIMPLE_META)
|
|
50
49
|
Time = DryTypes::JSON::Time.meta(EVENTSIMPLE_META)
|
|
51
50
|
end
|
|
52
51
|
end
|
data/lib/eventsimple/version.rb
CHANGED