activeadmin-ajax_filter 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yaml +1 -1
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +65 -59
  5. data/README.md +10 -13
  6. data/activeadmin-ajax_filter.gemspec +2 -2
  7. data/lib/active_admin/ajax_filter/version.rb +1 -1
  8. data/test_app/blog/.gitattributes +7 -0
  9. data/test_app/blog/.gitignore +35 -0
  10. data/test_app/blog/.ruby-version +1 -0
  11. data/test_app/blog/Gemfile +83 -0
  12. data/test_app/blog/Gemfile.lock +345 -0
  13. data/test_app/blog/README.md +24 -0
  14. data/test_app/blog/Rakefile +6 -0
  15. data/test_app/blog/app/admin/admin_users.rb +28 -0
  16. data/test_app/blog/app/admin/categories.rb +7 -0
  17. data/test_app/blog/app/admin/dashboard.rb +32 -0
  18. data/test_app/blog/app/admin/items.rb +38 -0
  19. data/test_app/blog/app/admin/subcategories.rb +8 -0
  20. data/test_app/blog/app/admin/tags.rb +22 -0
  21. data/test_app/blog/app/assets/config/manifest.js +2 -0
  22. data/test_app/blog/app/assets/images/.keep +0 -0
  23. data/test_app/blog/app/assets/javascripts/active_admin.js +4 -0
  24. data/test_app/blog/app/assets/stylesheets/active_admin.scss +21 -0
  25. data/test_app/blog/app/assets/stylesheets/application.css +15 -0
  26. data/test_app/blog/app/channels/application_cable/channel.rb +4 -0
  27. data/test_app/blog/app/channels/application_cable/connection.rb +4 -0
  28. data/test_app/blog/app/controllers/application_controller.rb +2 -0
  29. data/test_app/blog/app/controllers/concerns/.keep +0 -0
  30. data/test_app/blog/app/decorators/subcategory_decorator.rb +5 -0
  31. data/test_app/blog/app/helpers/application_helper.rb +2 -0
  32. data/test_app/blog/app/jobs/application_job.rb +7 -0
  33. data/test_app/blog/app/mailers/application_mailer.rb +4 -0
  34. data/test_app/blog/app/models/admin_user.rb +6 -0
  35. data/test_app/blog/app/models/application_record.rb +3 -0
  36. data/test_app/blog/app/models/category.rb +6 -0
  37. data/test_app/blog/app/models/concerns/.keep +0 -0
  38. data/test_app/blog/app/models/item.rb +6 -0
  39. data/test_app/blog/app/models/subcategory.rb +8 -0
  40. data/test_app/blog/app/models/tag.rb +6 -0
  41. data/test_app/blog/app/views/layouts/application.html.erb +15 -0
  42. data/test_app/blog/app/views/layouts/mailer.html.erb +13 -0
  43. data/test_app/blog/app/views/layouts/mailer.text.erb +1 -0
  44. data/test_app/blog/bin/bundle +114 -0
  45. data/test_app/blog/bin/rails +4 -0
  46. data/test_app/blog/bin/rake +4 -0
  47. data/test_app/blog/bin/setup +33 -0
  48. data/test_app/blog/config/application.rb +22 -0
  49. data/test_app/blog/config/boot.rb +4 -0
  50. data/test_app/blog/config/cable.yml +10 -0
  51. data/test_app/blog/config/credentials.yml.enc +1 -0
  52. data/test_app/blog/config/database.yml +25 -0
  53. data/test_app/blog/config/environment.rb +5 -0
  54. data/test_app/blog/config/environments/development.rb +70 -0
  55. data/test_app/blog/config/environments/production.rb +93 -0
  56. data/test_app/blog/config/environments/test.rb +60 -0
  57. data/test_app/blog/config/initializers/active_admin.rb +335 -0
  58. data/test_app/blog/config/initializers/assets.rb +12 -0
  59. data/test_app/blog/config/initializers/content_security_policy.rb +25 -0
  60. data/test_app/blog/config/initializers/devise.rb +313 -0
  61. data/test_app/blog/config/initializers/filter_parameter_logging.rb +8 -0
  62. data/test_app/blog/config/initializers/inflections.rb +16 -0
  63. data/test_app/blog/config/initializers/permissions_policy.rb +11 -0
  64. data/test_app/blog/config/locales/devise.en.yml +65 -0
  65. data/test_app/blog/config/locales/en.yml +33 -0
  66. data/test_app/blog/config/puma.rb +43 -0
  67. data/test_app/blog/config/routes.rb +8 -0
  68. data/test_app/blog/config/storage.yml +34 -0
  69. data/test_app/blog/config.ru +6 -0
  70. data/test_app/blog/db/migrate/20230425060437_devise_create_admin_users.rb +44 -0
  71. data/test_app/blog/db/migrate/20230425060439_create_active_admin_comments.rb +16 -0
  72. data/test_app/blog/db/migrate/20230425060707_initial_schema.rb +17 -0
  73. data/test_app/blog/db/migrate/20230425060708_create_tags.rb +13 -0
  74. data/test_app/blog/db/schema.rb +69 -0
  75. data/test_app/blog/db/seeds.rb +33 -0
  76. data/test_app/blog/lib/assets/.keep +0 -0
  77. data/test_app/blog/lib/tasks/.keep +0 -0
  78. data/test_app/blog/log/.keep +0 -0
  79. data/test_app/blog/public/404.html +67 -0
  80. data/test_app/blog/public/422.html +67 -0
  81. data/test_app/blog/public/500.html +66 -0
  82. data/test_app/blog/public/apple-touch-icon-precomposed.png +0 -0
  83. data/test_app/blog/public/apple-touch-icon.png +0 -0
  84. data/test_app/blog/public/favicon.ico +0 -0
  85. data/test_app/blog/public/robots.txt +1 -0
  86. data/test_app/blog/storage/.keep +0 -0
  87. data/test_app/blog/test/application_system_test_case.rb +5 -0
  88. data/test_app/blog/test/channels/application_cable/connection_test.rb +11 -0
  89. data/test_app/blog/test/controllers/.keep +0 -0
  90. data/test_app/blog/test/fixtures/admin_users.yml +11 -0
  91. data/test_app/blog/test/fixtures/files/.keep +0 -0
  92. data/test_app/blog/test/helpers/.keep +0 -0
  93. data/test_app/blog/test/integration/.keep +0 -0
  94. data/test_app/blog/test/mailers/.keep +0 -0
  95. data/test_app/blog/test/models/.keep +0 -0
  96. data/test_app/blog/test/models/admin_user_test.rb +7 -0
  97. data/test_app/blog/test/system/.keep +0 -0
  98. data/test_app/blog/test/test_helper.rb +13 -0
  99. data/test_app/blog/tmp/.keep +0 -0
  100. data/test_app/blog/tmp/pids/.keep +0 -0
  101. data/test_app/blog/tmp/storage/.keep +0 -0
  102. data/test_app/blog/vendor/.keep +0 -0
  103. metadata +101 -21
  104. data/.travis.yml +0 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e77fef457bafe5fe3912b1dbff79a8ab07b6852f7905feeee44837a59e53b975
