activeadmin-tom_select 4.1.1 → 4.2.0.beta1

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +10 -7
  3. data/.gitignore +1 -0
  4. data/Appraisals +2 -2
  5. data/CHANGELOG.md +12 -0
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +137 -104
  8. data/README.md +1 -1
  9. data/docs/activeadmin-4-asset-setup.md +171 -0
  10. data/docs/activeadmin-tailwind-4.md +125 -0
  11. data/docs/guide-update-your-app.md +89 -356
  12. data/docs/setup-activeadmin-app.md +69 -492
  13. data/docs/setup-activeadmin-gem.md +83 -449
  14. data/gemfiles/rails_7.x_active_admin_4.x.gemfile +2 -1
  15. data/gemfiles/rails_7.x_active_admin_4.x.gemfile.lock +158 -116
  16. data/gemfiles/rails_8.x_active_admin_4.x.gemfile +2 -1
  17. data/gemfiles/rails_8.x_active_admin_4.x.gemfile.lock +148 -104
  18. data/lib/activeadmin/tom_select/option_collection.rb +4 -6
  19. data/lib/activeadmin/tom_select/select_input_extension.rb +42 -20
  20. data/lib/activeadmin/tom_select/version.rb +1 -1
  21. data/npm-package/package.json +1 -1
  22. data/sonar-project.properties +11 -11
  23. data/spec/features/ajax_false_input_spec.rb +74 -0
  24. data/spec/features/end_to_end_spec.rb +33 -20
  25. data/spec/features/input_errors_spec.rb +1 -3
  26. data/spec/features/options_dsl_spec.rb +6 -6
  27. data/spec/internal/Gemfile +1 -0
  28. data/spec/internal/Gemfile.lock +152 -107
  29. data/spec/internal/app/admin/option_values.rb +6 -6
  30. data/spec/internal/app/admin/posts.rb +4 -4
  31. data/spec/internal/app/admin/test_ajax_false.rb +18 -0
  32. data/spec/internal/app/admin/variants.rb +2 -2
  33. data/spec/internal/app/assets/stylesheets/active_admin.tailwind.css +8 -5
  34. data/spec/internal/app/models/option_value.rb +8 -0
  35. data/spec/internal/bin/tailwindcss +27 -0
  36. data/spec/internal/lib/tasks/active_admin.rake +9 -4
  37. data/spec/internal/package-lock.json +15 -1371
  38. data/spec/internal/package.json +1 -2
  39. data/{docs/tailwind-4/tailwind-active_admin.config.js → spec/internal/tailwind-active_admin.config.mjs} +9 -4
  40. data/spec/internal/yarn.lock +128 -728
  41. metadata +9 -23
  42. data/docs/activeadmin-4-detailed-reference.md +0 -932
  43. data/docs/activeadmin-4-gem-migration-guide.md +0 -313
  44. data/docs/combustion.md +0 -213
  45. data/docs/fail.png +0 -0
  46. data/docs/normal.png +0 -0
  47. data/docs/propshaft-readme.md +0 -320
  48. data/docs/propshaft-upgrade.md +0 -484
  49. data/docs/tailwind/blog-page.md +0 -341
  50. data/docs/tailwind/upgrade-guide-enhanced.md +0 -438
  51. data/docs/tailwind/upgrade-guide.md +0 -416
  52. data/docs/tailwind-4/active_admin.rake +0 -38
  53. data/docs/tailwind-4/active_admin.tailwind.css +0 -415
  54. data/docs/test-app-change.md +0 -154
  55. data/docs/test-environment-fixes.md +0 -58
  56. data/docs/update-tom-select.md +0 -348
@@ -1,63 +1,60 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activeadmin-tom_select (4.1.1)
4
+ activeadmin-tom_select (4.2.0.beta1)
5
5
  activeadmin (>= 3.0, < 5)
