activeadmin 2.6.1 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activeadmin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +291 -9
- data/CONTRIBUTING.md +9 -25
- data/README.md +4 -4
- data/app/assets/javascripts/active_admin/base.js +27 -22
- data/app/assets/stylesheets/active_admin/_base.scss +53 -37
- data/app/assets/stylesheets/active_admin/_forms.scss +0 -10
- data/app/assets/stylesheets/active_admin/_header.scss +37 -3
- data/app/assets/stylesheets/active_admin/_normalize.scss +25 -123
- data/app/assets/stylesheets/active_admin/{print.scss → _print.scss} +0 -0
- data/app/assets/stylesheets/active_admin/components/_comments.scss +2 -2
- data/app/assets/stylesheets/active_admin/components/_date_picker.scss +1 -2
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -1
- data/app/assets/stylesheets/active_admin/mixins/_variables.scss +12 -0
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -1
- data/app/javascript/active_admin/initializers/has-many.js +4 -1
- data/app/javascript/active_admin/initializers/per-page.js +1 -1
- data/app/javascript/active_admin/lib/checkbox-toggler.js +3 -3
- data/app/javascript/active_admin/lib/dropdown-menu.js +1 -1
- data/app/javascript/active_admin/lib/modal-dialog.js +7 -7
- data/app/javascript/active_admin/lib/per-page.js +1 -1
- data/app/javascript/active_admin/lib/table-checkbox-toggler.js +1 -1
- data/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb +1 -1
- data/app/views/active_admin/devise/mailer/unlock_instructions.html.erb +2 -2
- data/app/views/active_admin/devise/shared/_links.erb +1 -1
- data/app/views/active_admin/page/index.html.arb +1 -0
- data/app/views/active_admin/resource/edit.html.arb +1 -0
- data/app/views/active_admin/resource/index.html.arb +1 -0
- data/app/views/active_admin/resource/new.html.arb +1 -0
- data/app/views/active_admin/resource/show.html.arb +1 -0
- data/app/views/layouts/active_admin.html.arb +1 -0
- data/app/views/layouts/active_admin_logged_out.html.erb +15 -5
- data/config/locales/ar.yml +6 -6
- data/config/locales/es-MX.yml +2 -1
- data/config/locales/es.yml +2 -2
- data/config/locales/it.yml +18 -0
- data/config/locales/ja.yml +3 -3
- data/config/locales/ko.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/ro.yml +3 -2
- data/config/locales/vi.yml +5 -5
- data/docs/0-installation.md +27 -3
- data/docs/11-decorators.md +16 -5
- data/docs/2-resource-customization.md +10 -1
- data/docs/5-forms.md +9 -3
- data/docs/6-show-pages.md +12 -0
- data/docs/8-custom-actions.md +1 -1
- data/docs/Gemfile +3 -2
- data/docs/Gemfile.lock +138 -103
- data/docs/_includes/top-menu.html +1 -1
- data/docs/documentation.md +1 -1
- data/docs/index.html +6 -6
- data/lib/active_admin/abstract_view_factory.rb +1 -0
- data/lib/active_admin/application.rb +19 -19
- data/lib/active_admin/application_settings.rb +4 -3
- data/lib/active_admin/asset_registration.rb +1 -0
- data/lib/active_admin/authorization_adapter.rb +4 -3
- data/lib/active_admin/base_controller/authorization.rb +15 -13
- data/lib/active_admin/base_controller/menu.rb +1 -0
- data/lib/active_admin/base_controller.rb +6 -5
- data/lib/active_admin/batch_actions/controller.rb +4 -3
- data/lib/active_admin/batch_actions/resource_extension.rb +10 -8
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +4 -3
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +7 -6
- data/lib/active_admin/batch_actions/views/selection_cells.rb +4 -3
- data/lib/active_admin/batch_actions.rb +1 -0
- data/lib/active_admin/callbacks.rb +1 -0
- data/lib/active_admin/cancan_adapter.rb +2 -1
- data/lib/active_admin/collection_decorator.rb +32 -0
- data/lib/active_admin/component.rb +1 -0
- data/lib/active_admin/controller_action.rb +1 -0
- data/lib/active_admin/csv_builder.rb +6 -19
- data/lib/active_admin/dependency.rb +13 -12
- data/lib/active_admin/deprecation.rb +1 -0
- data/lib/active_admin/devise.rb +16 -5
- data/lib/active_admin/dsl.rb +2 -1
- data/lib/active_admin/dynamic_setting.rb +1 -0
- data/lib/active_admin/dynamic_settings_node.rb +3 -2
- data/lib/active_admin/engine.rb +13 -9
- data/lib/active_admin/error.rb +1 -2
- data/lib/active_admin/filters/active.rb +2 -1
- data/lib/active_admin/filters/active_filter.rb +6 -6
- data/lib/active_admin/filters/active_sidebar.rb +4 -30
- data/lib/active_admin/filters/dsl.rb +1 -0
- data/lib/active_admin/filters/forms.rb +7 -6
- data/lib/active_admin/filters/formtastic_addons.rb +2 -6
- data/lib/active_admin/filters/resource_extension.rb +2 -1
- data/lib/active_admin/filters.rb +8 -7
- data/lib/active_admin/form_builder.rb +25 -20
- data/lib/active_admin/generators/boilerplate.rb +2 -1
- data/lib/active_admin/helpers/collection.rb +2 -0
- data/lib/active_admin/helpers/i18n.rb +1 -0
- data/lib/active_admin/helpers/optional_display.rb +3 -2
- data/lib/active_admin/helpers/routes/url_helpers.rb +1 -0
- data/lib/active_admin/helpers/scope_chain.rb +1 -0
- data/lib/active_admin/inputs/datepicker_input.rb +2 -1
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +5 -4
- data/lib/active_admin/inputs/filters/base.rb +2 -1
- data/lib/active_admin/inputs/filters/boolean_input.rb +2 -1
- data/lib/active_admin/inputs/filters/check_boxes_input.rb +2 -1
- data/lib/active_admin/inputs/filters/date_picker_input.rb +1 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +1 -0
- data/lib/active_admin/inputs/filters/numeric_input.rb +1 -0
- data/lib/active_admin/inputs/filters/select_input.rb +3 -2
- data/lib/active_admin/inputs/filters/string_input.rb +1 -0
- data/lib/active_admin/inputs/filters/text_input.rb +1 -0
- data/lib/active_admin/inputs.rb +1 -0
- data/lib/active_admin/localizers/resource_localizer.rb +4 -3
- data/lib/active_admin/localizers.rb +2 -1
- data/lib/active_admin/menu.rb +7 -3
- data/lib/active_admin/menu_collection.rb +1 -0
- data/lib/active_admin/menu_item.rb +8 -7
- data/lib/active_admin/namespace.rb +15 -14
- data/lib/active_admin/namespace_settings.rb +9 -5
- data/lib/active_admin/order_clause.rb +2 -1
- data/lib/active_admin/orm/active_record/comments/comment.rb +4 -3
- data/lib/active_admin/orm/active_record/comments/namespace_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/resource_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +1 -0
- data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +20 -19
- data/lib/active_admin/orm/active_record/comments/views.rb +3 -2
- data/lib/active_admin/orm/active_record/comments.rb +20 -19
- data/lib/active_admin/orm/active_record.rb +2 -1
- data/lib/active_admin/orm/mongoid.rb +1 -0
- data/lib/active_admin/page.rb +2 -1
- data/lib/active_admin/page_controller.rb +1 -0
- data/lib/active_admin/page_dsl.rb +1 -0
- data/lib/active_admin/page_presenter.rb +1 -0
- data/lib/active_admin/pundit_adapter.rb +59 -15
- data/lib/active_admin/resource/action_items.rb +6 -5
- data/lib/active_admin/resource/attributes.rb +2 -1
- data/lib/active_admin/resource/belongs_to.rb +3 -2
- data/lib/active_admin/resource/controllers.rb +2 -1
- data/lib/active_admin/resource/includes.rb +1 -0
- data/lib/active_admin/resource/menu.rb +5 -4
- data/lib/active_admin/resource/model.rb +1 -0
- data/lib/active_admin/resource/naming.rb +5 -4
- data/lib/active_admin/resource/ordering.rb +1 -0
- data/lib/active_admin/resource/page_presenters.rb +1 -0
- data/lib/active_admin/resource/pagination.rb +1 -0
- data/lib/active_admin/resource/routes.rb +6 -7
- data/lib/active_admin/resource/scope_to.rb +8 -7
- data/lib/active_admin/resource/scopes.rb +1 -0
- data/lib/active_admin/resource/sidebars.rb +2 -1
- data/lib/active_admin/resource.rb +20 -19
- data/lib/active_admin/resource_collection.rb +1 -0
- data/lib/active_admin/resource_controller/action_builder.rb +1 -0
- data/lib/active_admin/resource_controller/data_access.rb +31 -5
- data/lib/active_admin/resource_controller/decorators.rb +7 -28
- data/lib/active_admin/resource_controller/polymorphic_routes.rb +1 -0
- data/lib/active_admin/resource_controller/resource_class_methods.rb +1 -0
- data/lib/active_admin/resource_controller/scoping.rb +1 -0
- data/lib/active_admin/resource_controller/sidebars.rb +1 -0
- data/lib/active_admin/resource_controller/streaming.rb +9 -7
- data/lib/active_admin/resource_controller.rb +13 -11
- data/lib/active_admin/resource_dsl.rb +11 -25
- data/lib/active_admin/router.rb +1 -0
- data/lib/active_admin/scope.rb +7 -6
- data/lib/active_admin/settings_node.rb +1 -0
- data/lib/active_admin/sidebar_section.rb +1 -0
- data/lib/active_admin/version.rb +2 -1
- data/lib/active_admin/view_factory.rb +18 -17
- data/lib/active_admin/view_helpers/active_admin_application_helper.rb +1 -0
- data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -0
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +4 -3
- data/lib/active_admin/view_helpers/display_helper.rb +15 -7
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +2 -1
- data/lib/active_admin/view_helpers/fields_for.rb +3 -2
- data/lib/active_admin/view_helpers/flash_helper.rb +1 -0
- data/lib/active_admin/view_helpers/form_helper.rb +1 -0
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -0
- data/lib/active_admin/view_helpers/scope_name_helper.rb +1 -0
- data/lib/active_admin/view_helpers/sidebar_helper.rb +1 -0
- data/lib/active_admin/view_helpers/title_helper.rb +1 -0
- data/lib/active_admin/view_helpers/view_factory_helper.rb +1 -0
- data/lib/active_admin/view_helpers.rb +2 -1
- data/lib/active_admin/views/action_items.rb +1 -0
- data/lib/active_admin/views/components/active_admin_form.rb +7 -6
- data/lib/active_admin/views/components/active_filters_sidebar_content.rb +59 -0
- data/lib/active_admin/views/components/attributes_table.rb +6 -5
- data/lib/active_admin/views/components/blank_slate.rb +2 -1
- data/lib/active_admin/views/components/columns.rb +1 -0
- data/lib/active_admin/views/components/dropdown_menu.rb +7 -9
- data/lib/active_admin/views/components/index_list.rb +4 -3
- data/lib/active_admin/views/components/menu.rb +2 -1
- data/lib/active_admin/views/components/menu_item.rb +5 -4
- data/lib/active_admin/views/components/paginated_collection.rb +19 -18
- data/lib/active_admin/views/components/panel.rb +2 -1
- data/lib/active_admin/views/components/scopes.rb +8 -5
- data/lib/active_admin/views/components/sidebar.rb +1 -0
- data/lib/active_admin/views/components/sidebar_section.rb +1 -0
- data/lib/active_admin/views/components/site_title.rb +2 -1
- data/lib/active_admin/views/components/status_tag.rb +12 -11
- data/lib/active_admin/views/components/table_for.rb +18 -17
- data/lib/active_admin/views/components/tabs.rb +4 -3
- data/lib/active_admin/views/components/unsupported_browser.rb +1 -0
- data/lib/active_admin/views/footer.rb +3 -1
- data/lib/active_admin/views/header.rb +3 -2
- data/lib/active_admin/views/index_as_block.rb +1 -0
- data/lib/active_admin/views/index_as_blog.rb +2 -1
- data/lib/active_admin/views/index_as_grid.rb +2 -1
- data/lib/active_admin/views/index_as_table.rb +17 -16
- data/lib/active_admin/views/pages/base.rb +14 -9
- data/lib/active_admin/views/pages/form.rb +1 -0
- data/lib/active_admin/views/pages/index.rb +15 -13
- data/lib/active_admin/views/pages/layout.rb +1 -0
- data/lib/active_admin/views/pages/page.rb +1 -0
- data/lib/active_admin/views/pages/show.rb +1 -0
- data/lib/active_admin/views/tabbed_navigation.rb +3 -2
- data/lib/active_admin/views/title_bar.rb +2 -1
- data/lib/active_admin/views.rb +2 -1
- data/lib/active_admin.rb +61 -61
- data/lib/activeadmin.rb +2 -1
- data/lib/generators/active_admin/assets/assets_generator.rb +3 -2
- data/lib/generators/active_admin/assets/templates/active_admin.scss +2 -2
- data/lib/generators/active_admin/devise/devise_generator.rb +6 -5
- data/lib/generators/active_admin/install/install_generator.rb +15 -8
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +9 -2
- data/lib/generators/active_admin/install/templates/dashboard.rb +1 -0
- data/lib/generators/active_admin/page/page_generator.rb +2 -1
- data/lib/generators/active_admin/page/templates/page.rb +1 -0
- data/lib/generators/active_admin/resource/resource_generator.rb +4 -3
- data/lib/generators/active_admin/webpacker/plugins/jquery.js +7 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.js +5 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.scss +17 -0
- data/lib/generators/active_admin/webpacker/templates/print.scss +2 -0
- data/lib/generators/active_admin/webpacker/webpacker_generator.rb +27 -0
- data/lib/ransack_ext.rb +9 -8
- metadata +32 -53
@@ -294,7 +294,7 @@ ActiveAdmin.setup do |config|
|
|
294
294
|
# config.include_default_association_filters = true
|
295
295
|
|
296
296
|
# config.maximum_association_filter_arity = 256 # default value of :unlimited will change to 256 in a future version
|
297
|
-
# config.filter_columns_for_large_association
|
297
|
+
# config.filter_columns_for_large_association = [
|
298
298
|
# :display_name,
|
299
299
|
# :full_name,
|
300
300
|
# :name,
|
@@ -303,7 +303,7 @@ ActiveAdmin.setup do |config|
|
|
303
303
|
# :title,
|
304
304
|
# :email,
|
305
305
|
# ]
|
306
|
-
# config.filter_method_for_large_association
|
306
|
+
# config.filter_method_for_large_association = '_starts_with'
|
307
307
|
|
308
308
|
# == Head
|
309
309
|
#
|
@@ -325,4 +325,11 @@ ActiveAdmin.setup do |config|
|
|
325
325
|
# You can inherit it with own class and inject it for all resources
|
326
326
|
#
|
327
327
|
# config.order_clause = MyOrderClause
|
328
|
+
|
329
|
+
# == Webpacker
|
330
|
+
#
|
331
|
+
# By default, Active Admin uses Sprocket's asset pipeline.
|
332
|
+
# You can switch to using Webpacker here.
|
333
|
+
#
|
334
|
+
<% unless @use_webpacker %># <% end %>config.use_webpacker = true
|
328
335
|
end
|
@@ -1,7 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
module ActiveAdmin
|
2
3
|
module Generators
|
3
4
|
class PageGenerator < Rails::Generators::NamedBase
|
4
|
-
source_root File.expand_path(
|
5
|
+
source_root File.expand_path("templates", __dir__)
|
5
6
|
|
6
7
|
def generate_config_file
|
7
8
|
template "page.rb", "app/admin/#{file_path.tr('/', '_')}.rb"
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require "active_admin/generators/boilerplate"
|
2
3
|
|
3
4
|
module ActiveAdmin
|
4
5
|
module Generators
|
@@ -6,9 +7,9 @@ module ActiveAdmin
|
|
6
7
|
desc "Registers resources with Active Admin"
|
7
8
|
|
8
9
|
class_option :include_boilerplate, type: :boolean, default: false,
|
9
|
-
|
10
|
+
desc: "Generate boilerplate code for your resource."
|
10
11
|
|
11
|
-
source_root File.expand_path(
|
12
|
+
source_root File.expand_path("templates", __dir__)
|
12
13
|
|
13
14
|
def generate_config_file
|
14
15
|
@boilerplate = ActiveAdmin::Generators::Boilerplate.new(class_name)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Sass variable overrides must be declared before loading up Active Admin's styles.
|
2
|
+
//
|
3
|
+
// To view the variables that Active Admin provides, take a look at
|
4
|
+
// `app/assets/stylesheets/active_admin/mixins/_variables.scss` in the
|
5
|
+
// Active Admin source.
|
6
|
+
//
|
7
|
+
// For example, to change the sidebar width:
|
8
|
+
// $sidebar-width: 242px;
|
9
|
+
|
10
|
+
// Active Admin's got SASS!
|
11
|
+
@import "~@activeadmin/activeadmin/src/scss/mixins";
|
12
|
+
@import "~@activeadmin/activeadmin/src/scss/base";
|
13
|
+
|
14
|
+
// Overriding any non-variable Sass must be done after the fact.
|
15
|
+
// For example, to change the default status-tag color:
|
16
|
+
//
|
17
|
+
// .status_tag { background: #6090DB; }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module ActiveAdmin
|
3
|
+
module Generators
|
4
|
+
class WebpackerGenerator < Rails::Generators::Base
|
5
|
+
|
6
|
+
source_root File.expand_path("templates", __dir__)
|
7
|
+
|
8
|
+
def install_assets
|
9
|
+
template "active_admin.js", "app/javascript/packs/active_admin.js"
|
10
|
+
template "active_admin.scss", "app/javascript/stylesheets/active_admin.scss"
|
11
|
+
template "print.scss", "app/javascript/packs/active_admin/print.scss"
|
12
|
+
|
13
|
+
copy_file "#{__dir__}/plugins/jquery.js", Rails.root.join("config/webpack/plugins/jquery.js").to_s
|
14
|
+
|
15
|
+
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
16
|
+
"const jquery = require('./plugins/jquery')\n",
|
17
|
+
after: /require\(('|")@rails\/webpacker\1\);?\n/
|
18
|
+
|
19
|
+
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
20
|
+
"environment.plugins.prepend('jquery', jquery)\n",
|
21
|
+
before: "module.exports"
|
22
|
+
|
23
|
+
run "yarn add @activeadmin/activeadmin"
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/ransack_ext.rb
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# This sets up aliases for old Metasearch query methods so they behave
|
2
3
|
# identically to the versions given in Ransack.
|
3
4
|
#
|
4
5
|
Ransack.configure do |config|
|
5
|
-
{
|
6
|
+
{ "contains" => "cont", "starts_with" => "start", "ends_with" => "end" }.each do |old, current|
|
6
7
|
config.add_predicate old, Ransack::Constants::DERIVED_PREDICATES.detect { |q, _| q == current }[1]
|
7
8
|
end
|
8
9
|
|
9
|
-
{
|
10
|
+
{ "equals" => "eq", "greater_than" => "gt", "less_than" => "lt" }.each do |old, current|
|
10
11
|
config.add_predicate old, arel_predicate: current
|
11
12
|
end
|
12
13
|
|
13
|
-
config.add_predicate
|
14
|
-
|
15
|
-
|
14
|
+
config.add_predicate "gteq_datetime",
|
15
|
+
arel_predicate: "gteq",
|
16
|
+
formatter: ->(v) { v.beginning_of_day }
|
16
17
|
|
17
|
-
config.add_predicate
|
18
|
-
|
19
|
-
|
18
|
+
config.add_predicate "lteq_datetime",
|
19
|
+
arel_predicate: "lt",
|
20
|
+
formatter: ->(v) { v + 1.day }
|
20
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Maresh
|
@@ -12,10 +12,10 @@ authors:
|
|
12
12
|
- Piers C
|
13
13
|
- Sean Linsley
|
14
14
|
- Timo Schilling
|
15
|
-
autorequire:
|
15
|
+
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date:
|
18
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: arbre
|
@@ -41,16 +41,22 @@ dependencies:
|
|
41
41
|
name: formtastic
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '3.1'
|
47
|
+
- - "<"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '5.0'
|
47
50
|
type: :runtime
|
48
51
|
prerelease: false
|
49
52
|
version_requirements: !ruby/object:Gem::Requirement
|
50
53
|
requirements:
|
51
|
-
- - "
|
54
|
+
- - ">="
|
52
55
|
- !ruby/object:Gem::Version
|
53
56
|
version: '3.1'
|
57
|
+
- - "<"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '5.0'
|
54
60
|
- !ruby/object:Gem::Dependency
|
55
61
|
name: formtastic_i18n
|
56
62
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,7 +108,7 @@ dependencies:
|
|
102
108
|
version: '1.0'
|
103
109
|
- - ">="
|
104
110
|
- !ruby/object:Gem::Version
|
105
|
-
version: 1.
|
111
|
+
version: 1.2.1
|
106
112
|
type: :runtime
|
107
113
|
prerelease: false
|
108
114
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -112,81 +118,47 @@ dependencies:
|
|
112
118
|
version: '1.0'
|
113
119
|
- - ">="
|
114
120
|
- !ruby/object:Gem::Version
|
115
|
-
version: 1.
|
121
|
+
version: 1.2.1
|
116
122
|
- !ruby/object:Gem::Dependency
|
117
123
|
name: railties
|
118
124
|
requirement: !ruby/object:Gem::Requirement
|
119
125
|
requirements:
|
120
126
|
- - ">="
|
121
127
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
128
|
+
version: '6.1'
|
123
129
|
- - "<"
|
124
130
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
131
|
+
version: '7.1'
|
126
132
|
type: :runtime
|
127
133
|
prerelease: false
|
128
134
|
version_requirements: !ruby/object:Gem::Requirement
|
129
135
|
requirements:
|
130
136
|
- - ">="
|
131
137
|
- !ruby/object:Gem::Version
|
132
|
-
version: '
|
138
|
+
version: '6.1'
|
133
139
|
- - "<"
|
134
140
|
- !ruby/object:Gem::Version
|
135
|
-
version: '
|
141
|
+
version: '7.1'
|
136
142
|
- !ruby/object:Gem::Dependency
|
137
143
|
name: ransack
|
138
144
|
requirement: !ruby/object:Gem::Requirement
|
139
145
|
requirements:
|
140
|
-
- - "~>"
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '2.1'
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 2.1.1
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '2.1'
|
153
146
|
- - ">="
|
154
147
|
- !ruby/object:Gem::Version
|
155
148
|
version: 2.1.1
|
156
|
-
- !ruby/object:Gem::Dependency
|
157
|
-
name: sassc-rails
|
158
|
-
requirement: !ruby/object:Gem::Requirement
|
159
|
-
requirements:
|
160
|
-
- - "~>"
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: '2.1'
|
163
|
-
type: :runtime
|
164
|
-
prerelease: false
|
165
|
-
version_requirements: !ruby/object:Gem::Requirement
|
166
|
-
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '2.1'
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name: sprockets
|
172
|
-
requirement: !ruby/object:Gem::Requirement
|
173
|
-
requirements:
|
174
|
-
- - ">="
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
version: '3.0'
|
177
149
|
- - "<"
|
178
150
|
- !ruby/object:Gem::Version
|
179
|
-
version: '4
|
151
|
+
version: '4'
|
180
152
|
type: :runtime
|
181
153
|
prerelease: false
|
182
154
|
version_requirements: !ruby/object:Gem::Requirement
|
183
155
|
requirements:
|
184
156
|
- - ">="
|
185
157
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
158
|
+
version: 2.1.1
|
187
159
|
- - "<"
|
188
160
|
- !ruby/object:Gem::Version
|
189
|
-
version: '4
|
161
|
+
version: '4'
|
190
162
|
description: The administration framework for Ruby on Rails.
|
191
163
|
email:
|
192
164
|
- deivid.rodriguez@riseup.net
|
@@ -209,6 +181,7 @@ files:
|
|
209
181
|
- app/assets/stylesheets/active_admin/_header.scss
|
210
182
|
- app/assets/stylesheets/active_admin/_mixins.scss
|
211
183
|
- app/assets/stylesheets/active_admin/_normalize.scss
|
184
|
+
- app/assets/stylesheets/active_admin/_print.scss
|
212
185
|
- app/assets/stylesheets/active_admin/_typography.scss
|
213
186
|
- app/assets/stylesheets/active_admin/components/_batch_actions.scss
|
214
187
|
- app/assets/stylesheets/active_admin/components/_blank_slates.scss
|
@@ -241,7 +214,6 @@ files:
|
|
241
214
|
- app/assets/stylesheets/active_admin/mixins/_utilities.scss
|
242
215
|
- app/assets/stylesheets/active_admin/mixins/_variables.scss
|
243
216
|
- app/assets/stylesheets/active_admin/pages/_logged_out.scss
|
244
|
-
- app/assets/stylesheets/active_admin/print.scss
|
245
217
|
- app/assets/stylesheets/active_admin/structure/_footer.scss
|
246
218
|
- app/assets/stylesheets/active_admin/structure/_main_structure.scss
|
247
219
|
- app/assets/stylesheets/active_admin/structure/_title_bar.scss
|
@@ -394,6 +366,7 @@ files:
|
|
394
366
|
- lib/active_admin/batch_actions/views/selection_cells.rb
|
395
367
|
- lib/active_admin/callbacks.rb
|
396
368
|
- lib/active_admin/cancan_adapter.rb
|
369
|
+
- lib/active_admin/collection_decorator.rb
|
397
370
|
- lib/active_admin/component.rb
|
398
371
|
- lib/active_admin/controller_action.rb
|
399
372
|
- lib/active_admin/csv_builder.rb
|
@@ -505,6 +478,7 @@ files:
|
|
505
478
|
- lib/active_admin/views.rb
|
506
479
|
- lib/active_admin/views/action_items.rb
|
507
480
|
- lib/active_admin/views/components/active_admin_form.rb
|
481
|
+
- lib/active_admin/views/components/active_filters_sidebar_content.rb
|
508
482
|
- lib/active_admin/views/components/attributes_table.rb
|
509
483
|
- lib/active_admin/views/components/blank_slate.rb
|
510
484
|
- lib/active_admin/views/components/columns.rb
|
@@ -551,6 +525,11 @@ files:
|
|
551
525
|
- lib/generators/active_admin/page/templates/page.rb
|
552
526
|
- lib/generators/active_admin/resource/resource_generator.rb
|
553
527
|
- lib/generators/active_admin/resource/templates/admin.rb.erb
|
528
|
+
- lib/generators/active_admin/webpacker/plugins/jquery.js
|
529
|
+
- lib/generators/active_admin/webpacker/templates/active_admin.js
|
530
|
+
- lib/generators/active_admin/webpacker/templates/active_admin.scss
|
531
|
+
- lib/generators/active_admin/webpacker/templates/print.scss
|
532
|
+
- lib/generators/active_admin/webpacker/webpacker_generator.rb
|
554
533
|
- lib/ransack_ext.rb
|
555
534
|
- vendor/assets/javascripts/jquery-ui/data.js
|
556
535
|
- vendor/assets/javascripts/jquery-ui/disable-selection.js
|
@@ -584,7 +563,7 @@ homepage: https://activeadmin.info
|
|
584
563
|
licenses:
|
585
564
|
- MIT
|
586
565
|
metadata: {}
|
587
|
-
post_install_message:
|
566
|
+
post_install_message:
|
588
567
|
rdoc_options: []
|
589
568
|
require_paths:
|
590
569
|
- lib
|
@@ -592,15 +571,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
592
571
|
requirements:
|
593
572
|
- - ">="
|
594
573
|
- !ruby/object:Gem::Version
|
595
|
-
version: '2.
|
574
|
+
version: '2.6'
|
596
575
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
597
576
|
requirements:
|
598
577
|
- - ">="
|
599
578
|
- !ruby/object:Gem::Version
|
600
579
|
version: '0'
|
601
580
|
requirements: []
|
602
|
-
rubygems_version: 3.
|
603
|
-
signing_key:
|
581
|
+
rubygems_version: 3.3.7
|
582
|
+
signing_key:
|
604
583
|
specification_version: 4
|
605
584
|
summary: Active Admin is a Ruby on Rails plugin for generating administration style
|
606
585
|
interfaces. It abstracts common business application patterns to make it simple
|