rails_event_store 0.43.0 → 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: a384832759543a6d16d612a8088c4ded816862e0ee24bfd9fd480bb54adc44fd
4
- data.tar.gz: 2a648c1fe71b4e27ac896889a8977fa512b00e04c96b2f65acd3bb7dcf5ddaec
3
+ metadata.gz: 2b26d7168253da21d6c1d5630ef2fe85585f7a1702a7bd891f319590f8279574
4
+ data.tar.gz: 44bc38cdeff258b2edb6b0bc04f863cf8317f6e1f525e16c867275bf7c6f2261
5
5
  SHA512:
6
- metadata.gz: 5b86953777b87774769b4f4d5d01a8f96d15e5bd541e3d60e8e5ef9078097774ab85710a99ebb385869fcd0377e4e5de2a483b725dd765718e53bea8fcd91646
7
- data.tar.gz: 46264869b589ab356919ebce75d17620cc37ce1783d1f640e37e7cd6cdbb40abc70154ee396eb57d12f195690da448c841f33b18074ebdd5afd120f5bd3d2332
6
+ metadata.gz: f05d27b7f1ebc6279d8fd452a44f95622a7963fb1dea604ee218280d114342deb0d2bbc04aefc4b76d547674f492f1696a3a157eca81f258482cc3746788c583
7
+ data.tar.gz: 981eb92e41e1a0433736d4049ae744efd2a66a247bd9905b7db8802ef4ca9b4dff64c41756307122796f2711f8dc250e8ffefeef71244e66e556cf6bae6e402d
data/Gemfile CHANGED
@@ -12,7 +12,7 @@ gem 'bounded_context', path: '../bounded_context'
12
12
  gem 'protobuf_nested_struct'
13
13
  gem 'sidekiq'
14
14
  gem 'rack-test'
15
- gem 'google-protobuf', '~> 3.7.0'
15
+ gem 'google-protobuf', '~> 3.12.2', '>= 3.12.2'
16
16
  gem 'pry'
17
17
  gem 'rails', ENV['RAILS_VERSION']
18
18
 
@@ -3,18 +3,18 @@
3
3
  module RailsEventStore
4
4
  module AsyncHandler
5
5
  def perform(payload)
6
- super(Rails.configuration.event_store.deserialize(payload.symbolize_keys))
6
+ super(Rails.configuration.event_store.deserialize(**payload.symbolize_keys))
7
7
  end
8
8
  end
9
9
 
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 = "0.43.0"
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', '= 0.43.0'
29
- spec.add_dependency 'ruby_event_store-browser', '= 0.43.0'
30
- spec.add_dependency 'rails_event_store_active_record', '= 0.43.0'
31
- spec.add_dependency 'aggregate_root', '= 0.43.0'
32
- spec.add_dependency 'bounded_context', '= 0.43.0'
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: 0.43.0
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-02-26 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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: 0.43.0
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: []