rs-activeadmin-searchable_select 4.0.5
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 +7 -0
- data/.actrc +20 -0
- data/.claude/commands/fix-tests.md +203 -0
- data/.github/workflows/ci.yml +170 -0
- data/.github/workflows/npm-publish.yml +47 -0
- data/.gitignore +27 -0
- data/.npmignore +58 -0
- data/.rspec +2 -0
- data/.rubocop.yml +67 -0
- data/.yardopts +2 -0
- data/AGENTS.md +39 -0
- data/Appraisals +15 -0
- data/CHANGELOG.md +24 -0
- data/CLAUDE.md +104 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +366 -0
- data/LICENSE.txt +25 -0
- data/README.md +439 -0
- data/Rakefile +4 -0
- data/bin/rspec +17 -0
- data/config/database.yml +16 -0
- data/config.ru +28 -0
- data/docs/activeadmin-4-detailed-reference.md +932 -0
- data/docs/activeadmin-4-gem-migration-guide.md +313 -0
- data/docs/combustion.md +213 -0
- data/docs/for-next-session.md +199 -0
- data/docs/guide-update-your-app.md +213 -0
- data/docs/propshaft-readme.md +121 -0
- data/docs/propshaft-upgrade.md +267 -0
- data/docs/rails-7-asset-pipeline.md +279 -0
- data/docs/setup-activeadmin-app.md +552 -0
- data/docs/setup-activeadmin-gem.md +535 -0
- data/docs/upload-system.md +225 -0
- data/gemfiles/rails_7.x_active_admin_4.x.gemfile +11 -0
- data/gemfiles/rails_7.x_active_admin_4.x.gemfile.lock +371 -0
- data/gemfiles/rails_8.x_active_admin_4.x.gemfile +11 -0
- data/gemfiles/rails_8.x_active_admin_4.x.gemfile.lock +366 -0
- data/lefthook.yml +17 -0
- data/lib/activeadmin/inputs/filters/searchable_select_input.rb +13 -0
- data/lib/activeadmin/inputs/searchable_select_input.rb +11 -0
- data/lib/activeadmin/searchable_select/engine.rb +17 -0
- data/lib/activeadmin/searchable_select/option_collection.rb +119 -0
- data/lib/activeadmin/searchable_select/resource_dsl_extension.rb +56 -0
- data/lib/activeadmin/searchable_select/resource_extension.rb +10 -0
- data/lib/activeadmin/searchable_select/select_input_extension.rb +159 -0
- data/lib/activeadmin/searchable_select/version.rb +5 -0
- data/lib/activeadmin/searchable_select.rb +20 -0
- data/lib/activeadmin-searchable_select.rb +4 -0
- data/lib/generators/active_admin/searchable_select/install/install_generator.rb +217 -0
- data/package-lock.json +18 -0
- data/package.json +45 -0
- data/rs-activeadmin-searchable_select.gemspec +38 -0
- data/sonar-project.properties +25 -0
- data/spec/features/ajax_params_spec.rb +31 -0
- data/spec/features/end_to_end_spec.rb +227 -0
- data/spec/features/filter_input_spec.rb +137 -0
- data/spec/features/form_input_spec.rb +122 -0
- data/spec/features/inline_ajax_setting_spec.rb +26 -0
- data/spec/features/input_errors_spec.rb +76 -0
- data/spec/features/input_html_options_spec.rb +30 -0
- data/spec/features/options_dsl_spec.rb +220 -0
- data/spec/features/production_build_spec.rb +108 -0
- data/spec/internal/app/admin/categories.rb +26 -0
- data/spec/internal/app/admin/dashboard.rb +29 -0
- data/spec/internal/app/admin/option_types.rb +19 -0
- data/spec/internal/app/admin/option_values.rb +30 -0
- data/spec/internal/app/admin/posts.rb +27 -0
- data/spec/internal/app/admin/products.rb +22 -0
- data/spec/internal/app/admin/rgb_colors.rb +25 -0
- data/spec/internal/app/admin/tag_names.rb +21 -0
- data/spec/internal/app/admin/test_ajax_params_category.rb +10 -0
- data/spec/internal/app/admin/test_ajax_params_post.rb +20 -0
- data/spec/internal/app/admin/test_form_post_class.rb +7 -0
- data/spec/internal/app/admin/test_form_post_custom.rb +11 -0
- data/spec/internal/app/admin/test_form_post_resource.rb +11 -0
- data/spec/internal/app/admin/test_form_post_resource_custom.rb +12 -0
- data/spec/internal/app/admin/test_inline_ajax_post.rb +9 -0
- data/spec/internal/app/admin/test_input_html_post.rb +11 -0
- data/spec/internal/app/admin/test_posts_display_text.rb +9 -0
- data/spec/internal/app/admin/test_posts_filter.rb +9 -0
- data/spec/internal/app/admin/test_posts_named.rb +9 -0
- data/spec/internal/app/admin/test_posts_pagination.rb +9 -0
- data/spec/internal/app/admin/test_posts_payload_lambda.rb +11 -0
- data/spec/internal/app/admin/test_posts_payload_proc.rb +9 -0
- data/spec/internal/app/admin/test_posts_scope_lambda.rb +8 -0
- data/spec/internal/app/admin/test_posts_scope_params.rb +8 -0
- data/spec/internal/app/admin/test_posts_scope_user.rb +8 -0
- data/spec/internal/app/admin/test_posts_text_attr.rb +5 -0
- data/spec/internal/app/admin/users.rb +23 -0
- data/spec/internal/app/admin/variants.rb +31 -0
- data/spec/internal/app/assets/config/manifest.js +1 -0
- data/spec/internal/app/assets/javascripts/active_admin.js +2 -0
- data/spec/internal/app/assets/javascripts/searchable_select_test.js +2 -0
- data/spec/internal/app/controllers/application_controller.rb +5 -0
- data/spec/internal/app/css/active_admin_source.css +81 -0
- data/spec/internal/app/js/active_admin.js +17 -0
- data/spec/internal/app/models/article.rb +12 -0
- data/spec/internal/app/models/category.rb +12 -0
- data/spec/internal/app/models/internal/tag_name.rb +14 -0
- data/spec/internal/app/models/internal_tag_name.rb +11 -0
- data/spec/internal/app/models/option_type.rb +12 -0
- data/spec/internal/app/models/option_value.rb +4 -0
- data/spec/internal/app/models/post.rb +15 -0
- data/spec/internal/app/models/product.rb +12 -0
- data/spec/internal/app/models/rgb_color.rb +16 -0
- data/spec/internal/app/models/user.rb +12 -0
- data/spec/internal/app/models/variant.rb +12 -0
- data/spec/internal/build_activeadmin_css.js +115 -0
- data/spec/internal/config/database.yml +7 -0
- data/spec/internal/config/environment.rb +48 -0
- data/spec/internal/config/initializers/active_admin.rb +53 -0
- data/spec/internal/config/initializers/assets.rb +9 -0
- data/spec/internal/config/initializers/searchable_select.rb +6 -0
- data/spec/internal/config/routes.rb +4 -0
- data/spec/internal/config.ru +4 -0
- data/spec/internal/db/schema.rb +63 -0
- data/spec/internal/db/seeds.rb +88 -0
- data/spec/internal/esbuild.config.js +30 -0
- data/spec/internal/inject-jquery.js +4 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/package/LICENSE.txt +25 -0
- data/spec/internal/package/README.md +439 -0
- data/spec/internal/package/package.json +45 -0
- data/spec/internal/package/src/index.js +1 -0
- data/spec/internal/package/src/searchable_select/init.js +1 -0
- data/spec/internal/package/src/searchable_select.css +1 -0
- data/spec/internal/package/src/searchable_select.scss +1 -0
- data/spec/internal/package-lock.json +1385 -0
- data/spec/internal/package.json +26 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/internal/spec/internal/app/css/active_admin_source.css +38 -0
- data/spec/internal/spec/internal/log/test.log +0 -0
- data/spec/internal/tailwind-active_admin.config.js +53 -0
- data/spec/rails_helper.rb +86 -0
- data/spec/spec_helper.rb +137 -0
- data/spec/support/active_admin_helpers.rb +17 -0
- data/spec/support/capybara.rb +8 -0
- data/spec/support/models.rb +88 -0
- data/spec/support/pluck_polyfill.rb +12 -0
- data/spec/support/reset_settings.rb +5 -0
- data/src/index.js +77 -0
- data/src/searchable_select/init.js +58 -0
- data/src/searchable_select.css +5 -0
- data/src/searchable_select.css.map +1 -0
- metadata +405 -0
data/CLAUDE.md
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
# CLAUDE.md
|
2
|
+
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
4
|
+
|
5
|
+
## Project Overview
|
6
|
+
|
7
|
+
ActiveAdmin Searchable Select is a Ruby gem that adds searchable select boxes (via Select2) to ActiveAdmin forms and filters. It extends the ActiveAdmin resource DSL to allow defining JSON endpoints for asynchronous option fetching.
|
8
|
+
|
9
|
+
## Development Commands
|
10
|
+
|
11
|
+
### Testing
|
12
|
+
```bash
|
13
|
+
# Run full test suite
|
14
|
+
bundle exec rspec
|
15
|
+
|
16
|
+
# Run tests against specific Rails/ActiveAdmin versions
|
17
|
+
appraisal install
|
18
|
+
appraisal rspec
|
19
|
+
|
20
|
+
# Run a specific test file
|
21
|
+
bundle exec rspec spec/features/end_to_end_spec.rb
|
22
|
+
|
23
|
+
# Run tests matching a pattern
|
24
|
+
bundle exec rspec -e "searchable select"
|
25
|
+
```
|
26
|
+
|
27
|
+
### Code Quality
|
28
|
+
```bash
|
29
|
+
# Run Rubocop for style checking
|
30
|
+
bundle exec rubocop
|
31
|
+
|
32
|
+
# Auto-fix Rubocop violations (when safe)
|
33
|
+
bundle exec rubocop -a
|
34
|
+
```
|
35
|
+
|
36
|
+
### Gem Management
|
37
|
+
```bash
|
38
|
+
# Install dependencies
|
39
|
+
bundle install
|
40
|
+
|
41
|
+
# Build gem
|
42
|
+
bundle exec rake build
|
43
|
+
|
44
|
+
# Release new version (via Semmy)
|
45
|
+
bundle exec rake release
|
46
|
+
```
|
47
|
+
|
48
|
+
### NPM Package
|
49
|
+
```bash
|
50
|
+
# Install npm dependencies
|
51
|
+
npm install
|
52
|
+
|
53
|
+
# Prepare source files for npm publishing
|
54
|
+
npm run prepublishOnly
|
55
|
+
```
|
56
|
+
|
57
|
+
## Architecture
|
58
|
+
|
59
|
+
### Core Components
|
60
|
+
|
61
|
+
1. **Input Extensions** (`lib/activeadmin/inputs/`)
|
62
|
+
- `SearchableSelectInput`: Main form input class that renders searchable select fields
|
63
|
+
- `filters/SearchableSelectInput`: Filter-specific variant for ActiveAdmin index pages
|
64
|
+
|
65
|
+
2. **Resource DSL Extension** (`lib/activeadmin/searchable_select/resource_dsl_extension.rb`)
|
66
|
+
- Adds `searchable_select_options` method to ActiveAdmin resources
|
67
|
+
- Defines collection actions that serve JSON endpoints for option fetching
|
68
|
+
|
69
|
+
3. **Option Collection** (`lib/activeadmin/searchable_select/option_collection.rb`)
|
70
|
+
- Handles scope filtering via Ransack
|
71
|
+
- Manages pagination and result formatting
|
72
|
+
- Supports custom text attributes and display text lambdas
|
73
|
+
|
74
|
+
4. **JavaScript Integration** (`app/assets/javascripts/active_admin/`)
|
75
|
+
- Initializes Select2 on searchable select inputs
|
76
|
+
- Handles AJAX configuration for remote data fetching
|
77
|
+
- Manages selected option rendering
|
78
|
+
|
79
|
+
### Request Flow for AJAX Options
|
80
|
+
|
81
|
+
1. User types in searchable select input
|
82
|
+
2. JavaScript sends AJAX request to `all_options_[resource]_path`
|
83
|
+
3. Collection action (defined by `searchable_select_options`) processes request
|
84
|
+
4. `OptionCollection` applies Ransack filtering and pagination
|
85
|
+
5. JSON response returned with results and pagination metadata
|
86
|
+
6. Select2 renders options in dropdown
|
87
|
+
|
88
|
+
### Key Design Patterns
|
89
|
+
|
90
|
+
- **Ransack Integration**: All filtering leverages Ransack's query interface
|
91
|
+
- **Lazy Loading**: Options can be fetched asynchronously to handle large datasets
|
92
|
+
- **Scope Flexibility**: Scopes can be static collections or dynamic lambdas
|
93
|
+
- **Multiple Endpoints**: Single resource can define multiple option collections
|
94
|
+
- **Test Mode**: `inline_ajax_options` setting renders all options statically for testing
|
95
|
+
|
96
|
+
## Testing Approach
|
97
|
+
|
98
|
+
Tests use RSpec with Capybara for feature specs. The `spec/internal` directory contains a minimal Rails app for testing. Key test helpers:
|
99
|
+
|
100
|
+
- `ActiveAdminHelpers`: Provides DSL for interacting with ActiveAdmin pages
|
101
|
+
- `inline_ajax_options` mode: Renders all options inline during feature tests
|
102
|
+
- Database cleaner ensures test isolation
|
103
|
+
- ABSOLUTELY NO GIT PUSH WITH --no-verify FLAG
|
104
|
+
- ABSOLUTELY NO GIT PUSH WITH --no-verify FLAG
|
data/Gemfile
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Use ActiveAdmin 4.x beta
|
4
|
+
gem 'activeadmin', '4.0.0.beta16'
|
5
|
+
|
6
|
+
# Code coverage - needed for CI
|
7
|
+
gem 'rspec_junit_formatter', require: false
|
8
|
+
gem 'simplecov', require: false
|
9
|
+
gem 'simplecov-cobertura', require: false # For SonarQube-compatible XML format
|
10
|
+
|
11
|
+
gemspec
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,366 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rs-activeadmin-searchable_select (4.0.5)
|
5
|
+
activeadmin (~> 4.0.0.beta)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (8.0.2.1)
|
11
|
+
actionpack (= 8.0.2.1)
|
12
|
+
activesupport (= 8.0.2.1)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
zeitwerk (~> 2.6)
|
16
|
+
actionmailbox (8.0.2.1)
|
17
|
+
actionpack (= 8.0.2.1)
|
18
|
+
activejob (= 8.0.2.1)
|
19
|
+
activerecord (= 8.0.2.1)
|
20
|
+
activestorage (= 8.0.2.1)
|
21
|
+
activesupport (= 8.0.2.1)
|
22
|
+
mail (>= 2.8.0)
|
23
|
+
actionmailer (8.0.2.1)
|
24
|
+
actionpack (= 8.0.2.1)
|
25
|
+
actionview (= 8.0.2.1)
|
26
|
+
activejob (= 8.0.2.1)
|
27
|
+
activesupport (= 8.0.2.1)
|
28
|
+
mail (>= 2.8.0)
|
29
|
+
rails-dom-testing (~> 2.2)
|
30
|
+
actionpack (8.0.2.1)
|
31
|
+
actionview (= 8.0.2.1)
|
32
|
+
activesupport (= 8.0.2.1)
|
33
|
+
nokogiri (>= 1.8.5)
|
34
|
+
rack (>= 2.2.4)
|
35
|
+
rack-session (>= 1.0.1)
|
36
|
+
rack-test (>= 0.6.3)
|
37
|
+
rails-dom-testing (~> 2.2)
|
38
|
+
rails-html-sanitizer (~> 1.6)
|
39
|
+
useragent (~> 0.16)
|
40
|
+
actiontext (8.0.2.1)
|
41
|
+
actionpack (= 8.0.2.1)
|
42
|
+
activerecord (= 8.0.2.1)
|
43
|
+
activestorage (= 8.0.2.1)
|
44
|
+
activesupport (= 8.0.2.1)
|
45
|
+
globalid (>= 0.6.0)
|
46
|
+
nokogiri (>= 1.8.5)
|
47
|
+
actionview (8.0.2.1)
|
48
|
+
activesupport (= 8.0.2.1)
|
49
|
+
builder (~> 3.1)
|
50
|
+
erubi (~> 1.11)
|
51
|
+
rails-dom-testing (~> 2.2)
|
52
|
+
rails-html-sanitizer (~> 1.6)
|
53
|
+
activeadmin (4.0.0.beta16)
|
54
|
+
arbre (~> 2.0)
|
55
|
+
csv
|
56
|
+
formtastic (>= 5.0)
|
57
|
+
formtastic_i18n (>= 0.7)
|
58
|
+
inherited_resources (~> 2.0)
|
59
|
+
kaminari (>= 1.2.1)
|
60
|
+
railties (>= 7.0)
|
61
|
+
ransack (>= 4.0)
|
62
|
+
activejob (8.0.2.1)
|
63
|
+
activesupport (= 8.0.2.1)
|
64
|
+
globalid (>= 0.3.6)
|
65
|
+
activemodel (8.0.2.1)
|
66
|
+
activesupport (= 8.0.2.1)
|
67
|
+
activerecord (8.0.2.1)
|
68
|
+
activemodel (= 8.0.2.1)
|
69
|
+
activesupport (= 8.0.2.1)
|
70
|
+
timeout (>= 0.4.0)
|
71
|
+
activestorage (8.0.2.1)
|
72
|
+
actionpack (= 8.0.2.1)
|
73
|
+
activejob (= 8.0.2.1)
|
74
|
+
activerecord (= 8.0.2.1)
|
75
|
+
activesupport (= 8.0.2.1)
|
76
|
+
marcel (~> 1.0)
|
77
|
+
activesupport (8.0.2.1)
|
78
|
+
base64
|
79
|
+
benchmark (>= 0.3)
|
80
|
+
bigdecimal
|
81
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
82
|
+
connection_pool (>= 2.2.5)
|
83
|
+
drb
|
84
|
+
i18n (>= 1.6, < 2)
|
85
|
+
logger (>= 1.4.2)
|
86
|
+
minitest (>= 5.1)
|
87
|
+
securerandom (>= 0.3)
|
88
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
89
|
+
uri (>= 0.13.1)
|
90
|
+
addressable (2.8.7)
|
91
|
+
public_suffix (>= 2.0.2, < 7.0)
|
92
|
+
appraisal (2.5.0)
|
93
|
+
bundler
|
94
|
+
rake
|
95
|
+
thor (>= 0.14.0)
|
96
|
+
arbre (2.2.0)
|
97
|
+
activesupport (>= 7.0)
|
98
|
+
ast (2.4.3)
|
99
|
+
base64 (0.3.0)
|
100
|
+
benchmark (0.4.1)
|
101
|
+
bigdecimal (3.2.3)
|
102
|
+
builder (3.3.0)
|
103
|
+
capybara (3.40.0)
|
104
|
+
addressable
|
105
|
+
matrix
|
106
|
+
mini_mime (>= 0.1.3)
|
107
|
+
nokogiri (~> 1.11)
|
108
|
+
rack (>= 1.6.0)
|
109
|
+
rack-test (>= 0.6.3)
|
110
|
+
regexp_parser (>= 1.5, < 3.0)
|
111
|
+
xpath (~> 3.2)
|
112
|
+
capybara-playwright-driver (0.5.7)
|
113
|
+
addressable
|
114
|
+
capybara
|
115
|
+
playwright-ruby-client (>= 1.16.0)
|
116
|
+
combustion (1.5.0)
|
117
|
+
activesupport (>= 3.0.0)
|
118
|
+
railties (>= 3.0.0)
|
119
|
+
thor (>= 0.14.6)
|
120
|
+
concurrent-ruby (1.3.5)
|
121
|
+
connection_pool (2.5.4)
|
122
|
+
crass (1.0.6)
|
123
|
+
csv (3.3.5)
|
124
|
+
database_cleaner-active_record (2.2.2)
|
125
|
+
activerecord (>= 5.a)
|
126
|
+
database_cleaner-core (~> 2.0)
|
127
|
+
database_cleaner-core (2.0.1)
|
128
|
+
date (3.4.1)
|
129
|
+
diff-lcs (1.6.2)
|
130
|
+
docile (1.4.1)
|
131
|
+
drb (2.2.3)
|
132
|
+
erb (5.0.2)
|
133
|
+
erubi (1.13.1)
|
134
|
+
formtastic (5.0.0)
|
135
|
+
actionpack (>= 6.0.0)
|
136
|
+
formtastic_i18n (0.7.0)
|
137
|
+
git (1.19.1)
|
138
|
+
addressable (~> 2.8)
|
139
|
+
rchardet (~> 1.8)
|
140
|
+
globalid (1.2.1)
|
141
|
+
activesupport (>= 6.1)
|
142
|
+
has_scope (0.8.2)
|
143
|
+
actionpack (>= 5.2)
|
144
|
+
activesupport (>= 5.2)
|
145
|
+
i18n (1.14.7)
|
146
|
+
concurrent-ruby (~> 1.0)
|
147
|
+
inherited_resources (2.1.0)
|
148
|
+
actionpack (>= 7.0)
|
149
|
+
has_scope (>= 0.6)
|
150
|
+
railties (>= 7.0)
|
151
|
+
responders (>= 2)
|
152
|
+
io-console (0.8.1)
|
153
|
+
irb (1.15.2)
|
154
|
+
pp (>= 0.6.0)
|
155
|
+
rdoc (>= 4.0.0)
|
156
|
+
reline (>= 0.4.2)
|
157
|
+
json (2.13.2)
|
158
|
+
kaminari (1.2.2)
|
159
|
+
activesupport (>= 4.1.0)
|
160
|
+
kaminari-actionview (= 1.2.2)
|
161
|
+
kaminari-activerecord (= 1.2.2)
|
162
|
+
kaminari-core (= 1.2.2)
|
163
|
+
kaminari-actionview (1.2.2)
|
164
|
+
actionview
|
165
|
+
kaminari-core (= 1.2.2)
|
166
|
+
kaminari-activerecord (1.2.2)
|
167
|
+
activerecord
|
168
|
+
kaminari-core (= 1.2.2)
|
169
|
+
kaminari-core (1.2.2)
|
170
|
+
logger (1.7.0)
|
171
|
+
loofah (2.24.1)
|
172
|
+
crass (~> 1.0.2)
|
173
|
+
nokogiri (>= 1.12.0)
|
174
|
+
mail (2.8.1)
|
175
|
+
mini_mime (>= 0.1.1)
|
176
|
+
net-imap
|
177
|
+
net-pop
|
178
|
+
net-smtp
|
179
|
+
marcel (1.0.4)
|
180
|
+
matrix (0.4.3)
|
181
|
+
mime-types (3.7.0)
|
182
|
+
logger
|
183
|
+
mime-types-data (~> 3.2025, >= 3.2025.0507)
|
184
|
+
mime-types-data (3.2025.0902)
|
185
|
+
mini_mime (1.1.5)
|
186
|
+
minitest (5.25.5)
|
187
|
+
net-imap (0.5.10)
|
188
|
+
date
|
189
|
+
net-protocol
|
190
|
+
net-pop (0.1.2)
|
191
|
+
net-protocol
|
192
|
+
net-protocol (0.2.2)
|
193
|
+
timeout
|
194
|
+
net-smtp (0.5.1)
|
195
|
+
net-protocol
|
196
|
+
nio4r (2.7.4)
|
197
|
+
nokogiri (1.18.9-x86_64-linux-gnu)
|
198
|
+
racc (~> 1.4)
|
199
|
+
parallel (1.27.0)
|
200
|
+
parser (3.3.9.0)
|
201
|
+
ast (~> 2.4.1)
|
202
|
+
racc
|
203
|
+
playwright-ruby-client (1.55.0)
|
204
|
+
concurrent-ruby (>= 1.1.6)
|
205
|
+
mime-types (>= 3.0)
|
206
|
+
pp (0.6.2)
|
207
|
+
prettyprint
|
208
|
+
prettyprint (0.2.0)
|
209
|
+
prism (1.4.0)
|
210
|
+
propshaft (1.2.1)
|
211
|
+
actionpack (>= 7.0.0)
|
212
|
+
activesupport (>= 7.0.0)
|
213
|
+
rack
|
214
|
+
psych (5.2.6)
|
215
|
+
date
|
216
|
+
stringio
|
217
|
+
public_suffix (6.0.2)
|
218
|
+
puma (6.6.1)
|
219
|
+
nio4r (~> 2.0)
|
220
|
+
racc (1.8.1)
|
221
|
+
rack (3.2.1)
|
222
|
+
rack-session (2.1.1)
|
223
|
+
base64 (>= 0.1.0)
|
224
|
+
rack (>= 3.0.0)
|
225
|
+
rack-test (2.2.0)
|
226
|
+
rack (>= 1.3)
|
227
|
+
rackup (2.2.1)
|
228
|
+
rack (>= 3)
|
229
|
+
rails (8.0.2.1)
|
230
|
+
actioncable (= 8.0.2.1)
|
231
|
+
actionmailbox (= 8.0.2.1)
|
232
|
+
actionmailer (= 8.0.2.1)
|
233
|
+
actionpack (= 8.0.2.1)
|
234
|
+
actiontext (= 8.0.2.1)
|
235
|
+
actionview (= 8.0.2.1)
|
236
|
+
activejob (= 8.0.2.1)
|
237
|
+
activemodel (= 8.0.2.1)
|
238
|
+
activerecord (= 8.0.2.1)
|
239
|
+
activestorage (= 8.0.2.1)
|
240
|
+
activesupport (= 8.0.2.1)
|
241
|
+
bundler (>= 1.15.0)
|
242
|
+
railties (= 8.0.2.1)
|
243
|
+
rails-dom-testing (2.3.0)
|
244
|
+
activesupport (>= 5.0.0)
|
245
|
+
minitest
|
246
|
+
nokogiri (>= 1.6)
|
247
|
+
rails-html-sanitizer (1.6.2)
|
248
|
+
loofah (~> 2.21)
|
249
|
+
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)
|
250
|
+
railties (8.0.2.1)
|
251
|
+
actionpack (= 8.0.2.1)
|
252
|
+
activesupport (= 8.0.2.1)
|
253
|
+
irb (~> 1.13)
|
254
|
+
rackup (>= 1.0.0)
|
255
|
+
rake (>= 12.2)
|
256
|
+
thor (~> 1.0, >= 1.2.2)
|
257
|
+
zeitwerk (~> 2.6)
|
258
|
+
rainbow (2.2.2)
|
259
|
+
rake
|
260
|
+
rake (13.3.0)
|
261
|
+
ransack (4.3.0)
|
262
|
+
activerecord (>= 6.1.5)
|
263
|
+
activesupport (>= 6.1.5)
|
264
|
+
i18n
|
265
|
+
rchardet (1.9.0)
|
266
|
+
rdoc (6.14.2)
|
267
|
+
erb
|
268
|
+
psych (>= 4.0.0)
|
269
|
+
regexp_parser (2.11.2)
|
270
|
+
reline (0.6.2)
|
271
|
+
io-console (~> 0.5)
|
272
|
+
responders (3.1.1)
|
273
|
+
actionpack (>= 5.2)
|
274
|
+
railties (>= 5.2)
|
275
|
+
rexml (3.4.2)
|
276
|
+
rspec-core (3.13.5)
|
277
|
+
rspec-support (~> 3.13.0)
|
278
|
+
rspec-expectations (3.13.5)
|
279
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
280
|
+
rspec-support (~> 3.13.0)
|
281
|
+
rspec-mocks (3.13.5)
|
282
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
283
|
+
rspec-support (~> 3.13.0)
|
284
|
+
rspec-rails (6.1.5)
|
285
|
+
actionpack (>= 6.1)
|
286
|
+
activesupport (>= 6.1)
|
287
|
+
railties (>= 6.1)
|
288
|
+
rspec-core (~> 3.13)
|
289
|
+
rspec-expectations (~> 3.13)
|
290
|
+
rspec-mocks (~> 3.13)
|
291
|
+
rspec-support (~> 3.13)
|
292
|
+
rspec-support (3.13.5)
|
293
|
+
rspec_junit_formatter (0.6.0)
|
294
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
295
|
+
rubocop (1.50.2)
|
296
|
+
json (~> 2.3)
|
297
|
+
parallel (~> 1.10)
|
298
|
+
parser (>= 3.2.0.0)
|
299
|
+
rainbow (>= 2.2.2, < 4.0)
|
300
|
+
regexp_parser (>= 1.8, < 3.0)
|
301
|
+
rexml (>= 3.2.5, < 4.0)
|
302
|
+
rubocop-ast (>= 1.28.0, < 2.0)
|
303
|
+
ruby-progressbar (~> 1.7)
|
304
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
305
|
+
rubocop-ast (1.46.0)
|
306
|
+
parser (>= 3.3.7.2)
|
307
|
+
prism (~> 1.4)
|
308
|
+
ruby-progressbar (1.13.0)
|
309
|
+
securerandom (0.4.1)
|
310
|
+
semmy (1.2.0)
|
311
|
+
git (~> 1.3)
|
312
|
+
rainbow (~> 2.1)
|
313
|
+
unindent (~> 1.0)
|
314
|
+
simplecov (0.22.0)
|
315
|
+
docile (~> 1.1)
|
316
|
+
simplecov-html (~> 0.11)
|
317
|
+
simplecov_json_formatter (~> 0.1)
|
318
|
+
simplecov-cobertura (3.1.0)
|
319
|
+
rexml
|
320
|
+
simplecov (~> 0.19)
|
321
|
+
simplecov-html (0.13.2)
|
322
|
+
simplecov_json_formatter (0.1.4)
|
323
|
+
sqlite3 (2.7.3-x86_64-linux-gnu)
|
324
|
+
stringio (3.1.7)
|
325
|
+
thor (1.4.0)
|
326
|
+
timeout (0.4.3)
|
327
|
+
tzinfo (2.0.6)
|
328
|
+
concurrent-ruby (~> 1.0)
|
329
|
+
unicode-display_width (2.6.0)
|
330
|
+
unindent (1.0)
|
331
|
+
uri (1.0.3)
|
332
|
+
useragent (0.16.11)
|
333
|
+
websocket-driver (0.8.0)
|
334
|
+
base64
|
335
|
+
websocket-extensions (>= 0.1.0)
|
336
|
+
websocket-extensions (0.1.5)
|
337
|
+
xpath (3.2.0)
|
338
|
+
nokogiri (~> 1.8)
|
339
|
+
zeitwerk (2.7.3)
|
340
|
+
|
341
|
+
PLATFORMS
|
342
|
+
x86_64-linux
|
343
|
+
|
344
|
+
DEPENDENCIES
|
345
|
+
activeadmin (= 4.0.0.beta16)
|
346
|
+
appraisal (~> 2.2)
|
347
|
+
bundler (>= 1.5, < 3)
|
348
|
+
capybara (~> 3.39)
|
349
|
+
capybara-playwright-driver (~> 0.5)
|
350
|
+
combustion (~> 1.5)
|
351
|
+
database_cleaner-active_record (~> 2.1)
|
352
|
+
propshaft
|
353
|
+
puma (~> 6.0)
|
354
|
+
rails
|
355
|
+
rake
|
356
|
+
rs-activeadmin-searchable_select!
|
357
|
+
rspec-rails (~> 6.0)
|
358
|
+
rspec_junit_formatter
|
359
|
+
rubocop (~> 1.50.0)
|
360
|
+
semmy (~> 1.0)
|
361
|
+
simplecov
|
362
|
+
simplecov-cobertura
|
363
|
+
sqlite3 (~> 2.1)
|
364
|
+
|
365
|
+
BUNDLED WITH
|
366
|
+
2.4.10
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
Copyright for portions of `codevise/activeadmin-searchable_select`
|
3
|
+
held by Mark Fariburn, Praxitar Ltd, 2014 as part of
|
4
|
+
`mfairburn/activeadmin-select2` which this project is based on. All
|
5
|
+
other copyright for `codevise/activeadmin-searchable_select` held by
|
6
|
+
Codevise Solutions Ltd, 2017.
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
a copy of this software and associated documentation files (the
|
10
|
+
"Software"), to deal in the Software without restriction, including
|
11
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
the following conditions:
|
15
|
+
|
16
|
+
The above copyright notice and this permission notice shall be
|
17
|
+
included in all copies or substantial portions of the Software.
|
18
|
+
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|