rails_event_store 1.2.0 → 1.2.1

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: 2b26d7168253da21d6c1d5630ef2fe85585f7a1702a7bd891f319590f8279574
4
- data.tar.gz: 44bc38cdeff258b2edb6b0bc04f863cf8317f6e1f525e16c867275bf7c6f2261
3
+ metadata.gz: 187c4291644b187f477d5dd5f1dc7d3c074132bb4d5ea680e644dd9bec354071
4
+ data.tar.gz: e84c161603d587a7f937fd3d33042f15213d487c9fc5e2f322e40d714c44fc09
5
5
  SHA512:
6
- metadata.gz: f05d27b7f1ebc6279d8fd452a44f95622a7963fb1dea604ee218280d114342deb0d2bbc04aefc4b76d547674f492f1696a3a157eca81f258482cc3746788c583
7
- data.tar.gz: 981eb92e41e1a0433736d4049ae744efd2a66a247bd9905b7db8802ef4ca9b4dff64c41756307122796f2711f8dc250e8ffefeef71244e66e556cf6bae6e402d
6
+ metadata.gz: 518d39e7e1153eac747a5295d52e5fc224f7aa7a9e9a6a4508d809305eb5c284250dcb6a1462bcbca36829ee75da378ba4fd3c2c5f752618aebb7b2f75aa8121
7
+ data.tar.gz: cabac17e5d0863147c0b8d94b48cab026dbe25f7f8c57bee4d6cc9ef3efac7f15d649d3e7772bf820c2118930d88b5f4653557b0dc3f79bfe82d46ddf6f717ed
@@ -10,8 +10,8 @@ module RailsEventStore
10
10
  module CorrelatedHandler
11
11
  def perform(event)
12
12
  Rails.configuration.event_store.with_metadata(
13
- correlation_id: event.metadata.fetch(:correlation_id),
14
- causation_id: event.event_id
13
+ correlation_id: event.metadata[:correlation_id],
14
+ causation_id: event.event_id
15
15
  ) do
16
16
  super
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsEventStore
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
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.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'
28
+ spec.add_dependency 'ruby_event_store', '= 1.2.1'
29
+ spec.add_dependency 'ruby_event_store-browser', '= 1.2.1'
30
+ spec.add_dependency 'rails_event_store_active_record', '= 1.2.1'
31
+ spec.add_dependency 'aggregate_root', '= 1.2.1'
32
+ spec.add_dependency 'bounded_context', '= 1.2.1'
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2020-11-02 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.2.0
19
+ version: 1.2.1
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.2.0
26
+ version: 1.2.1
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.2.0
33
+ version: 1.2.1
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.2.0
40
+ version: 1.2.1
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.2.0
47
+ version: 1.2.1
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.2.0
54
+ version: 1.2.1
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.2.0
61
+ version: 1.2.1
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.2.0
68
+ version: 1.2.1
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.2.0
75
+ version: 1.2.1
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.2.0
82
+ version: 1.2.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activesupport
85
85
  requirement: !ruby/object:Gem::Requirement