rails_event_store 2.13.0 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/templates/bc_spec.rb +2 -0
- data/lib/generators/templates/module.rb +2 -0
- data/lib/generators/templates/require_bc_spec.rb +2 -0
- data/lib/generators/templates/require_bc_test.rb +2 -0
- data/lib/generators/templates/spec_helper.rb +2 -0
- data/lib/generators/templates/test_helper.rb +2 -0
- data/lib/rails_event_store/after_commit_async_dispatcher.rb +3 -8
- data/lib/rails_event_store/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46579edfa4a2949327246ee1752cdee115cbbcf3ce32957f612b9c192961ee0d
|
4
|
+
data.tar.gz: f51139771d2e5b0df40c90b18d3c4c3855d98305d302e34dc9bd3172732c5258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4cebfaa78585fa0256761a3f1aa5d379e38e5b5c3eac9f913320a4ae9d605d08da0f2e90e425c103212a170d93d1b3de02ec36dadd37ff46037cbb67ed651aa
|
7
|
+
data.tar.gz: 8985fcefd9823fd3e93b87ee7e61a8c6eb44225fc4a5c6f3d0a2a6e7991fd140f3f7cf8e70891fb33e3f46e0725f3d1c4fd673a3532820d235d319074b56475b
|
@@ -21,7 +21,7 @@ module RailsEventStore
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def async_record(schedule_proc)
|
24
|
-
AsyncRecord.new(
|
24
|
+
AsyncRecord.new(schedule_proc)
|
25
25
|
end
|
26
26
|
|
27
27
|
def verify(subscriber)
|
@@ -29,8 +29,7 @@ module RailsEventStore
|
|
29
29
|
end
|
30
30
|
|
31
31
|
class AsyncRecord
|
32
|
-
def initialize(
|
33
|
-
@dispatcher = dispatcher
|
32
|
+
def initialize(schedule_proc)
|
34
33
|
@schedule_proc = schedule_proc
|
35
34
|
end
|
36
35
|
|
@@ -42,13 +41,9 @@ module RailsEventStore
|
|
42
41
|
|
43
42
|
def before_committed!; end
|
44
43
|
|
45
|
-
def add_to_transaction
|
46
|
-
dispatcher.run(&schedule_proc)
|
47
|
-
end
|
48
|
-
|
49
44
|
def trigger_transactional_callbacks?; end
|
50
45
|
|
51
|
-
attr_reader :schedule_proc
|
46
|
+
attr_reader :schedule_proc
|
52
47
|
end
|
53
48
|
end
|
54
49
|
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.
|
4
|
+
version: 2.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-09 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.
|
19
|
+
version: 2.15.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.
|
26
|
+
version: 2.15.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.
|
33
|
+
version: 2.15.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.
|
40
|
+
version: 2.15.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.
|
47
|
+
version: 2.15.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.
|
54
|
+
version: 2.15.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.
|
61
|
+
version: 2.15.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.
|
68
|
+
version: 2.15.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
182
|
+
rubygems_version: 3.4.1
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Rails wrapper for RubyEventStore with batteries included
|