rails_event_store 2.14.0 → 2.15.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: a9a725fe5c071ae5c7867fa69bf219d34dd2eb11308d7260d190c24b7f00e120
4
- data.tar.gz: c3e3b88e3bc610f913c339ce5124c959961b2bbe6434073afa97ccec30b3d9e0
3
+ metadata.gz: 46579edfa4a2949327246ee1752cdee115cbbcf3ce32957f612b9c192961ee0d
4
+ data.tar.gz: f51139771d2e5b0df40c90b18d3c4c3855d98305d302e34dc9bd3172732c5258
5
5
  SHA512:
6
- metadata.gz: a568fa3fe84ace81818b37e24226406d209366dd03a926bcf62b592942e66428508e5abe54315db0a7c073171e9fd0705a161cae8489a8b8c3e6c8d7601541e9
7
- data.tar.gz: 36f0152e574fa881d86afea184cbb1954406ce14543b19ebd38833c20796910f809b6edafb99cbc697e8ddabbabe0397e26714c291bb415a96d78e15d4a718f7
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(self, schedule_proc)
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(dispatcher, schedule_proc)
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, :dispatcher
46
+ attr_reader :schedule_proc
52
47
  end
53
48
  end
54
49
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "2.14.0"
4
+ VERSION = "2.15.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.14.0
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: 2024-01-29 00:00:00.000000000 Z
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.14.0
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.14.0
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.14.0
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.14.0
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.14.0
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.14.0
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.14.0
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.14.0
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.5.5
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