6
6
  ransack (>= 1.8, < 5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (7.1.5.2)
12
- actionpack (= 7.1.5.2)
13
- activesupport (= 7.1.5.2)
11
+ actioncable (7.2.3)
12
+ actionpack (= 7.2.3)
13
+ activesupport (= 7.2.3)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
16
  zeitwerk (~> 2.6)
17
- actionmailbox (7.1.5.2)
18
- actionpack (= 7.1.5.2)
19
- activejob (= 7.1.5.2)
20
- activerecord (= 7.1.5.2)
21
- activestorage (= 7.1.5.2)
22
- activesupport (= 7.1.5.2)
23
- mail (>= 2.7.1)
24
- net-imap
25
- net-pop
26
- net-smtp
27
- actionmailer (7.1.5.2)
28
- actionpack (= 7.1.5.2)
29
- actionview (= 7.1.5.2)
30
- activejob (= 7.1.5.2)
31
- activesupport (= 7.1.5.2)
32
- mail (~> 2.5, >= 2.5.4)
33
- net-imap
34
- net-pop
35
- net-smtp
17
+ actionmailbox (7.2.3)
18
+ actionpack (= 7.2.3)
19
+ activejob (= 7.2.3)
20
+ activerecord (= 7.2.3)
21
+ activestorage (= 7.2.3)
22
+ activesupport (= 7.2.3)
23
+ mail (>= 2.8.0)
24
+ actionmailer (7.2.3)
25
+ actionpack (= 7.2.3)
26
+ actionview (= 7.2.3)
27
+ activejob (= 7.2.3)
28
+ activesupport (= 7.2.3)
29
+ mail (>= 2.8.0)
36
30
  rails-dom-testing (~> 2.2)
37
- actionpack (7.1.5.2)
38
- actionview (= 7.1.5.2)
39
- activesupport (= 7.1.5.2)
31
+ actionpack (7.2.3)
32
+ actionview (= 7.2.3)
33
+ activesupport (= 7.2.3)
34
+ cgi
40
35
  nokogiri (>= 1.8.5)
41
36
  racc
42
- rack (>= 2.2.4)
37
+ rack (>= 2.2.4, < 3.3)
43
38
  rack-session (>= 1.0.1)
44
39
  rack-test (>= 0.6.3)
45
40
  rails-dom-testing (~> 2.2)
46
41
  rails-html-sanitizer (~> 1.6)
47
- actiontext (7.1.5.2)
48
- actionpack (= 7.1.5.2)
49
- activerecord (= 7.1.5.2)
50
- activestorage (= 7.1.5.2)
51
- activesupport (= 7.1.5.2)
42
+ useragent (~> 0.16)
43
+ actiontext (7.2.3)
44
+ actionpack (= 7.2.3)
45
+ activerecord (= 7.2.3)
46
+ activestorage (= 7.2.3)
47
+ activesupport (= 7.2.3)
52
48
  globalid (>= 0.6.0)
53
49
  nokogiri (>= 1.8.5)
54
- actionview (7.1.5.2)
55
- activesupport (= 7.1.5.2)
50
+ actionview (7.2.3)
51
+ activesupport (= 7.2.3)
56
52
  builder (~> 3.1)
53
+ cgi
57
54
  erubi (~> 1.11)
58
55
  rails-dom-testing (~> 2.2)
59
56
  rails-html-sanitizer (~> 1.6)
60
- activeadmin (4.0.0.beta16)
57
+ activeadmin (4.0.0.beta19)
61
58
  arbre (~> 2.0)
62
59
  csv
63
60
  formtastic (>= 5.0)
@@ -66,47 +63,46 @@ GEM
66
63
  kaminari (>= 1.2.1)
67
64
  railties (>= 7.0)
68
65
  ransack (>= 4.0)
69
- activejob (7.1.5.2)
70
- activesupport (= 7.1.5.2)
66
+ activejob (7.2.3)
67
+ activesupport (= 7.2.3)
71
68
  globalid (>= 0.3.6)
72
- activemodel (7.1.5.2)
73
- activesupport (= 7.1.5.2)
74
- activerecord (7.1.5.2)
75
- activemodel (= 7.1.5.2)
76
- activesupport (= 7.1.5.2)
69
+ activemodel (7.2.3)
70
+ activesupport (= 7.2.3)
71
+ activerecord (7.2.3)
72
+ activemodel (= 7.2.3)
73
+ activesupport (= 7.2.3)
77
74
  timeout (>= 0.4.0)
78
- activestorage (7.1.5.2)
79
- actionpack (= 7.1.5.2)
80
- activejob (= 7.1.5.2)
81
- activerecord (= 7.1.5.2)
82
- activesupport (= 7.1.5.2)
75
+ activestorage (7.2.3)
76
+ actionpack (= 7.2.3)
77
+ activejob (= 7.2.3)
78
+ activerecord (= 7.2.3)
79
+ activesupport (= 7.2.3)
83
80
  marcel (~> 1.0)
84
- activesupport (7.1.5.2)
81
+ activesupport (7.2.3)
85
82
  base64
86
83
  benchmark (>= 0.3)
87
84
  bigdecimal
88
- concurrent-ruby (~> 1.0, >= 1.0.2)
85
+ concurrent-ruby (~> 1.0, >= 1.3.1)
89
86
  connection_pool (>= 2.2.5)
90
87
  drb
91
88
  i18n (>= 1.6, < 2)
92
89
  logger (>= 1.4.2)
93
90
  minitest (>= 5.1)
94
- mutex_m
95
91
  securerandom (>= 0.3)
96
- tzinfo (~> 2.0)
97
- addressable (2.8.7)
98
- public_suffix (>= 2.0.2, < 7.0)
92
+ tzinfo (~> 2.0, >= 2.0.5)
93
+ addressable (2.8.8)
94
+ public_suffix (>= 2.0.2, < 8.0)
99
95
  appraisal (2.5.0)
100
96
  bundler
101
97
  rake
102
98
  thor (>= 0.14.0)
103
- arbre (2.2.0)
99
+ arbre (2.2.1)
104
100
  activesupport (>= 7.0)
105
101
  ast (2.4.3)
106
102
  base64 (0.3.0)
107
103
  bcrypt (3.1.20)
108
- benchmark (0.4.1)
109
- bigdecimal (3.2.3)
104
+ benchmark (0.5.0)
105
+ bigdecimal (4.0.1)
110
106
  builder (3.3.0)
111
107
  capybara (3.40.0)
112
108
  addressable
@@ -121,19 +117,20 @@ GEM
121
117
  addressable
122
118
  capybara
123
119
  playwright-ruby-client (>= 1.16.0)
120
+ cgi (0.5.1)
124
121
  combustion (1.5.0)
125
122
  activesupport (>= 3.0.0)
126
123
  railties (>= 3.0.0)
127
124
  thor (>= 0.14.6)
128
- concurrent-ruby (1.3.5)
129
- connection_pool (2.5.4)
125
+ concurrent-ruby (1.3.6)
126
+ connection_pool (3.0.2)
130
127
  crass (1.0.6)
131
128
  csv (3.3.5)
132
129
  database_cleaner-active_record (2.2.2)
133
130
  activerecord (>= 5.a)
134
131
  database_cleaner-core (~> 2.0)
135
132
  database_cleaner-core (2.0.1)
136
- date (3.4.1)
133
+ date (3.5.1)
137
134
  devise (4.9.4)
138
135
  bcrypt (~> 3.0)
139
136
  orm_adapter (~> 0.1)
@@ -143,16 +140,16 @@ GEM
143
140
  diff-lcs (1.6.2)
144
141
  docile (1.4.1)
145
142
  drb (2.2.3)
146
- erb (5.0.2)
143
+ erb (6.0.1)
147
144
  erubi (1.13.1)
148
145
  formtastic (5.0.0)
149
146
  actionpack (>= 6.0.0)
150
147
  formtastic_i18n (0.7.0)
151
148
  globalid (1.3.0)
152
149
  activesupport (>= 6.1)
153
- has_scope (0.8.2)
154
- actionpack (>= 5.2)
155
- activesupport (>= 5.2)
150
+ has_scope (0.9.0)
151
+ actionpack (>= 7.0)
152
+ activesupport (>= 7.0)
156
153
  i18n (1.14.7)
157
154
  concurrent-ruby (~> 1.0)
158
155
  inherited_resources (2.1.0)
@@ -160,12 +157,12 @@ GEM
160
157
  has_scope (>= 0.6)
161
158
  railties (>= 7.0)
162
159
  responders (>= 2)
163
- io-console (0.8.1)
164
- irb (1.15.2)
160
+ io-console (0.8.2)
161
+ irb (1.16.0)
165
162
  pp (>= 0.6.0)
166
163
  rdoc (>= 4.0.0)
167
164
  reline (>= 0.4.2)
168
- json (2.15.0)
165
+ json (2.18.0)
169
166
  kaminari (1.2.2)
170
167
  activesupport (>= 4.1.0)
171
168
  kaminari-actionview (= 1.2.2)
@@ -181,10 +178,11 @@ GEM
181
178
  language_server-protocol (3.17.0.5)
182
179
  lint_roller (1.1.0)
183
180
  logger (1.7.0)
184
- loofah (2.24.1)
181
+ loofah (2.25.0)
185
182
  crass (~> 1.0.2)
186
183
  nokogiri (>= 1.12.0)
187
- mail (2.8.1)
184
+ mail (2.9.0)
185
+ logger
188
186
  mini_mime (>= 0.1.1)
189
187
  net-imap
190
188
  net-pop
@@ -196,9 +194,9 @@ GEM
196
194
  mime-types-data (~> 3.2025, >= 3.2025.0507)
197
195
  mime-types-data (3.2025.0924)
198
196
  mini_mime (1.1.5)
199
- minitest (5.25.5)
200
- mutex_m (0.3.0)
201
- net-imap (0.5.10)
197
+ minitest (6.0.0)
198
+ prism (~> 1.5)
199
+ net-imap (0.6.2)
202
200
  date
203
201
  net-protocol
204
202
  net-pop (0.1.2)
@@ -207,54 +205,68 @@ GEM
207
205
  timeout
208
206
  net-smtp (0.5.1)
209
207
  net-protocol
210
- nio4r (2.7.4)
208
+ nio4r (2.7.5)
209
+ nokogiri (1.18.10-aarch64-linux-gnu)
210
+ racc (~> 1.4)
211
+ nokogiri (1.18.10-aarch64-linux-musl)
212
+ racc (~> 1.4)
213
+ nokogiri (1.18.10-arm-linux-gnu)
214
+ racc (~> 1.4)
215
+ nokogiri (1.18.10-arm-linux-musl)
216
+ racc (~> 1.4)
217
+ nokogiri (1.18.10-arm64-darwin)
218
+ racc (~> 1.4)
219
+ nokogiri (1.18.10-x86_64-darwin)
220
+ racc (~> 1.4)
211
221
  nokogiri (1.18.10-x86_64-linux-gnu)
212
222
  racc (~> 1.4)
223
+ nokogiri (1.18.10-x86_64-linux-musl)
224
+ racc (~> 1.4)
213
225
  orm_adapter (0.5.0)
214
226
  parallel (1.27.0)
215
- parser (3.3.9.0)
227
+ parser (3.3.10.0)
216
228
  ast (~> 2.4.1)
217
229
  racc
218
- playwright-ruby-client (1.55.0)
230
+ playwright-ruby-client (1.57.0)
219
231
  concurrent-ruby (>= 1.1.6)
220
232
  mime-types (>= 3.0)
221
- pp (0.6.2)
233
+ pp (0.6.3)
222
234
  prettyprint
223
235
  prettyprint (0.2.0)
224
- prism (1.5.1)
236
+ prism (1.7.0)
225
237
  propshaft (1.3.1)
226
238
  actionpack (>= 7.0.0)
227
239
  activesupport (>= 7.0.0)
228
240
  rack
229
- psych (5.2.6)
241
+ psych (5.3.1)
230
242
  date
231
243
  stringio
232
- public_suffix (6.0.2)
244
+ public_suffix (7.0.0)
233
245
  puma (6.6.1)
234
246
  nio4r (~> 2.0)
235
247
  racc (1.8.1)
236
- rack (3.2.1)
248
+ rack (3.2.4)
237
249
  rack-session (2.1.1)
238
250
  base64 (>= 0.1.0)
239
251
  rack (>= 3.0.0)
240
252
  rack-test (2.2.0)
241
253
  rack (>= 1.3)
242
- rackup (2.2.1)
254
+ rackup (2.3.1)
243
255
  rack (>= 3)
244
- rails (7.1.5.2)
245
- actioncable (= 7.1.5.2)
246
- actionmailbox (= 7.1.5.2)
247
- actionmailer (= 7.1.5.2)
248
- actionpack (= 7.1.5.2)
249
- actiontext (= 7.1.5.2)
250
- actionview (= 7.1.5.2)
251
- activejob (= 7.1.5.2)
252
- activemodel (= 7.1.5.2)
253
- activerecord (= 7.1.5.2)
254
- activestorage (= 7.1.5.2)
255
- activesupport (= 7.1.5.2)
256
+ rails (7.2.3)
257
+ actioncable (= 7.2.3)
258
+ actionmailbox (= 7.2.3)
259
+ actionmailer (= 7.2.3)
260
+ actionpack (= 7.2.3)
261
+ actiontext (= 7.2.3)
262
+ actionview (= 7.2.3)
263
+ activejob (= 7.2.3)
264
+ activemodel (= 7.2.3)
265
+ activerecord (= 7.2.3)
266
+ activestorage (= 7.2.3)
267
+ activesupport (= 7.2.3)
256
268
  bundler (>= 1.15.0)
257
- railties (= 7.1.5.2)
269
+ railties (= 7.2.3)
258
270
  rails-dom-testing (2.3.0)
259
271
  activesupport (>= 5.0.0)
260
272
  minitest
@@ -262,35 +274,38 @@ GEM
262
274
  rails-html-sanitizer (1.6.2)
263
275
  loofah (~> 2.21)
264
276
  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)
