pwice_grid 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +68 -0
- data/.circleci/run-build-locally.sh +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- data/.gitignore +22 -0
- data/.inch.yml +3 -0
- data/.rspec +3 -0
- data/.rubocop.yml +186 -0
- data/Appraisals +11 -0
- data/CHANGELOG.md +758 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +298 -0
- data/MIT-LICENSE +20 -0
- data/README.md +1561 -0
- data/Rakefile +49 -0
- data/SAVED_QUERIES_HOWTO.md +113 -0
- data/app/views/kaminari/wice_grid/_gap.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_next_page.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_page.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_paginator.html.erb +19 -0
- data/app/views/kaminari/wice_grid/_prev_page.html.erb +1 -0
- data/config/locales/cz.yml +40 -0
- data/config/locales/de.yml +42 -0
- data/config/locales/en.yml +42 -0
- data/config/locales/es.yml +42 -0
- data/config/locales/fr.yml +40 -0
- data/config/locales/is.yml +41 -0
- data/config/locales/it.yml +33 -0
- data/config/locales/ja.yml +42 -0
- data/config/locales/nl.yml +40 -0
- data/config/locales/pt-BR.yml +31 -0
- data/config/locales/pt.yml +40 -0
- data/config/locales/ru.yml +40 -0
- data/config/locales/sk.yml +40 -0
- data/config/locales/uk.yml +40 -0
- data/config/locales/zh.yml +40 -0
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +299 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +299 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile.lock +307 -0
- data/lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb +19 -0
- data/lib/generators/wice_grid/install_generator.rb +13 -0
- data/lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb +13 -0
- data/lib/generators/wice_grid/templates/wice_grid_config.rb +191 -0
- data/lib/wice/active_record_column_wrapper.rb +122 -0
- data/lib/wice/columns.rb +282 -0
- data/lib/wice/columns/column_action.rb +51 -0
- data/lib/wice/columns/column_boolean.rb +39 -0
- data/lib/wice/columns/column_bootstrap_datepicker.rb +47 -0
- data/lib/wice/columns/column_custom_dropdown.rb +114 -0
- data/lib/wice/columns/column_float.rb +8 -0
- data/lib/wice/columns/column_html5_datepicker.rb +30 -0
- data/lib/wice/columns/column_integer.rb +87 -0
- data/lib/wice/columns/column_jquery_datepicker.rb +48 -0
- data/lib/wice/columns/column_processor_index.rb +22 -0
- data/lib/wice/columns/column_rails_date_helper.rb +40 -0
- data/lib/wice/columns/column_rails_datetime_helper.rb +40 -0
- data/lib/wice/columns/column_range.rb +73 -0
- data/lib/wice/columns/column_string.rb +91 -0
- data/lib/wice/columns/common_date_datetime_mixin.rb +19 -0
- data/lib/wice/columns/common_js_date_datetime_conditions_generator_mixin.rb +38 -0
- data/lib/wice/columns/common_js_date_datetime_mixin.rb +14 -0
- data/lib/wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb +25 -0
- data/lib/wice/columns/common_standard_helper_date_datetime_mixin.rb +21 -0
- data/lib/wice/grid_output_buffer.rb +48 -0
- data/lib/wice/grid_renderer.rb +624 -0
- data/lib/wice/helpers/bs_calendar_helpers.rb +73 -0
- data/lib/wice/helpers/js_calendar_helpers.rb +82 -0
- data/lib/wice/helpers/wice_grid_misc_view_helpers.rb +74 -0
- data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +94 -0
- data/lib/wice/helpers/wice_grid_view_helpers.rb +719 -0
- data/lib/wice/kaminari_monkey_patching.rb +12 -0
- data/lib/wice/table_column_matrix.rb +64 -0
- data/lib/wice/wice_grid_controller.rb +174 -0
- data/lib/wice/wice_grid_core_ext.rb +145 -0
- data/lib/wice/wice_grid_misc.rb +208 -0
- data/lib/wice/wice_grid_serialized_queries_controller.rb +86 -0
- data/lib/wice/wice_grid_serialized_query.rb +13 -0
- data/lib/wice/wice_grid_spreadsheet.rb +19 -0
- data/lib/wice_grid.rb +702 -0
- data/spec/acceptance_helper.rb +59 -0
- data/spec/features/action_column_request_spec.rb +280 -0
- data/spec/features/adding_rows_request_spec.rb +21 -0
- data/spec/features/all_records_request_spec.rb +18 -0
- data/spec/features/auto_reloads2_request_spec.rb +366 -0
- data/spec/features/auto_reloads3_request_spec.rb +130 -0
- data/spec/features/auto_reloads_request_spec.rb +364 -0
- data/spec/features/basics1_request_spec.rb +11 -0
- data/spec/features/basics2_request_spec.rb +10 -0
- data/spec/features/basics3_request_spec.rb +29 -0
- data/spec/features/basics4_request_spec.rb +19 -0
- data/spec/features/basics5_request_spec.rb +13 -0
- data/spec/features/basics6_request_spec.rb +22 -0
- data/spec/features/blockless_column_definition_spec.rb +27 -0
- data/spec/features/buttons_request_spec.rb +172 -0
- data/spec/features/csv_and_detached_filters_spec.rb +10 -0
- data/spec/features/csv_export_request_spec.rb +13 -0
- data/spec/features/custom_filter_params_request_spec.rb +29 -0
- data/spec/features/custom_filters1_request_spec.rb +136 -0
- data/spec/features/custom_filters2_request_spec.rb +31 -0
- data/spec/features/custom_filters3_request_spec.rb +34 -0
- data/spec/features/custom_filters4_request_spec.rb +13 -0
- data/spec/features/custom_ordering_on_calculated_request_spec.rb +30 -0
- data/spec/features/custom_ordering_request_spec.rb +36 -0
- data/spec/features/custom_ordering_with_arel_request_spec.rb +36 -0
- data/spec/features/custom_ordering_with_proc_request_spec.rb +44 -0
- data/spec/features/custom_ordering_with_ruby_request_spec.rb +30 -0
- data/spec/features/dates_request_spec.rb +56 -0
- data/spec/features/detached_filters_spec.rb +10 -0
- data/spec/features/detached_filters_two_grids_spec.rb +135 -0
- data/spec/features/disable_all_filters_spec.rb +22 -0
- data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +294 -0
- data/spec/features/integration_with_application_view_request_spec.rb +43 -0
- data/spec/features/integration_with_forms_request_spec.rb +141 -0
- data/spec/features/joining_tables_spec.rb +40 -0
- data/spec/features/localization_request_spec.rb +24 -0
- data/spec/features/many_grids_on_page_request_spec.rb +104 -0
- data/spec/features/negation_request_spec.rb +25 -0
- data/spec/features/no_records_request_spec.rb +26 -0
- data/spec/features/numeric_filters_request_spec.rb +10 -0
- data/spec/features/resultset_processings2_request_spec.rb +27 -0
- data/spec/features/resultset_processings_request_spec.rb +30 -0
- data/spec/features/saved_queries_request_spec.rb +120 -0
- data/spec/features/shared.rb +1005 -0
- data/spec/features/shared_detached_filters.rb +175 -0
- data/spec/features/styling_spec.rb +15 -0
- data/spec/features/two_associations_spec.rb +48 -0
- data/spec/features/upper_pagination_panel_request_spec.rb +23 -0
- data/spec/features/when_filtered_spec.rb +209 -0
- data/spec/fixtures/.gitkeep +0 -0
- data/spec/fixtures/companies.yml +21 -0
- data/spec/fixtures/priorities.yml +31 -0
- data/spec/fixtures/project_roles.yml +25 -0
- data/spec/fixtures/projects.yml +22 -0
- data/spec/fixtures/statuses.yml +55 -0
- data/spec/fixtures/tasks.yml +751 -0
- data/spec/fixtures/tasks_users.yml +2089 -0
- data/spec/fixtures/users.yml +61 -0
- data/spec/fixtures/versions.yml +78 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/priority_spec.rb +6 -0
- data/spec/models/project_spec.rb +11 -0
- data/spec/models/status_spec.rb +6 -0
- data/spec/models/task_spec.rb +12 -0
- data/spec/models/user_project_participation_spec.rb +7 -0
- data/spec/models/user_spec.rb +12 -0
- data/spec/models/version_spec.rb +5 -0
- data/spec/rails_helper.rb +15 -0
- data/spec/schema.rb +8 -0
- data/spec/spec_helper.rb +75 -0
- data/spec/support/active_record.rb +10 -0
- data/spec/support/test_app/Rakefile +3 -0
- data/spec/support/test_app/app/assets/javascripts/application.js +20 -0
- data/spec/support/test_app/app/assets/javascripts/common.js.coffee +6 -0
- data/spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js +56 -0
- data/spec/support/test_app/app/assets/stylesheets/adding_rows.scss +3 -0
- data/spec/support/test_app/app/assets/stylesheets/application.scss +46 -0
- data/spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss +3 -0
- data/spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss +3 -0
- data/spec/support/test_app/app/controllers/action_column_controller.rb +15 -0
- data/spec/support/test_app/app/controllers/adding_rows_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/all_records_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/application_controller.rb +99 -0
- data/spec/support/test_app/app/controllers/auto_reloads2_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/auto_reloads3_controller.rb +20 -0
- data/spec/support/test_app/app/controllers/auto_reloads_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/basics1_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics2_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics3_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics4_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics5_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics6_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/blockless_column_definition_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/buttons_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +13 -0
- data/spec/support/test_app/app/controllers/csv_export_controller.rb +28 -0
- data/spec/support/test_app/app/controllers/custom_filter_params_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/custom_filters1_controller.rb +9 -0
- data/spec/support/test_app/app/controllers/custom_filters2_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/custom_filters3_controller.rb +12 -0
- data/spec/support/test_app/app/controllers/custom_filters4_controller.rb +12 -0
- data/spec/support/test_app/app/controllers/custom_ordering_controller.rb +18 -0
- data/spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb +18 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/dates_controller.rb +8 -0
- data/spec/support/test_app/app/controllers/detached_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/disable_all_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb +13 -0
- data/spec/support/test_app/app/controllers/home_controller.rb +3 -0
- data/spec/support/test_app/app/controllers/integration_with_application_view_controller.rb +16 -0
- data/spec/support/test_app/app/controllers/integration_with_forms_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/joining_tables_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/localization_controller.rb +26 -0
- data/spec/support/test_app/app/controllers/many_grids_on_page_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/negation_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/no_records_controller.rb +8 -0
- data/spec/support/test_app/app/controllers/null_values_controller.rb +10 -0
- data/spec/support/test_app/app/controllers/numeric_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/queries_controller.rb +4 -0
- data/spec/support/test_app/app/controllers/resultset_processings2_controller.rb +29 -0
- data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +30 -0
- data/spec/support/test_app/app/controllers/saved_queries_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/styling_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/tasks_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/two_associations_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/when_filtered_controller.rb +6 -0
- data/spec/support/test_app/app/helpers/application_helper.rb +82 -0
- data/spec/support/test_app/app/mailers/.gitkeep +0 -0
- data/spec/support/test_app/app/models/.gitkeep +0 -0
- data/spec/support/test_app/app/models/company.rb +5 -0
- data/spec/support/test_app/app/models/populate.rb +84 -0
- data/spec/support/test_app/app/models/priority.rb +10 -0
- data/spec/support/test_app/app/models/project.rb +14 -0
- data/spec/support/test_app/app/models/project_role.rb +3 -0
- data/spec/support/test_app/app/models/status.rb +10 -0
- data/spec/support/test_app/app/models/task.rb +11 -0
- data/spec/support/test_app/app/models/to_dropdown_mixin.rb +16 -0
- data/spec/support/test_app/app/models/user.rb +8 -0
- data/spec/support/test_app/app/models/user_project_participation.rb +6 -0
- data/spec/support/test_app/app/models/version.rb +6 -0
- data/spec/support/test_app/app/views/action_column/_grid.html.erb +35 -0
- data/spec/support/test_app/app/views/action_column/index.html.haml +45 -0
- data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +58 -0
- data/spec/support/test_app/app/views/adding_rows/index.html.haml +37 -0
- data/spec/support/test_app/app/views/all_records/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/all_records/index.html.haml +12 -0
- data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +32 -0
- data/spec/support/test_app/app/views/auto_reloads/index.html.haml +15 -0
- data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +32 -0
- data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +65 -0
- data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +25 -0
- data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +78 -0
- data/spec/support/test_app/app/views/basics1/_grid.html.erb +26 -0
- data/spec/support/test_app/app/views/basics1/index.html.haml +13 -0
- data/spec/support/test_app/app/views/basics2/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/basics2/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics3/_grid.html.erb +28 -0
- data/spec/support/test_app/app/views/basics3/index.html.haml +13 -0
- data/spec/support/test_app/app/views/basics4/_grid.html.erb +21 -0
- data/spec/support/test_app/app/views/basics4/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics5/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/basics5/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics6/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/basics6/index.html.haml +23 -0
- data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +15 -0
- data/spec/support/test_app/app/views/buttons/_grid.html.erb +20 -0
- data/spec/support/test_app/app/views/buttons/index.html.haml +30 -0
- data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +58 -0
- data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +17 -0
- data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +43 -0
- data/spec/support/test_app/app/views/csv_export/index.html.haml +90 -0
- data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +12 -0
- data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +12 -0
- data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +8 -0
- data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +9 -0
- data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +9 -0
- data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +8 -0
- data/spec/support/test_app/app/views/custom_filters1/index.html.haml +30 -0
- data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/custom_filters2/index.html.haml +41 -0
- data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +18 -0
- data/spec/support/test_app/app/views/custom_filters3/index.html.haml +16 -0
- data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +20 -0
- data/spec/support/test_app/app/views/custom_filters4/index.html.haml +12 -0
- data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering/index.html.haml +24 -0
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +14 -0
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +23 -0
- data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +24 -0
- data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +21 -0
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +23 -0
- data/spec/support/test_app/app/views/dates/_grid.html.erb +25 -0
- data/spec/support/test_app/app/views/dates/index.html.haml +52 -0
- data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/detached_filters/index.html.haml +79 -0
- data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +85 -0
- data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +21 -0
- data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +14 -0
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +34 -0
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +32 -0
- data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +33 -0
- data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +18 -0
- data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/joining_tables/index.html.haml +26 -0
- data/spec/support/test_app/app/views/layouts/application.html.haml +61 -0
- data/spec/support/test_app/app/views/localization/_grid.html.erb +36 -0
- data/spec/support/test_app/app/views/localization/index.html.haml +20 -0
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +12 -0
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +12 -0
- data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +26 -0
- data/spec/support/test_app/app/views/negation/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/negation/index.html.haml +15 -0
- data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +1 -0
- data/spec/support/test_app/app/views/no_records/_grid1.html.erb +11 -0
- data/spec/support/test_app/app/views/no_records/_grid2.html.erb +9 -0
- data/spec/support/test_app/app/views/no_records/_grid3.html.erb +9 -0
- data/spec/support/test_app/app/views/no_records/index.html.haml +24 -0
- data/spec/support/test_app/app/views/null_values/_grid.html.erb +17 -0
- data/spec/support/test_app/app/views/null_values/index.html.haml +21 -0
- data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/numeric_filters/index.html.haml +12 -0
- data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/resultset_processings/index.html.haml +50 -0
- data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +48 -0
- data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/saved_queries/index.html.haml +15 -0
- data/spec/support/test_app/app/views/styling/_grid1.html.erb +12 -0
- data/spec/support/test_app/app/views/styling/_grid2.html.erb +31 -0
- data/spec/support/test_app/app/views/styling/index.html.haml +65 -0
- data/spec/support/test_app/app/views/tasks/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/tasks/index.html.haml +1 -0
- data/spec/support/test_app/app/views/two_associations/_grid.html.erb +13 -0
- data/spec/support/test_app/app/views/two_associations/index.html.haml +13 -0
- data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +14 -0
- data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/when_filtered/index.html.haml +15 -0
- data/spec/support/test_app/bin/rails +4 -0
- data/spec/support/test_app/bin/rake +4 -0
- data/spec/support/test_app/config.ru +5 -0
- data/spec/support/test_app/config/application.rb +70 -0
- data/spec/support/test_app/config/boot.rb +7 -0
- data/spec/support/test_app/config/database.travis.yml +27 -0
- data/spec/support/test_app/config/database.yml +16 -0
- data/spec/support/test_app/config/database.yml.mysql +19 -0
- data/spec/support/test_app/config/database.yml.postgresql +18 -0
- data/spec/support/test_app/config/environment.rb +6 -0
- data/spec/support/test_app/config/environments/development.rb +34 -0
- data/spec/support/test_app/config/environments/production.rb +66 -0
- data/spec/support/test_app/config/environments/test.rb +34 -0
- data/spec/support/test_app/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/support/test_app/config/initializers/inflections.rb +16 -0
- data/spec/support/test_app/config/initializers/mime_types.rb +6 -0
- data/spec/support/test_app/config/initializers/secret_token.rb +12 -0
- data/spec/support/test_app/config/initializers/session_store.rb +9 -0
- data/spec/support/test_app/config/initializers/wice_grid_config.rb +163 -0
- data/spec/support/test_app/config/initializers/wrap_parameters.rb +15 -0
- data/spec/support/test_app/config/locales/en.yml +5 -0
- data/spec/support/test_app/config/locales/wice_grid.yml +550 -0
- data/spec/support/test_app/config/puma.rb +15 -0
- data/spec/support/test_app/config/routes.rb +125 -0
- data/spec/support/test_app/db/migrate/20120224193505_create_tasks.rb +27 -0
- data/spec/support/test_app/db/migrate/20120224193517_create_users.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224193522_create_projects.rb +14 -0
- data/spec/support/test_app/db/migrate/20120224193529_create_priorities.rb +13 -0
- data/spec/support/test_app/db/migrate/20120224193537_create_statuses.rb +13 -0
- data/spec/support/test_app/db/migrate/20120224193543_create_versions.rb +15 -0
- data/spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224193610_create_companies.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb +16 -0
- data/spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb +11 -0
- data/spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb +14 -0
- data/spec/support/test_app/db/schema.rb +139 -0
- data/spec/support/test_app/db/seeds.rb +10 -0
- data/spec/support/test_app/lib/ar_fixtures.rb +100 -0
- data/spec/support/test_app/lib/assets/.gitkeep +0 -0
- data/spec/support/test_app/lib/tasks/.gitkeep +0 -0
- data/spec/support/test_app/lib/tasks/ar_fixtures.rake +45 -0
- data/spec/support/test_app/public/404.html +26 -0
- data/spec/support/test_app/public/422.html +26 -0
- data/spec/support/test_app/public/500.html +25 -0
- data/spec/support/test_app/public/favicon.ico +0 -0
- data/spec/support/test_app/public/robots.txt +5 -0
- data/spec/wice/grid_output_buffer_spec.rb +39 -0
- data/spec/wice/table_column_matrix_spec.rb +36 -0
- data/spec/wice/wice_grid_misc_spec.rb +157 -0
- data/spec/wice/wice_grid_spreadsheet_spec.rb +12 -0
- data/vendor/assets/javascripts/wice_grid.js +3 -0
- data/vendor/assets/javascripts/wice_grid_init.js.coffee +351 -0
- data/vendor/assets/javascripts/wice_grid_processor.js.coffee +133 -0
- data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +104 -0
- data/vendor/assets/stylesheets/wice_grid.scss +81 -0
- data/wice_grid.gemspec +54 -0
- metadata +861 -0
@@ -0,0 +1,104 @@
|
|
1
|
+
$(document).on 'page:load ready', -> savedQueriesInit()
|
2
|
+
$(document).on 'turbolinks:render', -> savedQueriesInit()
|
3
|
+
|
4
|
+
|
5
|
+
savedQueriesInit = ->
|
6
|
+
|
7
|
+
$('.wice-grid-save-query-field').keydown (event) ->
|
8
|
+
if event.keyCode == 13
|
9
|
+
saveQuery($(this).next(), event)
|
10
|
+
|
11
|
+
$(".wice-grid-save-query-button").click (event) ->
|
12
|
+
saveQuery(this, event)
|
13
|
+
|
14
|
+
$(".wice-grid-delete-query").click (event) ->
|
15
|
+
deleteQuery(this, event)
|
16
|
+
|
17
|
+
$(".wice-grid-query-load-link").click (event) ->
|
18
|
+
loadQuery(this, event)
|
19
|
+
|
20
|
+
loadQuery = (loadLink, event) ->
|
21
|
+
if gridProcessor = window.getGridProcessorForElement(loadLink)
|
22
|
+
queryId = $(loadLink).data('query-id')
|
23
|
+
|
24
|
+
request = gridProcessor.appendToUrl(
|
25
|
+
gridProcessor.buildUrlWithParams(),
|
26
|
+
gridProcessor.parameterNameForQueryLoading + encodeURIComponent(queryId)
|
27
|
+
)
|
28
|
+
|
29
|
+
gridProcessor.visit request
|
30
|
+
|
31
|
+
event.preventDefault()
|
32
|
+
event.stopPropagation()
|
33
|
+
false
|
34
|
+
|
35
|
+
|
36
|
+
deleteQuery = (deleteQueryButton, event) ->
|
37
|
+
|
38
|
+
confirmation = $(deleteQueryButton).data('wg-confirm')
|
39
|
+
|
40
|
+
invokeConfirmation = if confirmation
|
41
|
+
-> confirm(confirmation)
|
42
|
+
else
|
43
|
+
-> true
|
44
|
+
|
45
|
+
if invokeConfirmation() && (gridProcessor = window.getGridProcessorForElement(deleteQueryButton))
|
46
|
+
|
47
|
+
jQuery.ajax
|
48
|
+
url: $(deleteQueryButton).attr('href')
|
49
|
+
async: true
|
50
|
+
dataType: 'json'
|
51
|
+
success: (data, textStatus, jqXHR) ->
|
52
|
+
onChangeToQueryList(data, gridProcessor.name)
|
53
|
+
type: 'POST'
|
54
|
+
event.preventDefault()
|
55
|
+
event.stopPropagation()
|
56
|
+
false
|
57
|
+
|
58
|
+
saveQuery = (saveQueryButton, event) ->
|
59
|
+
if gridProcessor = window.getGridProcessorForElement(saveQueryButton)
|
60
|
+
_saveQueryButton = $(saveQueryButton)
|
61
|
+
basePathToQueryController = _saveQueryButton.data('base-path-to-query-controller')
|
62
|
+
gridState = _saveQueryButton.data('parameters')
|
63
|
+
inputIds = _saveQueryButton.data('ids')
|
64
|
+
inputField = _saveQueryButton.prev()
|
65
|
+
|
66
|
+
if inputIds instanceof Array
|
67
|
+
inputIds.each (domId) ->
|
68
|
+
gridState.push(['extra[' + domId + ']', $('#'+ domId).val()])
|
69
|
+
|
70
|
+
queryName = inputField.val()
|
71
|
+
|
72
|
+
requestPath = gridProcessor.gridStateToRequest(gridState)
|
73
|
+
|
74
|
+
jQuery.ajax
|
75
|
+
url: basePathToQueryController
|
76
|
+
async: true
|
77
|
+
data: requestPath + '&query_name=' + encodeURIComponent(queryName)
|
78
|
+
dataType: 'json'
|
79
|
+
success: (data, textStatus, jqXHR) ->
|
80
|
+
onChangeToQueryList(data, gridProcessor.name, queryName, inputField)
|
81
|
+
type: 'POST'
|
82
|
+
|
83
|
+
event.preventDefault()
|
84
|
+
false
|
85
|
+
|
86
|
+
onChangeToQueryList = (data, gridName, queryName, inputField) ->
|
87
|
+
notificationMessagesDomId = "##{gridName}_notification_messages"
|
88
|
+
gridTitleId = "##{gridName}_title"
|
89
|
+
queryListId = "##{gridName}_query_list"
|
90
|
+
inputField.val('') if queryName
|
91
|
+
if errorMessages = data['error_messages']
|
92
|
+
$(notificationMessagesDomId).text(errorMessages)
|
93
|
+
else
|
94
|
+
if notificationMessages = data['notification_messages']
|
95
|
+
$(notificationMessagesDomId).text(notificationMessages)
|
96
|
+
$(gridTitleId).html("<h3>#{queryName}</h3>") if queryName
|
97
|
+
$(queryListId).replaceWith(data['query_list'])
|
98
|
+
$(queryListId).effect('highlight') if jQuery.ui
|
99
|
+
|
100
|
+
$(".wice-grid-delete-query", $(queryListId)).click (event) ->
|
101
|
+
deleteQuery(this, event)
|
102
|
+
|
103
|
+
$(".wice-grid-query-load-link", $(queryListId)).click (event) ->
|
104
|
+
loadQuery(this, event)
|
@@ -0,0 +1,81 @@
|
|
1
|
+
.wg-detached-filter, .wice-grid{
|
2
|
+
|
3
|
+
.text-filter-container {
|
4
|
+
input{
|
5
|
+
width:auto;
|
6
|
+
margin-right: 10px;
|
7
|
+
display: inline;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
thead th select {
|
12
|
+
display: inline-block;
|
13
|
+
}
|
14
|
+
|
15
|
+
a.date-label {text-decoration: none;}
|
16
|
+
a.date-label:hover {text-decoration: line-through;}
|
17
|
+
|
18
|
+
.clickable{
|
19
|
+
cursor: pointer;
|
20
|
+
margin-bottom: 2px;
|
21
|
+
margin-right: 2px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.ui-datepicker-trigger, .wg-detached-filter .ui-datepicker-trigger{
|
25
|
+
cursor: pointer;
|
26
|
+
}
|
27
|
+
|
28
|
+
.custom-dropdown-container {
|
29
|
+
|
30
|
+
.expand-multi-select-icon, .collapse-multi-select-icon{
|
31
|
+
width: 10px;
|
32
|
+
height: 10px;
|
33
|
+
display: inline-block;
|
34
|
+
margin-left: 5px;
|
35
|
+
vertical-align: top;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.wice-grid{
|
41
|
+
|
42
|
+
.desc, .asc{
|
43
|
+
padding-right: 18px;
|
44
|
+
text-decoration:none;
|
45
|
+
}
|
46
|
+
|
47
|
+
.clickable.select-all, .clickable.deselect-all{
|
48
|
+
float:left;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* in case of twitter bootstrap :) */
|
52
|
+
thead th select{
|
53
|
+
width: auto;
|
54
|
+
}
|
55
|
+
|
56
|
+
.pagination{
|
57
|
+
margin: 0px;
|
58
|
+
float: left;
|
59
|
+
}
|
60
|
+
|
61
|
+
tr.wg-filter-row input[type=text] {
|
62
|
+
width: 100px;
|
63
|
+
}
|
64
|
+
|
65
|
+
.pagination_status {
|
66
|
+
font-weight: bold;
|
67
|
+
float: right;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
.wice-grid-query-panel{
|
72
|
+
li {list-style-type: none; }
|
73
|
+
|
74
|
+
ul {margin-left: 0 }
|
75
|
+
}
|
76
|
+
|
77
|
+
input.wice-grid-save-query-field{
|
78
|
+
width: auto;
|
79
|
+
display: inline-block;
|
80
|
+
margin-right: 10px;
|
81
|
+
}
|
data/wice_grid.gemspec
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'pwice_grid'
|
3
|
+
s.version = '5.0.0'
|
4
|
+
s.authors = ['Yuri Leikind and contributors']
|
5
|
+
s.email = ['ryantm@pololu.com']
|
6
|
+
s.homepage = 'https://github.com/pololu/pwice_grid'
|
7
|
+
s.summary = 'A Rails grid plugin to quickly create grids with sorting, pagination, and filters.'
|
8
|
+
s.description = 'A Rails grid plugin to create grids with sorting, pagination, and filters generated automatically based on column types. ' \
|
9
|
+
'The contents of the cell are up for the developer, just like one does when rendering a collection via a simple table. ' \
|
10
|
+
'WiceGrid automates implementation of filters, ordering, paginations, CSV export, and so on. ' \
|
11
|
+
'Ruby blocks provide an elegant means for this.'
|
12
|
+
|
13
|
+
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
14
|
+
s.license = 'MIT'
|
15
|
+
s.require_paths = ['lib']
|
16
|
+
s.date = '2021-03-31'
|
17
|
+
|
18
|
+
s.add_dependency 'rails', '>= 5.0', '< 7'
|
19
|
+
s.add_dependency 'kaminari', ['~> 1.1']
|
20
|
+
s.add_dependency 'coffee-rails', ['> 3.2']
|
21
|
+
|
22
|
+
s.add_development_dependency('rake', '~> 10.1')
|
23
|
+
s.add_development_dependency('byebug')
|
24
|
+
s.add_development_dependency('appraisal')
|
25
|
+
|
26
|
+
s.add_development_dependency('rspec', '~> 3.6.0')
|
27
|
+
s.add_development_dependency('rspec-rails', '~> 3.6.0')
|
28
|
+
s.add_development_dependency('shoulda-matchers', '2.8.0')
|
29
|
+
s.add_development_dependency('capybara', '~> 3.13.2')
|
30
|
+
s.add_development_dependency('faker', '~> 1.8.7')
|
31
|
+
s.add_development_dependency('poltergeist', '~> 1.18.0')
|
32
|
+
s.add_development_dependency('capybara-screenshot', '~> 1.0.11')
|
33
|
+
s.add_development_dependency('selenium-webdriver', '~> 2.51.0')
|
34
|
+
|
35
|
+
# Required by the test app.
|
36
|
+
s.add_development_dependency('haml', '~> 5.0.4')
|
37
|
+
s.add_development_dependency('coderay', '~> 1.1.0')
|
38
|
+
s.add_development_dependency('jquery-rails', '~> 4.3.3')
|
39
|
+
s.add_development_dependency('jquery-ui-rails', '~> 5.0.5')
|
40
|
+
s.add_development_dependency('jquery-ui-themes', '~> 0.0.11')
|
41
|
+
s.add_development_dependency('sass-rails', '>= 3.2')
|
42
|
+
s.add_development_dependency('bootstrap-sass', '3.1.1.1')
|
43
|
+
s.add_development_dependency('font-awesome-sass', '4.4.0')
|
44
|
+
s.add_development_dependency('turbolinks', '~> 5.1.1')
|
45
|
+
s.add_development_dependency('therubyracer')
|
46
|
+
|
47
|
+
s.add_development_dependency('bundler', '~> 1.3')
|
48
|
+
s.add_development_dependency('simplecov', '~> 0.7')
|
49
|
+
s.add_development_dependency('sqlite3', '~> 1.3')
|
50
|
+
|
51
|
+
s.add_development_dependency('yard', '~> 0.8')
|
52
|
+
s.add_development_dependency('inch', '~> 0.6.4')
|
53
|
+
s.add_development_dependency('rdoc', '~> 4.2.0')
|
54
|
+
end
|
metadata
ADDED
@@ -0,0 +1,861 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pwice_grid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yuri Leikind and contributors
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '7'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '5.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '7'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: kaminari
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: coffee-rails
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.2'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3.2'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rake
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '10.1'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '10.1'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: byebug
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: appraisal
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rspec
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 3.6.0
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 3.6.0
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec-rails
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 3.6.0
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 3.6.0
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: shoulda-matchers
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - '='
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 2.8.0
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - '='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 2.8.0
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: capybara
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 3.13.2
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 3.13.2
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: faker
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 1.8.7
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 1.8.7
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: poltergeist
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: 1.18.0
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 1.18.0
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: capybara-screenshot
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.0.11
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 1.0.11
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: selenium-webdriver
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: 2.51.0
|
208
|
+
type: :development
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - "~>"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 2.51.0
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: haml
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 5.0.4
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - "~>"
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 5.0.4
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: coderay
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - "~>"
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: 1.1.0
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - "~>"
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: 1.1.0
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
name: jquery-rails
|
245
|
+
requirement: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - "~>"
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: 4.3.3
|
250
|
+
type: :development
|
251
|
+
prerelease: false
|
252
|
+
version_requirements: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - "~>"
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: 4.3.3
|
257
|
+
- !ruby/object:Gem::Dependency
|
258
|
+
name: jquery-ui-rails
|
259
|
+
requirement: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - "~>"
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: 5.0.5
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - "~>"
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 5.0.5
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: jquery-ui-themes
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - "~>"
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: 0.0.11
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - "~>"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 0.0.11
|
285
|
+
- !ruby/object:Gem::Dependency
|
286
|
+
name: sass-rails
|
287
|
+
requirement: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '3.2'
|
292
|
+
type: :development
|
293
|
+
prerelease: false
|
294
|
+
version_requirements: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '3.2'
|
299
|
+
- !ruby/object:Gem::Dependency
|
300
|
+
name: bootstrap-sass
|
301
|
+
requirement: !ruby/object:Gem::Requirement
|
302
|
+
requirements:
|
303
|
+
- - '='
|
304
|
+
- !ruby/object:Gem::Version
|
305
|
+
version: 3.1.1.1
|
306
|
+
type: :development
|
307
|
+
prerelease: false
|
308
|
+
version_requirements: !ruby/object:Gem::Requirement
|
309
|
+
requirements:
|
310
|
+
- - '='
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: 3.1.1.1
|
313
|
+
- !ruby/object:Gem::Dependency
|
314
|
+
name: font-awesome-sass
|
315
|
+
requirement: !ruby/object:Gem::Requirement
|
316
|
+
requirements:
|
317
|
+
- - '='
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: 4.4.0
|
320
|
+
type: :development
|
321
|
+
prerelease: false
|
322
|
+
version_requirements: !ruby/object:Gem::Requirement
|
323
|
+
requirements:
|
324
|
+
- - '='
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: 4.4.0
|
327
|
+
- !ruby/object:Gem::Dependency
|
328
|
+
name: turbolinks
|
329
|
+
requirement: !ruby/object:Gem::Requirement
|
330
|
+
requirements:
|
331
|
+
- - "~>"
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: 5.1.1
|
334
|
+
type: :development
|
335
|
+
prerelease: false
|
336
|
+
version_requirements: !ruby/object:Gem::Requirement
|
337
|
+
requirements:
|
338
|
+
- - "~>"
|
339
|
+
- !ruby/object:Gem::Version
|
340
|
+
version: 5.1.1
|
341
|
+
- !ruby/object:Gem::Dependency
|
342
|
+
name: therubyracer
|
343
|
+
requirement: !ruby/object:Gem::Requirement
|
344
|
+
requirements:
|
345
|
+
- - ">="
|
346
|
+
- !ruby/object:Gem::Version
|
347
|
+
version: '0'
|
348
|
+
type: :development
|
349
|
+
prerelease: false
|
350
|
+
version_requirements: !ruby/object:Gem::Requirement
|
351
|
+
requirements:
|
352
|
+
- - ">="
|
353
|
+
- !ruby/object:Gem::Version
|
354
|
+
version: '0'
|
355
|
+
- !ruby/object:Gem::Dependency
|
356
|
+
name: bundler
|
357
|
+
requirement: !ruby/object:Gem::Requirement
|
358
|
+
requirements:
|
359
|
+
- - "~>"
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: '1.3'
|
362
|
+
type: :development
|
363
|
+
prerelease: false
|
364
|
+
version_requirements: !ruby/object:Gem::Requirement
|
365
|
+
requirements:
|
366
|
+
- - "~>"
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
version: '1.3'
|
369
|
+
- !ruby/object:Gem::Dependency
|
370
|
+
name: simplecov
|
371
|
+
requirement: !ruby/object:Gem::Requirement
|
372
|
+
requirements:
|
373
|
+
- - "~>"
|
374
|
+
- !ruby/object:Gem::Version
|
375
|
+
version: '0.7'
|
376
|
+
type: :development
|
377
|
+
prerelease: false
|
378
|
+
version_requirements: !ruby/object:Gem::Requirement
|
379
|
+
requirements:
|
380
|
+
- - "~>"
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
version: '0.7'
|
383
|
+
- !ruby/object:Gem::Dependency
|
384
|
+
name: sqlite3
|
385
|
+
requirement: !ruby/object:Gem::Requirement
|
386
|
+
requirements:
|
387
|
+
- - "~>"
|
388
|
+
- !ruby/object:Gem::Version
|
389
|
+
version: '1.3'
|
390
|
+
type: :development
|
391
|
+
prerelease: false
|
392
|
+
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
requirements:
|
394
|
+
- - "~>"
|
395
|
+
- !ruby/object:Gem::Version
|
396
|
+
version: '1.3'
|
397
|
+
- !ruby/object:Gem::Dependency
|
398
|
+
name: yard
|
399
|
+
requirement: !ruby/object:Gem::Requirement
|
400
|
+
requirements:
|
401
|
+
- - "~>"
|
402
|
+
- !ruby/object:Gem::Version
|
403
|
+
version: '0.8'
|
404
|
+
type: :development
|
405
|
+
prerelease: false
|
406
|
+
version_requirements: !ruby/object:Gem::Requirement
|
407
|
+
requirements:
|
408
|
+
- - "~>"
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
version: '0.8'
|
411
|
+
- !ruby/object:Gem::Dependency
|
412
|
+
name: inch
|
413
|
+
requirement: !ruby/object:Gem::Requirement
|
414
|
+
requirements:
|
415
|
+
- - "~>"
|
416
|
+
- !ruby/object:Gem::Version
|
417
|
+
version: 0.6.4
|
418
|
+
type: :development
|
419
|
+
prerelease: false
|
420
|
+
version_requirements: !ruby/object:Gem::Requirement
|
421
|
+
requirements:
|
422
|
+
- - "~>"
|
423
|
+
- !ruby/object:Gem::Version
|
424
|
+
version: 0.6.4
|
425
|
+
- !ruby/object:Gem::Dependency
|
426
|
+
name: rdoc
|
427
|
+
requirement: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
429
|
+
- - "~>"
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
version: 4.2.0
|
432
|
+
type: :development
|
433
|
+
prerelease: false
|
434
|
+
version_requirements: !ruby/object:Gem::Requirement
|
435
|
+
requirements:
|
436
|
+
- - "~>"
|
437
|
+
- !ruby/object:Gem::Version
|
438
|
+
version: 4.2.0
|
439
|
+
description: A Rails grid plugin to create grids with sorting, pagination, and filters
|
440
|
+
generated automatically based on column types. The contents of the cell are up for
|
441
|
+
the developer, just like one does when rendering a collection via a simple table.
|
442
|
+
WiceGrid automates implementation of filters, ordering, paginations, CSV export,
|
443
|
+
and so on. Ruby blocks provide an elegant means for this.
|
444
|
+
email:
|
445
|
+
- ryantm@pololu.com
|
446
|
+
executables: []
|
447
|
+
extensions: []
|
448
|
+
extra_rdoc_files: []
|
449
|
+
files:
|
450
|
+
- ".circleci/config.yml"
|
451
|
+
- ".circleci/run-build-locally.sh"
|
452
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
453
|
+
- ".gitignore"
|
454
|
+
- ".inch.yml"
|
455
|
+
- ".rspec"
|
456
|
+
- ".rubocop.yml"
|
457
|
+
- Appraisals
|
458
|
+
- CHANGELOG.md
|
459
|
+
- Gemfile
|
460
|
+
- Gemfile.lock
|
461
|
+
- MIT-LICENSE
|
462
|
+
- README.md
|
463
|
+
- Rakefile
|
464
|
+
- SAVED_QUERIES_HOWTO.md
|
465
|
+
- app/views/kaminari/wice_grid/_gap.html.erb
|
466
|
+
- app/views/kaminari/wice_grid/_next_page.html.erb
|
467
|
+
- app/views/kaminari/wice_grid/_page.html.erb
|
468
|
+
- app/views/kaminari/wice_grid/_paginator.html.erb
|
469
|
+
- app/views/kaminari/wice_grid/_prev_page.html.erb
|
470
|
+
- config/locales/cz.yml
|
471
|
+
- config/locales/de.yml
|
472
|
+
- config/locales/en.yml
|
473
|
+
- config/locales/es.yml
|
474
|
+
- config/locales/fr.yml
|
475
|
+
- config/locales/is.yml
|
476
|
+
- config/locales/it.yml
|
477
|
+
- config/locales/ja.yml
|
478
|
+
- config/locales/nl.yml
|
479
|
+
- config/locales/pt-BR.yml
|
480
|
+
- config/locales/pt.yml
|
481
|
+
- config/locales/ru.yml
|
482
|
+
- config/locales/sk.yml
|
483
|
+
- config/locales/uk.yml
|
484
|
+
- config/locales/zh.yml
|
485
|
+
- gemfiles/rails_5.0.gemfile
|
486
|
+
- gemfiles/rails_5.0.gemfile.lock
|
487
|
+
- gemfiles/rails_5.1.gemfile
|
488
|
+
- gemfiles/rails_5.1.gemfile.lock
|
489
|
+
- gemfiles/rails_5.2.gemfile
|
490
|
+
- gemfiles/rails_5.2.gemfile.lock
|
491
|
+
- lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
|
492
|
+
- lib/generators/wice_grid/install_generator.rb
|
493
|
+
- lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
|
494
|
+
- lib/generators/wice_grid/templates/wice_grid_config.rb
|
495
|
+
- lib/wice/active_record_column_wrapper.rb
|
496
|
+
- lib/wice/columns.rb
|
497
|
+
- lib/wice/columns/column_action.rb
|
498
|
+
- lib/wice/columns/column_boolean.rb
|
499
|
+
- lib/wice/columns/column_bootstrap_datepicker.rb
|
500
|
+
- lib/wice/columns/column_custom_dropdown.rb
|
501
|
+
- lib/wice/columns/column_float.rb
|
502
|
+
- lib/wice/columns/column_html5_datepicker.rb
|
503
|
+
- lib/wice/columns/column_integer.rb
|
504
|
+
- lib/wice/columns/column_jquery_datepicker.rb
|
505
|
+
- lib/wice/columns/column_processor_index.rb
|
506
|
+
- lib/wice/columns/column_rails_date_helper.rb
|
507
|
+
- lib/wice/columns/column_rails_datetime_helper.rb
|
508
|
+
- lib/wice/columns/column_range.rb
|
509
|
+
- lib/wice/columns/column_string.rb
|
510
|
+
- lib/wice/columns/common_date_datetime_mixin.rb
|
511
|
+
- lib/wice/columns/common_js_date_datetime_conditions_generator_mixin.rb
|
512
|
+
- lib/wice/columns/common_js_date_datetime_mixin.rb
|
513
|
+
- lib/wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb
|
514
|
+
- lib/wice/columns/common_standard_helper_date_datetime_mixin.rb
|
515
|
+
- lib/wice/grid_output_buffer.rb
|
516
|
+
- lib/wice/grid_renderer.rb
|
517
|
+
- lib/wice/helpers/bs_calendar_helpers.rb
|
518
|
+
- lib/wice/helpers/js_calendar_helpers.rb
|
519
|
+
- lib/wice/helpers/wice_grid_misc_view_helpers.rb
|
520
|
+
- lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb
|
521
|
+
- lib/wice/helpers/wice_grid_view_helpers.rb
|
522
|
+
- lib/wice/kaminari_monkey_patching.rb
|
523
|
+
- lib/wice/table_column_matrix.rb
|
524
|
+
- lib/wice/wice_grid_controller.rb
|
525
|
+
- lib/wice/wice_grid_core_ext.rb
|
526
|
+
- lib/wice/wice_grid_misc.rb
|
527
|
+
- lib/wice/wice_grid_serialized_queries_controller.rb
|
528
|
+
- lib/wice/wice_grid_serialized_query.rb
|
529
|
+
- lib/wice/wice_grid_spreadsheet.rb
|
530
|
+
- lib/wice_grid.rb
|
531
|
+
- spec/acceptance_helper.rb
|
532
|
+
- spec/features/action_column_request_spec.rb
|
533
|
+
- spec/features/adding_rows_request_spec.rb
|
534
|
+
- spec/features/all_records_request_spec.rb
|
535
|
+
- spec/features/auto_reloads2_request_spec.rb
|
536
|
+
- spec/features/auto_reloads3_request_spec.rb
|
537
|
+
- spec/features/auto_reloads_request_spec.rb
|
538
|
+
- spec/features/basics1_request_spec.rb
|
539
|
+
- spec/features/basics2_request_spec.rb
|
540
|
+
- spec/features/basics3_request_spec.rb
|
541
|
+
- spec/features/basics4_request_spec.rb
|
542
|
+
- spec/features/basics5_request_spec.rb
|
543
|
+
- spec/features/basics6_request_spec.rb
|
544
|
+
- spec/features/blockless_column_definition_spec.rb
|
545
|
+
- spec/features/buttons_request_spec.rb
|
546
|
+
- spec/features/csv_and_detached_filters_spec.rb
|
547
|
+
- spec/features/csv_export_request_spec.rb
|
548
|
+
- spec/features/custom_filter_params_request_spec.rb
|
549
|
+
- spec/features/custom_filters1_request_spec.rb
|
550
|
+
- spec/features/custom_filters2_request_spec.rb
|
551
|
+
- spec/features/custom_filters3_request_spec.rb
|
552
|
+
- spec/features/custom_filters4_request_spec.rb
|
553
|
+
- spec/features/custom_ordering_on_calculated_request_spec.rb
|
554
|
+
- spec/features/custom_ordering_request_spec.rb
|
555
|
+
- spec/features/custom_ordering_with_arel_request_spec.rb
|
556
|
+
- spec/features/custom_ordering_with_proc_request_spec.rb
|
557
|
+
- spec/features/custom_ordering_with_ruby_request_spec.rb
|
558
|
+
- spec/features/dates_request_spec.rb
|
559
|
+
- spec/features/detached_filters_spec.rb
|
560
|
+
- spec/features/detached_filters_two_grids_spec.rb
|
561
|
+
- spec/features/disable_all_filters_spec.rb
|
562
|
+
- spec/features/hiding_checkboxes_in_action_column_request_spec.rb
|
563
|
+
- spec/features/integration_with_application_view_request_spec.rb
|
564
|
+
- spec/features/integration_with_forms_request_spec.rb
|
565
|
+
- spec/features/joining_tables_spec.rb
|
566
|
+
- spec/features/localization_request_spec.rb
|
567
|
+
- spec/features/many_grids_on_page_request_spec.rb
|
568
|
+
- spec/features/negation_request_spec.rb
|
569
|
+
- spec/features/no_records_request_spec.rb
|
570
|
+
- spec/features/numeric_filters_request_spec.rb
|
571
|
+
- spec/features/resultset_processings2_request_spec.rb
|
572
|
+
- spec/features/resultset_processings_request_spec.rb
|
573
|
+
- spec/features/saved_queries_request_spec.rb
|
574
|
+
- spec/features/shared.rb
|
575
|
+
- spec/features/shared_detached_filters.rb
|
576
|
+
- spec/features/styling_spec.rb
|
577
|
+
- spec/features/two_associations_spec.rb
|
578
|
+
- spec/features/upper_pagination_panel_request_spec.rb
|
579
|
+
- spec/features/when_filtered_spec.rb
|
580
|
+
- spec/fixtures/.gitkeep
|
581
|
+
- spec/fixtures/companies.yml
|
582
|
+
- spec/fixtures/priorities.yml
|
583
|
+
- spec/fixtures/project_roles.yml
|
584
|
+
- spec/fixtures/projects.yml
|
585
|
+
- spec/fixtures/statuses.yml
|
586
|
+
- spec/fixtures/tasks.yml
|
587
|
+
- spec/fixtures/tasks_users.yml
|
588
|
+
- spec/fixtures/users.yml
|
589
|
+
- spec/fixtures/versions.yml
|
590
|
+
- spec/models/company_spec.rb
|
591
|
+
- spec/models/priority_spec.rb
|
592
|
+
- spec/models/project_spec.rb
|
593
|
+
- spec/models/status_spec.rb
|
594
|
+
- spec/models/task_spec.rb
|
595
|
+
- spec/models/user_project_participation_spec.rb
|
596
|
+
- spec/models/user_spec.rb
|
597
|
+
- spec/models/version_spec.rb
|
598
|
+
- spec/rails_helper.rb
|
599
|
+
- spec/schema.rb
|
600
|
+
- spec/spec_helper.rb
|
601
|
+
- spec/support/active_record.rb
|
602
|
+
- spec/support/test_app/Rakefile
|
603
|
+
- spec/support/test_app/app/assets/javascripts/application.js
|
604
|
+
- spec/support/test_app/app/assets/javascripts/common.js.coffee
|
605
|
+
- spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js
|
606
|
+
- spec/support/test_app/app/assets/stylesheets/adding_rows.scss
|
607
|
+
- spec/support/test_app/app/assets/stylesheets/application.scss
|
608
|
+
- spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss
|
609
|
+
- spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss
|
610
|
+
- spec/support/test_app/app/controllers/action_column_controller.rb
|
611
|
+
- spec/support/test_app/app/controllers/adding_rows_controller.rb
|
612
|
+
- spec/support/test_app/app/controllers/all_records_controller.rb
|
613
|
+
- spec/support/test_app/app/controllers/application_controller.rb
|
614
|
+
- spec/support/test_app/app/controllers/auto_reloads2_controller.rb
|
615
|
+
- spec/support/test_app/app/controllers/auto_reloads3_controller.rb
|
616
|
+
- spec/support/test_app/app/controllers/auto_reloads_controller.rb
|
617
|
+
- spec/support/test_app/app/controllers/basics1_controller.rb
|
618
|
+
- spec/support/test_app/app/controllers/basics2_controller.rb
|
619
|
+
- spec/support/test_app/app/controllers/basics3_controller.rb
|
620
|
+
- spec/support/test_app/app/controllers/basics4_controller.rb
|
621
|
+
- spec/support/test_app/app/controllers/basics5_controller.rb
|
622
|
+
- spec/support/test_app/app/controllers/basics6_controller.rb
|
623
|
+
- spec/support/test_app/app/controllers/blockless_column_definition_controller.rb
|
624
|
+
- spec/support/test_app/app/controllers/buttons_controller.rb
|
625
|
+
- spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
|
626
|
+
- spec/support/test_app/app/controllers/csv_export_controller.rb
|
627
|
+
- spec/support/test_app/app/controllers/custom_filter_params_controller.rb
|
628
|
+
- spec/support/test_app/app/controllers/custom_filters1_controller.rb
|
629
|
+
- spec/support/test_app/app/controllers/custom_filters2_controller.rb
|
630
|
+
- spec/support/test_app/app/controllers/custom_filters3_controller.rb
|
631
|
+
- spec/support/test_app/app/controllers/custom_filters4_controller.rb
|
632
|
+
- spec/support/test_app/app/controllers/custom_ordering_controller.rb
|
633
|
+
- spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb
|
634
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb
|
635
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb
|
636
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb
|
637
|
+
- spec/support/test_app/app/controllers/dates_controller.rb
|
638
|
+
- spec/support/test_app/app/controllers/detached_filters_controller.rb
|
639
|
+
- spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb
|
640
|
+
- spec/support/test_app/app/controllers/disable_all_filters_controller.rb
|
641
|
+
- spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb
|
642
|
+
- spec/support/test_app/app/controllers/home_controller.rb
|
643
|
+
- spec/support/test_app/app/controllers/integration_with_application_view_controller.rb
|
644
|
+
- spec/support/test_app/app/controllers/integration_with_forms_controller.rb
|
645
|
+
- spec/support/test_app/app/controllers/joining_tables_controller.rb
|
646
|
+
- spec/support/test_app/app/controllers/localization_controller.rb
|
647
|
+
- spec/support/test_app/app/controllers/many_grids_on_page_controller.rb
|
648
|
+
- spec/support/test_app/app/controllers/negation_controller.rb
|
649
|
+
- spec/support/test_app/app/controllers/no_records_controller.rb
|
650
|
+
- spec/support/test_app/app/controllers/null_values_controller.rb
|
651
|
+
- spec/support/test_app/app/controllers/numeric_filters_controller.rb
|
652
|
+
- spec/support/test_app/app/controllers/queries_controller.rb
|
653
|
+
- spec/support/test_app/app/controllers/resultset_processings2_controller.rb
|
654
|
+
- spec/support/test_app/app/controllers/resultset_processings_controller.rb
|
655
|
+
- spec/support/test_app/app/controllers/saved_queries_controller.rb
|
656
|
+
- spec/support/test_app/app/controllers/styling_controller.rb
|
657
|
+
- spec/support/test_app/app/controllers/tasks_controller.rb
|
658
|
+
- spec/support/test_app/app/controllers/two_associations_controller.rb
|
659
|
+
- spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb
|
660
|
+
- spec/support/test_app/app/controllers/when_filtered_controller.rb
|
661
|
+
- spec/support/test_app/app/helpers/application_helper.rb
|
662
|
+
- spec/support/test_app/app/mailers/.gitkeep
|
663
|
+
- spec/support/test_app/app/models/.gitkeep
|
664
|
+
- spec/support/test_app/app/models/company.rb
|
665
|
+
- spec/support/test_app/app/models/populate.rb
|
666
|
+
- spec/support/test_app/app/models/priority.rb
|
667
|
+
- spec/support/test_app/app/models/project.rb
|
668
|
+
- spec/support/test_app/app/models/project_role.rb
|
669
|
+
- spec/support/test_app/app/models/status.rb
|
670
|
+
- spec/support/test_app/app/models/task.rb
|
671
|
+
- spec/support/test_app/app/models/to_dropdown_mixin.rb
|
672
|
+
- spec/support/test_app/app/models/user.rb
|
673
|
+
- spec/support/test_app/app/models/user_project_participation.rb
|
674
|
+
- spec/support/test_app/app/models/version.rb
|
675
|
+
- spec/support/test_app/app/views/action_column/_grid.html.erb
|
676
|
+
- spec/support/test_app/app/views/action_column/index.html.haml
|
677
|
+
- spec/support/test_app/app/views/adding_rows/_grid.html.erb
|
678
|
+
- spec/support/test_app/app/views/adding_rows/index.html.haml
|
679
|
+
- spec/support/test_app/app/views/all_records/_grid.html.erb
|
680
|
+
- spec/support/test_app/app/views/all_records/index.html.haml
|
681
|
+
- spec/support/test_app/app/views/auto_reloads/_grid.html.erb
|
682
|
+
- spec/support/test_app/app/views/auto_reloads/index.html.haml
|
683
|
+
- spec/support/test_app/app/views/auto_reloads2/_grid.html.erb
|
684
|
+
- spec/support/test_app/app/views/auto_reloads2/index.html.haml
|
685
|
+
- spec/support/test_app/app/views/auto_reloads3/_grid.html.erb
|
686
|
+
- spec/support/test_app/app/views/auto_reloads3/index.html.haml
|
687
|
+
- spec/support/test_app/app/views/basics1/_grid.html.erb
|
688
|
+
- spec/support/test_app/app/views/basics1/index.html.haml
|
689
|
+
- spec/support/test_app/app/views/basics2/_grid.html.erb
|
690
|
+
- spec/support/test_app/app/views/basics2/index.html.haml
|
691
|
+
- spec/support/test_app/app/views/basics3/_grid.html.erb
|
692
|
+
- spec/support/test_app/app/views/basics3/index.html.haml
|
693
|
+
- spec/support/test_app/app/views/basics4/_grid.html.erb
|
694
|
+
- spec/support/test_app/app/views/basics4/index.html.haml
|
695
|
+
- spec/support/test_app/app/views/basics5/_grid.html.erb
|
696
|
+
- spec/support/test_app/app/views/basics5/index.html.haml
|
697
|
+
- spec/support/test_app/app/views/basics6/_grid.html.erb
|
698
|
+
- spec/support/test_app/app/views/basics6/index.html.haml
|
699
|
+
- spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb
|
700
|
+
- spec/support/test_app/app/views/blockless_column_definition/index.html.haml
|
701
|
+
- spec/support/test_app/app/views/buttons/_grid.html.erb
|
702
|
+
- spec/support/test_app/app/views/buttons/index.html.haml
|
703
|
+
- spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb
|
704
|
+
- spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml
|
705
|
+
- spec/support/test_app/app/views/csv_export/_projects_grid.html.erb
|
706
|
+
- spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb
|
707
|
+
- spec/support/test_app/app/views/csv_export/index.html.haml
|
708
|
+
- spec/support/test_app/app/views/custom_filter_params/_grid.html.erb
|
709
|
+
- spec/support/test_app/app/views/custom_filter_params/index.html.haml
|
710
|
+
- spec/support/test_app/app/views/custom_filters1/_g1.html.erb
|
711
|
+
- spec/support/test_app/app/views/custom_filters1/_g2.html.erb
|
712
|
+
- spec/support/test_app/app/views/custom_filters1/_g3.html.erb
|
713
|
+
- spec/support/test_app/app/views/custom_filters1/_g4.html.erb
|
714
|
+
- spec/support/test_app/app/views/custom_filters1/index.html.haml
|
715
|
+
- spec/support/test_app/app/views/custom_filters2/_grid.html.erb
|
716
|
+
- spec/support/test_app/app/views/custom_filters2/index.html.haml
|
717
|
+
- spec/support/test_app/app/views/custom_filters3/_grid.html.erb
|
718
|
+
- spec/support/test_app/app/views/custom_filters3/index.html.haml
|
719
|
+
- spec/support/test_app/app/views/custom_filters4/_grid.html.erb
|
720
|
+
- spec/support/test_app/app/views/custom_filters4/index.html.haml
|
721
|
+
- spec/support/test_app/app/views/custom_ordering/_grid.html.erb
|
722
|
+
- spec/support/test_app/app/views/custom_ordering/index.html.haml
|
723
|
+
- spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb
|
724
|
+
- spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
|
725
|
+
- spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb
|
726
|
+
- spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
|
727
|
+
- spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb
|
728
|
+
- spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
|
729
|
+
- spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb
|
730
|
+
- spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml
|
731
|
+
- spec/support/test_app/app/views/dates/_grid.html.erb
|
732
|
+
- spec/support/test_app/app/views/dates/index.html.haml
|
733
|
+
- spec/support/test_app/app/views/detached_filters/_grid.html.erb
|
734
|
+
- spec/support/test_app/app/views/detached_filters/index.html.haml
|
735
|
+
- spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb
|
736
|
+
- spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml
|
737
|
+
- spec/support/test_app/app/views/disable_all_filters/_grid.html.erb
|
738
|
+
- spec/support/test_app/app/views/disable_all_filters/index.html.haml
|
739
|
+
- spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb
|
740
|
+
- spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml
|
741
|
+
- spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb
|
742
|
+
- spec/support/test_app/app/views/integration_with_application_view/index.html.haml
|
743
|
+
- spec/support/test_app/app/views/integration_with_forms/_grid.html.erb
|
744
|
+
- spec/support/test_app/app/views/integration_with_forms/index.html.haml
|
745
|
+
- spec/support/test_app/app/views/joining_tables/_grid.html.erb
|
746
|
+
- spec/support/test_app/app/views/joining_tables/index.html.haml
|
747
|
+
- spec/support/test_app/app/views/layouts/application.html.haml
|
748
|
+
- spec/support/test_app/app/views/localization/_grid.html.erb
|
749
|
+
- spec/support/test_app/app/views/localization/index.html.haml
|
750
|
+
- spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb
|
751
|
+
- spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb
|
752
|
+
- spec/support/test_app/app/views/many_grids_on_page/index.html.haml
|
753
|
+
- spec/support/test_app/app/views/negation/_grid.html.erb
|
754
|
+
- spec/support/test_app/app/views/negation/index.html.haml
|
755
|
+
- spec/support/test_app/app/views/no_records/_empty_grid.html.haml
|
756
|
+
- spec/support/test_app/app/views/no_records/_grid1.html.erb
|
757
|
+
- spec/support/test_app/app/views/no_records/_grid2.html.erb
|
758
|
+
- spec/support/test_app/app/views/no_records/_grid3.html.erb
|
759
|
+
- spec/support/test_app/app/views/no_records/index.html.haml
|
760
|
+
- spec/support/test_app/app/views/null_values/_grid.html.erb
|
761
|
+
- spec/support/test_app/app/views/null_values/index.html.haml
|
762
|
+
- spec/support/test_app/app/views/numeric_filters/_grid.html.erb
|
763
|
+
- spec/support/test_app/app/views/numeric_filters/index.html.haml
|
764
|
+
- spec/support/test_app/app/views/resultset_processings/_grid.html.erb
|
765
|
+
- spec/support/test_app/app/views/resultset_processings/index.html.haml
|
766
|
+
- spec/support/test_app/app/views/resultset_processings2/_grid.html.erb
|
767
|
+
- spec/support/test_app/app/views/resultset_processings2/index.html.haml
|
768
|
+
- spec/support/test_app/app/views/saved_queries/_grid.html.erb
|
769
|
+
- spec/support/test_app/app/views/saved_queries/index.html.haml
|
770
|
+
- spec/support/test_app/app/views/styling/_grid1.html.erb
|
771
|
+
- spec/support/test_app/app/views/styling/_grid2.html.erb
|
772
|
+
- spec/support/test_app/app/views/styling/index.html.haml
|
773
|
+
- spec/support/test_app/app/views/tasks/_grid.html.erb
|
774
|
+
- spec/support/test_app/app/views/tasks/index.html.haml
|
775
|
+
- spec/support/test_app/app/views/two_associations/_grid.html.erb
|
776
|
+
- spec/support/test_app/app/views/two_associations/index.html.haml
|
777
|
+
- spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
|
778
|
+
- spec/support/test_app/app/views/upper_pagination_panel/index.html.haml
|
779
|
+
- spec/support/test_app/app/views/when_filtered/_grid.html.erb
|
780
|
+
- spec/support/test_app/app/views/when_filtered/index.html.haml
|
781
|
+
- spec/support/test_app/bin/rails
|
782
|
+
- spec/support/test_app/bin/rake
|
783
|
+
- spec/support/test_app/config.ru
|
784
|
+
- spec/support/test_app/config/application.rb
|
785
|
+
- spec/support/test_app/config/boot.rb
|
786
|
+
- spec/support/test_app/config/database.travis.yml
|
787
|
+
- spec/support/test_app/config/database.yml
|
788
|
+
- spec/support/test_app/config/database.yml.mysql
|
789
|
+
- spec/support/test_app/config/database.yml.postgresql
|
790
|
+
- spec/support/test_app/config/environment.rb
|
791
|
+
- spec/support/test_app/config/environments/development.rb
|
792
|
+
- spec/support/test_app/config/environments/production.rb
|
793
|
+
- spec/support/test_app/config/environments/test.rb
|
794
|
+
- spec/support/test_app/config/initializers/backtrace_silencers.rb
|
795
|
+
- spec/support/test_app/config/initializers/inflections.rb
|
796
|
+
- spec/support/test_app/config/initializers/mime_types.rb
|
797
|
+
- spec/support/test_app/config/initializers/secret_token.rb
|
798
|
+
- spec/support/test_app/config/initializers/session_store.rb
|
799
|
+
- spec/support/test_app/config/initializers/wice_grid_config.rb
|
800
|
+
- spec/support/test_app/config/initializers/wrap_parameters.rb
|
801
|
+
- spec/support/test_app/config/locales/en.yml
|
802
|
+
- spec/support/test_app/config/locales/wice_grid.yml
|
803
|
+
- spec/support/test_app/config/puma.rb
|
804
|
+
- spec/support/test_app/config/routes.rb
|
805
|
+
- spec/support/test_app/db/migrate/20120224193505_create_tasks.rb
|
806
|
+
- spec/support/test_app/db/migrate/20120224193517_create_users.rb
|
807
|
+
- spec/support/test_app/db/migrate/20120224193522_create_projects.rb
|
808
|
+
- spec/support/test_app/db/migrate/20120224193529_create_priorities.rb
|
809
|
+
- spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
|
810
|
+
- spec/support/test_app/db/migrate/20120224193543_create_versions.rb
|
811
|
+
- spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb
|
812
|
+
- spec/support/test_app/db/migrate/20120224193610_create_companies.rb
|
813
|
+
- spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb
|
814
|
+
- spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb
|
815
|
+
- spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb
|
816
|
+
- spec/support/test_app/db/schema.rb
|
817
|
+
- spec/support/test_app/db/seeds.rb
|
818
|
+
- spec/support/test_app/lib/ar_fixtures.rb
|
819
|
+
- spec/support/test_app/lib/assets/.gitkeep
|
820
|
+
- spec/support/test_app/lib/tasks/.gitkeep
|
821
|
+
- spec/support/test_app/lib/tasks/ar_fixtures.rake
|
822
|
+
- spec/support/test_app/public/404.html
|
823
|
+
- spec/support/test_app/public/422.html
|
824
|
+
- spec/support/test_app/public/500.html
|
825
|
+
- spec/support/test_app/public/favicon.ico
|
826
|
+
- spec/support/test_app/public/robots.txt
|
827
|
+
- spec/wice/grid_output_buffer_spec.rb
|
828
|
+
- spec/wice/table_column_matrix_spec.rb
|
829
|
+
- spec/wice/wice_grid_misc_spec.rb
|
830
|
+
- spec/wice/wice_grid_spreadsheet_spec.rb
|
831
|
+
- vendor/assets/javascripts/wice_grid.js
|
832
|
+
- vendor/assets/javascripts/wice_grid_init.js.coffee
|
833
|
+
- vendor/assets/javascripts/wice_grid_processor.js.coffee
|
834
|
+
- vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee
|
835
|
+
- vendor/assets/stylesheets/wice_grid.scss
|
836
|
+
- wice_grid.gemspec
|
837
|
+
homepage: https://github.com/pololu/pwice_grid
|
838
|
+
licenses:
|
839
|
+
- MIT
|
840
|
+
metadata: {}
|
841
|
+
post_install_message:
|
842
|
+
rdoc_options: []
|
843
|
+
require_paths:
|
844
|
+
- lib
|
845
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
846
|
+
requirements:
|
847
|
+
- - ">="
|
848
|
+
- !ruby/object:Gem::Version
|
849
|
+
version: '0'
|
850
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
851
|
+
requirements:
|
852
|
+
- - ">="
|
853
|
+
- !ruby/object:Gem::Version
|
854
|
+
version: '0'
|
855
|
+
requirements: []
|
856
|
+
rubygems_version: 3.0.6
|
857
|
+
signing_key:
|
858
|
+
specification_version: 4
|
859
|
+
summary: A Rails grid plugin to quickly create grids with sorting, pagination, and
|
860
|
+
filters.
|
861
|
+
test_files: []
|