active_event_store 1.2.1 → 1.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0027b3b48a56ed5ea80581772ceee55e3b90a14d32992007ac78c0bbe56cdf49
4
- data.tar.gz: f32537dfb18cf745bc3f29ad4a0052624823a855f0b079740f270da98d35e9d8
3
+ metadata.gz: 86a1b7e969cbfcc31c139a556751f16a99b113e94e1ec16ebd6b91d0b348b75f
4
+ data.tar.gz: b9f620f2513466b0deb45a6f9a957199c2b6c0e7f9efedfbeaec29fc98809f48
5
5
  SHA512:
6
- metadata.gz: c9a553e32a62f53096d519ee4e3c48d4613e5c3c4465d8156d130bf21e6ef9e8d0d8b521db0e7e4379755402af148094d227bfa9fcfb96e4680dcd214d89dc79
7
- data.tar.gz: 7a8ce1149f58ad0ca8ca908c54c3ad68c50862875ac5e146b4608d13152b2fe3059743c60d904ea32f8775687af2a7dfaea138186cd4eae7d145aaac7714cb42
6
+ metadata.gz: a4aace26f3a7a2a51be9b100cfa037cfa325abdfc4ad5f0ed77d798d0b950ada5e8692ad8da951362b9401e4700e903b4495e85db08670746f4cfacc215a3eea
7
+ data.tar.gz: f88ad5fce885311214e8cd29094dfec64e3f033696d38115d4375f899656db6450d8e24ad3daed6af0f2cd6b60526a7169cf560835c443a36ea3bead628eab37
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 1.3.0 (2025-12-04)
6
+
7
+ - Update Rails Event Store configuration to avoid deprecation warning ([@christophermlne][], [@phil-monroe][])
8
+ - Corrected two typos in the engine warning when Active Job isn't loaded ([@wwahammy][])
9
+
5
10
  ## 1.2.1 (2024-04-26)
6
11
 
7
12
  - Updates the railtie to define `Rails.configuration.event_store`. ([@Samsinite][])
@@ -8,7 +8,7 @@ module ActiveEventStore
8
8
 
9
9
  # Use before configuration hook to check for ActiveJob presence
10
10
  ActiveSupport.on_load(:before_configuration) do
11
- next warn "Active Job is not loaded. Active Event Store asynchrounous subscriptions won't worke" unless defined?(::ActiveJob)
11
+ next warn "Active Job is not loaded. Active Event Store asynchronous subscriptions won't work" unless defined?(::ActiveJob)
12
12
 
13
13
  require "active_event_store/subscriber_job"
14
14
  require "active_event_store/rspec/have_enqueued_async_subscriber_for" if defined?(::RSpec::Matchers)
@@ -17,13 +17,15 @@ module ActiveEventStore
17
17
  config.to_prepare do
18
18
  # See https://railseventstore.org/docs/subscribe/#scheduling-async-handlers-after-commit
19
19
  ActiveEventStore.event_store = RailsEventStore::Client.new(
20
- dispatcher: RubyEventStore::ComposedDispatcher.new(
21
- RailsEventStore::AfterCommitAsyncDispatcher.new(
22
- scheduler: RailsEventStore::ActiveJobScheduler.new(
23
- serializer: ActiveEventStore.config.serializer
24
- )
25
- ),
26
- RubyEventStore::Dispatcher.new
20
+ message_broker: RubyEventStore::Broker.new(
21
+ dispatcher: RubyEventStore::ComposedDispatcher.new(
22
+ RailsEventStore::AfterCommitAsyncDispatcher.new(
23
+ scheduler: RailsEventStore::ActiveJobScheduler.new(
24
+ serializer: ActiveEventStore.config.serializer
25
+ )
26
+ ),
27
+ RubyEventStore::Dispatcher.new
28
+ )
27
29
  ),
28
30
  repository: ActiveEventStore.config.repository,
29
31
  mapper: ActiveEventStore::Mapper.new(mapping: ActiveEventStore.mapping),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveEventStore # :nodoc:
4
- VERSION = "1.2.1"
4
+ VERSION = "1.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-26 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails_event_store
@@ -128,7 +128,7 @@ metadata:
128
128
  documentation_uri: http://github.com/palkan/active_event_store
129
129
  homepage_uri: http://github.com/palkan/active_event_store
130
130
  source_code_uri: http://github.com/palkan/active_event_store
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options: []
133
133
  require_paths:
134
134
  - lib
@@ -143,8 +143,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.4.19
147
- signing_key:
146
+ rubygems_version: 3.5.22
147
+ signing_key:
148
148
  specification_version: 4
149
149
  summary: Rails Event Store in a more Rails way
150
150
  test_files: []