4
- data.tar.gz: 4059e4a79da7e7c23f37786ce41e7b084c17f9ec667c6d2774d405cc4a14c971
3
+ metadata.gz: 725b2ae6c0e936bc82dca2a8ac32f67e712c84e8289bb3fefc95a43b2e9aad33
4
+ data.tar.gz: 7a5c881412a081d40fc128519077b8ef9883218c34203ed38c8b1c7652b06b68
5
5
  SHA512:
6
- metadata.gz: 568aa9e5661d5c451c3427087c6982cb2fd102e7e74f0d2723c44f15d167ca4ce87101b613422f9c9dc7068ece7bad256312cbc3a4158dfc61fd858343a3b227
7
- data.tar.gz: 204ca9d213b72bd784ef714e81983a04341d8c627e87477da57eb342e4a762aa5230c67cbf3b80be91fd63af797aecac63d2d966ed3cccc015948a58eb3bbd1b
6
+ metadata.gz: 7f1a73050c44cd9c0ded2626b8b6ab0c15be42fe65d362f3d247677380a7b5f1750cc256c7b795d91ac0fabb7f79a14b378bd0bec75365fbb4b37ca355540250
7
+ data.tar.gz: ee1a8c47f73218780d41b62fc169ea9e9daf7ee36d02574bd6d4abfb26cf429906dd19211f8069d6c720c5ed6213b7c16ef03d9757c3e59bc9ff441ef2f382e7
@@ -25,5 +25,5 @@ jobs:
25
25
  bundler-cache: true
26
26
 
27
27
  - run: bundle install --retry=3
