eventsimple 1.8.1 → 2.0.1

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