activeadmin 0.6.6 → 1.0.0.pre1
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/.gitignore +11 -8
- data/.hound.yml +11 -0
- data/.travis.yml +36 -10
- data/.yardopts +2 -1
- data/CHANGELOG.md +118 -67
- data/CONTRIBUTING.md +96 -73
- data/Gemfile +35 -35
- data/Guardfile +1 -0
- data/LICENSE +1 -1
- data/README.md +98 -0
- data/Rakefile +12 -4
- data/activeadmin.gemspec +21 -24
- data/app/assets/javascripts/active_admin/application.js.coffee +32 -0
- data/app/assets/javascripts/active_admin/base.js.coffee +14 -0
- data/app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee +6 -0
- data/app/assets/javascripts/active_admin/ext/jquery.js.coffee +7 -0
- data/app/assets/javascripts/active_admin/lib/batch_actions.js.coffee +39 -0
- data/app/assets/javascripts/active_admin/{components/jquery.aa.checkbox-toggler.js.coffee → lib/checkbox-toggler.js.coffee} +3 -4
- data/app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee +101 -0
- data/app/assets/javascripts/active_admin/lib/flash.js.coffee +19 -0
- data/app/assets/javascripts/active_admin/lib/has_many.js.coffee +79 -0
- data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +37 -0
- data/app/assets/javascripts/active_admin/lib/per_page.js.coffee +27 -0
- data/app/assets/javascripts/active_admin/lib/popover.js.coffee +68 -0
- data/app/assets/javascripts/active_admin/{components/jquery.aa.table-checkbox-toggler.js.coffee → lib/table-checkbox-toggler.js.coffee} +2 -3
- data/app/assets/stylesheets/active_admin/{_base.css.scss → _base.scss} +3 -0
- data/app/assets/stylesheets/active_admin/{_forms.css.scss → _forms.scss} +61 -17
- data/app/assets/stylesheets/active_admin/{_header.css.scss → _header.scss} +9 -5
- data/app/assets/stylesheets/active_admin/{_mixins.css.scss → _mixins.scss} +0 -0
- data/app/assets/stylesheets/active_admin/{_typography.css.scss → _typography.scss} +0 -0
- data/app/assets/stylesheets/active_admin/components/_batch_actions.scss +11 -0
- data/app/assets/stylesheets/active_admin/components/_blank_slates.scss +0 -1
- data/app/assets/stylesheets/active_admin/components/_buttons.scss +1 -1
- data/app/assets/stylesheets/active_admin/components/{_comments.css.scss → _comments.scss} +0 -0
- data/app/assets/stylesheets/active_admin/components/{_date_picker.css.scss → _date_picker.scss} +40 -14
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +5 -4
- data/app/assets/stylesheets/active_admin/components/_flash_messages.scss +37 -0
- data/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +34 -0
- data/app/assets/stylesheets/active_admin/components/_pagination.scss +10 -0
- data/app/assets/stylesheets/active_admin/components/{_popovers.css.scss → _popovers.scss} +2 -3
- data/app/assets/stylesheets/active_admin/components/_status_tags.scss +4 -0
- data/app/assets/stylesheets/active_admin/components/_table_tools.scss +67 -0
- data/app/assets/stylesheets/active_admin/components/{_tables.css.scss → _tables.scss} +4 -2
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +65 -0
- data/app/assets/stylesheets/active_admin/components/_unsupported_browser.scss +16 -0
- data/app/assets/stylesheets/active_admin/mixins/{_all.css.scss → _all.scss} +0 -0
- data/app/assets/stylesheets/active_admin/mixins/{_buttons.css.scss → _buttons.scss} +0 -1
- data/app/assets/stylesheets/active_admin/mixins/_gradients.scss +28 -0
- data/app/assets/stylesheets/active_admin/mixins/{_icons.css.scss → _icons.scss} +1 -2
- data/app/assets/stylesheets/active_admin/mixins/{_reset.css.scss → _reset.scss} +0 -0
- data/app/assets/stylesheets/active_admin/mixins/_rounded.scss +22 -0
- data/app/assets/stylesheets/active_admin/mixins/{_sections.css.scss → _sections.scss} +8 -2
- data/app/assets/stylesheets/active_admin/mixins/{_shadows.css.scss → _shadows.scss} +0 -7
- data/app/assets/stylesheets/active_admin/mixins/_utilities.scss +0 -9
- data/app/assets/stylesheets/active_admin/mixins/{_variables.css.scss → _variables.scss} +10 -8
- data/app/assets/stylesheets/active_admin/{print.css.scss → print.scss} +4 -0
- data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +5 -2
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +11 -9
- data/app/views/active_admin/devise/confirmations/new.html.erb +15 -0
- 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 +1 -1
- data/app/views/active_admin/devise/passwords/edit.html.erb +9 -10
- data/app/views/active_admin/devise/passwords/new.html.erb +5 -4
- data/app/views/active_admin/devise/registrations/new.html.erb +22 -0
- data/app/views/active_admin/devise/sessions/new.html.erb +9 -7
- data/app/views/active_admin/devise/shared/_links.erb +1 -1
- data/app/views/active_admin/devise/unlocks/new.html.erb +5 -4
- data/app/views/layouts/active_admin_logged_out.html.erb +3 -5
- data/config/locales/ar.yml +120 -0
- data/config/locales/bg.yml +26 -6
- data/config/locales/bs.yml +122 -0
- data/config/locales/ca.yml +10 -1
- data/config/locales/cs.yml +7 -2
- data/config/locales/da.yml +7 -3
- data/config/locales/de-CH.yml +14 -31
- data/config/locales/de.yml +33 -33
- data/config/locales/el.yml +28 -2
- data/config/locales/en-GB.yml +12 -4
- data/config/locales/en.yml +29 -3
- data/config/locales/{es_MX.yml → es-MX.yml} +9 -24
- data/config/locales/es.yml +32 -25
- data/config/locales/fa.yml +120 -0
- data/config/locales/fi.yml +113 -0
- data/config/locales/fr.yml +21 -11
- data/config/locales/he.yml +7 -3
- data/config/locales/hr.yml +42 -11
- data/config/locales/hu.yml +10 -3
- data/config/locales/it.yml +31 -3
- data/config/locales/ja.yml +8 -3
- data/config/locales/ko.yml +7 -1
- data/config/locales/lt.yml +42 -11
- data/config/locales/lv.yml +7 -3
- data/config/locales/{no-NB.yml → nb.yml} +46 -15
- data/config/locales/nl.yml +36 -5
- data/config/locales/pl.yml +13 -8
- data/config/locales/pt-BR.yml +37 -5
- data/config/locales/pt-PT.yml +8 -4
- data/config/locales/ro.yml +7 -3
- data/config/locales/ru.yml +26 -5
- data/config/locales/sv-SE.yml +9 -5
- data/config/locales/tr.yml +10 -3
- data/config/locales/uk.yml +36 -12
- data/config/locales/vi.yml +7 -3
- data/config/locales/zh-CN.yml +26 -10
- data/config/locales/zh-TW.yml +19 -13
- data/docs/0-installation.md +65 -29
- data/docs/1-general-configuration.md +92 -81
- data/docs/10-custom-pages.md +68 -68
- data/docs/11-decorators.md +48 -59
- data/docs/12-arbre-components.md +80 -74
- data/docs/13-authorization-adapter.md +128 -107
- data/docs/14-gotchas.md +92 -0
- data/docs/2-resource-customization.md +293 -178
- data/docs/3-index-pages.md +160 -86
- data/docs/3-index-pages/custom-index.md +31 -0
- data/docs/3-index-pages/index-as-block.md +14 -9
- data/docs/3-index-pages/index-as-blog.md +41 -31
- data/docs/3-index-pages/index-as-grid.md +16 -8
- data/docs/3-index-pages/index-as-table.md +129 -52
- data/docs/4-csv-format.md +31 -24
- data/docs/5-forms.md +133 -56
- data/docs/6-show-pages.md +89 -27
- data/docs/7-sidebars.md +48 -27
- data/docs/8-custom-actions.md +98 -77
- data/docs/9-batch-actions.md +210 -146
- data/docs/README.md +24 -0
- data/features/action_item.feature +3 -3
- data/features/authorization_pundit.feature +37 -0
- data/features/breadcrumb.feature +48 -0
- data/features/comments/commenting.feature +56 -13
- data/features/development_reloading.feature +17 -30
- data/features/edit_page.feature +12 -1
- data/features/favicon.feature +3 -3
- data/features/i18n.feature +5 -4
- data/features/index/batch_actions.feature +41 -0
- data/features/index/filters.feature +67 -0
- data/features/index/format_as_csv.feature +90 -4
- data/features/index/formats.feature +27 -0
- data/features/index/index_as_blog.feature +4 -4
- data/features/index/index_as_table.feature +102 -6
- data/features/index/index_blank_slate.feature +22 -0
- data/features/index/index_scope_to.feature +16 -16
- data/features/index/page_title.feature +11 -0
- data/features/index/pagination.feature +1 -1
- data/features/index/switch_index_view.feature +14 -14
- data/features/new_page.feature +13 -2
- data/features/registering_pages.feature +1 -1
- data/features/renamed_resource.feature +32 -0
- data/features/show/page_title.feature +11 -0
- data/features/show/tabs.feature +27 -0
- data/features/sidebar_sections.feature +12 -0
- data/features/site_title.feature +2 -2
- data/features/specifying_actions.feature +3 -3
- data/features/step_definitions/action_item_steps.rb +2 -2
- data/features/step_definitions/action_link_steps.rb +14 -1
- data/features/step_definitions/additional_web_steps.rb +19 -20
- data/features/step_definitions/asset_steps.rb +3 -3
- data/features/step_definitions/attribute_steps.rb +8 -3
- data/features/step_definitions/batch_action_steps.rb +26 -9
- data/features/step_definitions/blog_steps.rb +3 -0
- data/features/step_definitions/breadcrumb_steps.rb +1 -1
- data/features/step_definitions/comment_steps.rb +1 -1
- data/features/step_definitions/configuration_steps.rb +9 -2
- data/features/step_definitions/dashboard_steps.rb +2 -2
- data/features/step_definitions/factory_steps.rb +9 -8
- data/features/step_definitions/filter_steps.rb +25 -3
- data/features/step_definitions/flash_steps.rb +3 -3
- data/features/step_definitions/format_steps.rb +18 -18
- data/features/step_definitions/index_scope_steps.rb +5 -5
- data/features/step_definitions/layout_steps.rb +1 -1
- data/features/step_definitions/member_link_steps.rb +2 -2
- data/features/step_definitions/menu_steps.rb +3 -3
- data/features/step_definitions/pagination_steps.rb +2 -3
- data/features/step_definitions/sidebar_steps.rb +8 -3
- data/features/step_definitions/site_title_steps.rb +6 -4
- data/features/step_definitions/symbol_leak_steps.rb +3 -0
- data/features/step_definitions/tab_steps.rb +5 -0
- data/features/step_definitions/table_steps.rb +4 -4
- data/features/step_definitions/user_steps.rb +10 -7
- data/features/step_definitions/web_steps.rb +14 -11
- data/features/sti_resource.feature +6 -2
- data/features/strong_parameters.feature +73 -0
- data/features/support/env.rb +34 -9
- data/features/support/paths.rb +14 -6
- data/features/support/selectors.rb +1 -1
- data/features/symbol_leak.feature +35 -0
- data/features/users/resetting_password.feature +5 -6
- data/lib/active_admin.rb +26 -25
- data/lib/active_admin/abstract_view_factory.rb +7 -17
- data/lib/active_admin/application.rb +72 -59
- data/lib/active_admin/asset_registration.rb +2 -2
- data/lib/active_admin/authorization_adapter.rb +2 -2
- data/lib/active_admin/base_controller.rb +2 -3
- data/lib/active_admin/base_controller/authorization.rb +13 -31
- data/lib/active_admin/batch_actions.rb +1 -1
- data/lib/active_admin/batch_actions/controller.rb +24 -8
- data/lib/active_admin/batch_actions/resource_extension.rb +47 -18
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +7 -4
- data/lib/active_admin/batch_actions/views/batch_action_popover.rb +3 -3
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +8 -17
- data/lib/active_admin/batch_actions/views/selection_cells.rb +4 -4
- data/lib/active_admin/callbacks.rb +25 -24
- data/lib/active_admin/cancan_adapter.rb +7 -11
- data/lib/active_admin/csv_builder.rb +92 -15
- data/lib/active_admin/dependency.rb +93 -0
- data/lib/active_admin/deprecation.rb +6 -7
- data/lib/active_admin/devise.rb +28 -18
- data/lib/active_admin/dsl.rb +18 -11
- data/lib/active_admin/engine.rb +10 -8
- data/lib/active_admin/error.rb +62 -0
- data/lib/active_admin/filters/dsl.rb +2 -2
- data/lib/active_admin/filters/forms.rb +17 -27
- data/lib/active_admin/filters/formtastic_addons.rb +49 -15
- data/lib/active_admin/filters/resource_extension.rb +43 -34
- data/lib/active_admin/form_builder.rb +93 -154
- data/lib/active_admin/helpers/collection.rb +7 -13
- data/lib/active_admin/helpers/i18n.rb +7 -0
- data/lib/active_admin/helpers/optional_display.rb +5 -5
- data/lib/active_admin/helpers/routes/url_helpers.rb +15 -0
- data/lib/active_admin/helpers/scope_chain.rb +1 -1
- data/lib/active_admin/helpers/settings.rb +16 -9
- data/lib/active_admin/iconic.rb +17 -15
- data/lib/active_admin/iconic/icons.rb +136 -136
- data/lib/active_admin/inputs.rb +11 -7
- data/lib/active_admin/inputs/datepicker_input.rb +12 -3
- data/lib/active_admin/inputs/filters/base.rb +42 -0
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +75 -0
- data/lib/active_admin/inputs/filters/boolean_input.rb +24 -0
- data/lib/active_admin/inputs/filters/check_boxes_input.rb +50 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +36 -0
- data/lib/active_admin/inputs/filters/numeric_input.rb +12 -0
- data/lib/active_admin/inputs/filters/select_input.rb +54 -0
- data/lib/active_admin/inputs/filters/string_input.rb +26 -0
- data/lib/active_admin/menu.rb +6 -4
- data/lib/active_admin/menu_collection.rb +1 -4
- data/lib/active_admin/namespace.rb +55 -29
- data/lib/active_admin/order_clause.rb +26 -0
- data/lib/active_admin/orm/active_record.rb +5 -0
- data/lib/active_admin/orm/active_record/comments.rb +81 -0
- data/lib/active_admin/orm/active_record/comments/comment.rb +45 -0
- data/lib/active_admin/{comments → orm/active_record/comments}/namespace_helper.rb +2 -2
- data/lib/active_admin/{comments → orm/active_record/comments}/resource_helper.rb +1 -1
- data/lib/active_admin/{comments → orm/active_record/comments}/show_page_helper.rb +0 -0
- data/lib/active_admin/orm/active_record/comments/views.rb +2 -0
- data/lib/active_admin/{comments → orm/active_record/comments}/views/active_admin_comments.rb +16 -14
- data/lib/active_admin/orm/mongoid.rb +1 -0
- data/lib/active_admin/orm/mongoid/.gitkeep +0 -0
- data/lib/active_admin/page.rb +7 -3
- data/lib/active_admin/page_dsl.rb +1 -1
- data/lib/active_admin/page_presenter.rb +2 -2
- data/lib/active_admin/pundit_adapter.rb +68 -0
- data/lib/active_admin/resource.rb +16 -17
- data/lib/active_admin/resource/action_items.rb +23 -18
- data/lib/active_admin/resource/belongs_to.rb +7 -3
- data/lib/active_admin/resource/controllers.rb +1 -0
- data/lib/active_admin/resource/includes.rb +12 -0
- data/lib/active_admin/resource/menu.rb +5 -5
- data/lib/active_admin/resource/naming.rb +27 -43
- data/lib/active_admin/resource/page_presenters.rb +1 -1
- data/lib/active_admin/resource/routes.rb +27 -11
- data/lib/active_admin/resource/scope_to.rb +7 -7
- data/lib/active_admin/resource/sidebars.rb +1 -0
- data/lib/active_admin/resource_controller.rb +6 -7
- data/lib/active_admin/resource_controller/data_access.rb +101 -93
- data/lib/active_admin/resource_controller/decorators.rb +91 -9
- data/lib/active_admin/resource_controller/streaming.rb +37 -0
- data/lib/active_admin/resource_dsl.rb +53 -10
- data/lib/active_admin/router.rb +7 -7
- data/lib/active_admin/scope.rb +6 -6
- data/lib/active_admin/sidebar_section.rb +10 -2
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_factory.rb +17 -17
- data/lib/active_admin/view_helpers.rb +0 -1
- data/lib/active_admin/view_helpers/auto_link_helper.rb +23 -12
- data/lib/active_admin/view_helpers/breadcrumb_helper.rb +4 -3
- data/lib/active_admin/view_helpers/display_helper.rb +30 -15
- data/lib/active_admin/view_helpers/download_format_links_helper.rb +21 -25
- data/lib/active_admin/view_helpers/fields_for.rb +4 -4
- data/lib/active_admin/view_helpers/flash_helper.rb +4 -3
- data/lib/active_admin/view_helpers/form_helper.rb +5 -9
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +6 -6
- data/lib/active_admin/views/action_items.rb +2 -2
- data/lib/active_admin/views/components/action_list_popover.rb +1 -1
- data/lib/active_admin/views/components/active_admin_form.rb +123 -0
- data/lib/active_admin/views/components/attributes_table.rb +63 -21
- data/lib/active_admin/views/components/blank_slate.rb +1 -1
- data/lib/active_admin/views/components/columns.rb +13 -7
- data/lib/active_admin/views/components/dropdown_menu.rb +6 -6
- data/lib/active_admin/views/components/index_list.rb +7 -7
- data/lib/active_admin/views/components/paginated_collection.rb +38 -20
- data/lib/active_admin/views/components/panel.rb +8 -2
- data/lib/active_admin/views/components/popover.rb +1 -1
- data/lib/active_admin/views/components/scopes.rb +5 -4
- data/lib/active_admin/views/components/sidebar_section.rb +3 -2
- data/lib/active_admin/views/components/site_title.rb +2 -2
- data/lib/active_admin/views/components/status_tag.rb +34 -11
- data/lib/active_admin/views/components/table_for.rb +90 -45
- data/lib/active_admin/views/components/tabs.rb +28 -0
- data/lib/active_admin/views/components/unsupported_browser.rb +11 -0
- data/lib/active_admin/views/footer.rb +3 -3
- data/lib/active_admin/views/header.rb +3 -3
- data/lib/active_admin/views/index_as_block.rb +10 -10
- data/lib/active_admin/views/index_as_blog.rb +45 -39
- data/lib/active_admin/views/index_as_grid.rb +14 -10
- data/lib/active_admin/views/index_as_table.rb +242 -129
- data/lib/active_admin/views/pages/base.rb +22 -18
- data/lib/active_admin/views/pages/form.rb +21 -11
- data/lib/active_admin/views/pages/index.rb +40 -35
- data/lib/active_admin/views/pages/layout.rb +1 -1
- data/lib/active_admin/views/pages/show.rb +4 -4
- data/lib/active_admin/views/tabbed_navigation.rb +7 -3
- data/lib/active_admin/views/title_bar.rb +10 -8
- data/lib/generators/active_admin/assets/assets_generator.rb +3 -28
- data/lib/generators/active_admin/assets/templates/{3.1/active_admin.css.scss → active_admin.css.scss} +0 -0
- data/lib/generators/active_admin/assets/templates/active_admin.js.coffee +1 -0
- data/lib/generators/active_admin/devise/devise_generator.rb +24 -26
- data/lib/generators/active_admin/install/install_generator.rb +8 -9
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +28 -26
- data/lib/generators/active_admin/install/templates/admin_user.rb.erb +12 -2
- data/lib/generators/active_admin/install/templates/dashboard.rb +4 -4
- data/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb +3 -3
- data/lib/generators/active_admin/page/USAGE +8 -0
- data/lib/generators/active_admin/page/page_generator.rb +12 -0
- data/lib/generators/active_admin/page/templates/page.rb +5 -0
- data/lib/generators/active_admin/resource/resource_generator.rb +3 -5
- data/lib/generators/active_admin/resource/templates/admin.rb +15 -0
- data/lib/ransack_ext.rb +12 -0
- data/script/local +2 -2
- data/script/travis_cache +107 -0
- data/spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee +25 -0
- data/spec/javascripts/fixtures/flashes.html +2 -0
- data/spec/rails_helper.rb +154 -0
- data/spec/{integration → requests}/default_namespace_spec.rb +6 -6
- data/spec/{integration → requests}/javascript_spec.rb +5 -5
- data/spec/requests/memory_spec.rb +23 -0
- data/spec/requests/stylesheets_spec.rb +18 -0
- data/spec/spec_helper.rb +12 -173
- data/spec/support/detect_rails_version.rb +9 -17
- data/spec/support/rails_template.rb +64 -35
- data/spec/support/rails_template_with_data.rb +14 -14
- data/spec/support/templates/admin/stores.rb +5 -1
- data/spec/support/templates/policies/active_admin/comment_policy.rb +9 -0
- data/spec/support/templates/policies/active_admin/page_policy.rb +18 -0
- data/spec/support/templates/policies/admin_user_policy.rb +11 -0
- data/spec/support/templates/policies/application_policy.rb +45 -0
- data/spec/support/templates/policies/category_policy.rb +7 -0
- data/spec/support/templates/policies/post_policy.rb +15 -0
- data/spec/support/templates/policies/store_policy.rb +11 -0
- data/spec/support/templates/policies/user_policy.rb +11 -0
- data/spec/support/templates/post_decorator.rb +4 -46
- data/spec/unit/abstract_view_factory_spec.rb +16 -16
- data/spec/unit/action_builder_spec.rb +24 -18
- data/spec/unit/active_admin_spec.rb +2 -2
- data/spec/unit/application_spec.rb +33 -34
- data/spec/unit/asset_registration_spec.rb +25 -29
- data/spec/unit/authorization/authorization_adapter_spec.rb +10 -10
- data/spec/unit/authorization/controller_authorization_spec.rb +11 -11
- data/spec/unit/authorization/index_overriding_spec.rb +22 -0
- data/spec/unit/auto_link_spec.rb +43 -13
- data/spec/unit/batch_actions/resource_spec.rb +15 -14
- data/spec/unit/batch_actions/settings_spec.rb +18 -18
- data/spec/unit/belongs_to_spec.rb +28 -19
- data/spec/unit/cancan_adapter_spec.rb +8 -8
- data/spec/unit/comments_spec.rb +99 -39
- data/spec/unit/component_spec.rb +3 -3
- data/spec/unit/config_shared_examples.rb +10 -10
- data/spec/unit/controller_filters_spec.rb +23 -16
- data/spec/unit/csv_builder_spec.rb +165 -24
- data/spec/unit/dependency_spec.rb +135 -0
- data/spec/unit/devise_spec.rb +17 -37
- data/spec/unit/dsl_spec.rb +70 -9
- data/spec/unit/event_spec.rb +11 -11
- data/spec/unit/filters/filter_form_builder_spec.rb +207 -148
- data/spec/unit/filters/resource_spec.rb +60 -26
- data/spec/unit/form_builder_spec.rb +419 -145
- data/spec/unit/generators/install_spec.rb +23 -0
- data/spec/unit/helpers/collection_spec.rb +18 -18
- data/spec/unit/helpers/scope_chain_spec.rb +6 -6
- data/spec/unit/helpers/settings_spec.rb +4 -4
- data/spec/unit/i18n_spec.rb +12 -0
- data/spec/unit/menu_collection_spec.rb +14 -14
- data/spec/unit/menu_item_spec.rb +42 -42
- data/spec/unit/menu_spec.rb +20 -20
- data/spec/unit/namespace/authorization_spec.rb +8 -8
- data/spec/unit/namespace/register_page_spec.rb +11 -11
- data/spec/unit/namespace/register_resource_spec.rb +28 -30
- data/spec/unit/namespace_spec.rb +20 -20
- data/spec/unit/order_clause_spec.rb +81 -0
- data/spec/unit/page_controller_spec.rb +1 -1
- data/spec/unit/page_spec.rb +18 -12
- data/spec/unit/pretty_format_spec.rb +42 -14
- data/spec/unit/pundit_adapter_spec.rb +98 -0
- data/spec/unit/resource/action_items_spec.rb +15 -12
- data/spec/unit/resource/includes_spec.rb +21 -0
- data/spec/unit/resource/menu_spec.rb +1 -1
- data/spec/unit/resource/naming_spec.rb +35 -21
- data/spec/unit/resource/page_presenters_spec.rb +8 -8
- data/spec/unit/resource/pagination_spec.rb +6 -6
- data/spec/unit/resource/routes_spec.rb +10 -10
- data/spec/unit/resource/scopes_spec.rb +14 -7
- data/spec/unit/resource/sidebars_spec.rb +6 -6
- data/spec/unit/resource_collection_spec.rb +31 -38
- data/spec/unit/resource_controller/data_access_spec.rb +96 -30
- data/spec/unit/resource_controller/decorators_spec.rb +83 -0
- data/spec/unit/resource_controller/sidebars_spec.rb +7 -8
- data/spec/unit/resource_controller_spec.rb +73 -70
- data/spec/unit/resource_registration_spec.rb +12 -12
- data/spec/unit/resource_spec.rb +77 -42
- data/spec/unit/routing_spec.rb +39 -31
- data/spec/unit/scope_spec.rb +112 -30
- data/spec/unit/settings_spec.rb +51 -21
- data/spec/unit/view_factory_spec.rb +2 -3
- data/spec/unit/view_helpers/breadcrumbs_spec.rb +71 -60
- data/spec/unit/view_helpers/display_name_spec.rb +49 -21
- data/spec/unit/view_helpers/download_format_links_helper_spec.rb +5 -5
- data/spec/unit/view_helpers/fields_for_spec.rb +18 -18
- data/spec/unit/view_helpers/flash_helper_spec.rb +25 -0
- data/spec/unit/view_helpers/form_helper_spec.rb +10 -23
- data/spec/unit/view_helpers/method_or_proc_helper_spec.rb +64 -22
- data/spec/unit/views/components/action_list_popover_spec.rb +16 -6
- data/spec/unit/views/components/attributes_table_spec.rb +171 -30
- data/spec/unit/views/components/batch_action_popover_spec.rb +20 -6
- data/spec/unit/views/components/blank_slate_spec.rb +14 -4
- data/spec/unit/views/components/columns_spec.rb +52 -22
- data/spec/unit/views/components/index_list_spec.rb +11 -8
- data/spec/unit/views/components/index_table_for_spec.rb +46 -0
- data/spec/unit/views/components/paginated_collection_spec.rb +79 -90
- data/spec/unit/views/components/panel_spec.rb +32 -21
- data/spec/unit/views/components/popover_spec.rb +7 -7
- data/spec/unit/views/components/sidebar_section_spec.rb +18 -8
- data/spec/unit/views/components/site_title_spec.rb +26 -26
- data/spec/unit/views/components/status_tag_spec.rb +178 -38
- data/spec/unit/views/components/table_for_spec.rb +237 -35
- data/spec/unit/views/components/tabs_spec.rb +39 -0
- data/spec/unit/views/components/unsupported_browser_spec.rb +47 -0
- data/spec/unit/views/pages/form_spec.rb +17 -10
- data/spec/unit/views/pages/index_spec.rb +60 -0
- data/spec/unit/views/pages/layout_spec.rb +17 -21
- data/spec/unit/views/pages/show_spec.rb +18 -6
- data/spec/unit/views/tabbed_navigation_spec.rb +61 -52
- data/tasks/docs.rake +9 -11
- data/tasks/parallel_tests.rake +8 -2
- data/tasks/test.rake +13 -9
- data/tasks/yard.rake +7 -4
- metadata +219 -163
- data/.document +0 -5
- data/README.rdoc +0 -88
- data/app/assets/images/active_admin/admin_notes_icon.png +0 -0
- data/app/assets/images/active_admin/datepicker/datepicker-header-bg.png +0 -0
- data/app/assets/images/active_admin/datepicker/datepicker-next-link-icon.png +0 -0
- data/app/assets/images/active_admin/datepicker/datepicker-nipple.png +0 -0
- data/app/assets/images/active_admin/datepicker/datepicker-prev-link-icon.png +0 -0
- data/app/assets/images/active_admin/index_list_icons/block_icon.svg +0 -10
- data/app/assets/images/active_admin/index_list_icons/blog_icon.svg +0 -4
- data/app/assets/images/active_admin/index_list_icons/grid_icon.svg +0 -13
- data/app/assets/images/active_admin/index_list_icons/table_icon.svg +0 -3
- data/app/assets/images/active_admin/loading.gif +0 -0
- data/app/assets/javascripts/active_admin/application.js +0 -3
- data/app/assets/javascripts/active_admin/base.js +0 -5
- data/app/assets/javascripts/active_admin/components/jquery.aa.dropdown-menu.js.coffee +0 -105
- data/app/assets/javascripts/active_admin/components/jquery.aa.popover.js.coffee +0 -97
- data/app/assets/javascripts/active_admin/lib/namespace.js.coffee +0 -4
- data/app/assets/javascripts/active_admin/pages/application.js.coffee +0 -21
- data/app/assets/javascripts/active_admin/pages/batch_actions.js.coffee +0 -26
- data/app/assets/stylesheets/active_admin/components/_batch_actions.css.scss +0 -11
- data/app/assets/stylesheets/active_admin/components/_flash_messages.css.scss +0 -41
- data/app/assets/stylesheets/active_admin/components/_table_tools.css.scss +0 -95
- data/app/assets/stylesheets/active_admin/mixins/_gradients.css.scss +0 -38
- data/app/assets/stylesheets/active_admin/mixins/_rounded.css.scss +0 -43
- data/app/views/active_admin/dashboard/index.html.arb +0 -1
- data/app/views/active_admin/resource/index.csv.erb +0 -23
- data/docs/3-index-pages/create-an-index.md +0 -29
- data/lib/active_admin/comments.rb +0 -83
- data/lib/active_admin/comments/comment.rb +0 -42
- data/lib/active_admin/comments/views.rb +0 -2
- data/lib/active_admin/dependency_checker.rb +0 -46
- data/lib/active_admin/inputs/filter_base.rb +0 -33
- data/lib/active_admin/inputs/filter_base/search_method_select.rb +0 -73
- data/lib/active_admin/inputs/filter_boolean_input.rb +0 -36
- data/lib/active_admin/inputs/filter_check_boxes_input.rb +0 -40
- data/lib/active_admin/inputs/filter_date_range_input.rb +0 -34
- data/lib/active_admin/inputs/filter_numeric_input.rb +0 -10
- data/lib/active_admin/inputs/filter_select_input.rb +0 -49
- data/lib/active_admin/inputs/filter_string_input.rb +0 -24
- data/lib/active_admin/reloader.rb +0 -130
- data/lib/active_admin/resource_controller/actions.rb +0 -81
- data/lib/active_admin/sass/active_admin.scss +0 -3
- data/lib/active_admin/sass/css_loader.rb +0 -16
- data/lib/active_admin/sass/helpers.rb +0 -45
- data/lib/active_admin/view_helpers/assigns_with_indifferent_access_helper.rb +0 -7
- data/lib/active_admin/views/dashboard_section_renderer.rb +0 -19
- data/lib/active_admin/views/pages/dashboard.rb +0 -62
- data/lib/generators/active_admin/assets/templates/3.0/active_admin.js +0 -1
- data/lib/generators/active_admin/assets/templates/3.1/active_admin.js +0 -1
- data/lib/meta_search_ext.rb +0 -10
- data/spec/integration/memory_spec.rb +0 -29
- data/spec/integration/stylesheets_spec.rb +0 -41
- data/spec/javascripts/compiled/jquery.aa.checkbox-toggler-spec.js +0 -60
- data/spec/javascripts/compiled/jquery.aa.popover-spec.js +0 -106
- data/spec/javascripts/compiled/jquery.aa.table-checkbox-toggler-spec.js +0 -37
- data/spec/javascripts/helpers/vendor/jasmine-fixture-0.0.5.js +0 -108
- data/spec/javascripts/helpers/vendor/jasmine-jquery.js +0 -288
- data/spec/javascripts/helpers/vendor/sinon-1.2.0.js +0 -2915
- data/spec/javascripts/support/jquery-ui-1.8.16.custom.min.js +0 -34
- data/spec/javascripts/support/jquery.min.js +0 -4
- data/spec/spec_helper_without_rails.rb +0 -11
- data/spec/unit/generators/install_rails_3_1_spec.rb +0 -16
- data/spec/unit/rails_spec.rb +0 -43
- data/spec/unit/reloader_spec.rb +0 -124
- data/spec/unit/sass/helpers_spec.rb +0 -47
- data/tasks/js.rake +0 -32
data/tasks/parallel_tests.rake
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'parallel'
|
2
|
+
require 'shellwords'
|
2
3
|
|
3
4
|
desc "Run the full suite using parallel_tests to run on multiple cores"
|
4
5
|
task :parallel_tests => ['parallel:setup_parallel_tests', 'parallel:spec', 'parallel:features', 'cucumber:class_reloading']
|
@@ -28,12 +29,17 @@ namespace :parallel do
|
|
28
29
|
puts "parallel_tests is not set up. (Re)building spec/rails/rails-#{Rails::VERSION::STRING} App. Please wait."
|
29
30
|
require 'rails/version'
|
30
31
|
system("rm -Rf spec/rails/rails-#{Rails::VERSION::STRING}")
|
31
|
-
Rake::Task['setup'].invoke
|
32
|
+
Rake::Task['setup'].invoke true
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
35
36
|
def run_in_parallel(command)
|
36
|
-
|
37
|
+
bash("ENV['TEST_ENV_NUMBER']=#{Parallel.processor_count} #{command}")
|
38
|
+
end
|
39
|
+
|
40
|
+
def bash(command)
|
41
|
+
escaped_command = Shellwords.escape(command)
|
42
|
+
system("bash -c #{escaped_command}")
|
37
43
|
end
|
38
44
|
|
39
45
|
desc "Run the specs in parallel"
|
data/tasks/test.rake
CHANGED
@@ -1,17 +1,21 @@
|
|
1
1
|
desc "Creates a test rails app for the specs to run against"
|
2
|
-
task :setup do
|
2
|
+
task :setup, :parallel do |t, args|
|
3
3
|
require 'rails/version'
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
if File.exists? dir = "spec/rails/rails-#{Rails::VERSION::STRING}"
|
5
|
+
puts "test app #{dir} already exists; skipping"
|
6
|
+
else
|
7
|
+
system("mkdir spec/rails") unless File.exists?("spec/rails")
|
8
|
+
system "#{'INSTALL_PARALLEL=yes' if args[:parallel]} bundle exec rails new #{dir} -m spec/support/rails_template.rb --skip-bundle"
|
9
|
+
Rake::Task['parallel:after_setup_hook'].invoke if args[:parallel]
|
10
|
+
end
|
7
11
|
end
|
8
12
|
|
9
|
-
# Run specs and cukes
|
10
|
-
# If run by Travis, submit test coverage data to www.coveralls.io
|
11
13
|
desc "Run the full suite using 1 core"
|
12
|
-
task test: ['spec:unit', 'spec:integration', 'cucumber', 'cucumber:class_reloading']
|
13
|
-
|
14
|
-
|
14
|
+
task test: ['spec:unit', 'spec:integration', 'cucumber', 'cucumber:class_reloading']
|
15
|
+
|
16
|
+
require 'coveralls/rake/task'
|
17
|
+
Coveralls::RakeTask.new
|
18
|
+
task test_with_coveralls: [:test, 'coveralls:push']
|
15
19
|
|
16
20
|
namespace :test do
|
17
21
|
|
data/tasks/yard.rake
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'yard
|
1
|
+
if Gem.loaded_specs['yard']
|
2
|
+
require 'yard'
|
3
|
+
require 'yard/rake/yardoc_task'
|
3
4
|
|
4
|
-
YARD::Rake::YardocTask.new do |t|
|
5
|
-
|
5
|
+
YARD::Rake::YardocTask.new do |t|
|
6
|
+
t.after = ->{ Rake::Task['docs:build'].invoke }
|
7
|
+
t.files = ['lib/**/*.rb']
|
8
|
+
end
|
6
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Bell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arbre
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.2
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,162 +27,169 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.2
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bourbon
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '4'
|
39
|
+
version: '0'
|
37
40
|
type: :runtime
|
38
41
|
prerelease: false
|
39
42
|
version_requirements: !ruby/object:Gem::Requirement
|
40
43
|
requirements:
|
41
44
|
- - ">="
|
42
45
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '4'
|
46
|
+
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: coffee-rails
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
-
- - "<"
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '4'
|
53
|
+
version: '0'
|
57
54
|
type: :runtime
|
58
55
|
prerelease: false
|
59
56
|
version_requirements: !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
58
|
- - ">="
|
62
59
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '4'
|
60
|
+
version: '0'
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: formtastic
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
70
64
|
requirements:
|
71
65
|
- - "~>"
|
72
66
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
67
|
+
version: '3.1'
|
74
68
|
type: :runtime
|
75
69
|
prerelease: false
|
76
70
|
version_requirements: !ruby/object:Gem::Requirement
|
77
71
|
requirements:
|
78
72
|
- - "~>"
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
74
|
+
version: '3.1'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: formtastic_i18n
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
81
89
|
- !ruby/object:Gem::Dependency
|
82
90
|
name: inherited_resources
|
83
91
|
requirement: !ruby/object:Gem::Requirement
|
84
92
|
requirements:
|
85
93
|
- - "~>"
|
86
94
|
- !ruby/object:Gem::Version
|
87
|
-
version: '1.
|
95
|
+
version: '1.6'
|
88
96
|
type: :runtime
|
89
97
|
prerelease: false
|
90
98
|
version_requirements: !ruby/object:Gem::Requirement
|
91
99
|
requirements:
|
92
100
|
- - "~>"
|
93
101
|
- !ruby/object:Gem::Version
|
94
|
-
version: '1.
|
102
|
+
version: '1.6'
|
95
103
|
- !ruby/object:Gem::Dependency
|
96
104
|
name: jquery-rails
|
97
105
|
requirement: !ruby/object:Gem::Requirement
|
98
106
|
requirements:
|
99
107
|
- - ">="
|
100
108
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
102
|
-
- - "<"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '3'
|
109
|
+
version: '0'
|
105
110
|
type: :runtime
|
106
111
|
prerelease: false
|
107
112
|
version_requirements: !ruby/object:Gem::Requirement
|
108
113
|
requirements:
|
109
114
|
- - ">="
|
110
115
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
- - "<"
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '3'
|
116
|
+
version: '0'
|
115
117
|
- !ruby/object:Gem::Dependency
|
116
|
-
name:
|
118
|
+
name: jquery-ui-rails
|
117
119
|
requirement: !ruby/object:Gem::Requirement
|
118
120
|
requirements:
|
119
121
|
- - "~>"
|
120
122
|
- !ruby/object:Gem::Version
|
121
|
-
version: '0
|
122
|
-
- - "!="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.15.0
|
123
|
+
version: '5.0'
|
125
124
|
type: :runtime
|
126
125
|
prerelease: false
|
127
126
|
version_requirements: !ruby/object:Gem::Requirement
|
128
127
|
requirements:
|
129
128
|
- - "~>"
|
130
129
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0
|
132
|
-
- - "!="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 0.15.0
|
130
|
+
version: '5.0'
|
135
131
|
- !ruby/object:Gem::Dependency
|
136
|
-
name:
|
132
|
+
name: kaminari
|
137
133
|
requirement: !ruby/object:Gem::Requirement
|
138
134
|
requirements:
|
139
135
|
- - "~>"
|
140
136
|
- !ruby/object:Gem::Version
|
141
|
-
version: '
|
137
|
+
version: '0.15'
|
142
138
|
type: :runtime
|
143
139
|
prerelease: false
|
144
140
|
version_requirements: !ruby/object:Gem::Requirement
|
145
141
|
requirements:
|
146
142
|
- - "~>"
|
147
143
|
- !ruby/object:Gem::Version
|
148
|
-
version: '
|
144
|
+
version: '0.15'
|
149
145
|
- !ruby/object:Gem::Dependency
|
150
146
|
name: rails
|
151
147
|
requirement: !ruby/object:Gem::Requirement
|
152
148
|
requirements:
|
153
149
|
- - ">="
|
154
150
|
- !ruby/object:Gem::Version
|
155
|
-
version: 3.
|
151
|
+
version: '3.2'
|
156
152
|
- - "<"
|
157
153
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
154
|
+
version: '5.0'
|
159
155
|
type: :runtime
|
160
156
|
prerelease: false
|
161
157
|
version_requirements: !ruby/object:Gem::Requirement
|
162
158
|
requirements:
|
163
159
|
- - ">="
|
164
160
|
- !ruby/object:Gem::Version
|
165
|
-
version: 3.
|
161
|
+
version: '3.2'
|
166
162
|
- - "<"
|
167
163
|
- !ruby/object:Gem::Version
|
168
|
-
version: '
|
164
|
+
version: '5.0'
|
169
165
|
- !ruby/object:Gem::Dependency
|
170
|
-
name:
|
166
|
+
name: ransack
|
171
167
|
requirement: !ruby/object:Gem::Requirement
|
172
168
|
requirements:
|
173
169
|
- - "~>"
|
174
170
|
- !ruby/object:Gem::Version
|
175
|
-
version: '3
|
171
|
+
version: '1.3'
|
176
172
|
type: :runtime
|
177
173
|
prerelease: false
|
178
174
|
version_requirements: !ruby/object:Gem::Requirement
|
179
175
|
requirements:
|
180
176
|
- - "~>"
|
181
177
|
- !ruby/object:Gem::Version
|
182
|
-
version: '3
|
178
|
+
version: '1.3'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: sass-rails
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
183
193
|
description: The administration framework for Ruby on Rails.
|
184
194
|
email:
|
185
195
|
- gregdbell@gmail.com
|
@@ -187,8 +197,8 @@ executables: []
|
|
187
197
|
extensions: []
|
188
198
|
extra_rdoc_files: []
|
189
199
|
files:
|
190
|
-
- ".document"
|
191
200
|
- ".gitignore"
|
201
|
+
- ".hound.yml"
|
192
202
|
- ".travis.yml"
|
193
203
|
- ".yardopts"
|
194
204
|
- CHANGELOG.md
|
@@ -196,89 +206,88 @@ files:
|
|
196
206
|
- Gemfile
|
197
207
|
- Guardfile
|
198
208
|
- LICENSE
|
199
|
-
- README.
|
209
|
+
- README.md
|
200
210
|
- Rakefile
|
201
211
|
- activeadmin.gemspec
|
202
|
-
- app/assets/images/active_admin/admin_notes_icon.png
|
203
|
-
- app/assets/images/active_admin/datepicker/datepicker-header-bg.png
|
204
212
|
- app/assets/images/active_admin/datepicker/datepicker-input-icon.png
|
205
|
-
- app/assets/images/active_admin/datepicker/datepicker-next-link-icon.png
|
206
|
-
- app/assets/images/active_admin/datepicker/datepicker-nipple.png
|
207
|
-
- app/assets/images/active_admin/datepicker/datepicker-prev-link-icon.png
|
208
|
-
- app/assets/images/active_admin/index_list_icons/block_icon.svg
|
209
|
-
- app/assets/images/active_admin/index_list_icons/blog_icon.svg
|
210
|
-
- app/assets/images/active_admin/index_list_icons/grid_icon.svg
|
211
|
-
- app/assets/images/active_admin/index_list_icons/table_icon.svg
|
212
|
-
- app/assets/images/active_admin/loading.gif
|
213
213
|
- app/assets/images/active_admin/nested_menu_arrow.gif
|
214
214
|
- app/assets/images/active_admin/nested_menu_arrow_dark.gif
|
215
215
|
- app/assets/images/active_admin/orderable.png
|
216
|
-
- app/assets/javascripts/active_admin/application.js
|
217
|
-
- app/assets/javascripts/active_admin/base.js
|
218
|
-
- app/assets/javascripts/active_admin/
|
219
|
-
- app/assets/javascripts/active_admin/
|
220
|
-
- app/assets/javascripts/active_admin/
|
221
|
-
- app/assets/javascripts/active_admin/
|
222
|
-
- app/assets/javascripts/active_admin/lib/
|
223
|
-
- app/assets/javascripts/active_admin/
|
224
|
-
- app/assets/javascripts/active_admin/
|
225
|
-
- app/assets/
|
226
|
-
- app/assets/
|
227
|
-
- app/assets/
|
228
|
-
- app/assets/
|
229
|
-
- app/assets/stylesheets/active_admin/
|
230
|
-
- app/assets/stylesheets/active_admin/
|
216
|
+
- app/assets/javascripts/active_admin/application.js.coffee
|
217
|
+
- app/assets/javascripts/active_admin/base.js.coffee
|
218
|
+
- app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee
|
219
|
+
- app/assets/javascripts/active_admin/ext/jquery.js.coffee
|
220
|
+
- app/assets/javascripts/active_admin/lib/batch_actions.js.coffee
|
221
|
+
- app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee
|
222
|
+
- app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee
|
223
|
+
- app/assets/javascripts/active_admin/lib/flash.js.coffee
|
224
|
+
- app/assets/javascripts/active_admin/lib/has_many.js.coffee
|
225
|
+
- app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee
|
226
|
+
- app/assets/javascripts/active_admin/lib/per_page.js.coffee
|
227
|
+
- app/assets/javascripts/active_admin/lib/popover.js.coffee
|
228
|
+
- app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee
|
229
|
+
- app/assets/stylesheets/active_admin/_base.scss
|
230
|
+
- app/assets/stylesheets/active_admin/_forms.scss
|
231
|
+
- app/assets/stylesheets/active_admin/_header.scss
|
232
|
+
- app/assets/stylesheets/active_admin/_mixins.scss
|
233
|
+
- app/assets/stylesheets/active_admin/_typography.scss
|
234
|
+
- app/assets/stylesheets/active_admin/components/_batch_actions.scss
|
231
235
|
- app/assets/stylesheets/active_admin/components/_blank_slates.scss
|
232
236
|
- app/assets/stylesheets/active_admin/components/_breadcrumbs.scss
|
233
237
|
- app/assets/stylesheets/active_admin/components/_buttons.scss
|
234
238
|
- app/assets/stylesheets/active_admin/components/_columns.scss
|
235
|
-
- app/assets/stylesheets/active_admin/components/_comments.
|
236
|
-
- app/assets/stylesheets/active_admin/components/_date_picker.
|
239
|
+
- app/assets/stylesheets/active_admin/components/_comments.scss
|
240
|
+
- app/assets/stylesheets/active_admin/components/_date_picker.scss
|
237
241
|
- app/assets/stylesheets/active_admin/components/_dropdown_menu.scss
|
238
|
-
- app/assets/stylesheets/active_admin/components/_flash_messages.
|
242
|
+
- app/assets/stylesheets/active_admin/components/_flash_messages.scss
|
239
243
|
- app/assets/stylesheets/active_admin/components/_grid.scss
|
240
244
|
- app/assets/stylesheets/active_admin/components/_index_list.scss
|
241
245
|
- app/assets/stylesheets/active_admin/components/_links.scss
|
246
|
+
- app/assets/stylesheets/active_admin/components/_modal_dialog.scss
|
242
247
|
- app/assets/stylesheets/active_admin/components/_pagination.scss
|
243
248
|
- app/assets/stylesheets/active_admin/components/_panels.scss
|
244
|
-
- app/assets/stylesheets/active_admin/components/_popovers.
|
249
|
+
- app/assets/stylesheets/active_admin/components/_popovers.scss
|
245
250
|
- app/assets/stylesheets/active_admin/components/_scopes.scss
|
246
251
|
- app/assets/stylesheets/active_admin/components/_status_tags.scss
|
247
|
-
- app/assets/stylesheets/active_admin/components/_table_tools.
|
248
|
-
- app/assets/stylesheets/active_admin/components/_tables.
|
249
|
-
- app/assets/stylesheets/active_admin/
|
250
|
-
- app/assets/stylesheets/active_admin/
|
251
|
-
- app/assets/stylesheets/active_admin/mixins/
|
252
|
-
- app/assets/stylesheets/active_admin/mixins/
|
253
|
-
- app/assets/stylesheets/active_admin/mixins/
|
254
|
-
- app/assets/stylesheets/active_admin/mixins/
|
255
|
-
- app/assets/stylesheets/active_admin/mixins/
|
256
|
-
- app/assets/stylesheets/active_admin/mixins/
|
252
|
+
- app/assets/stylesheets/active_admin/components/_table_tools.scss
|
253
|
+
- app/assets/stylesheets/active_admin/components/_tables.scss
|
254
|
+
- app/assets/stylesheets/active_admin/components/_tabs.scss
|
255
|
+
- app/assets/stylesheets/active_admin/components/_unsupported_browser.scss
|
256
|
+
- app/assets/stylesheets/active_admin/mixins/_all.scss
|
257
|
+
- app/assets/stylesheets/active_admin/mixins/_buttons.scss
|
258
|
+
- app/assets/stylesheets/active_admin/mixins/_gradients.scss
|
259
|
+
- app/assets/stylesheets/active_admin/mixins/_icons.scss
|
260
|
+
- app/assets/stylesheets/active_admin/mixins/_reset.scss
|
261
|
+
- app/assets/stylesheets/active_admin/mixins/_rounded.scss
|
262
|
+
- app/assets/stylesheets/active_admin/mixins/_sections.scss
|
263
|
+
- app/assets/stylesheets/active_admin/mixins/_shadows.scss
|
257
264
|
- app/assets/stylesheets/active_admin/mixins/_typography.scss
|
258
265
|
- app/assets/stylesheets/active_admin/mixins/_utilities.scss
|
259
|
-
- app/assets/stylesheets/active_admin/mixins/_variables.
|
266
|
+
- app/assets/stylesheets/active_admin/mixins/_variables.scss
|
260
267
|
- app/assets/stylesheets/active_admin/pages/_logged_out.scss
|
261
|
-
- app/assets/stylesheets/active_admin/print.
|
268
|
+
- app/assets/stylesheets/active_admin/print.scss
|
262
269
|
- app/assets/stylesheets/active_admin/structure/_footer.scss
|
263
270
|
- app/assets/stylesheets/active_admin/structure/_main_structure.scss
|
264
271
|
- app/assets/stylesheets/active_admin/structure/_title_bar.scss
|
265
|
-
- app/views/active_admin/
|
272
|
+
- app/views/active_admin/devise/confirmations/new.html.erb
|
266
273
|
- app/views/active_admin/devise/mailer/reset_password_instructions.html.erb
|
267
274
|
- app/views/active_admin/devise/mailer/unlock_instructions.html.erb
|
268
275
|
- app/views/active_admin/devise/passwords/edit.html.erb
|
269
276
|
- app/views/active_admin/devise/passwords/new.html.erb
|
277
|
+
- app/views/active_admin/devise/registrations/new.html.erb
|
270
278
|
- app/views/active_admin/devise/sessions/new.html.erb
|
271
279
|
- app/views/active_admin/devise/shared/_links.erb
|
272
280
|
- app/views/active_admin/devise/unlocks/new.html.erb
|
273
281
|
- app/views/active_admin/page/index.html.arb
|
274
282
|
- app/views/active_admin/resource/edit.html.arb
|
275
|
-
- app/views/active_admin/resource/index.csv.erb
|
276
283
|
- app/views/active_admin/resource/index.html.arb
|
277
284
|
- app/views/active_admin/resource/new.html.arb
|
278
285
|
- app/views/active_admin/resource/show.html.arb
|
279
286
|
- app/views/layouts/active_admin.html.arb
|
280
287
|
- app/views/layouts/active_admin_logged_out.html.erb
|
288
|
+
- config/locales/ar.yml
|
281
289
|
- config/locales/bg.yml
|
290
|
+
- config/locales/bs.yml
|
282
291
|
- config/locales/ca.yml
|
283
292
|
- config/locales/cs.yml
|
284
293
|
- config/locales/da.yml
|
@@ -287,8 +296,10 @@ files:
|
|
287
296
|
- config/locales/el.yml
|
288
297
|
- config/locales/en-GB.yml
|
289
298
|
- config/locales/en.yml
|
299
|
+
- config/locales/es-MX.yml
|
290
300
|
- config/locales/es.yml
|
291
|
-
- config/locales/
|
301
|
+
- config/locales/fa.yml
|
302
|
+
- config/locales/fi.yml
|
292
303
|
- config/locales/fr.yml
|
293
304
|
- config/locales/he.yml
|
294
305
|
- config/locales/hr.yml
|
@@ -298,8 +309,8 @@ files:
|
|
298
309
|
- config/locales/ko.yml
|
299
310
|
- config/locales/lt.yml
|
300
311
|
- config/locales/lv.yml
|
312
|
+
- config/locales/nb.yml
|
301
313
|
- config/locales/nl.yml
|
302
|
-
- config/locales/no-NB.yml
|
303
314
|
- config/locales/pl.yml
|
304
315
|
- config/locales/pt-BR.yml
|
305
316
|
- config/locales/pt-PT.yml
|
@@ -318,9 +329,10 @@ files:
|
|
318
329
|
- docs/11-decorators.md
|
319
330
|
- docs/12-arbre-components.md
|
320
331
|
- docs/13-authorization-adapter.md
|
332
|
+
- docs/14-gotchas.md
|
321
333
|
- docs/2-resource-customization.md
|
322
334
|
- docs/3-index-pages.md
|
323
|
-
- docs/3-index-pages/
|
335
|
+
- docs/3-index-pages/custom-index.md
|
324
336
|
- docs/3-index-pages/index-as-block.md
|
325
337
|
- docs/3-index-pages/index-as-blog.md
|
326
338
|
- docs/3-index-pages/index-as-grid.md
|
@@ -331,9 +343,11 @@ files:
|
|
331
343
|
- docs/7-sidebars.md
|
332
344
|
- docs/8-custom-actions.md
|
333
345
|
- docs/9-batch-actions.md
|
346
|
+
- docs/README.md
|
334
347
|
- features/action_item.feature
|
335
348
|
- features/authorization.feature
|
336
349
|
- features/authorization_cancan.feature
|
350
|
+
- features/authorization_pundit.feature
|
337
351
|
- features/belongs_to.feature
|
338
352
|
- features/breadcrumb.feature
|
339
353
|
- features/comments/commenting.feature
|
@@ -366,9 +380,11 @@ files:
|
|
366
380
|
- features/registering_assets.feature
|
367
381
|
- features/registering_pages.feature
|
368
382
|
- features/registering_resources.feature
|
383
|
+
- features/renamed_resource.feature
|
369
384
|
- features/root_to.feature
|
370
385
|
- features/show/default_content.feature
|
371
386
|
- features/show/page_title.feature
|
387
|
+
- features/show/tabs.feature
|
372
388
|
- features/sidebar_sections.feature
|
373
389
|
- features/site_title.feature
|
374
390
|
- features/specifying_actions.feature
|
@@ -378,6 +394,7 @@ files:
|
|
378
394
|
- features/step_definitions/asset_steps.rb
|
379
395
|
- features/step_definitions/attribute_steps.rb
|
380
396
|
- features/step_definitions/batch_action_steps.rb
|
397
|
+
- features/step_definitions/blog_steps.rb
|
381
398
|
- features/step_definitions/breadcrumb_steps.rb
|
382
399
|
- features/step_definitions/comment_steps.rb
|
383
400
|
- features/step_definitions/configuration_steps.rb
|
@@ -395,14 +412,17 @@ files:
|
|
395
412
|
- features/step_definitions/pagination_steps.rb
|
396
413
|
- features/step_definitions/sidebar_steps.rb
|
397
414
|
- features/step_definitions/site_title_steps.rb
|
415
|
+
- features/step_definitions/symbol_leak_steps.rb
|
398
416
|
- features/step_definitions/tab_steps.rb
|
399
417
|
- features/step_definitions/table_steps.rb
|
400
418
|
- features/step_definitions/user_steps.rb
|
401
419
|
- features/step_definitions/web_steps.rb
|
402
420
|
- features/sti_resource.feature
|
421
|
+
- features/strong_parameters.feature
|
403
422
|
- features/support/env.rb
|
404
423
|
- features/support/paths.rb
|
405
424
|
- features/support/selectors.rb
|
425
|
+
- features/symbol_leak.feature
|
406
426
|
- features/users/logging_in.feature
|
407
427
|
- features/users/logging_out.feature
|
408
428
|
- features/users/resetting_password.feature
|
@@ -423,21 +443,15 @@ files:
|
|
423
443
|
- lib/active_admin/batch_actions/views/selection_cells.rb
|
424
444
|
- lib/active_admin/callbacks.rb
|
425
445
|
- lib/active_admin/cancan_adapter.rb
|
426
|
-
- lib/active_admin/comments.rb
|
427
|
-
- lib/active_admin/comments/comment.rb
|
428
|
-
- lib/active_admin/comments/namespace_helper.rb
|
429
|
-
- lib/active_admin/comments/resource_helper.rb
|
430
|
-
- lib/active_admin/comments/show_page_helper.rb
|
431
|
-
- lib/active_admin/comments/views.rb
|
432
|
-
- lib/active_admin/comments/views/active_admin_comments.rb
|
433
446
|
- lib/active_admin/component.rb
|
434
447
|
- lib/active_admin/controller_action.rb
|
435
448
|
- lib/active_admin/csv_builder.rb
|
436
|
-
- lib/active_admin/
|
449
|
+
- lib/active_admin/dependency.rb
|
437
450
|
- lib/active_admin/deprecation.rb
|
438
451
|
- lib/active_admin/devise.rb
|
439
452
|
- lib/active_admin/dsl.rb
|
440
453
|
- lib/active_admin/engine.rb
|
454
|
+
- lib/active_admin/error.rb
|
441
455
|
- lib/active_admin/event.rb
|
442
456
|
- lib/active_admin/filters.rb
|
443
457
|
- lib/active_admin/filters/dsl.rb
|
@@ -446,34 +460,48 @@ files:
|
|
446
460
|
- lib/active_admin/filters/resource_extension.rb
|
447
461
|
- lib/active_admin/form_builder.rb
|
448
462
|
- lib/active_admin/helpers/collection.rb
|
463
|
+
- lib/active_admin/helpers/i18n.rb
|
449
464
|
- lib/active_admin/helpers/optional_display.rb
|
465
|
+
- lib/active_admin/helpers/routes/url_helpers.rb
|
450
466
|
- lib/active_admin/helpers/scope_chain.rb
|
451
467
|
- lib/active_admin/helpers/settings.rb
|
452
468
|
- lib/active_admin/iconic.rb
|
453
469
|
- lib/active_admin/iconic/icons.rb
|
454
470
|
- lib/active_admin/inputs.rb
|
455
471
|
- lib/active_admin/inputs/datepicker_input.rb
|
456
|
-
- lib/active_admin/inputs/
|
457
|
-
- lib/active_admin/inputs/
|
458
|
-
- lib/active_admin/inputs/
|
459
|
-
- lib/active_admin/inputs/
|
460
|
-
- lib/active_admin/inputs/
|
461
|
-
- lib/active_admin/inputs/
|
462
|
-
- lib/active_admin/inputs/
|
463
|
-
- lib/active_admin/inputs/
|
472
|
+
- lib/active_admin/inputs/filters/base.rb
|
473
|
+
- lib/active_admin/inputs/filters/base/search_method_select.rb
|
474
|
+
- lib/active_admin/inputs/filters/boolean_input.rb
|
475
|
+
- lib/active_admin/inputs/filters/check_boxes_input.rb
|
476
|
+
- lib/active_admin/inputs/filters/date_range_input.rb
|
477
|
+
- lib/active_admin/inputs/filters/numeric_input.rb
|
478
|
+
- lib/active_admin/inputs/filters/select_input.rb
|
479
|
+
- lib/active_admin/inputs/filters/string_input.rb
|
464
480
|
- lib/active_admin/menu.rb
|
465
481
|
- lib/active_admin/menu_collection.rb
|
466
482
|
- lib/active_admin/menu_item.rb
|
467
483
|
- lib/active_admin/namespace.rb
|
484
|
+
- lib/active_admin/order_clause.rb
|
485
|
+
- lib/active_admin/orm/active_record.rb
|
486
|
+
- lib/active_admin/orm/active_record/comments.rb
|
487
|
+
- lib/active_admin/orm/active_record/comments/comment.rb
|
488
|
+
- lib/active_admin/orm/active_record/comments/namespace_helper.rb
|
489
|
+
- lib/active_admin/orm/active_record/comments/resource_helper.rb
|
490
|
+
- lib/active_admin/orm/active_record/comments/show_page_helper.rb
|
491
|
+
- lib/active_admin/orm/active_record/comments/views.rb
|
492
|
+
- lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb
|
493
|
+
- lib/active_admin/orm/mongoid.rb
|
494
|
+
- lib/active_admin/orm/mongoid/.gitkeep
|
468
495
|
- lib/active_admin/page.rb
|
469
496
|
- lib/active_admin/page_controller.rb
|
470
497
|
- lib/active_admin/page_dsl.rb
|
471
498
|
- lib/active_admin/page_presenter.rb
|
472
|
-
- lib/active_admin/
|
499
|
+
- lib/active_admin/pundit_adapter.rb
|
473
500
|
- lib/active_admin/resource.rb
|
474
501
|
- lib/active_admin/resource/action_items.rb
|
475
502
|
- lib/active_admin/resource/belongs_to.rb
|
476
503
|
- lib/active_admin/resource/controllers.rb
|
504
|
+
- lib/active_admin/resource/includes.rb
|
477
505
|
- lib/active_admin/resource/menu.rb
|
478
506
|
- lib/active_admin/resource/naming.rb
|
479
507
|
- lib/active_admin/resource/page_presenters.rb
|
@@ -485,24 +513,20 @@ files:
|
|
485
513
|
- lib/active_admin/resource_collection.rb
|
486
514
|
- lib/active_admin/resource_controller.rb
|
487
515
|
- lib/active_admin/resource_controller/action_builder.rb
|
488
|
-
- lib/active_admin/resource_controller/actions.rb
|
489
516
|
- lib/active_admin/resource_controller/data_access.rb
|
490
517
|
- lib/active_admin/resource_controller/decorators.rb
|
491
518
|
- lib/active_admin/resource_controller/resource_class_methods.rb
|
492
519
|
- lib/active_admin/resource_controller/scoping.rb
|
493
520
|
- lib/active_admin/resource_controller/sidebars.rb
|
521
|
+
- lib/active_admin/resource_controller/streaming.rb
|
494
522
|
- lib/active_admin/resource_dsl.rb
|
495
523
|
- lib/active_admin/router.rb
|
496
|
-
- lib/active_admin/sass/active_admin.scss
|
497
|
-
- lib/active_admin/sass/css_loader.rb
|
498
|
-
- lib/active_admin/sass/helpers.rb
|
499
524
|
- lib/active_admin/scope.rb
|
500
525
|
- lib/active_admin/sidebar_section.rb
|
501
526
|
- lib/active_admin/version.rb
|
502
527
|
- lib/active_admin/view_factory.rb
|
503
528
|
- lib/active_admin/view_helpers.rb
|
504
529
|
- lib/active_admin/view_helpers/active_admin_application_helper.rb
|
505
|
-
- lib/active_admin/view_helpers/assigns_with_indifferent_access_helper.rb
|
506
530
|
- lib/active_admin/view_helpers/auto_link_helper.rb
|
507
531
|
- lib/active_admin/view_helpers/breadcrumb_helper.rb
|
508
532
|
- lib/active_admin/view_helpers/display_helper.rb
|
@@ -518,6 +542,7 @@ files:
|
|
518
542
|
- lib/active_admin/views.rb
|
519
543
|
- lib/active_admin/views/action_items.rb
|
520
544
|
- lib/active_admin/views/components/action_list_popover.rb
|
545
|
+
- lib/active_admin/views/components/active_admin_form.rb
|
521
546
|
- lib/active_admin/views/components/attributes_table.rb
|
522
547
|
- lib/active_admin/views/components/blank_slate.rb
|
523
548
|
- lib/active_admin/views/components/columns.rb
|
@@ -531,7 +556,8 @@ files:
|
|
531
556
|
- lib/active_admin/views/components/site_title.rb
|
532
557
|
- lib/active_admin/views/components/status_tag.rb
|
533
558
|
- lib/active_admin/views/components/table_for.rb
|
534
|
-
- lib/active_admin/views/
|
559
|
+
- lib/active_admin/views/components/tabs.rb
|
560
|
+
- lib/active_admin/views/components/unsupported_browser.rb
|
535
561
|
- lib/active_admin/views/footer.rb
|
536
562
|
- lib/active_admin/views/header.rb
|
537
563
|
- lib/active_admin/views/index_as_block.rb
|
@@ -539,7 +565,6 @@ files:
|
|
539
565
|
- lib/active_admin/views/index_as_grid.rb
|
540
566
|
- lib/active_admin/views/index_as_table.rb
|
541
567
|
- lib/active_admin/views/pages/base.rb
|
542
|
-
- lib/active_admin/views/pages/dashboard.rb
|
543
568
|
- lib/active_admin/views/pages/form.rb
|
544
569
|
- lib/active_admin/views/pages/index.rb
|
545
570
|
- lib/active_admin/views/pages/layout.rb
|
@@ -549,43 +574,40 @@ files:
|
|
549
574
|
- lib/active_admin/views/title_bar.rb
|
550
575
|
- lib/activeadmin.rb
|
551
576
|
- lib/generators/active_admin/assets/assets_generator.rb
|
552
|
-
- lib/generators/active_admin/assets/templates/
|
553
|
-
- lib/generators/active_admin/assets/templates/
|
554
|
-
- lib/generators/active_admin/assets/templates/3.1/active_admin.js
|
577
|
+
- lib/generators/active_admin/assets/templates/active_admin.css.scss
|
578
|
+
- lib/generators/active_admin/assets/templates/active_admin.js.coffee
|
555
579
|
- lib/generators/active_admin/devise/devise_generator.rb
|
556
580
|
- lib/generators/active_admin/install/install_generator.rb
|
557
581
|
- lib/generators/active_admin/install/templates/active_admin.rb.erb
|
558
582
|
- lib/generators/active_admin/install/templates/admin_user.rb.erb
|
559
583
|
- lib/generators/active_admin/install/templates/dashboard.rb
|
560
584
|
- lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb
|
585
|
+
- lib/generators/active_admin/page/USAGE
|
586
|
+
- lib/generators/active_admin/page/page_generator.rb
|
587
|
+
- lib/generators/active_admin/page/templates/page.rb
|
561
588
|
- lib/generators/active_admin/resource/resource_generator.rb
|
562
589
|
- lib/generators/active_admin/resource/templates/admin.rb
|
563
|
-
- lib/
|
590
|
+
- lib/ransack_ext.rb
|
564
591
|
- script/local
|
592
|
+
- script/travis_cache
|
565
593
|
- script/use_rails
|
566
|
-
- spec/integration/default_namespace_spec.rb
|
567
|
-
- spec/integration/javascript_spec.rb
|
568
|
-
- spec/integration/memory_spec.rb
|
569
|
-
- spec/integration/stylesheets_spec.rb
|
570
594
|
- spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee
|
595
|
+
- spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee
|
571
596
|
- spec/javascripts/coffeescripts/jquery.aa.popover-spec.js.coffee
|
572
597
|
- spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee
|
573
|
-
- spec/javascripts/compiled/jquery.aa.checkbox-toggler-spec.js
|
574
|
-
- spec/javascripts/compiled/jquery.aa.popover-spec.js
|
575
|
-
- spec/javascripts/compiled/jquery.aa.table-checkbox-toggler-spec.js
|
576
598
|
- spec/javascripts/fixtures/checkboxes.html
|
599
|
+
- spec/javascripts/fixtures/flashes.html
|
577
600
|
- spec/javascripts/fixtures/table_checkboxes.html
|
578
601
|
- spec/javascripts/helpers/SpecHelper.js
|
579
|
-
- spec/javascripts/helpers/vendor/jasmine-fixture-0.0.5.js
|
580
|
-
- spec/javascripts/helpers/vendor/jasmine-jquery.js
|
581
|
-
- spec/javascripts/helpers/vendor/sinon-1.2.0.js
|
582
602
|
- spec/javascripts/support/jasmine.yml
|
583
603
|
- spec/javascripts/support/jasmine_config.rb
|
584
604
|
- spec/javascripts/support/jasmine_runner.rb
|
585
|
-
- spec/
|
586
|
-
- spec/
|
605
|
+
- spec/rails_helper.rb
|
606
|
+
- spec/requests/default_namespace_spec.rb
|
607
|
+
- spec/requests/javascript_spec.rb
|
608
|
+
- spec/requests/memory_spec.rb
|
609
|
+
- spec/requests/stylesheets_spec.rb
|
587
610
|
- spec/spec_helper.rb
|
588
|
-
- spec/spec_helper_without_rails.rb
|
589
611
|
- spec/support/deferred_garbage_collection.rb
|
590
612
|
- spec/support/detect_rails_version.rb
|
591
613
|
- spec/support/integration_example_group.rb
|
@@ -596,6 +618,14 @@ files:
|
|
596
618
|
- spec/support/templates/cucumber.rb
|
597
619
|
- spec/support/templates/cucumber_with_reloading.rb
|
598
620
|
- spec/support/templates/en.yml
|
621
|
+
- spec/support/templates/policies/active_admin/comment_policy.rb
|
622
|
+
- spec/support/templates/policies/active_admin/page_policy.rb
|
623
|
+
- spec/support/templates/policies/admin_user_policy.rb
|
624
|
+
- spec/support/templates/policies/application_policy.rb
|
625
|
+
- spec/support/templates/policies/category_policy.rb
|
626
|
+
- spec/support/templates/policies/post_policy.rb
|
627
|
+
- spec/support/templates/policies/store_policy.rb
|
628
|
+
- spec/support/templates/policies/user_policy.rb
|
599
629
|
- spec/support/templates/post_decorator.rb
|
600
630
|
- spec/unit/abstract_view_factory_spec.rb
|
601
631
|
- spec/unit/action_builder_spec.rb
|
@@ -604,6 +634,7 @@ files:
|
|
604
634
|
- spec/unit/asset_registration_spec.rb
|
605
635
|
- spec/unit/authorization/authorization_adapter_spec.rb
|
606
636
|
- spec/unit/authorization/controller_authorization_spec.rb
|
637
|
+
- spec/unit/authorization/index_overriding_spec.rb
|
607
638
|
- spec/unit/auto_link_spec.rb
|
608
639
|
- spec/unit/batch_actions/resource_spec.rb
|
609
640
|
- spec/unit/batch_actions/settings_spec.rb
|
@@ -614,16 +645,18 @@ files:
|
|
614
645
|
- spec/unit/config_shared_examples.rb
|
615
646
|
- spec/unit/controller_filters_spec.rb
|
616
647
|
- spec/unit/csv_builder_spec.rb
|
648
|
+
- spec/unit/dependency_spec.rb
|
617
649
|
- spec/unit/devise_spec.rb
|
618
650
|
- spec/unit/dsl_spec.rb
|
619
651
|
- spec/unit/event_spec.rb
|
620
652
|
- spec/unit/filters/filter_form_builder_spec.rb
|
621
653
|
- spec/unit/filters/resource_spec.rb
|
622
654
|
- spec/unit/form_builder_spec.rb
|
623
|
-
- spec/unit/generators/
|
655
|
+
- spec/unit/generators/install_spec.rb
|
624
656
|
- spec/unit/helpers/collection_spec.rb
|
625
657
|
- spec/unit/helpers/scope_chain_spec.rb
|
626
658
|
- spec/unit/helpers/settings_spec.rb
|
659
|
+
- spec/unit/i18n_spec.rb
|
627
660
|
- spec/unit/menu_collection_spec.rb
|
628
661
|
- spec/unit/menu_item_spec.rb
|
629
662
|
- spec/unit/menu_spec.rb
|
@@ -631,12 +664,13 @@ files:
|
|
631
664
|
- spec/unit/namespace/register_page_spec.rb
|
632
665
|
- spec/unit/namespace/register_resource_spec.rb
|
633
666
|
- spec/unit/namespace_spec.rb
|
667
|
+
- spec/unit/order_clause_spec.rb
|
634
668
|
- spec/unit/page_controller_spec.rb
|
635
669
|
- spec/unit/page_spec.rb
|
636
670
|
- spec/unit/pretty_format_spec.rb
|
637
|
-
- spec/unit/
|
638
|
-
- spec/unit/reloader_spec.rb
|
671
|
+
- spec/unit/pundit_adapter_spec.rb
|
639
672
|
- spec/unit/resource/action_items_spec.rb
|
673
|
+
- spec/unit/resource/includes_spec.rb
|
640
674
|
- spec/unit/resource/menu_spec.rb
|
641
675
|
- spec/unit/resource/naming_spec.rb
|
642
676
|
- spec/unit/resource/page_presenters_spec.rb
|
@@ -646,12 +680,12 @@ files:
|
|
646
680
|
- spec/unit/resource/sidebars_spec.rb
|
647
681
|
- spec/unit/resource_collection_spec.rb
|
648
682
|
- spec/unit/resource_controller/data_access_spec.rb
|
683
|
+
- spec/unit/resource_controller/decorators_spec.rb
|
649
684
|
- spec/unit/resource_controller/sidebars_spec.rb
|
650
685
|
- spec/unit/resource_controller_spec.rb
|
651
686
|
- spec/unit/resource_registration_spec.rb
|
652
687
|
- spec/unit/resource_spec.rb
|
653
688
|
- spec/unit/routing_spec.rb
|
654
|
-
- spec/unit/sass/helpers_spec.rb
|
655
689
|
- spec/unit/scope_spec.rb
|
656
690
|
- spec/unit/settings_spec.rb
|
657
691
|
- spec/unit/view_factory_spec.rb
|
@@ -659,6 +693,7 @@ files:
|
|
659
693
|
- spec/unit/view_helpers/display_name_spec.rb
|
660
694
|
- spec/unit/view_helpers/download_format_links_helper_spec.rb
|
661
695
|
- spec/unit/view_helpers/fields_for_spec.rb
|
696
|
+
- spec/unit/view_helpers/flash_helper_spec.rb
|
662
697
|
- spec/unit/view_helpers/form_helper_spec.rb
|
663
698
|
- spec/unit/view_helpers/method_or_proc_helper_spec.rb
|
664
699
|
- spec/unit/views/components/action_list_popover_spec.rb
|
@@ -667,6 +702,7 @@ files:
|
|
667
702
|
- spec/unit/views/components/blank_slate_spec.rb
|
668
703
|
- spec/unit/views/components/columns_spec.rb
|
669
704
|
- spec/unit/views/components/index_list_spec.rb
|
705
|
+
- spec/unit/views/components/index_table_for_spec.rb
|
670
706
|
- spec/unit/views/components/paginated_collection_spec.rb
|
671
707
|
- spec/unit/views/components/panel_spec.rb
|
672
708
|
- spec/unit/views/components/popover_spec.rb
|
@@ -674,12 +710,14 @@ files:
|
|
674
710
|
- spec/unit/views/components/site_title_spec.rb
|
675
711
|
- spec/unit/views/components/status_tag_spec.rb
|
676
712
|
- spec/unit/views/components/table_for_spec.rb
|
713
|
+
- spec/unit/views/components/tabs_spec.rb
|
714
|
+
- spec/unit/views/components/unsupported_browser_spec.rb
|
677
715
|
- spec/unit/views/pages/form_spec.rb
|
716
|
+
- spec/unit/views/pages/index_spec.rb
|
678
717
|
- spec/unit/views/pages/layout_spec.rb
|
679
718
|
- spec/unit/views/pages/show_spec.rb
|
680
719
|
- spec/unit/views/tabbed_navigation_spec.rb
|
681
720
|
- tasks/docs.rake
|
682
|
-
- tasks/js.rake
|
683
721
|
- tasks/parallel_tests.rake
|
684
722
|
- tasks/test.rake
|
685
723
|
- tasks/yard.rake
|
@@ -698,9 +736,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
698
736
|
version: '0'
|
699
737
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
700
738
|
requirements:
|
701
|
-
- - "
|
739
|
+
- - ">"
|
702
740
|
- !ruby/object:Gem::Version
|
703
|
-
version:
|
741
|
+
version: 1.3.1
|
704
742
|
requirements: []
|
705
743
|
rubyforge_project:
|
706
744
|
rubygems_version: 2.4.5
|
@@ -711,6 +749,7 @@ test_files:
|
|
711
749
|
- features/action_item.feature
|
712
750
|
- features/authorization.feature
|
713
751
|
- features/authorization_cancan.feature
|
752
|
+
- features/authorization_pundit.feature
|
714
753
|
- features/belongs_to.feature
|
715
754
|
- features/breadcrumb.feature
|
716
755
|
- features/comments/commenting.feature
|
@@ -743,9 +782,11 @@ test_files:
|
|
743
782
|
- features/registering_assets.feature
|
744
783
|
- features/registering_pages.feature
|
745
784
|
- features/registering_resources.feature
|
785
|
+
- features/renamed_resource.feature
|
746
786
|
- features/root_to.feature
|
747
787
|
- features/show/default_content.feature
|
748
788
|
- features/show/page_title.feature
|
789
|
+
- features/show/tabs.feature
|
749
790
|
- features/sidebar_sections.feature
|
750
791
|
- features/site_title.feature
|
751
792
|
- features/specifying_actions.feature
|
@@ -755,6 +796,7 @@ test_files:
|
|
755
796
|
- features/step_definitions/asset_steps.rb
|
756
797
|
- features/step_definitions/attribute_steps.rb
|
757
798
|
- features/step_definitions/batch_action_steps.rb
|
799
|
+
- features/step_definitions/blog_steps.rb
|
758
800
|
- features/step_definitions/breadcrumb_steps.rb
|
759
801
|
- features/step_definitions/comment_steps.rb
|
760
802
|
- features/step_definitions/configuration_steps.rb
|
@@ -772,40 +814,37 @@ test_files:
|
|
772
814
|
- features/step_definitions/pagination_steps.rb
|
773
815
|
- features/step_definitions/sidebar_steps.rb
|
774
816
|
- features/step_definitions/site_title_steps.rb
|
817
|
+
- features/step_definitions/symbol_leak_steps.rb
|
775
818
|
- features/step_definitions/tab_steps.rb
|
776
819
|
- features/step_definitions/table_steps.rb
|
777
820
|
- features/step_definitions/user_steps.rb
|
778
821
|
- features/step_definitions/web_steps.rb
|
779
822
|
- features/sti_resource.feature
|
823
|
+
- features/strong_parameters.feature
|
780
824
|
- features/support/env.rb
|
781
825
|
- features/support/paths.rb
|
782
826
|
- features/support/selectors.rb
|
827
|
+
- features/symbol_leak.feature
|
783
828
|
- features/users/logging_in.feature
|
784
829
|
- features/users/logging_out.feature
|
785
830
|
- features/users/resetting_password.feature
|
786
|
-
- spec/integration/default_namespace_spec.rb
|
787
|
-
- spec/integration/javascript_spec.rb
|
788
|
-
- spec/integration/memory_spec.rb
|
789
|
-
- spec/integration/stylesheets_spec.rb
|
790
831
|
- spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee
|
832
|
+
- spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee
|
791
833
|
- spec/javascripts/coffeescripts/jquery.aa.popover-spec.js.coffee
|
792
834
|
- spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee
|
793
|
-
- spec/javascripts/compiled/jquery.aa.checkbox-toggler-spec.js
|
794
|
-
- spec/javascripts/compiled/jquery.aa.popover-spec.js
|
795
|
-
- spec/javascripts/compiled/jquery.aa.table-checkbox-toggler-spec.js
|
796
835
|
- spec/javascripts/fixtures/checkboxes.html
|
836
|
+
- spec/javascripts/fixtures/flashes.html
|
797
837
|
- spec/javascripts/fixtures/table_checkboxes.html
|
798
838
|
- spec/javascripts/helpers/SpecHelper.js
|
799
|
-
- spec/javascripts/helpers/vendor/jasmine-fixture-0.0.5.js
|
800
|
-
- spec/javascripts/helpers/vendor/jasmine-jquery.js
|
801
|
-
- spec/javascripts/helpers/vendor/sinon-1.2.0.js
|
802
839
|
- spec/javascripts/support/jasmine.yml
|
803
840
|
- spec/javascripts/support/jasmine_config.rb
|
804
841
|
- spec/javascripts/support/jasmine_runner.rb
|
805
|
-
- spec/
|
806
|
-
- spec/
|
842
|
+
- spec/rails_helper.rb
|
843
|
+
- spec/requests/default_namespace_spec.rb
|
844
|
+
- spec/requests/javascript_spec.rb
|
845
|
+
- spec/requests/memory_spec.rb
|
846
|
+
- spec/requests/stylesheets_spec.rb
|
807
847
|
- spec/spec_helper.rb
|
808
|
-
- spec/spec_helper_without_rails.rb
|
809
848
|
- spec/support/deferred_garbage_collection.rb
|
810
849
|
- spec/support/detect_rails_version.rb
|
811
850
|
- spec/support/integration_example_group.rb
|
@@ -816,6 +855,14 @@ test_files:
|
|
816
855
|
- spec/support/templates/cucumber.rb
|
817
856
|
- spec/support/templates/cucumber_with_reloading.rb
|
818
857
|
- spec/support/templates/en.yml
|
858
|
+
- spec/support/templates/policies/active_admin/comment_policy.rb
|
859
|
+
- spec/support/templates/policies/active_admin/page_policy.rb
|
860
|
+
- spec/support/templates/policies/admin_user_policy.rb
|
861
|
+
- spec/support/templates/policies/application_policy.rb
|
862
|
+
- spec/support/templates/policies/category_policy.rb
|
863
|
+
- spec/support/templates/policies/post_policy.rb
|
864
|
+
- spec/support/templates/policies/store_policy.rb
|
865
|
+
- spec/support/templates/policies/user_policy.rb
|
819
866
|
- spec/support/templates/post_decorator.rb
|
820
867
|
- spec/unit/abstract_view_factory_spec.rb
|
821
868
|
- spec/unit/action_builder_spec.rb
|
@@ -824,6 +871,7 @@ test_files:
|
|
824
871
|
- spec/unit/asset_registration_spec.rb
|
825
872
|
- spec/unit/authorization/authorization_adapter_spec.rb
|
826
873
|
- spec/unit/authorization/controller_authorization_spec.rb
|
874
|
+
- spec/unit/authorization/index_overriding_spec.rb
|
827
875
|
- spec/unit/auto_link_spec.rb
|
828
876
|
- spec/unit/batch_actions/resource_spec.rb
|
829
877
|
- spec/unit/batch_actions/settings_spec.rb
|
@@ -834,16 +882,18 @@ test_files:
|
|
834
882
|
- spec/unit/config_shared_examples.rb
|
835
883
|
- spec/unit/controller_filters_spec.rb
|
836
884
|
- spec/unit/csv_builder_spec.rb
|
885
|
+
- spec/unit/dependency_spec.rb
|
837
886
|
- spec/unit/devise_spec.rb
|
838
887
|
- spec/unit/dsl_spec.rb
|
839
888
|
- spec/unit/event_spec.rb
|
840
889
|
- spec/unit/filters/filter_form_builder_spec.rb
|
841
890
|
- spec/unit/filters/resource_spec.rb
|
842
891
|
- spec/unit/form_builder_spec.rb
|
843
|
-
- spec/unit/generators/
|
892
|
+
- spec/unit/generators/install_spec.rb
|
844
893
|
- spec/unit/helpers/collection_spec.rb
|
845
894
|
- spec/unit/helpers/scope_chain_spec.rb
|
846
895
|
- spec/unit/helpers/settings_spec.rb
|
896
|
+
- spec/unit/i18n_spec.rb
|
847
897
|
- spec/unit/menu_collection_spec.rb
|
848
898
|
- spec/unit/menu_item_spec.rb
|
849
899
|
- spec/unit/menu_spec.rb
|
@@ -851,12 +901,13 @@ test_files:
|
|
851
901
|
- spec/unit/namespace/register_page_spec.rb
|
852
902
|
- spec/unit/namespace/register_resource_spec.rb
|
853
903
|
- spec/unit/namespace_spec.rb
|
904
|
+
- spec/unit/order_clause_spec.rb
|
854
905
|
- spec/unit/page_controller_spec.rb
|
855
906
|
- spec/unit/page_spec.rb
|
856
907
|
- spec/unit/pretty_format_spec.rb
|
857
|
-
- spec/unit/
|
858
|
-
- spec/unit/reloader_spec.rb
|
908
|
+
- spec/unit/pundit_adapter_spec.rb
|
859
909
|
- spec/unit/resource/action_items_spec.rb
|
910
|
+
- spec/unit/resource/includes_spec.rb
|
860
911
|
- spec/unit/resource/menu_spec.rb
|
861
912
|
- spec/unit/resource/naming_spec.rb
|
862
913
|
- spec/unit/resource/page_presenters_spec.rb
|
@@ -866,12 +917,12 @@ test_files:
|
|
866
917
|
- spec/unit/resource/sidebars_spec.rb
|
867
918
|
- spec/unit/resource_collection_spec.rb
|
868
919
|
- spec/unit/resource_controller/data_access_spec.rb
|
920
|
+
- spec/unit/resource_controller/decorators_spec.rb
|
869
921
|
- spec/unit/resource_controller/sidebars_spec.rb
|
870
922
|
- spec/unit/resource_controller_spec.rb
|
871
923
|
- spec/unit/resource_registration_spec.rb
|
872
924
|
- spec/unit/resource_spec.rb
|
873
925
|
- spec/unit/routing_spec.rb
|
874
|
-
- spec/unit/sass/helpers_spec.rb
|
875
926
|
- spec/unit/scope_spec.rb
|
876
927
|
- spec/unit/settings_spec.rb
|
877
928
|
- spec/unit/view_factory_spec.rb
|
@@ -879,6 +930,7 @@ test_files:
|
|
879
930
|
- spec/unit/view_helpers/display_name_spec.rb
|
880
931
|
- spec/unit/view_helpers/download_format_links_helper_spec.rb
|
881
932
|
- spec/unit/view_helpers/fields_for_spec.rb
|
933
|
+
- spec/unit/view_helpers/flash_helper_spec.rb
|
882
934
|
- spec/unit/view_helpers/form_helper_spec.rb
|
883
935
|
- spec/unit/view_helpers/method_or_proc_helper_spec.rb
|
884
936
|
- spec/unit/views/components/action_list_popover_spec.rb
|
@@ -887,6 +939,7 @@ test_files:
|
|
887
939
|
- spec/unit/views/components/blank_slate_spec.rb
|
888
940
|
- spec/unit/views/components/columns_spec.rb
|
889
941
|
- spec/unit/views/components/index_list_spec.rb
|
942
|
+
- spec/unit/views/components/index_table_for_spec.rb
|
890
943
|
- spec/unit/views/components/paginated_collection_spec.rb
|
891
944
|
- spec/unit/views/components/panel_spec.rb
|
892
945
|
- spec/unit/views/components/popover_spec.rb
|
@@ -894,7 +947,10 @@ test_files:
|
|
894
947
|
- spec/unit/views/components/site_title_spec.rb
|
895
948
|
- spec/unit/views/components/status_tag_spec.rb
|
896
949
|
- spec/unit/views/components/table_for_spec.rb
|
950
|
+
- spec/unit/views/components/tabs_spec.rb
|
951
|
+
- spec/unit/views/components/unsupported_browser_spec.rb
|
897
952
|
- spec/unit/views/pages/form_spec.rb
|
953
|
+
- spec/unit/views/pages/index_spec.rb
|
898
954
|
- spec/unit/views/pages/layout_spec.rb
|
899
955
|
- spec/unit/views/pages/show_spec.rb
|
900
956
|
- spec/unit/views/tabbed_navigation_spec.rb
|