rails_event_store 0.23.0 → 0.24.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
  SHA1:
3
- metadata.gz: 90c1b6d29fff378fc90eb4f6907b1e6748cd2944
4
- data.tar.gz: cc7e2e94816cdd147de494d5c356f0d86620e61d
3
+ metadata.gz: 06405c541436c638c35c78cfebef9f8bbd6ae7fd
4
+ data.tar.gz: 3ceed015c2f6c1ba6262cc45f26d82f6ace7db7f
5
5
  SHA512:
6
- metadata.gz: d552e61ee0b78900dcd1d7c11e9152f28e7707d2fc549fd053feb1cc0994858b3d94fa33324dab47629f19eb9685a8fdf64dabc818215bffa7d72ce2c186d17e
7
- data.tar.gz: cca933fd31b9564928f3fd58ffe381453eddc47d7c7012c4b343871d34097f38c03b848294b3a94b863ec857ba0885de200250e362e40d2bbe39cd90aebba5a6
6
+ metadata.gz: 29e8b821fa25994d9cee3aba241baddc7db4fe72aa8eb45fad4d58fcd658cff8cf61c7c87af5135ebc79979e10538f73a3882ff74466ade12d3be4e821c0ba84
7
+ data.tar.gz: 233a52978f16d5e776ba7ba48160a5ce21227caff281e6b3ab62755a047639c4ed0d183ff465d44394afff223b95b6b8e6bad54f9e556c8f70e5abf094f0c00b
@@ -25,11 +25,15 @@ module RailsEventStore
25
25
  @klass.perform_later(YAML.dump(@event))
26
26
  end
27
27
 
28
- def rolledback!(**_)
28
+ def rolledback!(*)
29
29
  end
30
30
 
31
31
  def before_committed!
32
32
  end
33
+
34
+ def add_to_transaction
35
+ AfterCommit.new.call(@klass, @event)
36
+ end
33
37
  end
34
38
  end
35
39
 
@@ -1,3 +1,3 @@
1
1
  module RailsEventStore
2
- VERSION = "0.23.0"
2
+ VERSION = "0.24.0"
3
3
  end
@@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rack-test'
29
29
  spec.add_development_dependency 'mutant-rspec', '~> 0.8.14'
30
30
 
31
- spec.add_dependency 'ruby_event_store', '= 0.23.0'
32
- spec.add_dependency 'rails_event_store_active_record', '= 0.23.0'
33
- spec.add_dependency 'aggregate_root', '= 0.23.0'
34
- spec.add_dependency 'bounded_context', '= 0.23.0'
31
+ spec.add_dependency 'ruby_event_store', '= 0.24.0'
32
+ spec.add_dependency 'rails_event_store_active_record', '= 0.24.0'
33
+ spec.add_dependency 'aggregate_root', '= 0.24.0'
34
+ spec.add_dependency 'bounded_context', '= 0.24.0'
35
35
  spec.add_dependency 'activesupport', '>= 3.0'
36
36
  spec.add_dependency 'activemodel', '>= 3.0'
37
37
  spec.add_dependency 'activejob', '>= 3.0'
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: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-11 00:00:00.000000000 Z
11
+ date: 2018-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,56 +128,56 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.23.0
131
+ version: 0.24.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.23.0
138
+ version: 0.24.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rails_event_store_active_record
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.23.0
145
+ version: 0.24.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.23.0
152
+ version: 0.24.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: aggregate_root
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 0.23.0
159
+ version: 0.24.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 0.23.0
166
+ version: 0.24.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: bounded_context
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.23.0
173
+ version: 0.24.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 0.23.0
180
+ version: 0.24.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: activesupport
183
183
  requirement: !ruby/object:Gem::Requirement