eventsimple 1.8.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2978e16abbdc75a3e214c26638554f7a9710f2200555a2c2532142e8b1dc2467
4
- data.tar.gz: b9dcf3504e8701717f1632025131d08719d7f8e101f16a266875923ccf148678
3
+ metadata.gz: acb33cb7729c0927eb994c24269a1c265cc323972ff29e146acc8e9c9593a718
4
+ data.tar.gz: b2dd04a605cb7f7df941bf71ede2ab6287ad2816d020ee3de5e4cba9c147561d
5
5
  SHA512:
6
- metadata.gz: 2c7347115a9cd0aa22e5fd507545ae0460694d74f86cd3f9d613dbcf96b7588874c97bb46fe4b179b42f10420da6c265c17996a65c3bd2338722ace4f81f47be
7
- data.tar.gz: f1304a5292e91dc0fd5cf45bda1d5b08e9f9f0df13cbcd1fe6fcfac75d24eeeb5bf74aa04e8c6ce6869c6386921a86519c734077d13a017e10674421bd291cc0
6
+ metadata.gz: f9f44bd3ef7ec08202f586442cacf900cd7cb2f4ebcad9566c202ae0b9c06e0f7dbf0cfd1626fc43c39cea6d4a8b681dcc601375be55011d4f5e63a37fc56485
7
+ data.tar.gz: 2ffd06cbeb50c9f79c879678ca94902bf0f6e63e1762fbd3f0c22afc6bb1e97e6fccc8cb6df6ca797d807d1dc5f9996a607fb8b5e95fbf5d67e1ea85770adbae
data/CHANGELOG.md CHANGED
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 2.0.0 - 2025-12-07
10
+ ### Changed
11
+ - Remove dry-types dependency and replace with custom type system.
12
+ - Add support for encrypted types using Rails' built-in `ActiveRecord::Encryption`.
13
+ - Moved documentation to wiki pages.
14
+
15
+ ## 1.8.1 - 2025-12-05
16
+ ### Changed
17
+ - Remove having to redefine the custom data type on each event class. We now correctly define it in the Event mixin.
18
+
9
19
  ## 1.8.0 - 2025-11-11
10
20
  ### Changed
11
21
  - Optimistic locking column is now required. Eventsimple will now raise an error if the optimistic locking column is not found.
data/Gemfile.lock CHANGED
@@ -1,10 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eventsimple (1.8.0)
4
+ eventsimple (2.0.0)
5
5
  concurrent-ruby (>= 1.2.3)
6
- dry-struct (~> 1.6)
7
- dry-types (~> 1.7)
6
+ dry-types (>= 1.7.0)
8
7
  pg (~> 1.4)
9
8
  rails (>= 7.0, < 9.0)
10
9
  retriable (~> 3.1)
@@ -13,29 +12,31 @@ PATH
13
12
  GEM
14
13
  remote: https://rubygems.org/
15
14
  specs:
16
- actioncable (8.0.2)
17
- actionpack (= 8.0.2)
18
- activesupport (= 8.0.2)
15
+ action_text-trix (2.1.15)
16
+ railties
17
+ actioncable (8.1.1)
18
+ actionpack (= 8.1.1)
19
+ activesupport (= 8.1.1)
19
20
  nio4r (~> 2.0)
20
21
  websocket-driver (>= 0.6.1)
21
22
  zeitwerk (~> 2.6)
22
- actionmailbox (8.0.2)
23
- actionpack (= 8.0.2)
24
- activejob (= 8.0.2)
25
- activerecord (= 8.0.2)
26
- activestorage (= 8.0.2)
27
- activesupport (= 8.0.2)
23
+ actionmailbox (8.1.1)
24
+ actionpack (= 8.1.1)
25
+ activejob (= 8.1.1)
26
+ activerecord (= 8.1.1)
27
+ activestorage (= 8.1.1)
28
+ activesupport (= 8.1.1)
28
29
  mail (>= 2.8.0)
