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
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the "{}" from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ require "test_helper"
2
+
3
+ class AdminUserTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
File without changes
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ require_relative "../config/environment"
3
+ require "rails/test_help"
4
+
5
+ class ActiveSupport::TestCase
6
+ # Run tests in parallel with specified workers
7
+ parallelize(workers: :number_of_processors)
8
+
9
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-ajax_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Emelyanov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '6.0'
33
+ version: '7.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '6.0'
40
+ version: '7.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coffee-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.12.6
69
- - !ruby/object:Gem::Dependency
70
- name: has_scope
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 0.6.0
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 0.6.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: sassc-rails
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -343,7 +329,6 @@ files:
343
329
  - ".gitignore"
344
330
  - ".rspec"
345
331
  - ".ruby-version"
346
- - ".travis.yml"
347
332
  - CODE_OF_CONDUCT.md
348
333
  - Gemfile
349
334
  - Gemfile.lock
@@ -362,6 +347,101 @@ files:
362
347
  - lib/active_admin/inputs/ajax_select_input.rb
363
348
  - lib/active_admin/inputs/filters/ajax_select_input.rb
364
349
  - lib/activeadmin-ajax_filter.rb
350
+ - test_app/blog/.gitattributes
351
+ - test_app/blog/.gitignore
352
+ - test_app/blog/.ruby-version
353
+ - test_app/blog/Gemfile
354
+ - test_app/blog/Gemfile.lock
355
+ - test_app/blog/README.md
356
+ - test_app/blog/Rakefile
357
+ - test_app/blog/app/admin/admin_users.rb
358
+ - test_app/blog/app/admin/categories.rb
359
+ - test_app/blog/app/admin/dashboard.rb
360
+ - test_app/blog/app/admin/items.rb
361
+ - test_app/blog/app/admin/subcategories.rb
362
+ - test_app/blog/app/admin/tags.rb
363
+ - test_app/blog/app/assets/config/manifest.js
364
+ - test_app/blog/app/assets/images/.keep
365
+ - test_app/blog/app/assets/javascripts/active_admin.js
366
+ - test_app/blog/app/assets/stylesheets/active_admin.scss
367
+ - test_app/blog/app/assets/stylesheets/application.css
368
+ - test_app/blog/app/channels/application_cable/channel.rb
369
+ - test_app/blog/app/channels/application_cable/connection.rb
370
+ - test_app/blog/app/controllers/application_controller.rb
371
+ - test_app/blog/app/controllers/concerns/.keep
372
+ - test_app/blog/app/decorators/subcategory_decorator.rb
373
+ - test_app/blog/app/helpers/application_helper.rb
374
+ - test_app/blog/app/jobs/application_job.rb
375
+ - test_app/blog/app/mailers/application_mailer.rb
376
+ - test_app/blog/app/models/admin_user.rb
377
+ - test_app/blog/app/models/application_record.rb
378
+ - test_app/blog/app/models/category.rb
379
+ - test_app/blog/app/models/concerns/.keep
380
+ - test_app/blog/app/models/item.rb
381
+ - test_app/blog/app/models/subcategory.rb
382
+ - test_app/blog/app/models/tag.rb
383
+ - test_app/blog/app/views/layouts/application.html.erb
384
+ - test_app/blog/app/views/layouts/mailer.html.erb
385
+ - test_app/blog/app/views/layouts/mailer.text.erb
386
+ - test_app/blog/bin/bundle
387
+ - test_app/blog/bin/rails
388
+ - test_app/blog/bin/rake
389
+ - test_app/blog/bin/setup
390
+ - test_app/blog/config.ru
391
+ - test_app/blog/config/application.rb
392
+ - test_app/blog/config/boot.rb
393
+ - test_app/blog/config/cable.yml
394
+ - test_app/blog/config/credentials.yml.enc
395
+ - test_app/blog/config/database.yml
396
+ - test_app/blog/config/environment.rb
397
+ - test_app/blog/config/environments/development.rb
398
+ - test_app/blog/config/environments/production.rb
399
+ - test_app/blog/config/environments/test.rb
400
+ - test_app/blog/config/initializers/active_admin.rb
401
+ - test_app/blog/config/initializers/assets.rb
402
+ - test_app/blog/config/initializers/content_security_policy.rb
403
+ - test_app/blog/config/initializers/devise.rb
404
+ - test_app/blog/config/initializers/filter_parameter_logging.rb
405
+ - test_app/blog/config/initializers/inflections.rb
406
+ - test_app/blog/config/initializers/permissions_policy.rb
407
+ - test_app/blog/config/locales/devise.en.yml
408
+ - test_app/blog/config/locales/en.yml
409
+ - test_app/blog/config/puma.rb
410
+ - test_app/blog/config/routes.rb
411
+ - test_app/blog/config/storage.yml
412
+ - test_app/blog/db/migrate/20230425060437_devise_create_admin_users.rb
413
+ - test_app/blog/db/migrate/20230425060439_create_active_admin_comments.rb
414
+ - test_app/blog/db/migrate/20230425060707_initial_schema.rb
415
+ - test_app/blog/db/migrate/20230425060708_create_tags.rb
416
+ - test_app/blog/db/schema.rb
417
+ - test_app/blog/db/seeds.rb
418
+ - test_app/blog/lib/assets/.keep
419
+ - test_app/blog/lib/tasks/.keep
420
+ - test_app/blog/log/.keep
421
+ - test_app/blog/public/404.html
422
+ - test_app/blog/public/422.html
423
+ - test_app/blog/public/500.html
424
+ - test_app/blog/public/apple-touch-icon-precomposed.png
425
+ - test_app/blog/public/apple-touch-icon.png
426
+ - test_app/blog/public/favicon.ico
427
+ - test_app/blog/public/robots.txt
428
+ - test_app/blog/storage/.keep
429
+ - test_app/blog/test/application_system_test_case.rb
430
+ - test_app/blog/test/channels/application_cable/connection_test.rb
431
+ - test_app/blog/test/controllers/.keep
432
+ - test_app/blog/test/fixtures/admin_users.yml
433
+ - test_app/blog/test/fixtures/files/.keep
434
+ - test_app/blog/test/helpers/.keep
435
+ - test_app/blog/test/integration/.keep
436
+ - test_app/blog/test/mailers/.keep
437
+ - test_app/blog/test/models/.keep
438
+ - test_app/blog/test/models/admin_user_test.rb
439
+ - test_app/blog/test/system/.keep
440
+ - test_app/blog/test/test_helper.rb
441
+ - test_app/blog/tmp/.keep
442
+ - test_app/blog/tmp/pids/.keep
443
+ - test_app/blog/tmp/storage/.keep
444
+ - test_app/blog/vendor/.keep
365
445
  homepage: https://github.com/holyketzer/activeadmin-ajax_filter
366
446
  licenses:
367
447
  - MIT
data/.travis.yml DELETED
@@ -1,26 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- cache: bundler
4
-
5
- rvm:
6
- - 2.5
7
- - 2.6
8
- - 2.7
9
- - ruby-head
10
-
11
- matrix:
12
- allow_failures:
13
- - rvm: ruby-head
14
- fast_finish: true
15
-
16
- before_install: gem update --remote bundler
17
- install:
18
- - gem install bundler:1.17.2
19
- - bundle install --retry=3
20
- script:
21
- - bundle exec rake dummy:prepare
22
- - bundle exec rspec
23
-
24
- addons:
25
- code_climate:
26
- repo_token: 9c938a047651a943393f0f52bfc1d03d71fce0f19bf0f8c1265033af9b09a56e