activeadmin-tom_select 4.2.0.beta2 → 4.2.0.beta3
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 +4 -4
- data/.actrc +2 -0
- data/.github/workflows/ci.yml +8 -8
- data/.gitignore +3 -0
- data/Appraisals +21 -3
- data/CHANGELOG.md +16 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +110 -105
- data/activeadmin-tom_select.gemspec +5 -4
- data/docs/activeadmin-4-asset-setup.md +31 -1
- data/docs/activeadmin-4-changelog.md +371 -0
- data/docs/guide-update-your-app.md +64 -6
- data/docs/setup-activeadmin-app.md +17 -5
- data/docs/setup-activeadmin-gem.md +17 -5
- data/gemfiles/rails_7.x_active_admin_4.x.gemfile +4 -4
- data/gemfiles/rails_7.x_active_admin_4.x.gemfile.lock +49 -35
- data/gemfiles/rails_8.1_active_admin_4.x_devise_4.gemfile +11 -0
- data/gemfiles/rails_8.1_active_admin_4.x_devise_4.gemfile.lock +432 -0
- data/gemfiles/rails_8.1_active_admin_4.x_devise_5.gemfile +11 -0
- data/gemfiles/rails_8.1_active_admin_4.x_devise_5.gemfile.lock +432 -0
- data/gemfiles/rails_8.x_active_admin_4.x.gemfile +3 -3
- data/gemfiles/rails_8.x_active_admin_4.x.gemfile.lock +102 -88
- data/lib/activeadmin/tom_select/version.rb +1 -1
- data/npm-package/activeadmin-tom_select-4.2.0-beta3.tgz +0 -0
- data/npm-package/package-lock.json +2 -2
- data/npm-package/package.json +1 -1
- data/spec/internal/Gemfile.lock +7 -1
- data/spec/internal/config/database.yml +3 -1
- data/spec/internal/package-lock.json +10 -4
- data/spec/internal/package.json +1 -1
- data/spec/internal/yarn.lock +9 -132
- metadata +35 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7f03f81fde8c3cf98c1da59093fb6386ca5fc1aaff4f5dff48920a44fd0faeb
|
|
4
|
+
data.tar.gz: 8ab41c965bea2add11c9294290139d80c2d914a39b9b6406a17b87aaee1a95a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 786f45e19accdb9f376a21e9bd4e61ff4437e87b9918ba404cb1719eb1073bd6b985a614220d762cd48a1b2d837bf181306f27ff894413673cc5c663eebd3bde
|
|
7
|
+
data.tar.gz: 8a51883fcb2bf87324d2fe7c23ae989dd12720163985e09e894b813769962a43a3142c8f1e96a21e2f258ae7e7b38853c13ccf6e59cf8f707f62f93fededbf53
|
data/.actrc
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
--pull=false
|
|
15
15
|
|
|
16
16
|
# Bind working directory for better performance with local files
|
|
17
|
+
# Note: With --bind, SQLite may have locking issues with parallel jobs.
|
|
18
|
+
# Run with '-j 1' or '--jobs 1' to serialize jobs if needed.
|
|
17
19
|
--bind
|
|
18
20
|
|
|
19
21
|
# Use host network for faster downloads and to avoid network issues
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
fail-fast: false
|
|
16
16
|
matrix:
|
|
17
|
-
ruby: ['3.3', '3.4']
|
|
17
|
+
ruby: ['3.3', '3.4', '4.0']
|
|
18
18
|
gemfile:
|
|
19
19
|
- rails_7.x_active_admin_4.x
|
|
20
20
|
- rails_8.x_active_admin_4.x
|
|
@@ -23,6 +23,8 @@ jobs:
|
|
|
23
23
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
24
24
|
RAILS_ENV: test
|
|
25
25
|
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/ms-playwright
|
|
26
|
+
# Unique database suffix for parallel test execution
|
|
27
|
+
GITHUB_JOB: test-ruby${{ matrix.ruby }}-${{ matrix.gemfile }}
|
|
26
28
|
|
|
27
29
|
steps:
|
|
28
30
|
- uses: actions/checkout@v5
|
|
@@ -33,13 +35,11 @@ jobs:
|
|
|
33
35
|
ruby-version: ${{ matrix.ruby }}
|
|
34
36
|
bundler-cache: true
|
|
35
37
|
|
|
36
|
-
#
|
|
37
|
-
- name:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
version: 1.0
|
|
42
|
-
execute_install_scripts: true
|
|
38
|
+
# Install Playwright dependencies
|
|
39
|
+
- name: Install Playwright APT dependencies
|
|
40
|
+
run: |
|
|
41
|
+
sudo apt-get update
|
|
42
|
+
sudo apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libdbus-1-3 libatspi2.0-0 libx11-6 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libgbm1 libxcb1 libxkbcommon0 libpango-1.0-0 libcairo2 libasound2t64
|
|
43
43
|
|
|
44
44
|
# Get Playwright version for cache key
|
|
45
45
|
- name: Get Playwright version
|
data/.gitignore
CHANGED
data/Appraisals
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
appraise 'rails-7.x-active-admin-4.x' do
|
|
2
|
-
gem 'rails', '~> 7.
|
|
3
|
-
gem 'activeadmin', '4.0.0.
|
|
2
|
+
gem 'rails', '~> 7.2'
|
|
3
|
+
gem 'activeadmin', '4.0.0.beta20'
|
|
4
|
+
gem 'devise', '~> 4.9'
|
|
5
|
+
gem 'tailwindcss-rails', '~> 4.4.0'
|
|
4
6
|
end
|
|
5
7
|
|
|
6
8
|
appraise 'rails-8.x-active-admin-4.x' do
|
|
7
9
|
gem 'rails', '~> 8.0'
|
|
8
|
-
gem 'activeadmin', '4.0.0.
|
|
10
|
+
gem 'activeadmin', '4.0.0.beta20'
|
|
11
|
+
gem 'devise', '~> 4.9'
|
|
12
|
+
gem 'tailwindcss-rails', '~> 4.4.0'
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
appraise 'rails-8.1-active-admin-4.x-devise-4' do
|
|
16
|
+
gem 'rails', '~> 8.1'
|
|
17
|
+
gem 'activeadmin', '4.0.0.beta20'
|
|
18
|
+
gem 'devise', '~> 4.9'
|
|
19
|
+
gem 'tailwindcss-rails', '~> 4.4.0'
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
appraise 'rails-8.1-active-admin-4.x-devise-5' do
|
|
23
|
+
gem 'rails', '~> 8.1'
|
|
24
|
+
gem 'activeadmin', '4.0.0.beta20'
|
|
25
|
+
gem 'devise', '~> 5.0'
|
|
26
|
+
gem 'tailwindcss-rails', '~> 4.4.0'
|
|
9
27
|
end
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
### Version 4.2.0.beta3
|
|
4
|
+
|
|
5
|
+
#### 🔄 Dependencies
|
|
6
|
+
- **ActiveAdmin Update**: Updated ActiveAdmin from 4.0.0.beta19 to 4.0.0.beta20
|
|
7
|
+
- Now requires Rails 7.2+ (dropped support for Rails 7.0 and 7.1)
|
|
8
|
+
- Added Ruby 4.0 to CI test matrix
|
|
9
|
+
- **Appraisal Updates**: Updated Appraisal gemfiles to use Rails 7.2 and ActiveAdmin 4.0.0.beta20
|
|
10
|
+
|
|
11
|
+
#### 📚 Documentation
|
|
12
|
+
- Added comprehensive ActiveAdmin v4.0.0 beta changelog to `docs/activeadmin-4-changelog.md`
|
|
13
|
+
- Includes all changes from beta1 through beta20
|
|
14
|
+
- Documents breaking changes, new features, and migration path
|
|
15
|
+
|
|
16
|
+
#### 🔧 Technical Improvements
|
|
17
|
+
- **CI Workflow**: Added Ruby 4.0 to test matrix for future compatibility
|
|
18
|
+
|
|
3
19
|
### Version 4.1.2
|
|
4
20
|
|
|
5
21
|
#### 🐛 Bug Fixes
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
activeadmin-tom_select (4.2.0.
|
|
4
|
+
activeadmin-tom_select (4.2.0.beta3)
|
|
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
|
-
action_text-trix (2.1.
|
|
11
|
+
action_text-trix (2.1.18)
|
|
12
12
|
railties
|
|
13
|
-
actioncable (8.1.
|
|
14
|
-
actionpack (= 8.1.
|
|
15
|
-
activesupport (= 8.1.
|
|
13
|
+
actioncable (8.1.3)
|
|
14
|
+
actionpack (= 8.1.3)
|
|
15
|
+
activesupport (= 8.1.3)
|
|
16
16
|
nio4r (~> 2.0)
|
|
17
17
|
websocket-driver (>= 0.6.1)
|
|
18
18
|
zeitwerk (~> 2.6)
|
|
19
|
-
actionmailbox (8.1.
|
|
20
|
-
actionpack (= 8.1.
|
|
21
|
-
activejob (= 8.1.
|
|
22
|
-
activerecord (= 8.1.
|
|
23
|
-
activestorage (= 8.1.
|
|
24
|
-
activesupport (= 8.1.
|
|
19
|
+
actionmailbox (8.1.3)
|
|
20
|
+
actionpack (= 8.1.3)
|
|
21
|
+
activejob (= 8.1.3)
|
|
22
|
+
activerecord (= 8.1.3)
|
|
23
|
+
activestorage (= 8.1.3)
|
|
24
|
+
activesupport (= 8.1.3)
|
|
25
25
|
mail (>= 2.8.0)
|
|
26
|
-
actionmailer (8.1.
|
|
27
|
-
actionpack (= 8.1.
|
|
28
|
-
actionview (= 8.1.
|
|
29
|
-
activejob (= 8.1.
|
|
30
|
-
activesupport (= 8.1.
|
|
26
|
+
actionmailer (8.1.3)
|
|
27
|
+
actionpack (= 8.1.3)
|
|
28
|
+
actionview (= 8.1.3)
|
|
29
|
+
activejob (= 8.1.3)
|
|
30
|
+
activesupport (= 8.1.3)
|
|
31
31
|
mail (>= 2.8.0)
|
|
32
32
|
rails-dom-testing (~> 2.2)
|
|
33
|
-
actionpack (8.1.
|
|
34
|
-
actionview (= 8.1.
|
|
35
|
-
activesupport (= 8.1.
|
|
33
|
+
actionpack (8.1.3)
|
|
34
|
+
actionview (= 8.1.3)
|
|
35
|
+
activesupport (= 8.1.3)
|
|
36
36
|
nokogiri (>= 1.8.5)
|
|
37
37
|
rack (>= 2.2.4)
|
|
38
38
|
rack-session (>= 1.0.1)
|
|
@@ -40,45 +40,45 @@ GEM
|
|
|
40
40
|
rails-dom-testing (~> 2.2)
|
|
41
41
|
rails-html-sanitizer (~> 1.6)
|
|
42
42
|
useragent (~> 0.16)
|
|
43
|
-
actiontext (8.1.
|
|
43
|
+
actiontext (8.1.3)
|
|
44
44
|
action_text-trix (~> 2.1.15)
|
|
45
|
-
actionpack (= 8.1.
|
|
46
|
-
activerecord (= 8.1.
|
|
47
|
-
activestorage (= 8.1.
|
|
48
|
-
activesupport (= 8.1.
|
|
45
|
+
actionpack (= 8.1.3)
|
|
46
|
+
activerecord (= 8.1.3)
|
|
47
|
+
activestorage (= 8.1.3)
|
|
48
|
+
activesupport (= 8.1.3)
|
|
49
49
|
globalid (>= 0.6.0)
|
|
50
50
|
nokogiri (>= 1.8.5)
|
|
51
|
-
actionview (8.1.
|
|
52
|
-
activesupport (= 8.1.
|
|
51
|
+
actionview (8.1.3)
|
|
52
|
+
activesupport (= 8.1.3)
|
|
53
53
|
builder (~> 3.1)
|
|
54
54
|
erubi (~> 1.11)
|
|
55
55
|
rails-dom-testing (~> 2.2)
|
|
56
56
|
rails-html-sanitizer (~> 1.6)
|
|
57
|
-
activeadmin (4.0.0.
|
|
57
|
+
activeadmin (4.0.0.beta22)
|
|
58
58
|
arbre (~> 2.0)
|
|
59
59
|
csv
|
|
60
|
-
formtastic (>=
|
|
60
|
+
formtastic (>= 6.0)
|
|
61
61
|
formtastic_i18n (>= 0.7)
|
|
62
62
|
inherited_resources (~> 2.0)
|
|
63
63
|
kaminari (>= 1.2.1)
|
|
64
|
-
railties (>= 7.
|
|
64
|
+
railties (>= 7.2)
|
|
65
65
|
ransack (>= 4.0)
|
|
66
|
-
activejob (8.1.
|
|
67
|
-
activesupport (= 8.1.
|
|
66
|
+
activejob (8.1.3)
|
|
67
|
+
activesupport (= 8.1.3)
|
|
68
68
|
globalid (>= 0.3.6)
|
|
69
|
-
activemodel (8.1.
|
|
70
|
-
activesupport (= 8.1.
|
|
71
|
-
activerecord (8.1.
|
|
72
|
-
activemodel (= 8.1.
|
|
73
|
-
activesupport (= 8.1.
|
|
69
|
+
activemodel (8.1.3)
|
|
70
|
+
activesupport (= 8.1.3)
|
|
71
|
+
activerecord (8.1.3)
|
|
72
|
+
activemodel (= 8.1.3)
|
|
73
|
+
activesupport (= 8.1.3)
|
|
74
74
|
timeout (>= 0.4.0)
|
|
75
|
-
activestorage (8.1.
|
|
76
|
-
actionpack (= 8.1.
|
|
77
|
-
activejob (= 8.1.
|
|
78
|
-
activerecord (= 8.1.
|
|
79
|
-
activesupport (= 8.1.
|
|
75
|
+
activestorage (8.1.3)
|
|
76
|
+
actionpack (= 8.1.3)
|
|
77
|
+
activejob (= 8.1.3)
|
|
78
|
+
activerecord (= 8.1.3)
|
|
79
|
+
activesupport (= 8.1.3)
|
|
80
80
|
marcel (~> 1.0)
|
|
81
|
-
activesupport (8.1.
|
|
81
|
+
activesupport (8.1.3)
|
|
82
82
|
base64
|
|
83
83
|
bigdecimal
|
|
84
84
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -91,7 +91,7 @@ GEM
|
|
|
91
91
|
securerandom (>= 0.3)
|
|
92
92
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
93
93
|
uri (>= 0.13.1)
|
|
94
|
-
addressable (2.8.
|
|
94
|
+
addressable (2.8.9)
|
|
95
95
|
public_suffix (>= 2.0.2, < 8.0)
|
|
96
96
|
appraisal (2.5.0)
|
|
97
97
|
bundler
|
|
@@ -101,8 +101,8 @@ GEM
|
|
|
101
101
|
activesupport (>= 7.0)
|
|
102
102
|
ast (2.4.3)
|
|
103
103
|
base64 (0.3.0)
|
|
104
|
-
bcrypt (3.1.
|
|
105
|
-
bigdecimal (4.0
|
|
104
|
+
bcrypt (3.1.22)
|
|
105
|
+
bigdecimal (4.1.0)
|
|
106
106
|
builder (3.3.0)
|
|
107
107
|
capybara (3.40.0)
|
|
108
108
|
addressable
|
|
@@ -113,7 +113,7 @@ GEM
|
|
|
113
113
|
rack-test (>= 0.6.3)
|
|
114
114
|
regexp_parser (>= 1.5, < 3.0)
|
|
115
115
|
xpath (~> 3.2)
|
|
116
|
-
capybara-playwright-driver (0.5.
|
|
116
|
+
capybara-playwright-driver (0.5.9)
|
|
117
117
|
addressable
|
|
118
118
|
capybara
|
|
119
119
|
playwright-ruby-client (>= 1.16.0)
|
|
@@ -139,10 +139,10 @@ GEM
|
|
|
139
139
|
diff-lcs (1.6.2)
|
|
140
140
|
docile (1.4.1)
|
|
141
141
|
drb (2.2.3)
|
|
142
|
-
erb (6.0.
|
|
142
|
+
erb (6.0.2)
|
|
143
143
|
erubi (1.13.1)
|
|
144
|
-
formtastic (
|
|
145
|
-
actionpack (>=
|
|
144
|
+
formtastic (6.0.0)
|
|
145
|
+
actionpack (>= 7.2.0)
|
|
146
146
|
formtastic_i18n (0.7.0)
|
|
147
147
|
git (1.19.1)
|
|
148
148
|
addressable (~> 2.8)
|
|
@@ -152,7 +152,7 @@ GEM
|
|
|
152
152
|
has_scope (0.9.0)
|
|
153
153
|
actionpack (>= 7.0)
|
|
154
154
|
activesupport (>= 7.0)
|
|
155
|
-
i18n (1.14.
|
|
155
|
+
i18n (1.14.8)
|
|
156
156
|
concurrent-ruby (~> 1.0)
|
|
157
157
|
inherited_resources (2.1.0)
|
|
158
158
|
actionpack (>= 7.0)
|
|
@@ -160,11 +160,12 @@ GEM
|
|
|
160
160
|
railties (>= 7.0)
|
|
161
161
|
responders (>= 2)
|
|
162
162
|
io-console (0.8.2)
|
|
163
|
-
irb (1.
|
|
163
|
+
irb (1.17.0)
|
|
164
164
|
pp (>= 0.6.0)
|
|
165
|
+
prism (>= 1.3.0)
|
|
165
166
|
rdoc (>= 4.0.0)
|
|
166
167
|
reline (>= 0.4.2)
|
|
167
|
-
json (2.
|
|
168
|
+
json (2.19.3)
|
|
168
169
|
kaminari (1.2.2)
|
|
169
170
|
activesupport (>= 4.1.0)
|
|
170
171
|
kaminari-actionview (= 1.2.2)
|
|
@@ -180,7 +181,7 @@ GEM
|
|
|
180
181
|
language_server-protocol (3.17.0.5)
|
|
181
182
|
lint_roller (1.1.0)
|
|
182
183
|
logger (1.7.0)
|
|
183
|
-
loofah (2.25.
|
|
184
|
+
loofah (2.25.1)
|
|
184
185
|
crass (~> 1.0.2)
|
|
185
186
|
nokogiri (>= 1.12.0)
|
|
186
187
|
mail (2.9.0)
|
|
@@ -194,11 +195,12 @@ GEM
|
|
|
194
195
|
mime-types (3.7.0)
|
|
195
196
|
logger
|
|
196
197
|
mime-types-data (~> 3.2025, >= 3.2025.0507)
|
|
197
|
-
mime-types-data (3.
|
|
198
|
+
mime-types-data (3.2026.0331)
|
|
198
199
|
mini_mime (1.1.5)
|
|
199
|
-
minitest (6.0.
|
|
200
|
+
minitest (6.0.2)
|
|
201
|
+
drb (~> 2.0)
|
|
200
202
|
prism (~> 1.5)
|
|
201
|
-
net-imap (0.6.
|
|
203
|
+
net-imap (0.6.3)
|
|
202
204
|
date
|
|
203
205
|
net-protocol
|
|
204
206
|
net-pop (0.1.2)
|
|
@@ -208,34 +210,35 @@ GEM
|
|
|
208
210
|
net-smtp (0.5.1)
|
|
209
211
|
net-protocol
|
|
210
212
|
nio4r (2.7.5)
|
|
211
|
-
nokogiri (1.
|
|
213
|
+
nokogiri (1.19.2-aarch64-linux-gnu)
|
|
212
214
|
racc (~> 1.4)
|
|
213
|
-
nokogiri (1.
|
|
215
|
+
nokogiri (1.19.2-aarch64-linux-musl)
|
|
214
216
|
racc (~> 1.4)
|
|
215
|
-
nokogiri (1.
|
|
217
|
+
nokogiri (1.19.2-arm-linux-gnu)
|
|
216
218
|
racc (~> 1.4)
|
|
217
|
-
nokogiri (1.
|
|
219
|
+
nokogiri (1.19.2-arm-linux-musl)
|
|
218
220
|
racc (~> 1.4)
|
|
219
|
-
nokogiri (1.
|
|
221
|
+
nokogiri (1.19.2-arm64-darwin)
|
|
220
222
|
racc (~> 1.4)
|
|
221
|
-
nokogiri (1.
|
|
223
|
+
nokogiri (1.19.2-x86_64-darwin)
|
|
222
224
|
racc (~> 1.4)
|
|
223
|
-
nokogiri (1.
|
|
225
|
+
nokogiri (1.19.2-x86_64-linux-gnu)
|
|
224
226
|
racc (~> 1.4)
|
|
225
|
-
nokogiri (1.
|
|
227
|
+
nokogiri (1.19.2-x86_64-linux-musl)
|
|
226
228
|
racc (~> 1.4)
|
|
227
229
|
orm_adapter (0.5.0)
|
|
228
230
|
parallel (1.27.0)
|
|
229
|
-
parser (3.3.
|
|
231
|
+
parser (3.3.11.1)
|
|
230
232
|
ast (~> 2.4.1)
|
|
231
233
|
racc
|
|
232
|
-
playwright-ruby-client (1.
|
|
234
|
+
playwright-ruby-client (1.58.1)
|
|
235
|
+
base64
|
|
233
236
|
concurrent-ruby (>= 1.1.6)
|
|
234
237
|
mime-types (>= 3.0)
|
|
235
238
|
pp (0.6.3)
|
|
236
239
|
prettyprint
|
|
237
240
|
prettyprint (0.2.0)
|
|
238
|
-
prism (1.
|
|
241
|
+
prism (1.9.0)
|
|
239
242
|
propshaft (1.3.1)
|
|
240
243
|
actionpack (>= 7.0.0)
|
|
241
244
|
activesupport (>= 7.0.0)
|
|
@@ -243,11 +246,11 @@ GEM
|
|
|
243
246
|
psych (5.3.1)
|
|
244
247
|
date
|
|
245
248
|
stringio
|
|
246
|
-
public_suffix (7.0.
|
|
249
|
+
public_suffix (7.0.5)
|
|
247
250
|
puma (6.6.1)
|
|
248
251
|
nio4r (~> 2.0)
|
|
249
252
|
racc (1.8.1)
|
|
250
|
-
rack (3.2.
|
|
253
|
+
rack (3.2.5)
|
|
251
254
|
rack-session (2.1.1)
|
|
252
255
|
base64 (>= 0.1.0)
|
|
253
256
|
rack (>= 3.0.0)
|
|
@@ -255,30 +258,30 @@ GEM
|
|
|
255
258
|
rack (>= 1.3)
|
|
256
259
|
rackup (2.3.1)
|
|
257
260
|
rack (>= 3)
|
|
258
|
-
rails (8.1.
|
|
259
|
-
actioncable (= 8.1.
|
|
260
|
-
actionmailbox (= 8.1.
|
|
261
|
-
actionmailer (= 8.1.
|
|
262
|
-
actionpack (= 8.1.
|
|
263
|
-
actiontext (= 8.1.
|
|
264
|
-
actionview (= 8.1.
|
|
265
|
-
activejob (= 8.1.
|
|
266
|
-
activemodel (= 8.1.
|
|
267
|
-
activerecord (= 8.1.
|
|
268
|
-
activestorage (= 8.1.
|
|
269
|
-
activesupport (= 8.1.
|
|
261
|
+
rails (8.1.3)
|
|
262
|
+
actioncable (= 8.1.3)
|
|
263
|
+
actionmailbox (= 8.1.3)
|
|
264
|
+
actionmailer (= 8.1.3)
|
|
265
|
+
actionpack (= 8.1.3)
|
|
266
|
+
actiontext (= 8.1.3)
|
|
267
|
+
actionview (= 8.1.3)
|
|
268
|
+
activejob (= 8.1.3)
|
|
269
|
+
activemodel (= 8.1.3)
|
|
270
|
+
activerecord (= 8.1.3)
|
|
271
|
+
activestorage (= 8.1.3)
|
|
272
|
+
activesupport (= 8.1.3)
|
|
270
273
|
bundler (>= 1.15.0)
|
|
271
|
-
railties (= 8.1.
|
|
274
|
+
railties (= 8.1.3)
|
|
272
275
|
rails-dom-testing (2.3.0)
|
|
273
276
|
activesupport (>= 5.0.0)
|
|
274
277
|
minitest
|
|
275
278
|
nokogiri (>= 1.6)
|
|
276
|
-
rails-html-sanitizer (1.
|
|
277
|
-
loofah (~> 2.
|
|
279
|
+
rails-html-sanitizer (1.7.0)
|
|
280
|
+
loofah (~> 2.25)
|
|
278
281
|
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)
|
|
279
|
-
railties (8.1.
|
|
280
|
-
actionpack (= 8.1.
|
|
281
|
-
activesupport (= 8.1.
|
|
282
|
+
railties (8.1.3)
|
|
283
|
+
actionpack (= 8.1.3)
|
|
284
|
+
activesupport (= 8.1.3)
|
|
282
285
|
irb (~> 1.13)
|
|
283
286
|
rackup (>= 1.0.0)
|
|
284
287
|
rake (>= 12.2)
|
|
@@ -293,7 +296,7 @@ GEM
|
|
|
293
296
|
activesupport (>= 7.2)
|
|
294
297
|
i18n
|
|
295
298
|
rchardet (1.10.0)
|
|
296
|
-
rdoc (7.0
|
|
299
|
+
rdoc (7.2.0)
|
|
297
300
|
erb
|
|
298
301
|
psych (>= 4.0.0)
|
|
299
302
|
tsort
|
|
@@ -308,7 +311,7 @@ GEM
|
|
|
308
311
|
rspec-expectations (3.13.5)
|
|
309
312
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
310
313
|
rspec-support (~> 3.13.0)
|
|
311
|
-
rspec-mocks (3.13.
|
|
314
|
+
rspec-mocks (3.13.8)
|
|
312
315
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
313
316
|
rspec-support (~> 3.13.0)
|
|
314
317
|
rspec-rails (6.1.5)
|
|
@@ -319,7 +322,7 @@ GEM
|
|
|
319
322
|
rspec-expectations (~> 3.13)
|
|
320
323
|
rspec-mocks (~> 3.13)
|
|
321
324
|
rspec-support (~> 3.13)
|
|
322
|
-
rspec-support (3.13.
|
|
325
|
+
rspec-support (3.13.7)
|
|
323
326
|
rspec_junit_formatter (0.6.0)
|
|
324
327
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
325
328
|
rubocop (1.80.2)
|
|
@@ -351,17 +354,17 @@ GEM
|
|
|
351
354
|
simplecov_json_formatter (~> 0.1)
|
|
352
355
|
simplecov-html (0.13.2)
|
|
353
356
|
simplecov_json_formatter (0.1.4)
|
|
354
|
-
sqlite3 (2.
|
|
355
|
-
sqlite3 (2.
|
|
356
|
-
sqlite3 (2.
|
|
357
|
-
sqlite3 (2.
|
|
358
|
-
sqlite3 (2.
|
|
359
|
-
sqlite3 (2.
|
|
360
|
-
sqlite3 (2.
|
|
361
|
-
sqlite3 (2.
|
|
357
|
+
sqlite3 (2.9.2-aarch64-linux-gnu)
|
|
358
|
+
sqlite3 (2.9.2-aarch64-linux-musl)
|
|
359
|
+
sqlite3 (2.9.2-arm-linux-gnu)
|
|
360
|
+
sqlite3 (2.9.2-arm-linux-musl)
|
|
361
|
+
sqlite3 (2.9.2-arm64-darwin)
|
|
362
|
+
sqlite3 (2.9.2-x86_64-darwin)
|
|
363
|
+
sqlite3 (2.9.2-x86_64-linux-gnu)
|
|
364
|
+
sqlite3 (2.9.2-x86_64-linux-musl)
|
|
362
365
|
stringio (3.2.0)
|
|
363
|
-
thor (1.
|
|
364
|
-
timeout (0.6.
|
|
366
|
+
thor (1.5.0)
|
|
367
|
+
timeout (0.6.1)
|
|
365
368
|
tsort (0.2.0)
|
|
366
369
|
tzinfo (2.0.6)
|
|
367
370
|
concurrent-ruby (~> 1.0)
|
|
@@ -379,7 +382,7 @@ GEM
|
|
|
379
382
|
websocket-extensions (0.1.5)
|
|
380
383
|
xpath (3.2.0)
|
|
381
384
|
nokogiri (~> 1.8)
|
|
382
|
-
zeitwerk (2.7.
|
|
385
|
+
zeitwerk (2.7.5)
|
|
383
386
|
|
|
384
387
|
PLATFORMS
|
|
385
388
|
aarch64-linux-gnu
|
|
@@ -388,19 +391,21 @@ PLATFORMS
|
|
|
388
391
|
arm-linux-musl
|
|
389
392
|
arm64-darwin
|
|
390
393
|
x86_64-darwin
|
|
394
|
+
x86_64-linux
|
|
391
395
|
x86_64-linux-gnu
|
|
392
396
|
x86_64-linux-musl
|
|
393
397
|
|
|
394
398
|
DEPENDENCIES
|
|
395
|
-
activeadmin (
|
|
399
|
+
activeadmin (~> 4.0.0.beta)
|
|
396
400
|
activeadmin-tom_select!
|
|
397
401
|
appraisal (~> 2.2)
|
|
398
|
-
bundler (>= 1.5
|
|
402
|
+
bundler (>= 1.5)
|
|
399
403
|
capybara (~> 3.39)
|
|
400
404
|
capybara-playwright-driver (~> 0.5)
|
|
401
405
|
combustion (~> 1.5)
|
|
402
406
|
database_cleaner-active_record (~> 2.1)
|
|
403
407
|
devise (~> 4.9)
|
|
408
|
+
nokogiri (~> 1.19)
|
|
404
409
|
propshaft (~> 1.2)
|
|
405
410
|
puma (~> 6.0)
|
|
406
411
|
rails (~> 8.0)
|
|
@@ -412,7 +417,7 @@ DEPENDENCIES
|
|
|
412
417
|
rubocop-rspec (~> 3.0)
|
|
413
418
|
semmy (~> 1.1)
|
|
414
419
|
simplecov
|
|
415
|
-
sqlite3 (~> 2.
|
|
420
|
+
sqlite3 (~> 2.9)
|
|
416
421
|
|
|
417
422
|
BUNDLED WITH
|
|
418
|
-
|
|
423
|
+
4.0.6
|
|
@@ -14,27 +14,28 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
spec.files = `git ls-files -z`.split("\x0")
|
|
15
15
|
spec.require_paths = ['lib']
|
|
16
16
|
|
|
17
|
-
spec.required_ruby_version =
|
|
17
|
+
spec.required_ruby_version = '>= 4.0'
|
|
18
18
|
|
|
19
19
|
spec.add_development_dependency 'appraisal', '~> 2.2'
|
|
20
|
-
spec.add_development_dependency 'bundler',
|
|
20
|
+
spec.add_development_dependency 'bundler', '>= 1.5'
|
|
21
21
|
spec.add_development_dependency 'combustion', '~> 1.5'
|
|
22
22
|
spec.add_development_dependency 'database_cleaner-active_record', '~> 2.1'
|
|
23
23
|
spec.add_development_dependency 'rake'
|
|
24
24
|
spec.add_development_dependency 'rspec-rails', '~> 6.0'
|
|
25
|
-
spec.add_development_dependency 'sqlite3', '~> 2.
|
|
25
|
+
spec.add_development_dependency 'sqlite3', '~> 2.9'
|
|
26
26
|
|
|
27
27
|
spec.add_development_dependency 'capybara', '~> 3.39'
|
|
28
28
|
spec.add_development_dependency 'capybara-playwright-driver', '~> 0.5'
|
|
29
29
|
spec.add_development_dependency 'puma', '~> 6.0'
|
|
30
30
|
|
|
31
|
+
spec.add_development_dependency 'nokogiri', '~> 1.19'
|
|
31
32
|
spec.add_development_dependency 'rubocop', '~> 1.50'
|
|
32
33
|
spec.add_development_dependency 'rubocop-ast', '~> 1.46.0'
|
|
33
34
|
spec.add_development_dependency 'rubocop-rspec', '~> 3.0'
|
|
34
35
|
|
|
35
36
|
spec.add_development_dependency 'rspec_junit_formatter'
|
|
36
|
-
spec.add_development_dependency 'simplecov'
|
|
37
37
|
spec.add_development_dependency 'semmy', '~> 1.1'
|
|
38
|
+
spec.add_development_dependency 'simplecov'
|
|
38
39
|
|
|
39
40
|
spec.add_dependency 'activeadmin', '>= 3.0', '< 5'
|
|
40
41
|
spec.add_dependency 'ransack', '>= 1.8', '< 5'
|
|
@@ -153,9 +153,39 @@ From ActiveAdmin's upgrade guide:
|
|
|
153
153
|
- Run `bundle binstubs tailwindcss-ruby --force`.
|
|
154
154
|
- Confirm `bin/tailwindcss` exists.
|
|
155
155
|
|
|
156
|
+
### CSS Import Fails: "Failed to find 'activeadmin-tom_select/css'"
|
|
157
|
+
|
|
158
|
+
This error occurs when using Tailwind CSS v3 with `npx tailwindcss` CLI because postcss-import doesn't support npm subpath exports.
|
|
159
|
+
|
|
160
|
+
**Solution 1: Configure postcss-import to resolve from node_modules (recommended)**
|
|
161
|
+
|
|
162
|
+
Create `postcss.config.js` in your project root:
|
|
163
|
+
|
|
164
|
+
```javascript
|
|
165
|
+
module.exports = {
|
|
166
|
+
plugins: {
|
|
167
|
+
'postcss-import': {
|
|
168
|
+
path: ['node_modules']
|
|
169
|
+
},
|
|
170
|
+
'tailwindcss': {},
|
|
171
|
+
'autoprefixer': {},
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Then use clean imports in your CSS:
|
|
177
|
+
|
|
178
|
+
```css
|
|
179
|
+
@import "activeadmin-tom_select/src/tom-select-tailwind.css";
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
**For Tailwind v4:** Use `@import "activeadmin-tom_select/css"` with the `@config` directive.
|
|
183
|
+
|
|
156
184
|
### ActiveAdmin styles not loading
|
|
157
185
|
- Verify `app/assets/builds/active_admin.css` exists.
|
|
158
|
-
- Check that
|
|
186
|
+
- Check that CSS imports are correct (see above).
|
|
187
|
+
- Run `npm install` to ensure packages are installed.
|
|
188
|
+
- Ensure `postcss.config.js` exists if using Tailwind v3.
|
|
159
189
|
|
|
160
190
|
### Tom Select not initializing
|
|
161
191
|
- Verify `window.TomSelect` in the console.
|