29
- actionmailer (8.0.2)
30
- actionpack (= 8.0.2)
31
- actionview (= 8.0.2)
32
- activejob (= 8.0.2)
33
- activesupport (= 8.0.2)
30
+ actionmailer (8.1.1)
31
+ actionpack (= 8.1.1)
32
+ actionview (= 8.1.1)
33
+ activejob (= 8.1.1)
34
+ activesupport (= 8.1.1)
34
35
  mail (>= 2.8.0)
35
36
  rails-dom-testing (~> 2.2)
36
- actionpack (8.0.2)
37
- actionview (= 8.0.2)
38
- activesupport (= 8.0.2)
37
+ actionpack (8.1.1)
38
+ actionview (= 8.1.1)
39
+ activesupport (= 8.1.1)
39
40
  nokogiri (>= 1.8.5)
40
41
  rack (>= 2.2.4)
41
42
  rack-session (>= 1.0.1)
@@ -43,64 +44,64 @@ GEM
43
44
  rails-dom-testing (~> 2.2)
44
45
  rails-html-sanitizer (~> 1.6)
45
46
  useragent (~> 0.16)
46
- actiontext (8.0.2)
47
- actionpack (= 8.0.2)
48
- activerecord (= 8.0.2)
49
- activestorage (= 8.0.2)
50
- activesupport (= 8.0.2)
47
+ actiontext (8.1.1)
48
+ action_text-trix (~> 2.1.15)
49
+ actionpack (= 8.1.1)
50
+ activerecord (= 8.1.1)
51
+ activestorage (= 8.1.1)
52
+ activesupport (= 8.1.1)
51
53
  globalid (>= 0.6.0)
52
54
  nokogiri (>= 1.8.5)
53
- actionview (8.0.2)
54
- activesupport (= 8.0.2)
55
+ actionview (8.1.1)
56
+ activesupport (= 8.1.1)
55
57
  builder (~> 3.1)
56
58
  erubi (~> 1.11)
57
59
  rails-dom-testing (~> 2.2)
58
60
  rails-html-sanitizer (~> 1.6)
59
- activejob (8.0.2)
60
- activesupport (= 8.0.2)
61
+ activejob (8.1.1)
62
+ activesupport (= 8.1.1)
61
63
  globalid (>= 0.3.6)
62
- activemodel (8.0.2)
63
- activesupport (= 8.0.2)
64
- activerecord (8.0.2)
65
- activemodel (= 8.0.2)
66
- activesupport (= 8.0.2)
64
+ activemodel (8.1.1)
65
+ activesupport (= 8.1.1)
66
+ activerecord (8.1.1)
67
+ activemodel (= 8.1.1)
68
+ activesupport (= 8.1.1)
67
69
  timeout (>= 0.4.0)
68
- activestorage (8.0.2)
69
- actionpack (= 8.0.2)
70
- activejob (= 8.0.2)
71
- activerecord (= 8.0.2)
72
- activesupport (= 8.0.2)
70
+ activestorage (8.1.1)
71
+ actionpack (= 8.1.1)
72
+ activejob (= 8.1.1)
73
+ activerecord (= 8.1.1)
74
+ activesupport (= 8.1.1)
73
75
  marcel (~> 1.0)
74
- activesupport (8.0.2)
76
+ activesupport (8.1.1)
75
77
  base64
76
- benchmark (>= 0.3)
77
78
  bigdecimal
78
79
  concurrent-ruby (~> 1.0, >= 1.3.1)
79
80
  connection_pool (>= 2.2.5)
80
81
  drb
81
82
  i18n (>= 1.6, < 2)
83
+ json
82
84
  logger (>= 1.4.2)
83
85
  minitest (>= 5.1)
84
86
  securerandom (>= 0.3)
85
87
  tzinfo (~> 2.0, >= 2.0.5)
86
88
  uri (>= 0.13.1)
