rails_event_store 2.5.0 → 2.6.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: 91f7683035b0f3fc95f87d510ffbcf7f059548a25e507a5ea2fb4a062a335408
4
- data.tar.gz: 4186181a73a6eca5d4e58821e2a734b9c334d947a09d8941a5ae3ec1d9134572
3
+ metadata.gz: a1ce1d435ddbd30de0cda595e1b9d9b68b7de00eb6a9d7902b062f7c3bce6f3f
4
+ data.tar.gz: acbe8704725c7a160d6d09dea94fec1fbf5440f5ed859f5536e2f03fdbc1dd32
5
5
  SHA512:
6
- metadata.gz: 8c85bcd0e1991ef9c8e061cc817e266a27f75f28c757a23d8cc98f0e1c242e9b59117a4fd465a12d59eb4dbfc7216012de50130e3ee3b0a25426ffecc5cae7a9
7
- data.tar.gz: 80b902dce3a9c673c81f804f32c456a7b701ec0f1103068246220cceff921836277f7c303037493e60695a0448e86beca1e8a6b4833085c2c1bee9e547650c1b
6
+ metadata.gz: 62d3ec178a107ac8b08cfb70f2d53e246d028e14e1c84c49a64b08228be65ede420c22c0682b3e1723046f2410af4ff62be845247f66ed041373fa425af10b5c
7
+ data.tar.gz: d5d4c81ac3cb9c2538aaea856ceef4c4dbfcdc73a3c4738864a9d2ea41903bc1a105a58cbfa42cef19a7e2a2b88b6cab0c07644da7f98715dba81b23773f598d
@@ -9,7 +9,7 @@ module RailsEventStore
9
9
  end
10
10
 
11
11
  def call(klass, record)
12
- klass.perform_later(record.serialize(serializer).to_h)
12
+ klass.perform_later(record.serialize(serializer).to_h.transform_keys(&:to_s))
13
13
  end
14
14
 
15
15
  def verify(subscriber)
@@ -1,7 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "ruby_event_store/browser/app"
4
+ require "rails/engine"
4
5
 
5
6
  module RailsEventStore
6
- Browser = RubyEventStore::Browser::App.for(event_store_locator: -> { Rails.configuration.event_store })
7
+ class Browser < Rails::Engine
8
+ endpoint RubyEventStore::Browser::App.for(event_store_locator: -> { Rails.configuration.event_store })
9
+
10
+ railtie_name "ruby_event_store_browser_app"
11
+ end
7
12
  end
@@ -21,7 +21,7 @@ module RailsEventStore
21
21
  super(
22
22
  repository: RubyEventStore::InstrumentedRepository.new(repository, ActiveSupport::Notifications),
23
23
  mapper: RubyEventStore::Mappers::InstrumentedMapper.new(mapper, ActiveSupport::Notifications),
24
- subscriptions: subscriptions,
24
+ subscriptions: RubyEventStore::InstrumentedSubscriptions.new(subscriptions, ActiveSupport::Notifications),
25
25
  clock: clock,
26
26
  correlation_id_generator: correlation_id_generator,
27
27
  dispatcher: RubyEventStore::InstrumentedDispatcher.new(dispatcher, ActiveSupport::Notifications)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "2.5.0"
4
+ VERSION = "2.6.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.5.0
4
+ version: 2.6.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-06-22 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.5.0
19
+ version: 2.6.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.5.0
26
+ version: 2.6.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.5.0
33
+ version: 2.6.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.5.0
40
+ version: 2.6.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.5.0
47
+ version: 2.6.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.5.0
54
+ version: 2.6.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.5.0
61
+ version: 2.6.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.5.0
68
+ version: 2.6.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '3.0'
75
+ version: '6.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '3.0'
82
+ version: '6.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activemodel
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '6.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '6.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activejob
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '3.0'
103
+ version: '6.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '3.0'
110
+ version: '6.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: arkency-command_bus
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.3.11
179
+ rubygems_version: 3.3.26
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Rails wrapper for RubyEventStore with batteries included