rails_admin 3.0.0.rc → 3.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_admin might be problematic. Click here for more details.

Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -8
  3. data/app/assets/javascripts/{rails_admin.js → rails_admin/application.js} +0 -0
  4. data/app/assets/stylesheets/{rails_admin.scss → rails_admin/application.scss} +0 -0
  5. data/app/controllers/rails_admin/main_controller.rb +2 -3
  6. data/app/helpers/rails_admin/application_helper.rb +33 -11
  7. data/app/views/layouts/rails_admin/_head.html.erb +8 -5
  8. data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +2 -2
  9. data/app/views/layouts/rails_admin/application.html.erb +1 -1
  10. data/app/views/rails_admin/main/export.html.erb +1 -1
  11. data/app/views/rails_admin/main/index.html.erb +2 -2
  12. data/app/views/rails_admin/main/show.html.erb +11 -9
  13. data/lib/generators/rails_admin/install_generator.rb +8 -6
  14. data/lib/rails_admin/abstract_model.rb +3 -4
  15. data/lib/rails_admin/adapters/active_record.rb +2 -1
  16. data/lib/rails_admin/adapters/mongoid.rb +2 -2
  17. data/lib/rails_admin/config/actions/base.rb +5 -0
  18. data/lib/rails_admin/config/actions/export.rb +2 -1
  19. data/lib/rails_admin/config/actions/index.rb +2 -1
  20. data/lib/rails_admin/config/actions/new.rb +2 -1
  21. data/lib/rails_admin/config/actions/show_in_app.rb +4 -0
  22. data/lib/rails_admin/config/fields/base.rb +2 -2
  23. data/lib/rails_admin/config/fields/factories/active_storage.rb +2 -1
  24. data/lib/rails_admin/config/fields/factories/association.rb +4 -4
  25. data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
  26. data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
  27. data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
  28. data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
  29. data/lib/rails_admin/config/fields/types/datetime.rb +2 -1
  30. data/lib/rails_admin/config.rb +14 -3
  31. data/lib/rails_admin/engine.rb +8 -9
  32. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +2 -2
  33. data/lib/rails_admin/extensions/pundit/authorization_adapter.rb +1 -1
  34. data/lib/rails_admin/version.rb +34 -1
  35. data/package.json +1 -1
  36. data/src/rails_admin/ui.js +19 -3
  37. data/vendor/assets/javascripts/rails_admin/flatpickr-with-locales.js +958 -395
  38. metadata +11 -6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc
4
+ version: 3.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Michaels-Ober
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2022-02-06 00:00:00.000000000 Z
15
+ date: 2022-03-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activemodel-serializers-xml
@@ -124,9 +124,9 @@ files:
124
124
  - LICENSE.md
125
125
  - README.md
126
126
  - Rakefile
127
- - app/assets/javascripts/rails_admin.js
127
+ - app/assets/javascripts/rails_admin/application.js
128
128
  - app/assets/javascripts/rails_admin/custom/ui.js
129
- - app/assets/stylesheets/rails_admin.scss
129
+ - app/assets/stylesheets/rails_admin/application.scss
130
130
  - app/assets/stylesheets/rails_admin/custom/mixins.scss
131
131
  - app/assets/stylesheets/rails_admin/custom/theming.scss
132
132
  - app/assets/stylesheets/rails_admin/custom/variables.scss
@@ -444,7 +444,12 @@ homepage: https://github.com/railsadminteam/rails_admin
444
444
  licenses:
445
445
  - MIT
446
446
  metadata: {}
447
- post_install_message:
447
+ post_install_message: "\n ### Upgrading RailsAdmin from 2.x.x to 3.x.x ###\n\n
448
+ \ Due to introduction of Webpack/Webpacker support, some additional dependencies
449
+ and configuration will be needed.\n Running `bin/rails g rails_admin:install`
450
+ will suggest required changes, based on the current setup of your app.\n\n For
451
+ a complete list of changes, see https://github.com/railsadminteam/rails_admin/blob/master/CHANGELOG.md\n
452
+ \ "
448
453
  rdoc_options: []
449
454
  require_paths:
450
455
  - lib
@@ -459,7 +464,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
459
464
  - !ruby/object:Gem::Version
460
465
  version: 1.3.1
461
466
  requirements: []
462
- rubygems_version: 3.2.22
467
+ rubygems_version: 3.2.32
463
468
  signing_key:
464
469
  specification_version: 4
465
470
  summary: Admin for Rails