87
- addressable (2.8.7)
88
- public_suffix (>= 2.0.2, < 7.0)
89
+ addressable (2.8.8)
90
+ public_suffix (>= 2.0.2, < 8.0)
89
91
  ast (2.4.3)
90
92
  base64 (0.3.0)
91
- benchmark (0.4.1)
92
- bigdecimal (3.2.2)
93
+ bigdecimal (3.3.1)
93
94
  builder (3.3.0)
94
- bundle-audit (0.1.0)
95
+ bundle-audit (0.2.0)
95
96
  bundler-audit
96
- bundler-audit (0.9.2)
97
- bundler (>= 1.2.0, < 3)
97
+ bundler-audit (0.9.3)
98
+ bundler (>= 1.2.0)
98
99
  thor (~> 1.0)
99
100
  coderay (1.1.3)
100
101
  concurrent-ruby (1.3.5)
101
- connection_pool (2.5.3)
102
+ connection_pool (3.0.2)
102
103
  crass (1.0.6)
103
- date (3.4.1)
104
+ date (3.5.0)
104
105
  diff-lcs (1.6.2)
105
106
  drb (2.2.3)
106
107
  dry-core (1.1.0)
@@ -113,11 +114,6 @@ GEM
113
114
  concurrent-ruby (~> 1.0)
114
115
  dry-core (~> 1.1)
115
116
  zeitwerk (~> 2.6)
116
- dry-struct (1.8.0)
117
- dry-core (~> 1.1)
118
- dry-types (~> 1.8, >= 1.8.2)
119
- ice_nine (~> 0.11)
120
- zeitwerk (~> 2.6)
121
117
  dry-types (1.8.3)
122
118
  bigdecimal (~> 3.0)
123
119
  concurrent-ruby (~> 1.0)
@@ -125,25 +121,26 @@ GEM
125
121
  dry-inflector (~> 1.0)
126
122
  dry-logic (~> 1.4)
127
123
  zeitwerk (~> 2.6)
128
- erb (5.0.1)
124
+ erb (6.0.0)
129
125
  erubi (1.13.1)
130
- factory_bot (6.5.4)
126
+ factory_bot (6.5.6)
131
127
  activesupport (>= 6.1.0)
132
- factory_bot_rails (6.5.0)
128
+ factory_bot_rails (6.5.1)
133
129
  factory_bot (~> 6.5)
134
130
  railties (>= 6.1.0)
135
131
  ffi (1.17.2-arm64-darwin)
136
132
  ffi (1.17.2-x86_64-linux-gnu)
137
- formatador (1.1.0)
133
+ formatador (1.2.3)
134
+ reline
138
135
  fuubar (2.5.1)
139
136
  rspec-core (~> 3.0)
140
137
  ruby-progressbar (~> 1.4)
141
- git (3.1.0)
138
+ git (4.0.6)
142
139
  activesupport (>= 5.0)
143
140
  addressable (~> 2.8)
144
- process_executer (~> 1.3)
141
+ process_executer (~> 4.0)
145
142
  rchardet (~> 1.9)
146
- globalid (1.2.1)
143
+ globalid (1.3.0)
147
144
  activesupport (>= 6.1)
148
145
  guard (2.19.1)
149
146
  formatador (>= 0.2.4)
@@ -163,13 +160,12 @@ GEM
163
160
  rspec (>= 2.99.0, < 4.0)
164
161
  i18n (1.14.7)
165
162
  concurrent-ruby (~> 1.0)
166
- ice_nine (0.11.2)
167
- io-console (0.8.0)
168
- irb (1.15.2)
163
+ io-console (0.8.1)
164
+ irb (1.15.3)
169
165
  pp (>= 0.6.0)
170
166
  rdoc (>= 4.0.0)
171
167
  reline (>= 0.4.2)
172
- json (2.12.2)
168
+ json (2.17.1)
173
169
  language_server-protocol (3.17.0.5)
174
170
  lint_roller (1.1.0)
175
171
  listen (3.9.0)
