rails_event_store 2.6.0 → 2.7.0

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: a1ce1d435ddbd30de0cda595e1b9d9b68b7de00eb6a9d7902b062f7c3bce6f3f
4
- data.tar.gz: acbe8704725c7a160d6d09dea94fec1fbf5440f5ed859f5536e2f03fdbc1dd32
3
+ metadata.gz: ef5465ce4a4c2899766de95a197855c2353b988b9d826cacdff4e5cc706c54a4
4
+ data.tar.gz: 942acb57ddeda4b51c0a9f7e8ee59636f7340d173ad9f93e4b3aec7ededb4179
5
5
  SHA512:
6
- metadata.gz: 62d3ec178a107ac8b08cfb70f2d53e246d028e14e1c84c49a64b08228be65ede420c22c0682b3e1723046f2410af4ff62be845247f66ed041373fa425af10b5c
7
- data.tar.gz: d5d4c81ac3cb9c2538aaea856ceef4c4dbfcdc73a3c4738864a9d2ea41903bc1a105a58cbfa42cef19a7e2a2b88b6cab0c07644da7f98715dba81b23773f598d
6
+ metadata.gz: 49f6b17e95f1588b730f958157f5755df5d7e092d8756428ca30b175860210a03efbd4bfff8bd583604711845492160c64291ae81c6edf9553dd79d11862897e
7
+ data.tar.gz: 122e8b50708844046ac3187323c4a13e36f0a5b97526a4b69954601ebcb8cd7533263975812c0f05bfbc9bffa6b8a1d77bc64d66ee12642602cd275ae777f303
@@ -1,4 +1,4 @@
1
1
  require_relative "spec_helper"
2
2
 
3
- RSpec.describe <%= bounded_context_namespace %> do
3
+ ::RSpec.describe <%= bounded_context_namespace %> do
4
4
  end
@@ -14,7 +14,7 @@ module RailsEventStore
14
14
  Module.new do
15
15
  define_method :perform do |payload|
16
16
  event_store = event_store_locator.call if event_store_locator
17
- super(event_store.deserialize(serializer: serializer, **payload.symbolize_keys))
17
+ super(event_store.deserialize(serializer: serializer, **payload.transform_keys(&:to_sym)))
18
18
  end
19
19
  end
20
20
  end
@@ -6,7 +6,7 @@ module RailsEventStore
6
6
 
7
7
  def initialize(
8
8
  mapper: RubyEventStore::Mappers::Default.new,
9
- repository: RailsEventStoreActiveRecord::EventRepository.new(serializer: RubyEventStore::Serializers::YAML),
9
+ repository: RubyEventStore::ActiveRecord::EventRepository.new(serializer: RubyEventStore::Serializers::YAML),
10
10
  subscriptions: RubyEventStore::Subscriptions.new,
11
11
  dispatcher: RubyEventStore::ComposedDispatcher.new(
12
12
  RailsEventStore::AfterCommitAsyncDispatcher.new(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "2.6.0"
4
+ VERSION = "2.7.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_event_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.6.0
19
+ version: 2.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.6.0
26
+ version: 2.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby_event_store-browser
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.6.0
33
+ version: 2.7.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.6.0
40
+ version: 2.7.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails_event_store_active_record
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.6.0
47
+ version: 2.7.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.6.0
54
+ version: 2.7.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: aggregate_root
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.6.0
61
+ version: 2.7.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.6.0
68
+ version: 2.7.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement