rails_event_store 0.44.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: 4a5b2e97f1dbc3ba106f9c41305c8496d7ecbf054106df973837b754257d3b0a
4
- data.tar.gz: 8af4410060be7515fb904e3cc2c409c6e780bb3a2bec9c427139951a3cff87c2
3
+ metadata.gz: 187c4291644b187f477d5dd5f1dc7d3c074132bb4d5ea680e644dd9bec354071
4
+ data.tar.gz: e84c161603d587a7f937fd3d33042f15213d487c9fc5e2f322e40d714c44fc09
5
5
  SHA512:
6
- metadata.gz: 9237c88bfb0810c162642a32d65cb12b5d8d8debe09a8497ee0d1b5945b3d72e67f5561a63b83427d3ef50fa07d56188c0bde08c89315e753693c864d64d18eb
7
- data.tar.gz: 1bc6462aa745f2ba01360cdc61bd9c4c19e78fb32ca296adfc8e251c011a709418accfe91015713de75bd88b936d8a4bf6781314e23b1278204e32bdab1d05b7
6
+ metadata.gz: 518d39e7e1153eac747a5295d52e5fc224f7aa7a9e9a6a4508d809305eb5c284250dcb6a1462bcbca36829ee75da378ba4fd3c2c5f752618aebb7b2f75aa8121
7
+ data.tar.gz: cabac17e5d0863147c0b8d94b48cab026dbe25f7f8c57bee4d6cc9ef3efac7f15d649d3e7772bf820c2118930d88b5f4653557b0dc3f79bfe82d46ddf6f717ed
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,
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
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.44.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', '= 0.44.0'
29
- spec.add_dependency 'ruby_event_store-browser', '= 0.44.0'
30
- spec.add_dependency 'rails_event_store_active_record', '= 0.44.0'
31
- spec.add_dependency 'aggregate_root', '= 0.44.0'
32
- spec.add_dependency 'bounded_context', '= 0.44.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: 0.44.0
4
+ version: 1.2.1
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-04-28 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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.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: 0.44.0
82
+ version: 1.2.1
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: []