@@ -179,18 +175,19 @@ GEM
179
175
  loofah (2.24.1)
180
176
  crass (~> 1.0.2)
181
177
  nokogiri (>= 1.12.0)
182
- lumberjack (1.2.10)
183
- mail (2.8.1)
178
+ lumberjack (1.4.2)
179
+ mail (2.9.0)
180
+ logger
184
181
  mini_mime (>= 0.1.1)
185
182
  net-imap
186
183
  net-pop
187
184
  net-smtp
188
- marcel (1.0.4)
185
+ marcel (1.1.0)
189
186
  method_source (1.1.0)
190
187
  mini_mime (1.1.5)
191
- minitest (5.25.5)
188
+ minitest (5.26.2)
192
189
  nenv (0.3.0)
193
- net-imap (0.5.9)
190
+ net-imap (0.5.12)
194
191
  date
195
192
  net-protocol
196
193
  net-pop (0.1.2)
@@ -199,60 +196,62 @@ GEM
199
196
  timeout
200
197
  net-smtp (0.5.1)
201
198
  net-protocol
202
- nio4r (2.7.4)
203
- nokogiri (1.18.8-arm64-darwin)
199
+ nio4r (2.7.5)
200
+ nokogiri (1.18.10-arm64-darwin)
204
201
  racc (~> 1.4)
205
- nokogiri (1.18.8-x86_64-linux-gnu)
202
+ nokogiri (1.18.10-x86_64-linux-gnu)
206
203
  racc (~> 1.4)
207
204
  notiffany (0.1.3)
208
205
  nenv (~> 0.1)
209
206
  shellany (~> 0.0)
210
- ostruct (0.6.2)
207
+ ostruct (0.6.3)
211
208
  parallel (1.27.0)
212
- parse_a_changelog (1.3.3)
209
+ parse_a_changelog (1.3.4)
213
210
  treetop (~> 1.6)
214
- parser (3.3.8.0)
211
+ parser (3.3.10.0)
215
212
  ast (~> 2.4.1)
216
213
  racc
217
- pg (1.5.9)
214
+ pg (1.6.2-arm64-darwin)
215
+ pg (1.6.2-x86_64-linux)
218
216
  polyglot (0.3.5)
219
- pp (0.6.2)
217
+ pp (0.6.3)
220
218
  prettyprint
221
219
  prettyprint (0.2.0)
222
- prism (1.4.0)
223
- process_executer (1.3.0)
220
+ prism (1.6.0)
221
+ process_executer (4.0.0)
222
+ track_open_instances (~> 0.1)
224
223
  pry (0.15.2)
225
224
  coderay (~> 1.1)
226
225
  method_source (~> 1.0)
227
226
  psych (5.2.6)
228
227
  date
229
228
  stringio
230
- public_suffix (6.0.2)
231
- puma (6.6.0)
229
+ public_suffix (7.0.0)
230
+ puma (7.1.0)
232
231
  nio4r (~> 2.0)
233
232
  racc (1.8.1)
234
- rack (3.1.16)
233
+ rack (3.2.4)
235
234
  rack-session (2.1.1)
236
235
  base64 (>= 0.1.0)
237
236
  rack (>= 3.0.0)
238
237
  rack-test (2.2.0)
239
238
  rack (>= 1.3)
240
- rackup (2.2.1)
239
+ rackup (2.3.1)
241
240
  rack (>= 3)
242
- rails (8.0.2)
243
- actioncable (= 8.0.2)
244
- actionmailbox (= 8.0.2)
245
- actionmailer (= 8.0.2)
246
- actionpack (= 8.0.2)
247
- actiontext (= 8.0.2)
248
- actionview (= 8.0.2)
249
- activejob (= 8.0.2)
250
- activemodel (= 8.0.2)
251
- activerecord (= 8.0.2)
252
- activestorage (= 8.0.2)
253
- activesupport (= 8.0.2)
241
+ rails (8.1.1)
242
+ actioncable (= 8.1.1)
243
+ actionmailbox (= 8.1.1)
244
+ actionmailer (= 8.1.1)
245
+ actionpack (= 8.1.1)
246
+ actiontext (= 8.1.1)
247
+ actionview (= 8.1.1)
248
+ activejob (= 8.1.1)
249
+ activemodel (= 8.1.1)
250
+ activerecord (= 8.1.1)
251
+ activestorage (= 8.1.1)
252
+ activesupport (= 8.1.1)
254
253
  bundler (>= 1.15.0)
