activeadmin 1.0.0.pre4 → 1.0.0.pre5
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 +3 -3
- data/.travis.yml +48 -26
- data/Appraisals +103 -0
- data/CHANGELOG.md +12 -1
- data/CONTRIBUTING.md +85 -32
- data/Gemfile +13 -38
- data/README.md +10 -26
- data/Rakefile +41 -9
- data/activeadmin.gemspec +7 -4
- data/app/assets/javascripts/active_admin/initializers/filters.js.coffee +10 -3
- data/app/assets/javascripts/active_admin/jquery_ui.js.erb +11 -4
- data/app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee +8 -0
- data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +1 -1
- data/app/assets/javascripts/active_admin/lib/per_page.js.coffee +14 -3
- data/app/assets/stylesheets/active_admin/_forms.scss +1 -0
- data/app/views/active_admin/devise/registrations/new.html.erb +1 -1
- data/codecov.yml +23 -0
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/ru.yml +1 -0
- data/config/locales/sk.yml +110 -0
- data/docs/0-installation.md +3 -0
- data/docs/1-general-configuration.md +11 -0
- data/docs/10-custom-pages.md +25 -0
- data/docs/11-decorators.md +3 -0
- data/docs/12-arbre-components.md +3 -0
- data/docs/13-authorization-adapter.md +3 -0
- data/docs/14-gotchas.md +19 -0
- data/docs/2-resource-customization.md +21 -2
- data/docs/3-index-pages.md +21 -0
- data/docs/3-index-pages/custom-index.md +3 -0
- data/docs/3-index-pages/index-as-block.md +3 -0
- data/docs/3-index-pages/index-as-blog.md +3 -0
- data/docs/3-index-pages/index-as-grid.md +3 -0
- data/docs/3-index-pages/index-as-table.md +22 -0
- data/docs/4-csv-format.md +15 -0
- data/docs/5-forms.md +7 -3
- data/docs/6-show-pages.md +3 -0
- data/docs/7-sidebars.md +3 -0
- data/docs/8-custom-actions.md +3 -0
- data/docs/9-batch-actions.md +4 -1
- data/docs/CNAME +1 -0
- data/docs/Gemfile +2 -0
- data/docs/_config.yml +2 -0
- data/docs/_includes/footer.html +8 -0
- data/docs/_includes/google-analytics.html +16 -0
- data/docs/_includes/head.html +7 -0
- data/docs/_includes/toc.html +97 -0
- data/docs/_includes/top-menu.html +9 -0
- data/docs/_layouts/default.html +21 -0
- data/docs/documentation.md +62 -0
- data/docs/images/activeadmin.png +0 -0
- data/docs/images/code-header.png +0 -0
- data/docs/images/divider.png +0 -0
- data/docs/images/features.png +0 -0
- data/docs/index.html +130 -0
- data/docs/stylesheets/main.css +1199 -0
- data/features/action_item.feature +2 -2
- data/features/authorization_cancan.feature +3 -3
- data/features/belongs_to.feature +60 -2
- data/features/comments/commenting.feature +7 -7
- data/features/development_reloading.feature +1 -1
- data/features/edit_page.feature +9 -9
- data/features/footer.feature +28 -0
- data/features/i18n.feature +11 -0
- data/features/index/batch_actions.feature +28 -6
- data/features/index/filters.feature +31 -11
- data/features/index/format_as_csv.feature +13 -13
- data/features/index/formats.feature +4 -4
- data/features/index/index_as_block.feature +1 -1
- data/features/index/index_as_blog.feature +6 -6
- data/features/index/index_as_grid.feature +3 -3
- data/features/index/index_as_table.feature +11 -11
- data/features/index/index_blank_slate.feature +4 -4
- data/features/index/index_parameters.feature +10 -10
- data/features/index/index_scope_to.feature +3 -3
- data/features/index/index_scopes.feature +37 -18
- data/features/index/page_title.feature +3 -3
- data/features/index/pagination.feature +1 -1
- data/features/index/switch_index_view.feature +8 -8
- data/features/menu.feature +3 -3
- data/features/new_page.feature +8 -8
- data/features/registering_assets.feature +1 -1
- data/features/registering_pages.feature +73 -2
- data/features/registering_resources.feature +1 -1
- data/features/renamed_resource.feature +1 -1
- data/features/show/page_title.feature +3 -3
- data/features/sidebar_sections.feature +6 -6
- data/features/specifying_actions.feature +29 -4
- data/features/step_definitions/factory_steps.rb +1 -1
- data/features/step_definitions/footer_steps.rb +11 -0
- data/features/step_definitions/i18n_steps.rb +8 -0
- data/features/step_definitions/index_scope_steps.rb +4 -0
- data/features/step_definitions/sidebar_steps.rb +1 -3
- data/features/step_definitions/table_steps.rb +1 -5
- data/features/step_definitions/user_steps.rb +7 -0
- data/features/support/env.rb +6 -33
- data/features/support/paths.rb +5 -0
- data/features/users/logging_in.feature +2 -0
- data/gemfiles/rails_32.gemfile +54 -0
- data/gemfiles/rails_40.gemfile +53 -0
- data/gemfiles/rails_41.gemfile +53 -0
- data/gemfiles/rails_42.gemfile +53 -0
- data/gemfiles/rails_50.gemfile +46 -0
- data/lib/active_admin.rb +1 -0
- data/lib/active_admin/application.rb +11 -0
- data/lib/active_admin/batch_actions/resource_extension.rb +0 -8
- data/lib/active_admin/batch_actions/views/batch_action_form.rb +1 -1
- data/lib/active_admin/batch_actions/views/batch_action_selector.rb +1 -1
- data/lib/active_admin/dsl.rb +0 -6
- data/lib/active_admin/filters/active.rb +9 -1
- data/lib/active_admin/filters/formtastic_addons.rb +1 -1
- data/lib/active_admin/filters/humanized.rb +1 -1
- data/lib/active_admin/filters/resource_extension.rb +2 -4
- data/lib/active_admin/form_builder.rb +12 -6
- data/lib/active_admin/helpers/collection.rb +2 -0
- data/lib/active_admin/inputs.rb +1 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +9 -4
- data/lib/active_admin/inputs/filters/text_input.rb +26 -0
- data/lib/active_admin/localizers.rb +11 -0
- data/lib/active_admin/localizers/resource_localizer.rb +35 -0
- data/lib/active_admin/namespace.rb +1 -1
- data/lib/active_admin/order_clause.rb +29 -7
- data/lib/active_admin/page.rb +18 -4
- data/lib/active_admin/page_dsl.rb +4 -0
- data/lib/active_admin/resource.rb +16 -1
- data/lib/active_admin/resource/action_items.rb +7 -4
- data/lib/active_admin/resource/belongs_to.rb +4 -0
- data/lib/active_admin/resource/menu.rb +1 -1
- data/lib/active_admin/resource/ordering.rb +11 -0
- data/lib/active_admin/resource/routes.rb +34 -13
- data/lib/active_admin/resource/scopes.rb +1 -0
- data/lib/active_admin/resource_controller/data_access.rb +3 -10
- data/lib/active_admin/resource_dsl.rb +28 -1
- data/lib/active_admin/router.rb +5 -3
- data/lib/active_admin/scope.rb +3 -3
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers/auto_link_helper.rb +2 -2
- data/lib/active_admin/view_helpers/display_helper.rb +8 -3
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +5 -1
- data/lib/active_admin/views/components/active_admin_form.rb +11 -10
- data/lib/active_admin/views/components/attributes_table.rb +1 -1
- data/lib/active_admin/views/components/columns.rb +3 -3
- data/lib/active_admin/views/components/dropdown_menu.rb +2 -2
- data/lib/active_admin/views/components/index_list.rb +4 -1
- data/lib/active_admin/views/components/paginated_collection.rb +1 -0
- data/lib/active_admin/views/components/scopes.rb +8 -1
- data/lib/active_admin/views/components/site_title.rb +2 -2
- data/lib/active_admin/views/components/table_for.rb +3 -3
- data/lib/active_admin/views/footer.rb +17 -3
- data/lib/active_admin/views/index_as_table.rb +3 -3
- data/lib/active_admin/views/pages/base.rb +4 -2
- data/lib/active_admin/views/pages/form.rb +2 -3
- data/lib/active_admin/views/pages/show.rb +2 -1
- data/lib/bug_report_templates/rails_5_master.rb +120 -0
- data/lib/generators/active_admin/devise/devise_generator.rb +6 -3
- data/lib/generators/active_admin/install/install_generator.rb +1 -1
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +15 -1
- data/lib/generators/active_admin/install/templates/migrations/{create_active_admin_comments.rb → create_active_admin_comments.rb.erb} +14 -1
- data/lib/ransack_ext.rb +2 -2
- data/spec/bug_report_templates_spec.rb +27 -0
- data/spec/javascripts/support/jasmine_runner.rb +4 -17
- data/spec/rails_helper.rb +20 -109
- data/spec/requests/default_namespace_spec.rb +16 -28
- data/spec/requests/javascript_spec.rb +1 -1
- data/spec/requests/memory_spec.rb +5 -1
- data/spec/requests/stylesheets_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -10
- data/spec/support/active_admin_integration_spec_helper.rb +66 -0
- data/spec/support/active_admin_request_helpers.rb +12 -0
- data/spec/support/rails_template.rb +42 -15
- data/spec/support/rails_template_with_data.rb +24 -5
- data/spec/support/templates/manifest.js +3 -0
- data/spec/support/templates/policies/application_policy.rb +1 -1
- data/spec/unit/abstract_view_factory_spec.rb +1 -1
- data/spec/unit/action_builder_spec.rb +3 -12
- data/spec/unit/active_admin_spec.rb +1 -1
- data/spec/unit/application_spec.rb +5 -1
- data/spec/unit/asset_registration_spec.rb +1 -1
- data/spec/unit/authorization/authorization_adapter_spec.rb +1 -1
- data/spec/unit/authorization/controller_authorization_spec.rb +13 -9
- data/spec/unit/authorization/index_overriding_spec.rb +6 -6
- data/spec/unit/auto_link_spec.rb +48 -24
- data/spec/unit/batch_actions/resource_spec.rb +1 -14
- data/spec/unit/batch_actions/settings_spec.rb +1 -1
- data/spec/unit/belongs_to_spec.rb +9 -1
- data/spec/unit/cancan_adapter_spec.rb +1 -1
- data/spec/unit/comments_spec.rb +26 -19
- data/spec/unit/component_spec.rb +1 -1
- data/spec/unit/config_shared_examples.rb +1 -1
- data/spec/unit/controller_filters_spec.rb +1 -1
- data/spec/unit/csv_builder_spec.rb +5 -5
- data/spec/unit/dependency_spec.rb +1 -1
- data/spec/unit/devise_spec.rb +17 -3
- data/spec/unit/dsl_spec.rb +2 -2
- data/spec/unit/filters/active_spec.rb +21 -0
- data/spec/unit/filters/filter_form_builder_spec.rb +98 -31
- data/spec/unit/filters/humanized_spec.rb +9 -1
- data/spec/unit/filters/resource_spec.rb +5 -4
- data/spec/unit/form_builder_spec.rb +180 -33
- data/spec/unit/generators/install_spec.rb +12 -5
- data/spec/unit/helpers/collection_spec.rb +10 -7
- data/spec/unit/helpers/scope_chain_spec.rb +1 -1
- data/spec/unit/helpers/settings_spec.rb +1 -1
- data/spec/unit/i18n_spec.rb +1 -1
- data/spec/unit/localizers/resource_localizer_spec.rb +36 -0
- data/spec/unit/menu_collection_spec.rb +1 -1
- data/spec/unit/menu_item_spec.rb +1 -1
- data/spec/unit/menu_spec.rb +1 -1
- data/spec/unit/namespace/authorization_spec.rb +1 -1
- data/spec/unit/namespace/register_page_spec.rb +28 -2
- data/spec/unit/namespace/register_resource_spec.rb +3 -1
- data/spec/unit/namespace_spec.rb +23 -1
- data/spec/unit/order_clause_spec.rb +7 -7
- data/spec/unit/page_controller_spec.rb +1 -1
- data/spec/unit/page_spec.rb +55 -2
- data/spec/unit/pretty_format_spec.rb +8 -7
- data/spec/unit/pundit_adapter_spec.rb +1 -1
- data/spec/unit/resource/action_items_spec.rb +1 -1
- data/spec/unit/resource/includes_spec.rb +1 -1
- data/spec/unit/resource/menu_spec.rb +1 -1
- data/spec/unit/resource/naming_spec.rb +1 -1
- data/spec/unit/resource/ordering_spec.rb +38 -0
- data/spec/unit/resource/page_presenters_spec.rb +1 -1
- data/spec/unit/resource/pagination_spec.rb +1 -1
- data/spec/unit/resource/routes_spec.rb +101 -53
- data/spec/unit/resource/scopes_spec.rb +1 -1
- data/spec/unit/resource/sidebars_spec.rb +1 -1
- data/spec/unit/resource_collection_spec.rb +1 -1
- data/spec/unit/resource_controller/data_access_spec.rb +50 -1
- data/spec/unit/resource_controller/decorators_spec.rb +2 -2
- data/spec/unit/resource_controller/sidebars_spec.rb +16 -17
- data/spec/unit/resource_controller_spec.rb +50 -56
- data/spec/unit/resource_registration_spec.rb +9 -4
- data/spec/unit/resource_spec.rb +9 -1
- data/spec/unit/routing_spec.rb +30 -2
- data/spec/unit/scope_spec.rb +26 -2
- data/spec/unit/settings_spec.rb +2 -2
- data/spec/unit/view_factory_spec.rb +1 -1
- data/spec/unit/view_helpers/breadcrumbs_spec.rb +1 -1
- data/spec/unit/view_helpers/display_helper_spec.rb +18 -3
- data/spec/unit/view_helpers/download_format_links_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/fields_for_spec.rb +1 -1
- data/spec/unit/view_helpers/flash_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/form_helper_spec.rb +1 -1
- data/spec/unit/view_helpers/method_or_proc_helper_spec.rb +1 -1
- data/spec/unit/views/components/attributes_table_spec.rb +1 -1
- data/spec/unit/views/components/batch_action_selector_spec.rb +1 -1
- data/spec/unit/views/components/blank_slate_spec.rb +1 -1
- data/spec/unit/views/components/columns_spec.rb +1 -1
- data/spec/unit/views/components/index_list_spec.rb +18 -4
- data/spec/unit/views/components/index_table_for_spec.rb +1 -1
- data/spec/unit/views/components/paginated_collection_spec.rb +1 -1
- data/spec/unit/views/components/panel_spec.rb +1 -1
- data/spec/unit/views/components/sidebar_section_spec.rb +1 -1
- data/spec/unit/views/components/site_title_spec.rb +1 -1
- data/spec/unit/views/components/status_tag_spec.rb +1 -1
- data/spec/unit/views/components/table_for_spec.rb +9 -7
- data/spec/unit/views/components/tabs_spec.rb +1 -1
- data/spec/unit/views/components/unsupported_browser_spec.rb +3 -3
- data/spec/unit/views/index_as_blog_spec.rb +1 -1
- data/spec/unit/views/pages/form_spec.rb +1 -1
- data/spec/unit/views/pages/index_spec.rb +1 -1
- data/spec/unit/views/pages/layout_spec.rb +1 -1
- data/spec/unit/views/pages/show_spec.rb +1 -1
- data/spec/unit/views/tabbed_navigation_spec.rb +2 -2
- data/tasks/local.rake +25 -0
- data/tasks/parallel_tests.rake +4 -4
- data/tasks/test.rake +8 -53
- metadata +61 -18
- data/Guardfile +0 -8
- data/script/local +0 -53
- data/script/travis_cache +0 -107
- data/script/use_rails +0 -53
- data/spec/javascripts/support/jasmine_config.rb +0 -23
- data/spec/support/detect_rails_version.rb +0 -34
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
require 'active_admin/batch_actions/views/batch_action_selector'
|
3
3
|
|
4
|
-
describe ActiveAdmin::BatchActions::BatchActionSelector do
|
4
|
+
RSpec.describe ActiveAdmin::BatchActions::BatchActionSelector do
|
5
5
|
|
6
6
|
let(:dropdown) do
|
7
7
|
render_arbre_component do
|
@@ -1,16 +1,22 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe ActiveAdmin::Views::IndexList do
|
3
|
+
RSpec.describe ActiveAdmin::Views::IndexList do
|
4
4
|
|
5
5
|
describe "#index_list_renderer" do
|
6
6
|
|
7
|
-
|
8
7
|
let(:index_classes) { [ActiveAdmin::Views::IndexAsTable, ActiveAdmin::Views::IndexAsBlock] }
|
9
8
|
|
9
|
+
let(:collection) {
|
10
|
+
Post.create(title: 'First Post', starred: true)
|
11
|
+
Post.where(nil)
|
12
|
+
}
|
13
|
+
|
10
14
|
let(:helpers) do
|
11
15
|
helpers = mock_action_view
|
12
|
-
allow(helpers).to receive(:url_for).
|
13
|
-
allow(helpers).to receive(:
|
16
|
+
allow(helpers).to receive(:url_for) { |url| "/?#{ url.to_query }" }
|
17
|
+
allow(helpers.request).to receive(:query_parameters).and_return as: "table", q: { title_contains: "terms" }
|
18
|
+
allow(helpers).to receive(:params).and_return as: "table", q: { title_contains: "terms" }
|
19
|
+
allow(helpers).to receive(:collection).and_return(collection)
|
14
20
|
helpers
|
15
21
|
end
|
16
22
|
|
@@ -31,5 +37,13 @@ describe ActiveAdmin::Views::IndexList do
|
|
31
37
|
expect(a_tags.first.to_s).to include("Table")
|
32
38
|
expect(a_tags.last.to_s).to include("List")
|
33
39
|
end
|
40
|
+
|
41
|
+
it "should maintain index filter parameters" do
|
42
|
+
a_tags = subject.find_by_tag("a")
|
43
|
+
expect(a_tags.first.attributes[:href])
|
44
|
+
.to eq("/?#{ { as: "table", q: { title_contains: "terms" } }.to_query }")
|
45
|
+
expect(a_tags.last.attributes[:href])
|
46
|
+
.to eq("/?#{ { as: "block", q: { title_contains: "terms" } }.to_query }")
|
47
|
+
end
|
34
48
|
end
|
35
49
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe ActiveAdmin::Views::TableFor do
|
3
|
+
RSpec.describe ActiveAdmin::Views::TableFor do
|
4
4
|
describe "creating with the dsl" do
|
5
5
|
|
6
6
|
let(:collection) do
|
@@ -308,9 +308,10 @@ describe ActiveAdmin::Views::TableFor do
|
|
308
308
|
end
|
309
309
|
|
310
310
|
context "when i18n option is specified" do
|
311
|
-
|
312
|
-
|
313
|
-
|
311
|
+
around do |example|
|
312
|
+
with_translation(activerecord: { attributes: { post: { title: "Name" } } }) do
|
313
|
+
example.call
|
314
|
+
end
|
314
315
|
end
|
315
316
|
|
316
317
|
let(:table) do
|
@@ -327,9 +328,10 @@ describe ActiveAdmin::Views::TableFor do
|
|
327
328
|
end
|
328
329
|
|
329
330
|
context "when i18n option is not specified" do
|
330
|
-
|
331
|
-
|
332
|
-
|
331
|
+
around do |example|
|
332
|
+
with_translation(activerecord: { attributes: { post: { title: "Name" } } }) do
|
333
|
+
example.call
|
334
|
+
end
|
333
335
|
end
|
334
336
|
|
335
337
|
let(:collection) do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe ActiveAdmin::Views::UnsupportedBrowser do
|
3
|
+
RSpec.describe ActiveAdmin::Views::UnsupportedBrowser do
|
4
4
|
let(:helpers){ mock_action_view }
|
5
5
|
let(:namespace) { double :namespace, unsupported_browser_matcher: /MSIE [1-8]\.0/ }
|
6
6
|
let(:component) { double :unsupported_browser_component }
|
@@ -22,7 +22,7 @@ describe ActiveAdmin::Views::UnsupportedBrowser do
|
|
22
22
|
context "when the reqex match" do
|
23
23
|
it "should build the unsupported browser panel" do
|
24
24
|
expect(base).to receive(:active_admin_namespace).and_return(namespace)
|
25
|
-
expect(base).to receive_message_chain(:request, :user_agent).and_return("Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/6.0)")
|
25
|
+
expect(base).to receive_message_chain(:controller, :request, :user_agent).and_return("Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/6.0)")
|
26
26
|
expect(base).to receive(:view_factory).and_return(view_factory)
|
27
27
|
expect(base).to receive(:insert_tag).with(component)
|
28
28
|
base.send(:build_unsupported_browser)
|
@@ -32,7 +32,7 @@ describe ActiveAdmin::Views::UnsupportedBrowser do
|
|
32
32
|
context "when the regex not match" do
|
33
33
|
it "should not build the unsupported browser panel" do
|
34
34
|
expect(base).to receive(:active_admin_namespace).and_return(namespace)
|
35
|
-
expect(base).to receive_message_chain(:request, :user_agent).and_return("Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)")
|
35
|
+
expect(base).to receive_message_chain(:controller, :request, :user_agent).and_return("Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)")
|
36
36
|
expect(base).to receive(:insert_tag).never
|
37
37
|
base.send(:build_unsupported_browser)
|
38
38
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe ActiveAdmin::Views::Pages::Form do
|
3
|
+
RSpec.describe ActiveAdmin::Views::Pages::Form do
|
4
4
|
describe "#title" do
|
5
5
|
let!(:application){ ActiveAdmin::Application.new }
|
6
6
|
let(:namespace){ ActiveAdmin::Namespace.new(application, "Admin") }
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
describe ActiveAdmin::Views::Pages::Index do
|
3
|
+
RSpec.describe ActiveAdmin::Views::Pages::Index do
|
4
4
|
describe "#title" do
|
5
5
|
let!(:application){ ActiveAdmin::Application.new }
|
6
6
|
let(:namespace){ ActiveAdmin::Namespace.new(application, "Admin") }
|
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
|
-
|
4
|
-
describe ActiveAdmin::Views::TabbedNavigation do
|
3
|
+
RSpec.describe ActiveAdmin::Views::TabbedNavigation do
|
5
4
|
|
6
5
|
let(:menu){ ActiveAdmin::Menu.new }
|
7
6
|
|
@@ -17,6 +16,7 @@ describe ActiveAdmin::Views::TabbedNavigation do
|
|
17
16
|
let(:html) { Capybara.string(tabbed_navigation.to_s) }
|
18
17
|
|
19
18
|
before do
|
19
|
+
load_resources { ActiveAdmin.register Post }
|
20
20
|
allow(helpers).to receive(:admin_logged_in?).and_return(false)
|
21
21
|
end
|
22
22
|
|
data/tasks/local.rake
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
desc 'Runs a command agains the local sample application'
|
2
|
+
task local: :enforce_version do
|
3
|
+
Rake::Task['setup'].invoke(false,
|
4
|
+
'.test-rails-apps',
|
5
|
+
'rails_template_with_data')
|
6
|
+
|
7
|
+
app_folder = ".test-rails-apps/rails-#{Rails::VERSION::STRING}"
|
8
|
+
|
9
|
+
# Discard the "local" argument (name of the task)
|
10
|
+
argv = ARGV[1..-1]
|
11
|
+
|
12
|
+
# If it's a rails command, or we're using Rails 5, auto add the rails script
|
13
|
+
rails_commands = %w(generate console server dbconsole g c s runner)
|
14
|
+
|
15
|
+
if Rails::VERSION::MAJOR >= 5 || rails_commands.include?(argv[0])
|
16
|
+
argv.unshift('rails')
|
17
|
+
end
|
18
|
+
|
19
|
+
command = ['bundle', 'exec', *argv].join(' ')
|
20
|
+
env = { 'BUNDLE_GEMFILE' => ENV['BUNDLE_GEMFILE'] }
|
21
|
+
|
22
|
+
Dir.chdir(app_folder) do
|
23
|
+
Bundler.with_clean_env { Kernel.exec(env, command) }
|
24
|
+
end
|
25
|
+
end
|
data/tasks/parallel_tests.rake
CHANGED
@@ -2,7 +2,7 @@ require 'parallel'
|
|
2
2
|
require 'shellwords'
|
3
3
|
|
4
4
|
desc "Run the full suite using parallel_tests to run on multiple cores"
|
5
|
-
task :
|
5
|
+
task parallel_tests: ['parallel:setup_parallel_tests', 'parallel:spec', 'parallel:features', 'cucumber:class_reloading']
|
6
6
|
|
7
7
|
namespace :parallel do
|
8
8
|
|
@@ -20,7 +20,7 @@ namespace :parallel do
|
|
20
20
|
def parallel_tests_setup?
|
21
21
|
require 'rails/version'
|
22
22
|
database_config = File.join "spec", "rails", "rails-#{Rails::VERSION::STRING}", "config", "database.yml"
|
23
|
-
File.
|
23
|
+
File.exist?(database_config) && File.read(database_config).include?("TEST_ENV_NUMBER")
|
24
24
|
end
|
25
25
|
|
26
26
|
desc "Setup parallel_tests DBs"
|
@@ -43,7 +43,7 @@ namespace :parallel do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
desc "Run the specs in parallel"
|
46
|
-
task :
|
46
|
+
task spec: :setup_parallel_tests do
|
47
47
|
run_in_parallel "parallel_rspec spec/"
|
48
48
|
end
|
49
49
|
|
@@ -59,7 +59,7 @@ namespace :parallel do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
desc "Run the cucumber features in parallel"
|
62
|
-
task :
|
62
|
+
task features: :setup_parallel_tests do
|
63
63
|
run_in_parallel "parallel_cucumber features/"
|
64
64
|
end
|
65
65
|
|
data/tasks/test.rake
CHANGED
@@ -1,57 +1,9 @@
|
|
1
|
-
desc "Creates a test rails app for the specs to run against"
|
2
|
-
task :setup, :parallel do |t, opts|
|
3
|
-
require 'rails/version'
|
4
|
-
if File.exists? dir = "spec/rails/rails-#{Shellwords.escape detect_rails_version}"
|
5
|
-
puts "test app #{dir} already exists; skipping"
|
6
|
-
else
|
7
|
-
system 'mkdir -p spec/rails'
|
8
|
-
args = %w[
|
9
|
-
-m\ spec/support/rails_template.rb
|
10
|
-
--skip-gemfile
|
11
|
-
--skip-bundle
|
12
|
-
--skip-git
|
13
|
-
--skip-turbolinks
|
14
|
-
--skip-test-unit
|
15
|
-
]
|
16
|
-
system "#{'INSTALL_PARALLEL=yes' if opts[:parallel]} bundle exec rails new #{dir} #{args.join ' '}"
|
17
|
-
Rake::Task['parallel:after_setup_hook'].invoke if opts[:parallel]
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
1
|
desc "Run the full suite using 1 core"
|
22
|
-
task test: [
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
namespace :test do
|
29
|
-
|
30
|
-
def run_tests_against(*versions)
|
31
|
-
current_version = detect_rails_version if File.exists?("Gemfile.lock")
|
32
|
-
|
33
|
-
versions.each do |version|
|
34
|
-
puts
|
35
|
-
puts "== Using Rails #{version}"
|
36
|
-
|
37
|
-
cmd "./script/use_rails #{version}"
|
38
|
-
cmd "bundle exec rspec spec"
|
39
|
-
cmd "bundle exec cucumber features"
|
40
|
-
cmd "bundle exec cucumber -p class-reloading features"
|
41
|
-
end
|
42
|
-
|
43
|
-
cmd "./script/use_rails #{current_version}" if current_version
|
44
|
-
end
|
45
|
-
|
46
|
-
desc "Run the full suite against the important versions of rails"
|
47
|
-
task :major_supported_rails do
|
48
|
-
run_tests_against *TRAVIS_RAILS_VERSIONS
|
49
|
-
end
|
50
|
-
|
51
|
-
desc "Alias for major_supported_rails"
|
52
|
-
task :all => :major_supported_rails
|
53
|
-
|
54
|
-
end
|
2
|
+
task test: [:enforce_version,
|
3
|
+
'spec:unit',
|
4
|
+
'spec:request',
|
5
|
+
'cucumber',
|
6
|
+
'cucumber:class_reloading']
|
55
7
|
|
56
8
|
require 'rspec/core/rake_task'
|
57
9
|
|
@@ -76,16 +28,19 @@ require 'cucumber/rake/task'
|
|
76
28
|
|
77
29
|
Cucumber::Rake::Task.new(:cucumber) do |t|
|
78
30
|
t.profile = 'default'
|
31
|
+
t.bundler = false
|
79
32
|
end
|
80
33
|
|
81
34
|
namespace :cucumber do
|
82
35
|
|
83
36
|
Cucumber::Rake::Task.new(:wip, "Run the cucumber scenarios with the @wip tag") do |t|
|
84
37
|
t.profile = 'wip'
|
38
|
+
t.bundler = false
|
85
39
|
end
|
86
40
|
|
87
41
|
Cucumber::Rake::Task.new(:class_reloading, "Run the cucumber scenarios that test reloading") do |t|
|
88
42
|
t.profile = 'class-reloading'
|
43
|
+
t.bundler = false
|
89
44
|
end
|
90
45
|
|
91
46
|
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: 1.0.0.
|
4
|
+
version: 1.0.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Bell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arbre
|
@@ -132,18 +132,24 @@ dependencies:
|
|
132
132
|
name: kaminari
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0.15'
|
138
|
+
- - "<"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '2.0'
|
138
141
|
type: :runtime
|
139
142
|
prerelease: false
|
140
143
|
version_requirements: !ruby/object:Gem::Requirement
|
141
144
|
requirements:
|
142
|
-
- - "
|
145
|
+
- - ">="
|
143
146
|
- !ruby/object:Gem::Version
|
144
147
|
version: '0.15'
|
148
|
+
- - "<"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '2.0'
|
145
151
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
152
|
+
name: railties
|
147
153
|
requirement: !ruby/object:Gem::Requirement
|
148
154
|
requirements:
|
149
155
|
- - ">="
|
@@ -196,14 +202,14 @@ dependencies:
|
|
196
202
|
requirements:
|
197
203
|
- - "<"
|
198
204
|
- !ruby/object:Gem::Version
|
199
|
-
version: '4'
|
205
|
+
version: '4.1'
|
200
206
|
type: :runtime
|
201
207
|
prerelease: false
|
202
208
|
version_requirements: !ruby/object:Gem::Requirement
|
203
209
|
requirements:
|
204
210
|
- - "<"
|
205
211
|
- !ruby/object:Gem::Version
|
206
|
-
version: '4'
|
212
|
+
version: '4.1'
|
207
213
|
description: The administration framework for Ruby on Rails.
|
208
214
|
email:
|
209
215
|
- gregdbell@gmail.com
|
@@ -215,11 +221,11 @@ files:
|
|
215
221
|
- ".hound.yml"
|
216
222
|
- ".travis.yml"
|
217
223
|
- ".yardopts"
|
224
|
+
- Appraisals
|
218
225
|
- CHANGELOG.md
|
219
226
|
- CODE_OF_CONDUCT.md
|
220
227
|
- CONTRIBUTING.md
|
221
228
|
- Gemfile
|
222
|
-
- Guardfile
|
223
229
|
- LICENSE
|
224
230
|
- README.md
|
225
231
|
- Rakefile
|
@@ -301,6 +307,7 @@ files:
|
|
301
307
|
- app/views/active_admin/resource/show.html.arb
|
302
308
|
- app/views/layouts/active_admin.html.arb
|
303
309
|
- app/views/layouts/active_admin_logged_out.html.erb
|
310
|
+
- codecov.yml
|
304
311
|
- config/locales/ar.yml
|
305
312
|
- config/locales/bg.yml
|
306
313
|
- config/locales/bs.yml
|
@@ -333,6 +340,7 @@ files:
|
|
333
340
|
- config/locales/pt-PT.yml
|
334
341
|
- config/locales/ro.yml
|
335
342
|
- config/locales/ru.yml
|
343
|
+
- config/locales/sk.yml
|
336
344
|
- config/locales/sv-SE.yml
|
337
345
|
- config/locales/tr.yml
|
338
346
|
- config/locales/uk.yml
|
@@ -360,7 +368,23 @@ files:
|
|
360
368
|
- docs/7-sidebars.md
|
361
369
|
- docs/8-custom-actions.md
|
362
370
|
- docs/9-batch-actions.md
|
371
|
+
- docs/CNAME
|
372
|
+
- docs/Gemfile
|
363
373
|
- docs/README.md
|
374
|
+
- docs/_config.yml
|
375
|
+
- docs/_includes/footer.html
|
376
|
+
- docs/_includes/google-analytics.html
|
377
|
+
- docs/_includes/head.html
|
378
|
+
- docs/_includes/toc.html
|
379
|
+
- docs/_includes/top-menu.html
|
380
|
+
- docs/_layouts/default.html
|
381
|
+
- docs/documentation.md
|
382
|
+
- docs/images/activeadmin.png
|
383
|
+
- docs/images/code-header.png
|
384
|
+
- docs/images/divider.png
|
385
|
+
- docs/images/features.png
|
386
|
+
- docs/index.html
|
387
|
+
- docs/stylesheets/main.css
|
364
388
|
- features/action_item.feature
|
365
389
|
- features/authorization.feature
|
366
390
|
- features/authorization_cancan.feature
|
@@ -375,6 +399,7 @@ files:
|
|
375
399
|
- features/edit_page.feature
|
376
400
|
- features/favicon.feature
|
377
401
|
- features/first_boot.feature
|
402
|
+
- features/footer.feature
|
378
403
|
- features/global_navigation.feature
|
379
404
|
- features/i18n.feature
|
380
405
|
- features/index/batch_actions.feature
|
@@ -422,6 +447,7 @@ files:
|
|
422
447
|
- features/step_definitions/factory_steps.rb
|
423
448
|
- features/step_definitions/filter_steps.rb
|
424
449
|
- features/step_definitions/flash_steps.rb
|
450
|
+
- features/step_definitions/footer_steps.rb
|
425
451
|
- features/step_definitions/format_steps.rb
|
426
452
|
- features/step_definitions/i18n_steps.rb
|
427
453
|
- features/step_definitions/index_scope_steps.rb
|
@@ -447,6 +473,11 @@ files:
|
|
447
473
|
- features/users/logging_in.feature
|
448
474
|
- features/users/logging_out.feature
|
449
475
|
- features/users/resetting_password.feature
|
476
|
+
- gemfiles/rails_32.gemfile
|
477
|
+
- gemfiles/rails_40.gemfile
|
478
|
+
- gemfiles/rails_41.gemfile
|
479
|
+
- gemfiles/rails_42.gemfile
|
480
|
+
- gemfiles/rails_50.gemfile
|
450
481
|
- lib/active_admin.rb
|
451
482
|
- lib/active_admin/abstract_view_factory.rb
|
452
483
|
- lib/active_admin/application.rb
|
@@ -499,6 +530,9 @@ files:
|
|
499
530
|
- lib/active_admin/inputs/filters/numeric_input.rb
|
500
531
|
- lib/active_admin/inputs/filters/select_input.rb
|
501
532
|
- lib/active_admin/inputs/filters/string_input.rb
|
533
|
+
- lib/active_admin/inputs/filters/text_input.rb
|
534
|
+
- lib/active_admin/localizers.rb
|
535
|
+
- lib/active_admin/localizers/resource_localizer.rb
|
502
536
|
- lib/active_admin/menu.rb
|
503
537
|
- lib/active_admin/menu_collection.rb
|
504
538
|
- lib/active_admin/menu_item.rb
|
@@ -527,6 +561,7 @@ files:
|
|
527
561
|
- lib/active_admin/resource/includes.rb
|
528
562
|
- lib/active_admin/resource/menu.rb
|
529
563
|
- lib/active_admin/resource/naming.rb
|
564
|
+
- lib/active_admin/resource/ordering.rb
|
530
565
|
- lib/active_admin/resource/page_presenters.rb
|
531
566
|
- lib/active_admin/resource/pagination.rb
|
532
567
|
- lib/active_admin/resource/routes.rb
|
@@ -593,6 +628,7 @@ files:
|
|
593
628
|
- lib/active_admin/views/tabbed_navigation.rb
|
594
629
|
- lib/active_admin/views/title_bar.rb
|
595
630
|
- lib/activeadmin.rb
|
631
|
+
- lib/bug_report_templates/rails_5_master.rb
|
596
632
|
- lib/generators/active_admin/assets/assets_generator.rb
|
597
633
|
- lib/generators/active_admin/assets/templates/active_admin.js.coffee
|
598
634
|
- lib/generators/active_admin/assets/templates/active_admin.scss
|
@@ -601,16 +637,14 @@ files:
|
|
601
637
|
- lib/generators/active_admin/install/templates/active_admin.rb.erb
|
602
638
|
- lib/generators/active_admin/install/templates/admin_user.rb.erb
|
603
639
|
- lib/generators/active_admin/install/templates/dashboard.rb
|
604
|
-
- lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb
|
640
|
+
- lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb.erb
|
605
641
|
- lib/generators/active_admin/page/USAGE
|
606
642
|
- lib/generators/active_admin/page/page_generator.rb
|
607
643
|
- lib/generators/active_admin/page/templates/page.rb
|
608
644
|
- lib/generators/active_admin/resource/resource_generator.rb
|
609
645
|
- lib/generators/active_admin/resource/templates/admin.rb
|
610
646
|
- lib/ransack_ext.rb
|
611
|
-
-
|
612
|
-
- script/travis_cache
|
613
|
-
- script/use_rails
|
647
|
+
- spec/bug_report_templates_spec.rb
|
614
648
|
- spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee
|
615
649
|
- spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee
|
616
650
|
- spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee
|
@@ -619,7 +653,6 @@ files:
|
|
619
653
|
- spec/javascripts/fixtures/table_checkboxes.html
|
620
654
|
- spec/javascripts/helpers/SpecHelper.js
|
621
655
|
- spec/javascripts/support/jasmine.yml
|
622
|
-
- spec/javascripts/support/jasmine_config.rb
|
623
656
|
- spec/javascripts/support/jasmine_runner.rb
|
624
657
|
- spec/rails_helper.rb
|
625
658
|
- spec/requests/default_namespace_spec.rb
|
@@ -627,14 +660,15 @@ files:
|
|
627
660
|
- spec/requests/memory_spec.rb
|
628
661
|
- spec/requests/stylesheets_spec.rb
|
629
662
|
- spec/spec_helper.rb
|
663
|
+
- spec/support/active_admin_integration_spec_helper.rb
|
630
664
|
- spec/support/active_admin_request_helpers.rb
|
631
665
|
- spec/support/deferred_garbage_collection.rb
|
632
|
-
- spec/support/detect_rails_version.rb
|
633
666
|
- spec/support/jslint.yml
|
634
667
|
- spec/support/rails_template.rb
|
635
668
|
- spec/support/rails_template_with_data.rb
|
636
669
|
- spec/support/templates/admin/stores.rb
|
637
670
|
- spec/support/templates/en.yml
|
671
|
+
- spec/support/templates/manifest.js
|
638
672
|
- spec/support/templates/policies/active_admin/comment_policy.rb
|
639
673
|
- spec/support/templates/policies/active_admin/page_policy.rb
|
640
674
|
- spec/support/templates/policies/admin_user_policy.rb
|
@@ -665,6 +699,7 @@ files:
|
|
665
699
|
- spec/unit/dependency_spec.rb
|
666
700
|
- spec/unit/devise_spec.rb
|
667
701
|
- spec/unit/dsl_spec.rb
|
702
|
+
- spec/unit/filters/active_spec.rb
|
668
703
|
- spec/unit/filters/filter_form_builder_spec.rb
|
669
704
|
- spec/unit/filters/humanized_spec.rb
|
670
705
|
- spec/unit/filters/resource_spec.rb
|
@@ -674,6 +709,7 @@ files:
|
|
674
709
|
- spec/unit/helpers/scope_chain_spec.rb
|
675
710
|
- spec/unit/helpers/settings_spec.rb
|
676
711
|
- spec/unit/i18n_spec.rb
|
712
|
+
- spec/unit/localizers/resource_localizer_spec.rb
|
677
713
|
- spec/unit/menu_collection_spec.rb
|
678
714
|
- spec/unit/menu_item_spec.rb
|
679
715
|
- spec/unit/menu_spec.rb
|
@@ -690,6 +726,7 @@ files:
|
|
690
726
|
- spec/unit/resource/includes_spec.rb
|
691
727
|
- spec/unit/resource/menu_spec.rb
|
692
728
|
- spec/unit/resource/naming_spec.rb
|
729
|
+
- spec/unit/resource/ordering_spec.rb
|
693
730
|
- spec/unit/resource/page_presenters_spec.rb
|
694
731
|
- spec/unit/resource/pagination_spec.rb
|
695
732
|
- spec/unit/resource/routes_spec.rb
|
@@ -734,6 +771,7 @@ files:
|
|
734
771
|
- spec/unit/views/pages/show_spec.rb
|
735
772
|
- spec/unit/views/tabbed_navigation_spec.rb
|
736
773
|
- tasks/docs.rake
|
774
|
+
- tasks/local.rake
|
737
775
|
- tasks/parallel_tests.rake
|
738
776
|
- tasks/test.rake
|
739
777
|
- tasks/yard.rake
|
@@ -757,7 +795,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
757
795
|
version: 1.3.1
|
758
796
|
requirements: []
|
759
797
|
rubyforge_project:
|
760
|
-
rubygems_version: 2.
|
798
|
+
rubygems_version: 2.6.10
|
761
799
|
signing_key:
|
762
800
|
specification_version: 4
|
763
801
|
summary: The administration framework for Ruby on Rails.
|
@@ -776,6 +814,7 @@ test_files:
|
|
776
814
|
- features/edit_page.feature
|
777
815
|
- features/favicon.feature
|
778
816
|
- features/first_boot.feature
|
817
|
+
- features/footer.feature
|
779
818
|
- features/global_navigation.feature
|
780
819
|
- features/i18n.feature
|
781
820
|
- features/index/batch_actions.feature
|
@@ -823,6 +862,7 @@ test_files:
|
|
823
862
|
- features/step_definitions/factory_steps.rb
|
824
863
|
- features/step_definitions/filter_steps.rb
|
825
864
|
- features/step_definitions/flash_steps.rb
|
865
|
+
- features/step_definitions/footer_steps.rb
|
826
866
|
- features/step_definitions/format_steps.rb
|
827
867
|
- features/step_definitions/i18n_steps.rb
|
828
868
|
- features/step_definitions/index_scope_steps.rb
|
@@ -848,6 +888,7 @@ test_files:
|
|
848
888
|
- features/users/logging_in.feature
|
849
889
|
- features/users/logging_out.feature
|
850
890
|
- features/users/resetting_password.feature
|
891
|
+
- spec/bug_report_templates_spec.rb
|
851
892
|
- spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee
|
852
893
|
- spec/javascripts/coffeescripts/jquery.aa.flash.js.coffee
|
853
894
|
- spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee
|
@@ -856,7 +897,6 @@ test_files:
|
|
856
897
|
- spec/javascripts/fixtures/table_checkboxes.html
|
857
898
|
- spec/javascripts/helpers/SpecHelper.js
|
858
899
|
- spec/javascripts/support/jasmine.yml
|
859
|
-
- spec/javascripts/support/jasmine_config.rb
|
860
900
|
- spec/javascripts/support/jasmine_runner.rb
|
861
901
|
- spec/rails_helper.rb
|
862
902
|
- spec/requests/default_namespace_spec.rb
|
@@ -864,14 +904,15 @@ test_files:
|
|
864
904
|
- spec/requests/memory_spec.rb
|
865
905
|
- spec/requests/stylesheets_spec.rb
|
866
906
|
- spec/spec_helper.rb
|
907
|
+
- spec/support/active_admin_integration_spec_helper.rb
|
867
908
|
- spec/support/active_admin_request_helpers.rb
|
868
909
|
- spec/support/deferred_garbage_collection.rb
|
869
|
-
- spec/support/detect_rails_version.rb
|
870
910
|
- spec/support/jslint.yml
|
871
911
|
- spec/support/rails_template.rb
|
872
912
|
- spec/support/rails_template_with_data.rb
|
873
913
|
- spec/support/templates/admin/stores.rb
|
874
914
|
- spec/support/templates/en.yml
|
915
|
+
- spec/support/templates/manifest.js
|
875
916
|
- spec/support/templates/policies/active_admin/comment_policy.rb
|
876
917
|
- spec/support/templates/policies/active_admin/page_policy.rb
|
877
918
|
- spec/support/templates/policies/admin_user_policy.rb
|
@@ -902,6 +943,7 @@ test_files:
|
|
902
943
|
- spec/unit/dependency_spec.rb
|
903
944
|
- spec/unit/devise_spec.rb
|
904
945
|
- spec/unit/dsl_spec.rb
|
946
|
+
- spec/unit/filters/active_spec.rb
|
905
947
|
- spec/unit/filters/filter_form_builder_spec.rb
|
906
948
|
- spec/unit/filters/humanized_spec.rb
|
907
949
|
- spec/unit/filters/resource_spec.rb
|
@@ -911,6 +953,7 @@ test_files:
|
|
911
953
|
- spec/unit/helpers/scope_chain_spec.rb
|
912
954
|
- spec/unit/helpers/settings_spec.rb
|
913
955
|
- spec/unit/i18n_spec.rb
|
956
|
+
- spec/unit/localizers/resource_localizer_spec.rb
|
914
957
|
- spec/unit/menu_collection_spec.rb
|
915
958
|
- spec/unit/menu_item_spec.rb
|
916
959
|
- spec/unit/menu_spec.rb
|
@@ -927,6 +970,7 @@ test_files:
|
|
927
970
|
- spec/unit/resource/includes_spec.rb
|
928
971
|
- spec/unit/resource/menu_spec.rb
|
929
972
|
- spec/unit/resource/naming_spec.rb
|
973
|
+
- spec/unit/resource/ordering_spec.rb
|
930
974
|
- spec/unit/resource/page_presenters_spec.rb
|
931
975
|
- spec/unit/resource/pagination_spec.rb
|
932
976
|
- spec/unit/resource/routes_spec.rb
|
@@ -970,4 +1014,3 @@ test_files:
|
|
970
1014
|
- spec/unit/views/pages/layout_spec.rb
|
971
1015
|
- spec/unit/views/pages/show_spec.rb
|
972
1016
|
- spec/unit/views/tabbed_navigation_spec.rb
|
973
|
-
has_rdoc:
|