265
- railties (7.1.5.2)
266
- actionpack (= 7.1.5.2)
267
- activesupport (= 7.1.5.2)
268
- irb
277
+ railties (7.2.3)
278
+ actionpack (= 7.2.3)
279
+ activesupport (= 7.2.3)
280
+ cgi
281
+ irb (~> 1.13)
269
282
  rackup (>= 1.0.0)
270
283
  rake (>= 12.2)
271
284
  thor (~> 1.0, >= 1.2.2)
285
+ tsort (>= 0.2)
272
286
  zeitwerk (~> 2.6)
273
287
  rainbow (3.1.1)
274
- rake (13.3.0)
275
- ransack (4.4.0)
276
- activerecord (>= 7.1)
277
- activesupport (>= 7.1)
288
+ rake (13.3.1)
289
+ ransack (4.4.1)
290
+ activerecord (>= 7.2)
291
+ activesupport (>= 7.2)
278
292
  i18n
279
- rdoc (6.14.2)
293
+ rdoc (7.0.1)
280
294
  erb
281
295
  psych (>= 4.0.0)
296
+ tsort
282
297
  regexp_parser (2.11.3)
283
- reline (0.6.2)
298
+ reline (0.6.3)
284
299
  io-console (~> 0.5)
285
- responders (3.1.1)
286
- actionpack (>= 5.2)
287
- railties (>= 5.2)
288
- rspec-core (3.13.5)
300
+ responders (3.2.0)
301
+ actionpack (>= 7.0)
302
+ railties (>= 7.0)
303
+ rspec-core (3.13.6)
289
304
  rspec-support (~> 3.13.0)