255
- railties (= 8.0.2)
254
+ railties (= 8.1.1)
256
255
  rails-dom-testing (2.3.0)
257
256
  activesupport (>= 5.0.0)
258
257
  minitest
@@ -260,40 +259,42 @@ GEM
260
259
  rails-html-sanitizer (1.6.2)
261
260
  loofah (~> 2.21)
262
261
  nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
263
- railties (8.0.2)
264
- actionpack (= 8.0.2)
265
- activesupport (= 8.0.2)
262
+ railties (8.1.1)
263
+ actionpack (= 8.1.1)
264
+ activesupport (= 8.1.1)
266
265
  irb (~> 1.13)
267
266
  rackup (>= 1.0.0)
268
267
  rake (>= 12.2)
269
268
  thor (~> 1.0, >= 1.2.2)
269
+ tsort (>= 0.2)
270
270
  zeitwerk (~> 2.6)
271
271
  rainbow (3.1.1)
272
- rake (13.3.0)
272
+ rake (13.3.1)
273
273
  rb-fsevent (0.11.2)
274
274
  rb-inotify (0.11.1)
275
275
  ffi (~> 1.0)
276
- rchardet (1.9.0)
277
- rdoc (6.14.1)
276
+ rchardet (1.10.0)
277
+ rdoc (6.17.0)
278
278
  erb
279
279
  psych (>= 4.0.0)
280
- regexp_parser (2.10.0)
281
- reline (0.6.1)
280
+ tsort
281
+ regexp_parser (2.11.3)
282
+ reline (0.6.3)
282
283
  io-console (~> 0.5)
283
284
  retriable (3.1.2)
284
- rspec (3.13.1)
285
+ rspec (3.13.2)
285
286
  rspec-core (~> 3.13.0)
286
287
  rspec-expectations (~> 3.13.0)
287
288
  rspec-mocks (~> 3.13.0)
288
- rspec-core (3.13.5)
289
+ rspec-core (3.13.6)
289
290
  rspec-support (~> 3.13.0)
290
291
  rspec-expectations (3.13.5)
291
292
  diff-lcs (>= 1.2.0, < 2.0)
292
293
  rspec-support (~> 3.13.0)
293
- rspec-mocks (3.13.5)
294
+ rspec-mocks (3.13.7)
294
295
  diff-lcs (>= 1.2.0, < 2.0)
295
296
  rspec-support (~> 3.13.0)
296
- rspec-rails (8.0.1)
297
+ rspec-rails (8.0.2)
297
298
  actionpack (>= 7.2)
298
299
  activesupport (>= 7.2)
299
300
  railties (>= 7.2)
@@ -301,8 +302,8 @@ GEM
301
302
  rspec-expectations (~> 3.13)
302
303
  rspec-mocks (~> 3.13)
303
304
  rspec-support (~> 3.13)
304
- rspec-support (3.13.4)
305
- rubocop (1.77.0)
305
+ rspec-support (3.13.6)
306
+ rubocop (1.81.7)
306
307
  json (~> 2.3)
307
308
  language_server-protocol (~> 3.17.0.2)
308
309
  lint_roller (~> 1.1.0)
@@ -310,60 +311,60 @@ GEM
310
311
  parser (>= 3.3.0.2)
311
312
  rainbow (>= 2.2.2, < 4.0)
312
313
  regexp_parser (>= 2.9.3, < 3.0)
