rails_event_store 1.1.1 → 1.2.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: a86ab76dc89baebf6f3ce9afd82aba739146efa4d7f56521aaf914e19a2da5c7
4
- data.tar.gz: b481c44090a24b54a4ab8b1c890ee4de6027b7157f657b89234c341125d312a7
3
+ metadata.gz: 2b26d7168253da21d6c1d5630ef2fe85585f7a1702a7bd891f319590f8279574
4
+ data.tar.gz: 44bc38cdeff258b2edb6b0bc04f863cf8317f6e1f525e16c867275bf7c6f2261
5
5
  SHA512:
6
- metadata.gz: fb4a0534015878c6c4054f55f89bcfa3e1376d0ffb13c279f41ec39143bc2d4c48a6d442c599cca1bae536ddc160a957a8a8c73c7957e711a57b04088be104e8
7
- data.tar.gz: 272a240230638e2d14f5a8c1946d15571fffa05b9195f4808777183df27e15f30654d7d077baa4d52be5d709ca032b6b3f696e4fd7337ea2a071e8c11844cf44
6
+ metadata.gz: f05d27b7f1ebc6279d8fd452a44f95622a7963fb1dea604ee218280d114342deb0d2bbc04aefc4b76d547674f492f1696a3a157eca81f258482cc3746788c583
7
+ data.tar.gz: 981eb92e41e1a0433736d4049ae744efd2a66a247bd9905b7db8802ef4ca9b4dff64c41756307122796f2711f8dc250e8ffefeef71244e66e556cf6bae6e402d
@@ -10,11 +10,11 @@ module RailsEventStore
10
10
  module CorrelatedHandler
11
11
  def perform(event)
12
12
  Rails.configuration.event_store.with_metadata(
13
- correlation_id: event.metadata[:correlation_id] || event.event_id,
13
+ correlation_id: event.metadata.fetch(:correlation_id),
14
14
  causation_id: event.event_id
15
15
  ) do
16
16
  super
17
17
  end
18
18
  end
19
19
  end
20
- end
20
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "1.1.1"
4
+ VERSION = "1.2.0"
5
5
  end
@@ -25,11 +25,11 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_dependency 'ruby_event_store', '= 1.1.1'
29
- spec.add_dependency 'ruby_event_store-browser', '= 1.1.1'
30
- spec.add_dependency 'rails_event_store_active_record', '= 1.1.1'
31
- spec.add_dependency 'aggregate_root', '= 1.1.1'
32
- spec.add_dependency 'bounded_context', '= 1.1.1'
28
+ spec.add_dependency 'ruby_event_store', '= 1.2.0'
29
+ spec.add_dependency 'ruby_event_store-browser', '= 1.2.0'
30
+ spec.add_dependency 'rails_event_store_active_record', '= 1.2.0'
31
+ spec.add_dependency 'aggregate_root', '= 1.2.0'
32
+ spec.add_dependency 'bounded_context', '= 1.2.0'
33
33
  spec.add_dependency 'activesupport', '>= 3.0'
34
34
  spec.add_dependency 'activemodel', '>= 3.0'
35
35
  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: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-20 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby_event_store
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.1
19
+ version: 1.2.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: 1.1.1
26
+ version: 1.2.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: 1.1.1
33
+ version: 1.2.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: 1.1.1
40
+ version: 1.2.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: 1.1.1
47
+ version: 1.2.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: 1.1.1
54
+ version: 1.2.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: 1.1.1
61
+ version: 1.2.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: 1.1.1
68
+ version: 1.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bounded_context
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.1
75
+ version: 1.2.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: 1.1.1
82
+ version: 1.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activesupport
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -167,7 +167,7 @@ metadata:
167
167
  changelog_uri: https://github.com/RailsEventStore/rails_event_store/releases
168
168
  source_code_uri: https://github.com/RailsEventStore/rails_event_store
169
169
  bug_tracker_uri: https://github.com/RailsEventStore/rails_event_store/issues
170
- post_install_message:
170
+ post_install_message:
171
171
  rdoc_options: []
172
172
  require_paths:
173
173
  - lib
@@ -182,8 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.0.3
186
- signing_key:
185
+ rubygems_version: 3.1.4
186
+ signing_key:
187
187
  specification_version: 4
188
188
  summary: Event Store in Ruby
189
189
  test_files: []