290
305
  rspec-expectations (3.13.5)
291
306
  diff-lcs (>= 1.2.0, < 2.0)
292
307
  rspec-support (~> 3.13.0)
293
- rspec-mocks (3.13.5)
308
+ rspec-mocks (3.13.7)
294
309
  diff-lcs (>= 1.2.0, < 2.0)
295
310
  rspec-support (~> 3.13.0)
296
311
  rspec-rails (6.1.5)
@@ -329,15 +344,34 @@ GEM
329
344
  simplecov_json_formatter (~> 0.1)
330
345
  simplecov-html (0.13.2)
331
346
  simplecov_json_formatter (0.1.4)
332
- sqlite3 (2.7.4-x86_64-linux-gnu)
333
- stringio (3.1.7)
347
+ sqlite3 (2.8.1-aarch64-linux-gnu)
348
+ sqlite3 (2.8.1-aarch64-linux-musl)
349
+ sqlite3 (2.8.1-arm-linux-gnu)
350
+ sqlite3 (2.8.1-arm-linux-musl)
351
+ sqlite3 (2.8.1-arm64-darwin)
352
+ sqlite3 (2.8.1-x86_64-darwin)
353
+ sqlite3 (2.8.1-x86_64-linux-gnu)
354
+ sqlite3 (2.8.1-x86_64-linux-musl)
355
+ stringio (3.2.0)
356
+ tailwindcss-rails (4.4.0)
357
+ railties (>= 7.0.0)
358
+ tailwindcss-ruby (~> 4.0)
359
+ tailwindcss-ruby (4.1.18)
360
+ tailwindcss-ruby (4.1.18-aarch64-linux-gnu)
361
+ tailwindcss-ruby (4.1.18-aarch64-linux-musl)
362
+ tailwindcss-ruby (4.1.18-arm64-darwin)
363
+ tailwindcss-ruby (4.1.18-x86_64-darwin)
364
+ tailwindcss-ruby (4.1.18-x86_64-linux-gnu)
365
+ tailwindcss-ruby (4.1.18-x86_64-linux-musl)
334
366
  thor (1.4.0)