28
- - run: 'bundle exec rake dummy:prepare'
28
+ - run: bundle exec rake dummy:prepare
29
29
  - run: bundle exec rspec
data/Gemfile CHANGED
@@ -2,4 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in activeadmin-ajax_filter.gemspec
4
4
  gemspec
5
+ gem 'sprockets-rails'
5
6
  gem 'draper', group: 'test'
data/Gemfile.lock CHANGED
@@ -1,50 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeadmin-ajax_filter (0.5.0)
4
+ activeadmin-ajax_filter (0.7.0)
5
5
  activeadmin (>= 1.0)
6
6
  coffee-rails (>= 4.1.0)
7
- has_scope (>= 0.6.0)
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 (6.1.7.3)
15
- actionpack (= 6.1.7.3)
16
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
20
- actionpack (= 6.1.7.3)
21
- activejob (= 6.1.7.3)
22
- activerecord (= 6.1.7.3)
23
- activestorage (= 6.1.7.3)
24
- activesupport (= 6.1.7.3)
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
- actionmailer (6.1.7.3)
27
- actionpack (= 6.1.7.3)
28
- actionview (= 6.1.7.3)
29
- activejob (= 6.1.7.3)
30
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
34
- actionview (= 6.1.7.3)
35
- activesupport (= 6.1.7.3)
36
- rack (~> 2.0, >= 2.0.9)
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 (6.1.7.3)
41
- actionpack (= 6.1.7.3)
42
- activerecord (= 6.1.7.3)
43
- activestorage (= 6.1.7.3)
44
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
47
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
62
- activesupport (= 6.1.7.3)
67
+ activejob (7.0.4.3)
68
+ activesupport (= 7.0.4.3)
63
69
  globalid (>= 0.3.6)
64
- activemodel (6.1.7.3)
65
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
71
- activemodel (= 6.1.7.3)
72
- activesupport (= 6.1.7.3)
73
- activestorage (6.1.7.3)
74
- actionpack (= 6.1.7.3)
75
- activejob (= 6.1.7.3)
76
- activerecord (= 6.1.7.3)
77
- activesupport (= 6.1.7.3)
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 (6.1.7.3)
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 (6.1.7.3)
204
- actioncable (= 6.1.7.3)
205
- actionmailbox (= 6.1.7.3)
206
- actionmailer (= 6.1.7.3)
207
- actionpack (= 6.1.7.3)
208
- actiontext (= 6.1.7.3)
209
- actionview (= 6.1.7.3)
210
- activejob (= 6.1.7.3)
211
- activemodel (= 6.1.7.3)
212
- activerecord (= 6.1.7.3)
213
- activestorage (= 6.1.7.3)
214
- activesupport (= 6.1.7.3)
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 (= 6.1.7.3)
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 (6.1.7.3)
224
- actionpack (= 6.1.7.3)
225
- activesupport (= 6.1.7.3)
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
  [![Gem Version](https://badge.fury.io/rb/activeadmin-ajax_filter.svg)](https://badge.fury.io/rb/activeadmin-ajax_filter)
2
2
  [![Build Status](https://github.com/holyketzer/activeadmin-ajax_filter/actions/workflows/main.yaml/badge.svg)](https://github.com/holyketzer/activeadmin-ajax_filter/actions)
3
3
  [![Code Climate](https://codeclimate.com/github/holyketzer/activeadmin-ajax_filter/badges/gpa.svg)](https://codeclimate.com/github/holyketzer/activeadmin-ajax_filter)
4
- [![Test Coverage](https://codeclimate.com/github/holyketzer/activeadmin-ajax_filter/badges/coverage.svg)](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
- Version `0.4.5` - could brake you build due to issue with `sprockets` version major update, now it's yanked, use `0.4.6` instead.
22
-
23
- If you on `sprockets >= 4` and `rails >= 5` use version `0.5.0`
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.coffee)
40
+ Include this line in your JavaScript code (active_admin.js)
44
41
 
45
- ```coffeescript
46
- #= require selectize
47
- #= require activeadmin-ajax_filter
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', '~> 6.0'
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'
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module AjaxFilter
3
- VERSION = '0.6.0'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
@@ -0,0 +1,7 @@
1
+ # See https://git-scm.com/docs/gitattributes for more about git attribute files.
2
+
3
+ # Mark the database schema as having been generated.
4
+ db/schema.rb linguist-generated
5
+
6
+ # Mark any vendored files as having been vendored.
7
+ vendor/* linguist-vendored
@@ -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