activeadmin-ajax_filter 0.6.0 → 0.7.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 +4 -4
- data/.github/workflows/main.yaml +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +65 -59
- data/README.md +10 -13
- data/activeadmin-ajax_filter.gemspec +2 -2
- data/lib/active_admin/ajax_filter/version.rb +1 -1
- data/test_app/blog/.gitattributes +7 -0
- data/test_app/blog/.gitignore +35 -0
- data/test_app/blog/.ruby-version +1 -0
- data/test_app/blog/Gemfile +83 -0
- data/test_app/blog/Gemfile.lock +345 -0
- data/test_app/blog/README.md +24 -0
- data/test_app/blog/Rakefile +6 -0
- data/test_app/blog/app/admin/admin_users.rb +28 -0
- data/test_app/blog/app/admin/categories.rb +7 -0
- data/test_app/blog/app/admin/dashboard.rb +32 -0
- data/test_app/blog/app/admin/items.rb +38 -0
- data/test_app/blog/app/admin/subcategories.rb +8 -0
- data/test_app/blog/app/admin/tags.rb +22 -0
- data/test_app/blog/app/assets/config/manifest.js +2 -0
- data/test_app/blog/app/assets/images/.keep +0 -0
- data/test_app/blog/app/assets/javascripts/active_admin.js +4 -0
- data/test_app/blog/app/assets/stylesheets/active_admin.scss +21 -0
- data/test_app/blog/app/assets/stylesheets/application.css +15 -0
- data/test_app/blog/app/channels/application_cable/channel.rb +4 -0
- data/test_app/blog/app/channels/application_cable/connection.rb +4 -0
- data/test_app/blog/app/controllers/application_controller.rb +2 -0
- data/test_app/blog/app/controllers/concerns/.keep +0 -0
- data/test_app/blog/app/decorators/subcategory_decorator.rb +5 -0
- data/test_app/blog/app/helpers/application_helper.rb +2 -0
- data/test_app/blog/app/jobs/application_job.rb +7 -0
- data/test_app/blog/app/mailers/application_mailer.rb +4 -0
- data/test_app/blog/app/models/admin_user.rb +6 -0
- data/test_app/blog/app/models/application_record.rb +3 -0
- data/test_app/blog/app/models/category.rb +6 -0
- data/test_app/blog/app/models/concerns/.keep +0 -0
- data/test_app/blog/app/models/item.rb +6 -0
- data/test_app/blog/app/models/subcategory.rb +8 -0
- data/test_app/blog/app/models/tag.rb +6 -0
- data/test_app/blog/app/views/layouts/application.html.erb +15 -0
- data/test_app/blog/app/views/layouts/mailer.html.erb +13 -0
- data/test_app/blog/app/views/layouts/mailer.text.erb +1 -0
- data/test_app/blog/bin/bundle +114 -0
- data/test_app/blog/bin/rails +4 -0
- data/test_app/blog/bin/rake +4 -0
- data/test_app/blog/bin/setup +33 -0
- data/test_app/blog/config/application.rb +22 -0
- data/test_app/blog/config/boot.rb +4 -0
- data/test_app/blog/config/cable.yml +10 -0
- data/test_app/blog/config/credentials.yml.enc +1 -0
- data/test_app/blog/config/database.yml +25 -0
- data/test_app/blog/config/environment.rb +5 -0
- data/test_app/blog/config/environments/development.rb +70 -0
- data/test_app/blog/config/environments/production.rb +93 -0
- data/test_app/blog/config/environments/test.rb +60 -0
- data/test_app/blog/config/initializers/active_admin.rb +335 -0
- data/test_app/blog/config/initializers/assets.rb +12 -0
- data/test_app/blog/config/initializers/content_security_policy.rb +25 -0
- data/test_app/blog/config/initializers/devise.rb +313 -0
- data/test_app/blog/config/initializers/filter_parameter_logging.rb +8 -0
- data/test_app/blog/config/initializers/inflections.rb +16 -0
- data/test_app/blog/config/initializers/permissions_policy.rb +11 -0
- data/test_app/blog/config/locales/devise.en.yml +65 -0
- data/test_app/blog/config/locales/en.yml +33 -0
- data/test_app/blog/config/puma.rb +43 -0
- data/test_app/blog/config/routes.rb +8 -0
- data/test_app/blog/config/storage.yml +34 -0
- data/test_app/blog/config.ru +6 -0
- data/test_app/blog/db/migrate/20230425060437_devise_create_admin_users.rb +44 -0
- data/test_app/blog/db/migrate/20230425060439_create_active_admin_comments.rb +16 -0
- data/test_app/blog/db/migrate/20230425060707_initial_schema.rb +17 -0
- data/test_app/blog/db/migrate/20230425060708_create_tags.rb +13 -0
- data/test_app/blog/db/schema.rb +69 -0
- data/test_app/blog/db/seeds.rb +33 -0
- data/test_app/blog/lib/assets/.keep +0 -0
- data/test_app/blog/lib/tasks/.keep +0 -0
- data/test_app/blog/log/.keep +0 -0
- data/test_app/blog/public/404.html +67 -0
- data/test_app/blog/public/422.html +67 -0
- data/test_app/blog/public/500.html +66 -0
- data/test_app/blog/public/apple-touch-icon-precomposed.png +0 -0
- data/test_app/blog/public/apple-touch-icon.png +0 -0
- data/test_app/blog/public/favicon.ico +0 -0
- data/test_app/blog/public/robots.txt +1 -0
- data/test_app/blog/storage/.keep +0 -0
- data/test_app/blog/test/application_system_test_case.rb +5 -0
- data/test_app/blog/test/channels/application_cable/connection_test.rb +11 -0
- data/test_app/blog/test/controllers/.keep +0 -0
- data/test_app/blog/test/fixtures/admin_users.yml +11 -0
- data/test_app/blog/test/fixtures/files/.keep +0 -0
- data/test_app/blog/test/helpers/.keep +0 -0
- data/test_app/blog/test/integration/.keep +0 -0
- data/test_app/blog/test/mailers/.keep +0 -0
- data/test_app/blog/test/models/.keep +0 -0
- data/test_app/blog/test/models/admin_user_test.rb +7 -0
- data/test_app/blog/test/system/.keep +0 -0
- data/test_app/blog/test/test_helper.rb +13 -0
- data/test_app/blog/tmp/.keep +0 -0
- data/test_app/blog/tmp/pids/.keep +0 -0
- data/test_app/blog/tmp/storage/.keep +0 -0
- data/test_app/blog/vendor/.keep +0 -0
- metadata +101 -21
- data/.travis.yml +0 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 725b2ae6c0e936bc82dca2a8ac32f67e712c84e8289bb3fefc95a43b2e9aad33
|
|
4
|
+
data.tar.gz: 7a5c881412a081d40fc128519077b8ef9883218c34203ed38c8b1c7652b06b68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f1a73050c44cd9c0ded2626b8b6ab0c15be42fe65d362f3d247677380a7b5f1750cc256c7b795d91ac0fabb7f79a14b378bd0bec75365fbb4b37ca355540250
|
|
7
|
+
data.tar.gz: ee1a8c47f73218780d41b62fc169ea9e9daf7ee36d02574bd6d4abfb26cf429906dd19211f8069d6c720c5ed6213b7c16ef03d9757c3e59bc9ff441ef2f382e7
|
data/.github/workflows/main.yaml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,50 +1,56 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
activeadmin-ajax_filter (0.
|
|
4
|
+
activeadmin-ajax_filter (0.7.0)
|
|
5
5
|
activeadmin (>= 1.0)
|
|
6
6
|
coffee-rails (>= 4.1.0)
|
|
7
|
-
|
|
8
|
-
rails (~> 6.0)
|
|
7
|
+
rails (>= 7.0)
|
|
9
8
|
selectize-rails (>= 0.12.6)
|
|
10
9
|
|
|
11
10
|
GEM
|
|
12
11
|
remote: https://rubygems.org/
|
|
13
12
|
specs:
|
|
14
|
-
actioncable (
|
|
15
|
-
actionpack (=
|
|
16
|
-
activesupport (=
|
|
13
|
+
actioncable (7.0.4.3)
|
|
14
|
+
actionpack (= 7.0.4.3)
|
|
15
|
+
activesupport (= 7.0.4.3)
|
|
17
16
|
nio4r (~> 2.0)
|
|
18
17
|
websocket-driver (>= 0.6.1)
|
|
19
|
-
actionmailbox (
|
|
20
|
-
actionpack (=
|
|
21
|
-
activejob (=
|
|
22
|
-
activerecord (=
|
|
23
|
-
activestorage (=
|
|
24
|
-
activesupport (=
|
|
18
|
+
actionmailbox (7.0.4.3)
|
|
19
|
+
actionpack (= 7.0.4.3)
|
|
20
|
+
activejob (= 7.0.4.3)
|
|
21
|
+
activerecord (= 7.0.4.3)
|
|
22
|
+
activestorage (= 7.0.4.3)
|
|
23
|
+
activesupport (= 7.0.4.3)
|
|
25
24
|
mail (>= 2.7.1)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
net-imap
|
|
26
|
+
net-pop
|
|
27
|
+
net-smtp
|
|
28
|
+
actionmailer (7.0.4.3)
|
|
29
|
+
actionpack (= 7.0.4.3)
|
|
30
|
+
actionview (= 7.0.4.3)
|
|
31
|
+
activejob (= 7.0.4.3)
|
|
32
|
+
activesupport (= 7.0.4.3)
|
|
31
33
|
mail (~> 2.5, >= 2.5.4)
|
|
34
|
+
net-imap
|
|
35
|
+
net-pop
|
|
36
|
+
net-smtp
|
|
32
37
|
rails-dom-testing (~> 2.0)
|
|
33
|
-
actionpack (
|
|
34
|
-
actionview (=
|
|
35
|
-
activesupport (=
|
|
36
|
-
rack (~> 2.0, >= 2.0
|
|
38
|
+
actionpack (7.0.4.3)
|
|
39
|
+
actionview (= 7.0.4.3)
|
|
40
|
+
activesupport (= 7.0.4.3)
|
|
41
|
+
rack (~> 2.0, >= 2.2.0)
|
|
37
42
|
rack-test (>= 0.6.3)
|
|
38
43
|
rails-dom-testing (~> 2.0)
|
|
39
44
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
40
|
-
actiontext (
|
|
41
|
-
actionpack (=
|
|
42
|
-
activerecord (=
|
|
43
|
-
activestorage (=
|
|
44
|
-
activesupport (=
|
|
45
|
+
actiontext (7.0.4.3)
|
|
46
|
+
actionpack (= 7.0.4.3)
|
|
47
|
+
activerecord (= 7.0.4.3)
|
|
48
|
+
activestorage (= 7.0.4.3)
|
|
49
|
+
activesupport (= 7.0.4.3)
|
|
50
|
+
globalid (>= 0.6.0)
|
|
45
51
|
nokogiri (>= 1.8.5)
|
|
46
|
-
actionview (
|
|
47
|
-
activesupport (=
|
|
52
|
+
actionview (7.0.4.3)
|
|
53
|
+
activesupport (= 7.0.4.3)
|
|
48
54
|
builder (~> 3.1)
|
|
49
55
|
erubi (~> 1.4)
|
|
50
56
|
rails-dom-testing (~> 2.0)
|
|
@@ -58,31 +64,30 @@ GEM
|
|
|
58
64
|
kaminari (~> 1.0, >= 1.2.1)
|
|
59
65
|
railties (>= 6.1, < 7.1)
|
|
60
66
|
ransack (>= 2.1.1, < 4)
|
|
61
|
-
activejob (
|
|
62
|
-
activesupport (=
|
|
67
|
+
activejob (7.0.4.3)
|
|
68
|
+
activesupport (= 7.0.4.3)
|
|
63
69
|
globalid (>= 0.3.6)
|
|
64
|
-
activemodel (
|
|
65
|
-
activesupport (=
|
|
70
|
+
activemodel (7.0.4.3)
|
|
71
|
+
activesupport (= 7.0.4.3)
|
|
66
72
|
activemodel-serializers-xml (1.0.2)
|
|
67
73
|
activemodel (> 5.x)
|
|
68
74
|
activesupport (> 5.x)
|
|
69
75
|
builder (~> 3.1)
|
|
70
|
-
activerecord (
|
|
71
|
-
activemodel (=
|
|
72
|
-
activesupport (=
|
|
73
|
-
activestorage (
|
|
74
|
-
actionpack (=
|
|
75
|
-
activejob (=
|
|
76
|
-
activerecord (=
|
|
77
|
-
activesupport (=
|
|
76
|
+
activerecord (7.0.4.3)
|
|
77
|
+
activemodel (= 7.0.4.3)
|
|
78
|
+
activesupport (= 7.0.4.3)
|
|
79
|
+
activestorage (7.0.4.3)
|
|
80
|
+
actionpack (= 7.0.4.3)
|
|
81
|
+
activejob (= 7.0.4.3)
|
|
82
|
+
activerecord (= 7.0.4.3)
|
|
83
|
+
activesupport (= 7.0.4.3)
|
|
78
84
|
marcel (~> 1.0)
|
|
79
85
|
mini_mime (>= 1.1.0)
|
|
80
|
-
activesupport (
|
|
86
|
+
activesupport (7.0.4.3)
|
|
81
87
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
82
88
|
i18n (>= 1.6, < 2)
|
|
83
89
|
minitest (>= 5.1)
|
|
84
90
|
tzinfo (~> 2.0)
|
|
85
|
-
zeitwerk (~> 2.3)
|
|
86
91
|
addressable (2.4.0)
|
|
87
92
|
arbre (1.5.0)
|
|
88
93
|
activesupport (>= 3.0.0, < 7.1)
|
|
@@ -200,32 +205,32 @@ GEM
|
|
|
200
205
|
rack (2.2.6.4)
|
|
201
206
|
rack-test (2.1.0)
|
|
202
207
|
rack (>= 1.3)
|
|
203
|
-
rails (
|
|
204
|
-
actioncable (=
|
|
205
|
-
actionmailbox (=
|
|
206
|
-
actionmailer (=
|
|
207
|
-
actionpack (=
|
|
208
|
-
actiontext (=
|
|
209
|
-
actionview (=
|
|
210
|
-
activejob (=
|
|
211
|
-
activemodel (=
|
|
212
|
-
activerecord (=
|
|
213
|
-
activestorage (=
|
|
214
|
-
activesupport (=
|
|
208
|
+
rails (7.0.4.3)
|
|
209
|
+
actioncable (= 7.0.4.3)
|
|
210
|
+
actionmailbox (= 7.0.4.3)
|
|
211
|
+
actionmailer (= 7.0.4.3)
|
|
212
|
+
actionpack (= 7.0.4.3)
|
|
213
|
+
actiontext (= 7.0.4.3)
|
|
214
|
+
actionview (= 7.0.4.3)
|
|
215
|
+
activejob (= 7.0.4.3)
|
|
216
|
+
activemodel (= 7.0.4.3)
|
|
217
|
+
activerecord (= 7.0.4.3)
|
|
218
|
+
activestorage (= 7.0.4.3)
|
|
219
|
+
activesupport (= 7.0.4.3)
|
|
215
220
|
bundler (>= 1.15.0)
|
|
216
|
-
railties (=
|
|
217
|
-
sprockets-rails (>= 2.0.0)
|
|
221
|
+
railties (= 7.0.4.3)
|
|
218
222
|
rails-dom-testing (2.0.3)
|
|
219
223
|
activesupport (>= 4.2.0)
|
|
220
224
|
nokogiri (>= 1.6)
|
|
221
225
|
rails-html-sanitizer (1.5.0)
|
|
222
226
|
loofah (~> 2.19, >= 2.19.1)
|
|
223
|
-
railties (
|
|
224
|
-
actionpack (=
|
|
225
|
-
activesupport (=
|
|
227
|
+
railties (7.0.4.3)
|
|
228
|
+
actionpack (= 7.0.4.3)
|
|
229
|
+
activesupport (= 7.0.4.3)
|
|
226
230
|
method_source
|
|
227
231
|
rake (>= 12.2)
|
|
228
232
|
thor (~> 1.0)
|
|
233
|
+
zeitwerk (~> 2.5)
|
|
229
234
|
rake (12.3.3)
|
|
230
235
|
ransack (3.2.1)
|
|
231
236
|
activerecord (>= 6.1.5)
|
|
@@ -318,6 +323,7 @@ DEPENDENCIES
|
|
|
318
323
|
rspec-rails (~> 3.3)
|
|
319
324
|
sassc-rails
|
|
320
325
|
selectize-rails (>= 0.11.2)
|
|
326
|
+
sprockets-rails
|
|
321
327
|
sqlite3 (~> 1.4)
|
|
322
328
|
temping (~> 3.3, >= 3.3.0)
|
|
323
329
|
webrick
|
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
[](https://badge.fury.io/rb/activeadmin-ajax_filter)
|
|
2
2
|
[](https://github.com/holyketzer/activeadmin-ajax_filter/actions)
|
|
3
3
|
[](https://codeclimate.com/github/holyketzer/activeadmin-ajax_filter)
|
|
4
|
-
[](https://codeclimate.com/github/holyketzer/activeadmin-ajax_filter/coverage)
|
|
5
4
|
|
|
6
5
|
# Activeadmin::AjaxFilter
|
|
7
6
|
|
|
@@ -10,17 +9,15 @@ This gem extends ActiveAdmin so that your can use filters with AJAX-powered inpu
|
|
|
10
9
|
<img src="https://user-images.githubusercontent.com/987021/53289159-709c5000-37a3-11e9-97d5-0e61d2759b3c.gif" width="276" alt="ActiveAdmin AJAX Filter input"/>
|
|
11
10
|
|
|
12
11
|
|
|
13
|
-
## Prerequisites
|
|
14
|
-
|
|
15
|
-
Minimum Ruby version `2.7`
|
|
16
|
-
|
|
17
|
-
### Notes for `v0.5.0` (Ruby `2.5`)
|
|
12
|
+
## Prerequisites and notes
|
|
18
13
|
|
|
19
14
|
This extension assumes that you're using [Active Admin](https://github.com/activeadmin/activeadmin) with [Ransack](https://github.com/activerecord-hackery/ransack). And for AJAX input it uses [selectize-rails](https://github.com/manuelvanrijn/selectize-rails)
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
Versions:
|
|
17
|
+
* `0.7.0` - Rails 7, minimum Ruby version `2.7`
|
|
18
|
+
* `0.6.0` - Rails 6, minimum Ruby version `2.7`
|
|
19
|
+
* `0.5.0` - Rails 5, minimum Ruby version `2.5`
|
|
20
|
+
* `0.4.5` - could break you build due to issue with `sprockets` version major update, now it's yanked, use `0.4.6` instead. If you on `sprockets >= 4` and `rails >= 5` use version `0.5.0`
|
|
24
21
|
|
|
25
22
|
## Installation
|
|
26
23
|
|
|
@@ -40,11 +37,11 @@ Or install it yourself as:
|
|
|
40
37
|
|
|
41
38
|
## Usage
|
|
42
39
|
|
|
43
|
-
Include this line in your JavaScript code (active_admin.js
|
|
40
|
+
Include this line in your JavaScript code (active_admin.js)
|
|
44
41
|
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
```js
|
|
43
|
+
//= require selectize
|
|
44
|
+
//= require activeadmin-ajax_filter
|
|
48
45
|
```
|
|
49
46
|
|
|
50
47
|
Include this line in your CSS code (active_admin.scss)
|
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |gem|
|
|
|
20
20
|
gem.require_paths = ['lib']
|
|
21
21
|
|
|
22
22
|
gem.add_dependency 'activeadmin', '>= 1.0'
|
|
23
|
-
gem.add_dependency 'rails', '
|
|
23
|
+
gem.add_dependency 'rails', '>= 7.0'
|
|
24
24
|
gem.add_dependency 'coffee-rails', '>= 4.1.0'
|
|
25
25
|
gem.add_dependency 'selectize-rails', '>= 0.12.6'
|
|
26
|
-
gem.add_dependency 'has_scope', '>= 0.6.0' # Force Ruby 2.1.5 support
|
|
26
|
+
# gem.add_dependency 'has_scope', '>= 0.6.0' # Force Ruby 2.1.5 support
|
|
27
27
|
gem.add_development_dependency 'sassc-rails'
|
|
28
28
|
gem.add_development_dependency 'bundler', '~> 1.10'
|
|
29
29
|
gem.add_development_dependency 'rake', '~> 12'
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
2
|
+
#
|
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
|
6
|
+
|
|
7
|
+
# Ignore bundler config.
|
|
8
|
+
/.bundle
|
|
9
|
+
|
|
10
|
+
# Ignore the default SQLite database.
|
|
11
|
+
/db/*.sqlite3
|
|
12
|
+
/db/*.sqlite3-*
|
|
13
|
+
|
|
14
|
+
# Ignore all logfiles and tempfiles.
|
|
15
|
+
/log/*
|
|
16
|
+
/tmp/*
|
|
17
|
+
!/log/.keep
|
|
18
|
+
!/tmp/.keep
|
|
19
|
+
|
|
20
|
+
# Ignore pidfiles, but keep the directory.
|
|
21
|
+
/tmp/pids/*
|
|
22
|
+
!/tmp/pids/
|
|
23
|
+
!/tmp/pids/.keep
|
|
24
|
+
|
|
25
|
+
# Ignore uploaded files in development.
|
|
26
|
+
/storage/*
|
|
27
|
+
!/storage/.keep
|
|
28
|
+
/tmp/storage/*
|
|
29
|
+
!/tmp/storage/
|
|
30
|
+
!/tmp/storage/.keep
|
|
31
|
+
|
|
32
|
+
/public/assets
|
|
33
|
+
|
|
34
|
+
# Ignore master key for decrypting credentials and more.
|
|
35
|
+
/config/master.key
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.7.2
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
3
|
+
|
|
4
|
+
ruby "2.7.2"
|
|
5
|
+
|
|
6
|
+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
|
7
|
+
gem "rails", "~> 7.0.4", ">= 7.0.4.3"
|
|
8
|
+
|
|
9
|
+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
|
10
|
+
gem "sprockets-rails"
|
|
11
|
+
gem "sassc"
|
|
12
|
+
|
|
13
|
+
# Use sqlite3 as the database for Active Record
|
|
14
|
+
gem "sqlite3", "~> 1.4"
|
|
15
|
+
|
|
16
|
+
# Use the Puma web server [https://github.com/puma/puma]
|
|
17
|
+
gem "puma", "~> 5.0"
|
|
18
|
+
|
|
19
|
+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
|
20
|
+
gem "importmap-rails"
|
|
21
|
+
|
|
22
|
+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
|
23
|
+
gem "turbo-rails"
|
|
24
|
+
|
|
25
|
+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
|
26
|
+
gem "stimulus-rails"
|
|
27
|
+
|
|
28
|
+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
|
29
|
+
gem "jbuilder"
|
|
30
|
+
|
|
31
|
+
# Use Redis adapter to run Action Cable in production
|
|
32
|
+
# gem "redis", "~> 4.0"
|
|
33
|
+
|
|
34
|
+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
|
35
|
+
# gem "kredis"
|
|
36
|
+
|
|
37
|
+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
|
38
|
+
# gem "bcrypt", "~> 3.1.7"
|
|
39
|
+
|
|
40
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
41
|
+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
|
|
42
|
+
|
|
43
|
+
# Reduces boot times through caching; required in config/boot.rb
|
|
44
|
+
gem "bootsnap", require: false
|
|
45
|
+
|
|
46
|
+
# Use Sass to process CSS
|
|
47
|
+
# gem "sassc-rails"
|
|
48
|
+
|
|
49
|
+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
|
50
|
+
# gem "image_processing", "~> 1.2"
|
|
51
|
+
|
|
52
|
+
gem 'activeadmin'
|
|
53
|
+
|
|
54
|
+
# Plus integrations with:
|
|
55
|
+
gem 'devise'
|
|
56
|
+
gem 'cancancan'
|
|
57
|
+
gem 'draper'
|
|
58
|
+
gem 'pundit'
|
|
59
|
+
gem 'activeadmin-ajax_filter', path: '../..'
|
|
60
|
+
gem 'faker', :git => 'https://github.com/faker-ruby/faker.git', :branch => 'main'
|
|
61
|
+
|
|
62
|
+
group :development, :test do
|
|
63
|
+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
|
64
|
+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
group :development do
|
|
68
|
+
# Use console on exceptions pages [https://github.com/rails/web-console]
|
|
69
|
+
gem "web-console"
|
|
70
|
+
|
|
71
|
+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
|
72
|
+
# gem "rack-mini-profiler"
|
|
73
|
+
|
|
74
|
+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
|
75
|
+
# gem "spring"
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
group :test do
|
|
79
|
+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
|
80
|
+
gem "capybara"
|
|
81
|
+
gem "selenium-webdriver"
|
|
82
|
+
gem "webdrivers"
|
|
83
|
+
end
|