335
- timeout (0.4.3)
367
+ timeout (0.6.0)
368
+ tsort (0.2.0)
336
369
  tzinfo (2.0.6)
337
370
  concurrent-ruby (~> 1.0)
338
371
  unicode-display_width (3.2.0)
339
372
  unicode-emoji (~> 4.1)
340
- unicode-emoji (4.1.0)
373
+ unicode-emoji (4.2.0)
374
+ useragent (0.16.11)
341
375
  warden (1.2.9)
342
376
  rack (>= 2.0.9)
343
377
  websocket-driver (0.8.0)
@@ -346,13 +380,20 @@ GEM
346
380
  websocket-extensions (0.1.5)
347
381
  xpath (3.2.0)
348
382
  nokogiri (~> 1.8)
349
- zeitwerk (2.7.3)
383
+ zeitwerk (2.7.4)
350
384
 
351
385
  PLATFORMS
352
- x86_64-linux
386
+ aarch64-linux-gnu
387
+ aarch64-linux-musl
388
+ arm-linux-gnu
389
+ arm-linux-musl
390
+ arm64-darwin
391
+ x86_64-darwin
392
+ x86_64-linux-gnu
393
+ x86_64-linux-musl
353
394
 
354
395
  DEPENDENCIES
355
- activeadmin (= 4.0.0.beta16)
396
+ activeadmin (= 4.0.0.beta19)
356
397
  activeadmin-tom_select!
357
398
  appraisal (~> 2.2)
358
399
  bundler (>= 1.5, < 3)
@@ -372,6 +413,7 @@ DEPENDENCIES
372
413
  rubocop-rspec (~> 3.0)
373
414
  simplecov
374
415
  sqlite3 (~> 2.1)
416
+ tailwindcss-rails (~> 4.4.0)
375
417
 
376
418
  BUNDLED WITH
377
- 2.4.10
419
+ 2.6.7
@@ -2,9 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activeadmin", "4.0.0.beta16"
5
+ gem "activeadmin", "4.0.0.beta19"
6
6
  gem "devise", "~> 4.9", group: :test
7
7
  gem "propshaft", "~> 1.2", group: :test
8
8
  gem "rails", "~> 8.0"
9
+ gem "tailwindcss-rails", "~> 4.4.0", group: :test
9
10
 
10
11
  gemspec name: "activeadmin-tom_select", path: "../"