eventsimple 1.3.1 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +59 -58
- data/lib/eventsimple/configuration.rb +6 -0
- data/lib/eventsimple/outbox/models/cursor.rb +1 -1
- data/lib/eventsimple/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 872c921ebca70dcc352f005afe39e0cf48ae4bb2d009f7f55acc95f0b1250f04
|
4
|
+
data.tar.gz: 0445db43a4641baceb36926e29e9b9eaa9c41aff5c69029d05bc2af9c457afa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5257d5083fa3a2f1f6a6e6d57e249e0a78dd8a8c4d1a257a1726a1b6939a857dde9832e1a7e25e113c8697a869de435737d836449bd5a4ccb0358da8d6d7d7
|
7
|
+
data.tar.gz: b89aa88f3b19f9286148631207176c828be018c78cf68291235e267be2194f01f08bf85d56be04d9fd6045f02e98f008ade400ac0e7eb2c3858059fd96b552e7
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## Unreleased
|
8
8
|
|
9
|
+
## 1.3.3 - 2024-04-02
|
10
|
+
### Changed
|
11
|
+
- add `parent_record` configuration so it can be easily overwritten
|
12
|
+
|
13
|
+
## 1.3.2 - 2024-03-01
|
14
|
+
### Changed
|
15
|
+
- Updated dependencies to fix a security vulnerability
|
16
|
+
|
9
17
|
## 1.3.1 - 2024-01-19
|
10
18
|
### Changed
|
11
19
|
- Restore readonly status to the original status after enable_writes! block.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eventsimple (1.3.
|
4
|
+
eventsimple (1.3.3)
|
5
5
|
dry-struct (~> 1.6)
|
6
6
|
dry-types (~> 1.7)
|
7
7
|
pg (~> 1.4)
|
@@ -11,35 +11,35 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (7.1.3)
|
15
|
-
actionpack (= 7.1.3)
|
16
|
-
activesupport (= 7.1.3)
|
14
|
+
actioncable (7.1.3.2)
|
15
|
+
actionpack (= 7.1.3.2)
|
16
|
+
activesupport (= 7.1.3.2)
|
17
17
|
nio4r (~> 2.0)
|
18
18
|
websocket-driver (>= 0.6.1)
|
19
19
|
zeitwerk (~> 2.6)
|
20
|
-
actionmailbox (7.1.3)
|
21
|
-
actionpack (= 7.1.3)
|
22
|
-
activejob (= 7.1.3)
|
23
|
-
activerecord (= 7.1.3)
|
24
|
-
activestorage (= 7.1.3)
|
25
|
-
activesupport (= 7.1.3)
|
20
|
+
actionmailbox (7.1.3.2)
|
21
|
+
actionpack (= 7.1.3.2)
|
22
|
+
activejob (= 7.1.3.2)
|
23
|
+
activerecord (= 7.1.3.2)
|
24
|
+
activestorage (= 7.1.3.2)
|
25
|
+
activesupport (= 7.1.3.2)
|
26
26
|
mail (>= 2.7.1)
|
27
27
|
net-imap
|
28
28
|
net-pop
|
29
29
|
net-smtp
|
30
|
-
actionmailer (7.1.3)
|
31
|
-
actionpack (= 7.1.3)
|
32
|
-
actionview (= 7.1.3)
|
33
|
-
activejob (= 7.1.3)
|
34
|
-
activesupport (= 7.1.3)
|
30
|
+
actionmailer (7.1.3.2)
|
31
|
+
actionpack (= 7.1.3.2)
|
32
|
+
actionview (= 7.1.3.2)
|
33
|
+
activejob (= 7.1.3.2)
|
34
|
+
activesupport (= 7.1.3.2)
|
35
35
|
mail (~> 2.5, >= 2.5.4)
|
36
36
|
net-imap
|
37
37
|
net-pop
|
38
38
|
net-smtp
|
39
39
|
rails-dom-testing (~> 2.2)
|
40
|
-
actionpack (7.1.3)
|
41
|
-
actionview (= 7.1.3)
|
42
|
-
activesupport (= 7.1.3)
|
40
|
+
actionpack (7.1.3.2)
|
41
|
+
actionview (= 7.1.3.2)
|
42
|
+
activesupport (= 7.1.3.2)
|
43
43
|
nokogiri (>= 1.8.5)
|
44
44
|
racc
|
45
45
|
rack (>= 2.2.4)
|
@@ -47,35 +47,35 @@ GEM
|
|
47
47
|
rack-test (>= 0.6.3)
|
48
48
|
rails-dom-testing (~> 2.2)
|
49
49
|
rails-html-sanitizer (~> 1.6)
|
50
|
-
actiontext (7.1.3)
|
51
|
-
actionpack (= 7.1.3)
|
52
|
-
activerecord (= 7.1.3)
|
53
|
-
activestorage (= 7.1.3)
|
54
|
-
activesupport (= 7.1.3)
|
50
|
+
actiontext (7.1.3.2)
|
51
|
+
actionpack (= 7.1.3.2)
|
52
|
+
activerecord (= 7.1.3.2)
|
53
|
+
activestorage (= 7.1.3.2)
|
54
|
+
activesupport (= 7.1.3.2)
|
55
55
|
globalid (>= 0.6.0)
|
56
56
|
nokogiri (>= 1.8.5)
|
57
|
-
actionview (7.1.3)
|
58
|
-
activesupport (= 7.1.3)
|
57
|
+
actionview (7.1.3.2)
|
58
|
+
activesupport (= 7.1.3.2)
|
59
59
|
builder (~> 3.1)
|
60
60
|
erubi (~> 1.11)
|
61
61
|
rails-dom-testing (~> 2.2)
|
62
62
|
rails-html-sanitizer (~> 1.6)
|
63
|
-
activejob (7.1.3)
|
64
|
-
activesupport (= 7.1.3)
|
63
|
+
activejob (7.1.3.2)
|
64
|
+
activesupport (= 7.1.3.2)
|
65
65
|
globalid (>= 0.3.6)
|
66
|
-
activemodel (7.1.3)
|
67
|
-
activesupport (= 7.1.3)
|
68
|
-
activerecord (7.1.3)
|
69
|
-
activemodel (= 7.1.3)
|
70
|
-
activesupport (= 7.1.3)
|
66
|
+
activemodel (7.1.3.2)
|
67
|
+
activesupport (= 7.1.3.2)
|
68
|
+
activerecord (7.1.3.2)
|
69
|
+
activemodel (= 7.1.3.2)
|
70
|
+
activesupport (= 7.1.3.2)
|
71
71
|
timeout (>= 0.4.0)
|
72
|
-
activestorage (7.1.3)
|
73
|
-
actionpack (= 7.1.3)
|
74
|
-
activejob (= 7.1.3)
|
75
|
-
activerecord (= 7.1.3)
|
76
|
-
activesupport (= 7.1.3)
|
72
|
+
activestorage (7.1.3.2)
|
73
|
+
actionpack (= 7.1.3.2)
|
74
|
+
activejob (= 7.1.3.2)
|
75
|
+
activerecord (= 7.1.3.2)
|
76
|
+
activesupport (= 7.1.3.2)
|
77
77
|
marcel (~> 1.0)
|
78
|
-
activesupport (7.1.3)
|
78
|
+
activesupport (7.1.3.2)
|
79
79
|
base64
|
80
80
|
bigdecimal
|
81
81
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -176,7 +176,7 @@ GEM
|
|
176
176
|
net-imap
|
177
177
|
net-pop
|
178
178
|
net-smtp
|
179
|
-
marcel (1.0.
|
179
|
+
marcel (1.0.3)
|
180
180
|
method_source (1.0.0)
|
181
181
|
mini_mime (1.1.5)
|
182
182
|
minitest (5.22.2)
|
@@ -216,7 +216,7 @@ GEM
|
|
216
216
|
puma (6.4.2)
|
217
217
|
nio4r (~> 2.0)
|
218
218
|
racc (1.7.3)
|
219
|
-
rack (3.0.9)
|
219
|
+
rack (3.0.9.1)
|
220
220
|
rack-session (2.0.0)
|
221
221
|
rack (>= 3.0.0)
|
222
222
|
rack-test (2.1.0)
|
@@ -224,20 +224,20 @@ GEM
|
|
224
224
|
rackup (2.1.0)
|
225
225
|
rack (>= 3)
|
226
226
|
webrick (~> 1.8)
|
227
|
-
rails (7.1.3)
|
228
|
-
actioncable (= 7.1.3)
|
229
|
-
actionmailbox (= 7.1.3)
|
230
|
-
actionmailer (= 7.1.3)
|
231
|
-
actionpack (= 7.1.3)
|
232
|
-
actiontext (= 7.1.3)
|
233
|
-
actionview (= 7.1.3)
|
234
|
-
activejob (= 7.1.3)
|
235
|
-
activemodel (= 7.1.3)
|
236
|
-
activerecord (= 7.1.3)
|
237
|
-
activestorage (= 7.1.3)
|
238
|
-
activesupport (= 7.1.3)
|
227
|
+
rails (7.1.3.2)
|
228
|
+
actioncable (= 7.1.3.2)
|
229
|
+
actionmailbox (= 7.1.3.2)
|
230
|
+
actionmailer (= 7.1.3.2)
|
231
|
+
actionpack (= 7.1.3.2)
|
232
|
+
actiontext (= 7.1.3.2)
|
233
|
+
actionview (= 7.1.3.2)
|
234
|
+
activejob (= 7.1.3.2)
|
235
|
+
activemodel (= 7.1.3.2)
|
236
|
+
activerecord (= 7.1.3.2)
|
237
|
+
activestorage (= 7.1.3.2)
|
238
|
+
activesupport (= 7.1.3.2)
|
239
239
|
bundler (>= 1.15.0)
|
240
|
-
railties (= 7.1.3)
|
240
|
+
railties (= 7.1.3.2)
|
241
241
|
rails-dom-testing (2.2.0)
|
242
242
|
activesupport (>= 5.0.0)
|
243
243
|
minitest
|
@@ -245,9 +245,9 @@ GEM
|
|
245
245
|
rails-html-sanitizer (1.6.0)
|
246
246
|
loofah (~> 2.21)
|
247
247
|
nokogiri (~> 1.14)
|
248
|
-
railties (7.1.3)
|
249
|
-
actionpack (= 7.1.3)
|
250
|
-
activesupport (= 7.1.3)
|
248
|
+
railties (7.1.3.2)
|
249
|
+
actionpack (= 7.1.3.2)
|
250
|
+
activesupport (= 7.1.3.2)
|
251
251
|
irb
|
252
252
|
rackup (>= 1.0.0)
|
253
253
|
rake (>= 12.2)
|
@@ -262,7 +262,7 @@ GEM
|
|
262
262
|
rdoc (6.6.2)
|
263
263
|
psych (>= 4.0.0)
|
264
264
|
regexp_parser (2.9.0)
|
265
|
-
reline (0.4.
|
265
|
+
reline (0.4.3)
|
266
266
|
io-console (~> 0.5)
|
267
267
|
retriable (3.1.2)
|
268
268
|
rexml (3.2.6)
|
@@ -337,7 +337,7 @@ GEM
|
|
337
337
|
lint_roller (~> 1.0)
|
338
338
|
rubocop-rails (~> 2.23.1)
|
339
339
|
stringio (3.1.0)
|
340
|
-
thor (1.3.
|
340
|
+
thor (1.3.1)
|
341
341
|
timeout (0.4.1)
|
342
342
|
treetop (1.6.12)
|
343
343
|
polyglot (~> 0.3)
|
@@ -358,6 +358,7 @@ GEM
|
|
358
358
|
|
359
359
|
PLATFORMS
|
360
360
|
arm64-darwin-22
|
361
|
+
arm64-darwin-23
|
361
362
|
x86_64-linux
|
362
363
|
|
363
364
|
DEPENDENCIES
|
@@ -4,6 +4,7 @@ module Eventsimple
|
|
4
4
|
class Configuration
|
5
5
|
attr_reader :max_concurrency_retries
|
6
6
|
attr_writer :metadata_klass
|
7
|
+
attr_writer :parent_record_klass
|
7
8
|
attr_accessor :retry_reactor_on_record_not_found
|
8
9
|
|
9
10
|
attr_accessor :ui_visible_models
|
@@ -12,6 +13,7 @@ module Eventsimple
|
|
12
13
|
@dispatchers = []
|
13
14
|
@max_concurrency_retries = 2
|
14
15
|
@metadata_klass = 'Eventsimple::Metadata'
|
16
|
+
@parent_record_klass = 'ApplicationRecord'
|
15
17
|
@retry_reactor_on_record_not_found = false
|
16
18
|
|
17
19
|
@ui_visible_models = [] # internal use only
|
@@ -39,6 +41,10 @@ module Eventsimple
|
|
39
41
|
def metadata_klass
|
40
42
|
@metadata_klass_const ||= @metadata_klass.constantize
|
41
43
|
end
|
44
|
+
|
45
|
+
def parent_record_klass
|
46
|
+
@parent_record_const ||= @parent_record_klass.constantize
|
47
|
+
end
|
42
48
|
# rubocop:enable Naming/MemoizedInstanceVariableName
|
43
49
|
end
|
44
50
|
end
|
data/lib/eventsimple/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventsimple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zulfiqar Ali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|