313
- rubocop-ast (>= 1.45.1, < 2.0)
314
+ rubocop-ast (>= 1.47.1, < 2.0)
314
315
  ruby-progressbar (~> 1.7)
315
316
  unicode-display_width (>= 2.4.0, < 4.0)
316
- rubocop-ast (1.45.1)
317
+ rubocop-ast (1.48.0)
317
318
  parser (>= 3.3.7.2)
318
319
  prism (~> 1.4)
319
- rubocop-factory_bot (2.27.1)
320
+ rubocop-factory_bot (2.28.0)
320
321
  lint_roller (~> 1.1)
321
322
  rubocop (~> 1.72, >= 1.72.1)
322
- rubocop-performance (1.25.0)
323
+ rubocop-performance (1.26.1)
323
324
  lint_roller (~> 1.1)
324
325
  rubocop (>= 1.75.0, < 2.0)
325
- rubocop-ast (>= 1.38.0, < 2.0)
326
- rubocop-rails (2.32.0)
326
+ rubocop-ast (>= 1.47.1, < 2.0)
327
+ rubocop-rails (2.34.2)
327
328
  activesupport (>= 4.2.0)
328
329
  lint_roller (~> 1.1)
329
330
  rack (>= 1.1)
330
331
  rubocop (>= 1.75.0, < 2.0)
331
332
  rubocop-ast (>= 1.44.0, < 2.0)
332
- rubocop-rspec (3.6.0)
333
+ rubocop-rspec (3.8.0)
333
334
  lint_roller (~> 1.1)
334
- rubocop (~> 1.72, >= 1.72.1)
335
- rubocop-rspec_rails (2.31.0)
335
+ rubocop (~> 1.81)
336
+ rubocop-rspec_rails (2.32.0)
336
337
  lint_roller (~> 1.1)
337
338
  rubocop (~> 1.72, >= 1.72.1)
338
339
  rubocop-rspec (~> 3.5)
339
340
  ruby-progressbar (1.13.0)
340
341
  securerandom (0.4.1)
341
342
  shellany (0.0.1)
342
- stringio (3.1.7)
343
- thor (1.3.2)
344
- timeout (0.4.3)
345
- treetop (1.6.14)
343
+ stringio (3.1.9)
344
+ thor (1.4.0)
345
+ timeout (0.5.0)
346
+ track_open_instances (0.1.15)
347
+ treetop (1.6.18)
346
348
  polyglot (~> 0.3)
349
+ tsort (0.2.0)
347
350
  tzinfo (2.0.6)
348
351
  concurrent-ruby (~> 1.0)
349
- unicode-display_width (3.1.4)
350
- unicode-emoji (~> 4.0, >= 4.0.4)
351
- unicode-emoji (4.0.4)
352
- uri (1.0.3)
352
+ unicode-display_width (3.2.0)
353
+ unicode-emoji (~> 4.1)
354
+ unicode-emoji (4.1.0)
355
+ uri (1.1.1)
353
356
  useragent (0.16.11)
354
357
  websocket-driver (0.8.0)
355
358
  base64
356
359
  websocket-extensions (>= 0.1.0)
357
360
  websocket-extensions (0.1.5)
358
- with_advisory_lock (5.3.0)
359
- activerecord (>= 6.1)
360
- zeitwerk (>= 2.6)
361
+ with_advisory_lock (7.0.2)
362
+ activerecord (>= 7.2)
363
+ zeitwerk (>= 2.7)
361
364
  zeitwerk (2.7.3)
362
365
 
363
366
  PLATFORMS
364
- arm64-darwin-22
365
- arm64-darwin-23
366
- arm64-darwin-24
367
+ arm64-darwin
367
368
  x86_64-linux
368
369
 
369
370
  DEPENDENCIES
@@ -385,4 +386,4 @@ DEPENDENCIES
385
386
  rubocop-rspec_rails
386
387
 
387
388
  BUNDLED WITH
388
- 2.6.9
389
+ 4.0.0