wice_grid 3.6.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +41 -0
- data/.circleci/run-build-locally.sh +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- data/.gitignore +5 -2
- data/Appraisals +11 -0
- data/CHANGELOG.md +38 -1
- data/Gemfile.lock +299 -0
- data/README.md +77 -34
- data/config/locales/ja.yml +3 -3
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +291 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +291 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile.lock +299 -0
- data/lib/wice/columns.rb +13 -6
- data/lib/wice/columns/column_integer.rb +11 -1
- data/lib/wice/columns/column_rails_datetime_helper.rb +3 -2
- data/lib/wice/columns/column_range.rb +6 -4
- data/lib/wice/grid_renderer.rb +23 -7
- data/lib/wice/helpers/bs_calendar_helpers.rb +9 -1
- data/lib/wice/helpers/wice_grid_view_helpers.rb +6 -6
- data/lib/wice/wice_grid_controller.rb +7 -5
- data/lib/wice/wice_grid_core_ext.rb +5 -1
- data/lib/wice/wice_grid_misc.rb +1 -1
- data/lib/wice_grid.rb +86 -59
- data/spec/acceptance_helper.rb +58 -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 +349 -0
- data/spec/features/auto_reloads3_request_spec.rb +130 -0
- data/spec/features/auto_reloads_request_spec.rb +348 -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 +155 -0
- data/spec/features/custom_filters2_request_spec.rb +53 -0
- data/spec/features/custom_filters3_request_spec.rb +50 -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 +127 -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 +158 -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/spec_helper.rb +10 -9
- 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 +2 -2
- data/spec/wice/table_column_matrix_spec.rb +1 -1
- data/vendor/assets/javascripts/wice_grid_init.js.coffee +16 -4
- data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +1 -0
- data/wice_grid.gemspec +29 -9
- metadata +606 -62
- data/release_notes/RELEASE_NOTES_3.2.pre1.rdoc +0 -81
- data/release_notes/RELEASE_NOTES_3.2.pre2.rdoc +0 -6
- data/release_notes/RELEASE_NOTES_3.3.0.rdoc +0 -21
- data/spec/support/wice_grid_test_config.rb +0 -173
- data/test/readme.txt +0 -1
@@ -0,0 +1,10 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
3
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
4
|
+
#
|
5
|
+
# Examples:
|
6
|
+
#
|
7
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
8
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
9
|
+
|
10
|
+
Populate.me
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Extension to make it easy to read and write data to a file.
|
3
|
+
class ActiveRecord::Base
|
4
|
+
class << self
|
5
|
+
# Writes content of this table to db/table_name.yml, or the specified file.
|
6
|
+
#
|
7
|
+
# Writes all content by default, but can be limited.
|
8
|
+
def dump_to_file(path = nil, limit = nil)
|
9
|
+
opts = {}
|
10
|
+
opts[:limit] = limit if limit
|
11
|
+
path ||= "db/#{table_name}.yml"
|
12
|
+
write_file(File.expand_path(path, Rails.root), self.find(:all, opts).to_yaml)
|
13
|
+
end
|
14
|
+
|
15
|
+
# Delete existing data in database and load fresh from file in db/table_name.yml
|
16
|
+
def load_from_file(path = nil)
|
17
|
+
path ||= "db/#{table_name}.yml"
|
18
|
+
|
19
|
+
self.destroy_all
|
20
|
+
|
21
|
+
if connection.respond_to?(:reset_pk_sequence!)
|
22
|
+
connection.reset_pk_sequence!(table_name)
|
23
|
+
end
|
24
|
+
|
25
|
+
records = YAML.load(File.open(File.expand_path(path, Rails.root)))
|
26
|
+
records.each do |record|
|
27
|
+
record_copy = self.new(record.attributes)
|
28
|
+
record_copy.id = record.id
|
29
|
+
|
30
|
+
# For Single Table Inheritance
|
31
|
+
klass_col = record.class.inheritance_column.to_sym
|
32
|
+
if record[klass_col]
|
33
|
+
record_copy.type = record[klass_col]
|
34
|
+
end
|
35
|
+
|
36
|
+
record_copy.save
|
37
|
+
end
|
38
|
+
|
39
|
+
if connection.respond_to?(:reset_pk_sequence!)
|
40
|
+
connection.reset_pk_sequence!(table_name)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# Write a file that can be loaded with +fixture :some_table+ in tests.
|
45
|
+
# Uses existing data in the database.
|
46
|
+
#
|
47
|
+
# Will be written to +test/fixtures/table_name.yml+. Can be restricted to some number of rows.
|
48
|
+
def to_fixture(limit = nil)
|
49
|
+
opts = {}
|
50
|
+
opts[:limit] = limit if limit
|
51
|
+
|
52
|
+
write_file(File.expand_path("test/fixtures/#{table_name}.yml", Rails.root),
|
53
|
+
self.find(:all, opts).inject({}) do |hsh, record|
|
54
|
+
hsh.merge("#{table_name.singularize}_#{'%05i' % record.id}" => record.attributes)
|
55
|
+
end.to_yaml(SortKeys: true))
|
56
|
+
habtm_to_fixture
|
57
|
+
end
|
58
|
+
|
59
|
+
# Write the habtm association table
|
60
|
+
def habtm_to_fixture
|
61
|
+
joins = self.reflect_on_all_associations.select do |j|
|
62
|
+
j.macro == :has_and_belongs_to_many
|
63
|
+
end
|
64
|
+
joins.each do |join|
|
65
|
+
hsh = {}
|
66
|
+
connection.select_all("SELECT * FROM #{join.options[:join_table]}").each_with_index do |record, i|
|
67
|
+
hsh["join_#{'%05i' % i}"] = record
|
68
|
+
end
|
69
|
+
write_file(File.expand_path("test/fixtures/#{join.options[:join_table]}.yml", Rails.root), hsh.to_yaml(SortKeys: true))
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Generates a basic fixture file in test/fixtures that lists the table's field names.
|
74
|
+
#
|
75
|
+
# You can use it as a starting point for your own fixtures.
|
76
|
+
#
|
77
|
+
# record_1:
|
78
|
+
# name:
|
79
|
+
# rating:
|
80
|
+
# record_2:
|
81
|
+
# name:
|
82
|
+
# rating:
|
83
|
+
#
|
84
|
+
# TODO: Automatically add :id field if there is one.
|
85
|
+
def to_skeleton
|
86
|
+
record = {
|
87
|
+
'record_1' => self.new.attributes,
|
88
|
+
'record_2' => self.new.attributes
|
89
|
+
}
|
90
|
+
write_file(File.expand_path("test/fixtures/#{table_name}.yml", Rails.root),
|
91
|
+
record.to_yaml)
|
92
|
+
end
|
93
|
+
|
94
|
+
def write_file(path, content) # :nodoc:
|
95
|
+
f = File.new(path, 'w+')
|
96
|
+
f.puts content
|
97
|
+
f.close
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'ar_fixtures'
|
3
|
+
|
4
|
+
def env_or_raise(var_name, human_name)
|
5
|
+
if ENV[var_name].blank?
|
6
|
+
fail "No #{var_name} value given. Set #{var_name}=#{human_name}"
|
7
|
+
else
|
8
|
+
return ENV[var_name]
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def model_or_raise
|
13
|
+
env_or_raise('MODEL', 'ModelName')
|
14
|
+
end
|
15
|
+
|
16
|
+
def limit_or_nil_string
|
17
|
+
ENV['LIMIT'].blank? ? 'nil' : ENV['LIMIT']
|
18
|
+
end
|
19
|
+
|
20
|
+
namespace :db do
|
21
|
+
namespace :fixtures do
|
22
|
+
desc 'Dump data to the test/fixtures/ directory. Use MODEL=ModelName and LIMIT (optional)'
|
23
|
+
task dump_all: :environment do
|
24
|
+
[Company, Priority, Project, ProjectRole, Status, Task, User, Version].each(&:to_fixture)
|
25
|
+
end
|
26
|
+
|
27
|
+
desc 'Dump data to the test/fixtures/ directory. Use MODEL=ModelName and LIMIT (optional)'
|
28
|
+
task dump: :environment do
|
29
|
+
eval "#{model_or_raise}.to_fixture(#{limit_or_nil_string})"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
namespace :data do
|
34
|
+
desc 'Dump data to the db/ directory. Use MODEL=ModelName and LIMIT (optional)'
|
35
|
+
task dump: :environment do
|
36
|
+
eval "#{model_or_raise}.dump_to_file(nil, #{limit_or_nil_string})"
|
37
|
+
puts "#{model_or_raise} has been dumped to the db folder."
|
38
|
+
end
|
39
|
+
|
40
|
+
desc 'Load data from the db/ directory. Use MODEL=ModelName'
|
41
|
+
task load: :environment do
|
42
|
+
eval "#{model_or_raise}.load_from_file"
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -23,12 +23,12 @@ describe Wice::GridOutputBuffer do
|
|
23
23
|
buffer.add_filter('key', FILTER_COMMON_CODE)
|
24
24
|
|
25
25
|
expect(buffer.filter_for('key')).to eq(FILTER_COMMON_CODE)
|
26
|
-
expect { buffer.filter_for('key') }.to raise_error
|
26
|
+
expect { buffer.filter_for('key') }.to raise_error(Wice::WiceGridException)
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'should filter_for without filters' do
|
30
30
|
|
31
|
-
expect { buffer.filter_for('key') }.to raise_error
|
31
|
+
expect { buffer.filter_for('key') }.to raise_error(Wice::WiceGridException)
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should filter_for return empty string' do
|
@@ -31,6 +31,6 @@ describe Wice::TableColumnMatrix do
|
|
31
31
|
|
32
32
|
it 'should get column not initialized' do
|
33
33
|
|
34
|
-
expect { table.get_column_in_default_model_class_by_column_name(:name) }.to raise_error
|
34
|
+
expect { table.get_column_in_default_model_class_by_column_name(:name) }.to raise_error(Wice::WiceGridException)
|
35
35
|
end
|
36
36
|
end
|
@@ -1,4 +1,5 @@
|
|
1
|
-
$
|
1
|
+
$ -> initWiceGrid()
|
2
|
+
$(document).on 'turbolinks:render', -> initWiceGrid()
|
2
3
|
|
3
4
|
globalVarForAllGrids = 'wiceGrids'
|
4
5
|
|
@@ -205,13 +206,24 @@ setupSubmitReset = (wiceGridContainer, gridProcessor) ->
|
|
205
206
|
event.preventDefault()
|
206
207
|
gridProcessor.process()
|
207
208
|
|
209
|
+
SetEnd = (txt) ->
|
210
|
+
if txt.createTextRange
|
211
|
+
#IE
|
212
|
+
FieldRange = txt.createTextRange()
|
213
|
+
FieldRange.moveStart 'character', txt.value.length
|
214
|
+
FieldRange.collapse()
|
215
|
+
FieldRange.select()
|
216
|
+
else
|
217
|
+
#Firefox and Opera
|
218
|
+
txt.focus()
|
219
|
+
length = txt.value.length
|
220
|
+
txt.setSelectionRange length, length
|
221
|
+
return
|
208
222
|
|
209
223
|
focusElementIfNeeded = (focusId) ->
|
210
224
|
elements = $('#' + focusId)
|
211
225
|
if elToFocus = elements[0]
|
212
|
-
|
213
|
-
elToFocus.focus()
|
214
|
-
|
226
|
+
SetEnd elToFocus
|
215
227
|
|
216
228
|
# autoreload for internal filters
|
217
229
|
setupAutoreloadsForInternalFilters = (wiceGridContainer, gridProcessor) ->
|
data/wice_grid.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'wice_grid'
|
3
|
-
s.version = '
|
3
|
+
s.version = '4.1.0'
|
4
4
|
s.authors = ['Yuri Leikind and contributors']
|
5
|
-
s.email = ['
|
6
|
-
s.homepage = 'https://github.com/
|
5
|
+
s.email = ['patrick@yamasolutions.com']
|
6
|
+
s.homepage = 'https://github.com/patricklindsay/wice_grid'
|
7
7
|
s.summary = 'A Rails grid plugin to quickly create grids with sorting, pagination, and filters.'
|
8
8
|
s.description = 'A Rails grid plugin to create grids with sorting, pagination, and filters generated automatically based on column types. ' \
|
9
9
|
'The contents of the cell are up for the developer, just like one does when rendering a collection via a simple table. ' \
|
@@ -13,19 +13,39 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
14
14
|
s.license = 'MIT'
|
15
15
|
s.require_paths = ['lib']
|
16
|
-
s.date = '
|
16
|
+
s.date = '2018-11-28'
|
17
17
|
|
18
|
-
s.add_dependency '
|
19
|
-
s.add_dependency 'kaminari', ['~> 0
|
18
|
+
s.add_dependency 'rails', '~> 5.0', '< 5.3'
|
19
|
+
s.add_dependency 'kaminari', ['~> 1.1.0']
|
20
20
|
s.add_dependency 'coffee-rails', ['> 3.2']
|
21
21
|
|
22
22
|
s.add_development_dependency('rake', '~> 10.1')
|
23
|
-
s.add_development_dependency('
|
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', '~> 2.2.0')
|
30
|
+
s.add_development_dependency('faker', '~> 1.8.7')
|
31
|
+
s.add_development_dependency('poltergeist', '~> 1.9.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')
|
24
46
|
|
25
47
|
s.add_development_dependency('bundler', '~> 1.3')
|
26
48
|
s.add_development_dependency('simplecov', '~> 0.7')
|
27
|
-
s.add_development_dependency('coveralls', '~> 0.8.2')
|
28
|
-
s.add_development_dependency('codeclimate-test-reporter', '~> 0.4.7')
|
29
49
|
s.add_development_dependency('sqlite3', '~> 1.3')
|
30
50
|
|
31
51
|
s.add_development_dependency('yard', '~> 0.8')
|
metadata
CHANGED
@@ -1,195 +1,439 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wice_grid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuri Leikind and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '5.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: kaminari
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - ~>
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
39
|
+
version: 1.1.0
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- - ~>
|
44
|
+
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
46
|
+
version: 1.1.0
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: coffee-rails
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ">"
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '3.2'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- -
|
58
|
+
- - ">"
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '3.2'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rake
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- - ~>
|
65
|
+
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
67
|
version: '10.1'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
|
-
- - ~>
|
72
|
+
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
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'
|
69
103
|
- !ruby/object:Gem::Dependency
|
70
104
|
name: rspec
|
71
105
|
requirement: !ruby/object:Gem::Requirement
|
72
106
|
requirements:
|
73
|
-
- - ~>
|
107
|
+
- - "~>"
|
74
108
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.
|
109
|
+
version: 3.6.0
|
76
110
|
type: :development
|
77
111
|
prerelease: false
|
78
112
|
version_requirements: !ruby/object:Gem::Requirement
|
79
113
|
requirements:
|
80
|
-
- - ~>
|
114
|
+
- - "~>"
|
81
115
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.
|
116
|
+
version: 3.6.0
|
83
117
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
118
|
+
name: rspec-rails
|
85
119
|
requirement: !ruby/object:Gem::Requirement
|
86
120
|
requirements:
|
87
|
-
- - ~>
|
121
|
+
- - "~>"
|
88
122
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
123
|
+
version: 3.6.0
|
90
124
|
type: :development
|
91
125
|
prerelease: false
|
92
126
|
version_requirements: !ruby/object:Gem::Requirement
|
93
127
|
requirements:
|
94
|
-
- - ~>
|
128
|
+
- - "~>"
|
95
129
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
130
|
+
version: 3.6.0
|
97
131
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
132
|
+
name: shoulda-matchers
|
99
133
|
requirement: !ruby/object:Gem::Requirement
|
100
134
|
requirements:
|
101
|
-
- -
|
135
|
+
- - '='
|
102
136
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
137
|
+
version: 2.8.0
|
104
138
|
type: :development
|
105
139
|
prerelease: false
|
106
140
|
version_requirements: !ruby/object:Gem::Requirement
|
107
141
|
requirements:
|
108
|
-
- -
|
142
|
+
- - '='
|
109
143
|
- !ruby/object:Gem::Version
|
110
|
-
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: 2.2.0
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 2.2.0
|
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.9.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.9.0
|
111
187
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
188
|
+
name: capybara-screenshot
|
113
189
|
requirement: !ruby/object:Gem::Requirement
|
114
190
|
requirements:
|
115
|
-
- - ~>
|
191
|
+
- - "~>"
|
116
192
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
193
|
+
version: 1.0.11
|
118
194
|
type: :development
|
119
195
|
prerelease: false
|
120
196
|
version_requirements: !ruby/object:Gem::Requirement
|
121
197
|
requirements:
|
122
|
-
- - ~>
|
198
|
+
- - "~>"
|
123
199
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
200
|
+
version: 1.0.11
|
125
201
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
202
|
+
name: selenium-webdriver
|
127
203
|
requirement: !ruby/object:Gem::Requirement
|
128
204
|
requirements:
|
129
|
-
- - ~>
|
205
|
+
- - "~>"
|
130
206
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
207
|
+
version: 2.51.0
|
132
208
|
type: :development
|
133
209
|
prerelease: false
|
134
210
|
version_requirements: !ruby/object:Gem::Requirement
|
135
211
|
requirements:
|
136
|
-
- - ~>
|
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
|
+
- - "~>"
|
137
262
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
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'
|
139
383
|
- !ruby/object:Gem::Dependency
|
140
384
|
name: sqlite3
|
141
385
|
requirement: !ruby/object:Gem::Requirement
|
142
386
|
requirements:
|
143
|
-
- - ~>
|
387
|
+
- - "~>"
|
144
388
|
- !ruby/object:Gem::Version
|
145
389
|
version: '1.3'
|
146
390
|
type: :development
|
147
391
|
prerelease: false
|
148
392
|
version_requirements: !ruby/object:Gem::Requirement
|
149
393
|
requirements:
|
150
|
-
- - ~>
|
394
|
+
- - "~>"
|
151
395
|
- !ruby/object:Gem::Version
|
152
396
|
version: '1.3'
|
153
397
|
- !ruby/object:Gem::Dependency
|
154
398
|
name: yard
|
155
399
|
requirement: !ruby/object:Gem::Requirement
|
156
400
|
requirements:
|
157
|
-
- - ~>
|
401
|
+
- - "~>"
|
158
402
|
- !ruby/object:Gem::Version
|
159
403
|
version: '0.8'
|
160
404
|
type: :development
|
161
405
|
prerelease: false
|
162
406
|
version_requirements: !ruby/object:Gem::Requirement
|
163
407
|
requirements:
|
164
|
-
- - ~>
|
408
|
+
- - "~>"
|
165
409
|
- !ruby/object:Gem::Version
|
166
410
|
version: '0.8'
|
167
411
|
- !ruby/object:Gem::Dependency
|
168
412
|
name: inch
|
169
413
|
requirement: !ruby/object:Gem::Requirement
|
170
414
|
requirements:
|
171
|
-
- - ~>
|
415
|
+
- - "~>"
|
172
416
|
- !ruby/object:Gem::Version
|
173
417
|
version: 0.6.4
|
174
418
|
type: :development
|
175
419
|
prerelease: false
|
176
420
|
version_requirements: !ruby/object:Gem::Requirement
|
177
421
|
requirements:
|
178
|
-
- - ~>
|
422
|
+
- - "~>"
|
179
423
|
- !ruby/object:Gem::Version
|
180
424
|
version: 0.6.4
|
181
425
|
- !ruby/object:Gem::Dependency
|
182
426
|
name: rdoc
|
183
427
|
requirement: !ruby/object:Gem::Requirement
|
184
428
|
requirements:
|
185
|
-
- - ~>
|
429
|
+
- - "~>"
|
186
430
|
- !ruby/object:Gem::Version
|
187
431
|
version: 4.2.0
|
188
432
|
type: :development
|
189
433
|
prerelease: false
|
190
434
|
version_requirements: !ruby/object:Gem::Requirement
|
191
435
|
requirements:
|
192
|
-
- - ~>
|
436
|
+
- - "~>"
|
193
437
|
- !ruby/object:Gem::Version
|
194
438
|
version: 4.2.0
|
195
439
|
description: A Rails grid plugin to create grids with sorting, pagination, and filters
|
@@ -198,18 +442,23 @@ description: A Rails grid plugin to create grids with sorting, pagination, and f
|
|
198
442
|
WiceGrid automates implementation of filters, ordering, paginations, CSV export,
|
199
443
|
and so on. Ruby blocks provide an elegant means for this.
|
200
444
|
email:
|
201
|
-
-
|
445
|
+
- patrick@yamasolutions.com
|
202
446
|
executables: []
|
203
447
|
extensions: []
|
204
448
|
extra_rdoc_files: []
|
205
449
|
files:
|
206
|
-
- .
|
207
|
-
- .
|
208
|
-
- .
|
209
|
-
- .
|
210
|
-
- .
|
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
|
+
- ".travis.yml"
|
458
|
+
- Appraisals
|
211
459
|
- CHANGELOG.md
|
212
460
|
- Gemfile
|
461
|
+
- Gemfile.lock
|
213
462
|
- MIT-LICENSE
|
214
463
|
- README.md
|
215
464
|
- Rakefile
|
@@ -235,6 +484,12 @@ files:
|
|
235
484
|
- config/locales/sk.yml
|
236
485
|
- config/locales/uk.yml
|
237
486
|
- config/locales/zh.yml
|
487
|
+
- gemfiles/rails_5.0.gemfile
|
488
|
+
- gemfiles/rails_5.0.gemfile.lock
|
489
|
+
- gemfiles/rails_5.1.gemfile
|
490
|
+
- gemfiles/rails_5.1.gemfile.lock
|
491
|
+
- gemfiles/rails_5.2.gemfile
|
492
|
+
- gemfiles/rails_5.2.gemfile.lock
|
238
493
|
- lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb
|
239
494
|
- lib/generators/wice_grid/install_generator.rb
|
240
495
|
- lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
|
@@ -275,25 +530,313 @@ files:
|
|
275
530
|
- lib/wice/wice_grid_serialized_query.rb
|
276
531
|
- lib/wice/wice_grid_spreadsheet.rb
|
277
532
|
- lib/wice_grid.rb
|
278
|
-
-
|
279
|
-
-
|
280
|
-
-
|
533
|
+
- spec/acceptance_helper.rb
|
534
|
+
- spec/features/action_column_request_spec.rb
|
535
|
+
- spec/features/adding_rows_request_spec.rb
|
536
|
+
- spec/features/all_records_request_spec.rb
|
537
|
+
- spec/features/auto_reloads2_request_spec.rb
|
538
|
+
- spec/features/auto_reloads3_request_spec.rb
|
539
|
+
- spec/features/auto_reloads_request_spec.rb
|
540
|
+
- spec/features/basics1_request_spec.rb
|
541
|
+
- spec/features/basics2_request_spec.rb
|
542
|
+
- spec/features/basics3_request_spec.rb
|
543
|
+
- spec/features/basics4_request_spec.rb
|
544
|
+
- spec/features/basics5_request_spec.rb
|
545
|
+
- spec/features/basics6_request_spec.rb
|
546
|
+
- spec/features/blockless_column_definition_spec.rb
|
547
|
+
- spec/features/buttons_request_spec.rb
|
548
|
+
- spec/features/csv_and_detached_filters_spec.rb
|
549
|
+
- spec/features/csv_export_request_spec.rb
|
550
|
+
- spec/features/custom_filter_params_request_spec.rb
|
551
|
+
- spec/features/custom_filters1_request_spec.rb
|
552
|
+
- spec/features/custom_filters2_request_spec.rb
|
553
|
+
- spec/features/custom_filters3_request_spec.rb
|
554
|
+
- spec/features/custom_filters4_request_spec.rb
|
555
|
+
- spec/features/custom_ordering_on_calculated_request_spec.rb
|
556
|
+
- spec/features/custom_ordering_request_spec.rb
|
557
|
+
- spec/features/custom_ordering_with_arel_request_spec.rb
|
558
|
+
- spec/features/custom_ordering_with_proc_request_spec.rb
|
559
|
+
- spec/features/custom_ordering_with_ruby_request_spec.rb
|
560
|
+
- spec/features/dates_request_spec.rb
|
561
|
+
- spec/features/detached_filters_spec.rb
|
562
|
+
- spec/features/detached_filters_two_grids_spec.rb
|
563
|
+
- spec/features/disable_all_filters_spec.rb
|
564
|
+
- spec/features/hiding_checkboxes_in_action_column_request_spec.rb
|
565
|
+
- spec/features/integration_with_application_view_request_spec.rb
|
566
|
+
- spec/features/integration_with_forms_request_spec.rb
|
567
|
+
- spec/features/joining_tables_spec.rb
|
568
|
+
- spec/features/localization_request_spec.rb
|
569
|
+
- spec/features/many_grids_on_page_request_spec.rb
|
570
|
+
- spec/features/negation_request_spec.rb
|
571
|
+
- spec/features/no_records_request_spec.rb
|
572
|
+
- spec/features/numeric_filters_request_spec.rb
|
573
|
+
- spec/features/resultset_processings2_request_spec.rb
|
574
|
+
- spec/features/resultset_processings_request_spec.rb
|
575
|
+
- spec/features/saved_queries_request_spec.rb
|
576
|
+
- spec/features/shared.rb
|
577
|
+
- spec/features/shared_detached_filters.rb
|
578
|
+
- spec/features/styling_spec.rb
|
579
|
+
- spec/features/two_associations_spec.rb
|
580
|
+
- spec/features/upper_pagination_panel_request_spec.rb
|
581
|
+
- spec/features/when_filtered_spec.rb
|
582
|
+
- spec/fixtures/.gitkeep
|
583
|
+
- spec/fixtures/companies.yml
|
584
|
+
- spec/fixtures/priorities.yml
|
585
|
+
- spec/fixtures/project_roles.yml
|
586
|
+
- spec/fixtures/projects.yml
|
587
|
+
- spec/fixtures/statuses.yml
|
588
|
+
- spec/fixtures/tasks.yml
|
589
|
+
- spec/fixtures/tasks_users.yml
|
590
|
+
- spec/fixtures/users.yml
|
591
|
+
- spec/fixtures/versions.yml
|
592
|
+
- spec/models/company_spec.rb
|
593
|
+
- spec/models/priority_spec.rb
|
594
|
+
- spec/models/project_spec.rb
|
595
|
+
- spec/models/status_spec.rb
|
596
|
+
- spec/models/task_spec.rb
|
597
|
+
- spec/models/user_project_participation_spec.rb
|
598
|
+
- spec/models/user_spec.rb
|
599
|
+
- spec/models/version_spec.rb
|
600
|
+
- spec/rails_helper.rb
|
281
601
|
- spec/schema.rb
|
282
602
|
- spec/spec_helper.rb
|
283
603
|
- spec/support/active_record.rb
|
284
|
-
- spec/support/
|
604
|
+
- spec/support/test_app/Rakefile
|
605
|
+
- spec/support/test_app/app/assets/javascripts/application.js
|
606
|
+
- spec/support/test_app/app/assets/javascripts/common.js.coffee
|
607
|
+
- spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js
|
608
|
+
- spec/support/test_app/app/assets/stylesheets/adding_rows.scss
|
609
|
+
- spec/support/test_app/app/assets/stylesheets/application.scss
|
610
|
+
- spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss
|
611
|
+
- spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss
|
612
|
+
- spec/support/test_app/app/controllers/action_column_controller.rb
|
613
|
+
- spec/support/test_app/app/controllers/adding_rows_controller.rb
|
614
|
+
- spec/support/test_app/app/controllers/all_records_controller.rb
|
615
|
+
- spec/support/test_app/app/controllers/application_controller.rb
|
616
|
+
- spec/support/test_app/app/controllers/auto_reloads2_controller.rb
|
617
|
+
- spec/support/test_app/app/controllers/auto_reloads3_controller.rb
|
618
|
+
- spec/support/test_app/app/controllers/auto_reloads_controller.rb
|
619
|
+
- spec/support/test_app/app/controllers/basics1_controller.rb
|
620
|
+
- spec/support/test_app/app/controllers/basics2_controller.rb
|
621
|
+
- spec/support/test_app/app/controllers/basics3_controller.rb
|
622
|
+
- spec/support/test_app/app/controllers/basics4_controller.rb
|
623
|
+
- spec/support/test_app/app/controllers/basics5_controller.rb
|
624
|
+
- spec/support/test_app/app/controllers/basics6_controller.rb
|
625
|
+
- spec/support/test_app/app/controllers/blockless_column_definition_controller.rb
|
626
|
+
- spec/support/test_app/app/controllers/buttons_controller.rb
|
627
|
+
- spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb
|
628
|
+
- spec/support/test_app/app/controllers/csv_export_controller.rb
|
629
|
+
- spec/support/test_app/app/controllers/custom_filter_params_controller.rb
|
630
|
+
- spec/support/test_app/app/controllers/custom_filters1_controller.rb
|
631
|
+
- spec/support/test_app/app/controllers/custom_filters2_controller.rb
|
632
|
+
- spec/support/test_app/app/controllers/custom_filters3_controller.rb
|
633
|
+
- spec/support/test_app/app/controllers/custom_filters4_controller.rb
|
634
|
+
- spec/support/test_app/app/controllers/custom_ordering_controller.rb
|
635
|
+
- spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb
|
636
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb
|
637
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb
|
638
|
+
- spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb
|
639
|
+
- spec/support/test_app/app/controllers/dates_controller.rb
|
640
|
+
- spec/support/test_app/app/controllers/detached_filters_controller.rb
|
641
|
+
- spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb
|
642
|
+
- spec/support/test_app/app/controllers/disable_all_filters_controller.rb
|
643
|
+
- spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb
|
644
|
+
- spec/support/test_app/app/controllers/home_controller.rb
|
645
|
+
- spec/support/test_app/app/controllers/integration_with_application_view_controller.rb
|
646
|
+
- spec/support/test_app/app/controllers/integration_with_forms_controller.rb
|
647
|
+
- spec/support/test_app/app/controllers/joining_tables_controller.rb
|
648
|
+
- spec/support/test_app/app/controllers/localization_controller.rb
|
649
|
+
- spec/support/test_app/app/controllers/many_grids_on_page_controller.rb
|
650
|
+
- spec/support/test_app/app/controllers/negation_controller.rb
|
651
|
+
- spec/support/test_app/app/controllers/no_records_controller.rb
|
652
|
+
- spec/support/test_app/app/controllers/null_values_controller.rb
|
653
|
+
- spec/support/test_app/app/controllers/numeric_filters_controller.rb
|
654
|
+
- spec/support/test_app/app/controllers/queries_controller.rb
|
655
|
+
- spec/support/test_app/app/controllers/resultset_processings2_controller.rb
|
656
|
+
- spec/support/test_app/app/controllers/resultset_processings_controller.rb
|
657
|
+
- spec/support/test_app/app/controllers/saved_queries_controller.rb
|
658
|
+
- spec/support/test_app/app/controllers/styling_controller.rb
|
659
|
+
- spec/support/test_app/app/controllers/tasks_controller.rb
|
660
|
+
- spec/support/test_app/app/controllers/two_associations_controller.rb
|
661
|
+
- spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb
|
662
|
+
- spec/support/test_app/app/controllers/when_filtered_controller.rb
|
663
|
+
- spec/support/test_app/app/helpers/application_helper.rb
|
664
|
+
- spec/support/test_app/app/mailers/.gitkeep
|
665
|
+
- spec/support/test_app/app/models/.gitkeep
|
666
|
+
- spec/support/test_app/app/models/company.rb
|
667
|
+
- spec/support/test_app/app/models/populate.rb
|
668
|
+
- spec/support/test_app/app/models/priority.rb
|
669
|
+
- spec/support/test_app/app/models/project.rb
|
670
|
+
- spec/support/test_app/app/models/project_role.rb
|
671
|
+
- spec/support/test_app/app/models/status.rb
|
672
|
+
- spec/support/test_app/app/models/task.rb
|
673
|
+
- spec/support/test_app/app/models/to_dropdown_mixin.rb
|
674
|
+
- spec/support/test_app/app/models/user.rb
|
675
|
+
- spec/support/test_app/app/models/user_project_participation.rb
|
676
|
+
- spec/support/test_app/app/models/version.rb
|
677
|
+
- spec/support/test_app/app/views/action_column/_grid.html.erb
|
678
|
+
- spec/support/test_app/app/views/action_column/index.html.haml
|
679
|
+
- spec/support/test_app/app/views/adding_rows/_grid.html.erb
|
680
|
+
- spec/support/test_app/app/views/adding_rows/index.html.haml
|
681
|
+
- spec/support/test_app/app/views/all_records/_grid.html.erb
|
682
|
+
- spec/support/test_app/app/views/all_records/index.html.haml
|
683
|
+
- spec/support/test_app/app/views/auto_reloads/_grid.html.erb
|
684
|
+
- spec/support/test_app/app/views/auto_reloads/index.html.haml
|
685
|
+
- spec/support/test_app/app/views/auto_reloads2/_grid.html.erb
|
686
|
+
- spec/support/test_app/app/views/auto_reloads2/index.html.haml
|
687
|
+
- spec/support/test_app/app/views/auto_reloads3/_grid.html.erb
|
688
|
+
- spec/support/test_app/app/views/auto_reloads3/index.html.haml
|
689
|
+
- spec/support/test_app/app/views/basics1/_grid.html.erb
|
690
|
+
- spec/support/test_app/app/views/basics1/index.html.haml
|
691
|
+
- spec/support/test_app/app/views/basics2/_grid.html.erb
|
692
|
+
- spec/support/test_app/app/views/basics2/index.html.haml
|
693
|
+
- spec/support/test_app/app/views/basics3/_grid.html.erb
|
694
|
+
- spec/support/test_app/app/views/basics3/index.html.haml
|
695
|
+
- spec/support/test_app/app/views/basics4/_grid.html.erb
|
696
|
+
- spec/support/test_app/app/views/basics4/index.html.haml
|
697
|
+
- spec/support/test_app/app/views/basics5/_grid.html.erb
|
698
|
+
- spec/support/test_app/app/views/basics5/index.html.haml
|
699
|
+
- spec/support/test_app/app/views/basics6/_grid.html.erb
|
700
|
+
- spec/support/test_app/app/views/basics6/index.html.haml
|
701
|
+
- spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb
|
702
|
+
- spec/support/test_app/app/views/blockless_column_definition/index.html.haml
|
703
|
+
- spec/support/test_app/app/views/buttons/_grid.html.erb
|
704
|
+
- spec/support/test_app/app/views/buttons/index.html.haml
|
705
|
+
- spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb
|
706
|
+
- spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml
|
707
|
+
- spec/support/test_app/app/views/csv_export/_projects_grid.html.erb
|
708
|
+
- spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb
|
709
|
+
- spec/support/test_app/app/views/csv_export/index.html.haml
|
710
|
+
- spec/support/test_app/app/views/custom_filter_params/_grid.html.erb
|
711
|
+
- spec/support/test_app/app/views/custom_filter_params/index.html.haml
|
712
|
+
- spec/support/test_app/app/views/custom_filters1/_g1.html.erb
|
713
|
+
- spec/support/test_app/app/views/custom_filters1/_g2.html.erb
|
714
|
+
- spec/support/test_app/app/views/custom_filters1/_g3.html.erb
|
715
|
+
- spec/support/test_app/app/views/custom_filters1/_g4.html.erb
|
716
|
+
- spec/support/test_app/app/views/custom_filters1/index.html.haml
|
717
|
+
- spec/support/test_app/app/views/custom_filters2/_grid.html.erb
|
718
|
+
- spec/support/test_app/app/views/custom_filters2/index.html.haml
|
719
|
+
- spec/support/test_app/app/views/custom_filters3/_grid.html.erb
|
720
|
+
- spec/support/test_app/app/views/custom_filters3/index.html.haml
|
721
|
+
- spec/support/test_app/app/views/custom_filters4/_grid.html.erb
|
722
|
+
- spec/support/test_app/app/views/custom_filters4/index.html.haml
|
723
|
+
- spec/support/test_app/app/views/custom_ordering/_grid.html.erb
|
724
|
+
- spec/support/test_app/app/views/custom_ordering/index.html.haml
|
725
|
+
- spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb
|
726
|
+
- spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml
|
727
|
+
- spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb
|
728
|
+
- spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml
|
729
|
+
- spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb
|
730
|
+
- spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml
|
731
|
+
- spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb
|
732
|
+
- spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml
|
733
|
+
- spec/support/test_app/app/views/dates/_grid.html.erb
|
734
|
+
- spec/support/test_app/app/views/dates/index.html.haml
|
735
|
+
- spec/support/test_app/app/views/detached_filters/_grid.html.erb
|
736
|
+
- spec/support/test_app/app/views/detached_filters/index.html.haml
|
737
|
+
- spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb
|
738
|
+
- spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml
|
739
|
+
- spec/support/test_app/app/views/disable_all_filters/_grid.html.erb
|
740
|
+
- spec/support/test_app/app/views/disable_all_filters/index.html.haml
|
741
|
+
- spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb
|
742
|
+
- spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml
|
743
|
+
- spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb
|
744
|
+
- spec/support/test_app/app/views/integration_with_application_view/index.html.haml
|
745
|
+
- spec/support/test_app/app/views/integration_with_forms/_grid.html.erb
|
746
|
+
- spec/support/test_app/app/views/integration_with_forms/index.html.haml
|
747
|
+
- spec/support/test_app/app/views/joining_tables/_grid.html.erb
|
748
|
+
- spec/support/test_app/app/views/joining_tables/index.html.haml
|
749
|
+
- spec/support/test_app/app/views/layouts/application.html.haml
|
750
|
+
- spec/support/test_app/app/views/localization/_grid.html.erb
|
751
|
+
- spec/support/test_app/app/views/localization/index.html.haml
|
752
|
+
- spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb
|
753
|
+
- spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb
|
754
|
+
- spec/support/test_app/app/views/many_grids_on_page/index.html.haml
|
755
|
+
- spec/support/test_app/app/views/negation/_grid.html.erb
|
756
|
+
- spec/support/test_app/app/views/negation/index.html.haml
|
757
|
+
- spec/support/test_app/app/views/no_records/_empty_grid.html.haml
|
758
|
+
- spec/support/test_app/app/views/no_records/_grid1.html.erb
|
759
|
+
- spec/support/test_app/app/views/no_records/_grid2.html.erb
|
760
|
+
- spec/support/test_app/app/views/no_records/_grid3.html.erb
|
761
|
+
- spec/support/test_app/app/views/no_records/index.html.haml
|
762
|
+
- spec/support/test_app/app/views/null_values/_grid.html.erb
|
763
|
+
- spec/support/test_app/app/views/null_values/index.html.haml
|
764
|
+
- spec/support/test_app/app/views/numeric_filters/_grid.html.erb
|
765
|
+
- spec/support/test_app/app/views/numeric_filters/index.html.haml
|
766
|
+
- spec/support/test_app/app/views/resultset_processings/_grid.html.erb
|
767
|
+
- spec/support/test_app/app/views/resultset_processings/index.html.haml
|
768
|
+
- spec/support/test_app/app/views/resultset_processings2/_grid.html.erb
|
769
|
+
- spec/support/test_app/app/views/resultset_processings2/index.html.haml
|
770
|
+
- spec/support/test_app/app/views/saved_queries/_grid.html.erb
|
771
|
+
- spec/support/test_app/app/views/saved_queries/index.html.haml
|
772
|
+
- spec/support/test_app/app/views/styling/_grid1.html.erb
|
773
|
+
- spec/support/test_app/app/views/styling/_grid2.html.erb
|
774
|
+
- spec/support/test_app/app/views/styling/index.html.haml
|
775
|
+
- spec/support/test_app/app/views/tasks/_grid.html.erb
|
776
|
+
- spec/support/test_app/app/views/tasks/index.html.haml
|
777
|
+
- spec/support/test_app/app/views/two_associations/_grid.html.erb
|
778
|
+
- spec/support/test_app/app/views/two_associations/index.html.haml
|
779
|
+
- spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb
|
780
|
+
- spec/support/test_app/app/views/upper_pagination_panel/index.html.haml
|
781
|
+
- spec/support/test_app/app/views/when_filtered/_grid.html.erb
|
782
|
+
- spec/support/test_app/app/views/when_filtered/index.html.haml
|
783
|
+
- spec/support/test_app/bin/rails
|
784
|
+
- spec/support/test_app/bin/rake
|
785
|
+
- spec/support/test_app/config.ru
|
786
|
+
- spec/support/test_app/config/application.rb
|
787
|
+
- spec/support/test_app/config/boot.rb
|
788
|
+
- spec/support/test_app/config/database.travis.yml
|
789
|
+
- spec/support/test_app/config/database.yml
|
790
|
+
- spec/support/test_app/config/database.yml.mysql
|
791
|
+
- spec/support/test_app/config/database.yml.postgresql
|
792
|
+
- spec/support/test_app/config/environment.rb
|
793
|
+
- spec/support/test_app/config/environments/development.rb
|
794
|
+
- spec/support/test_app/config/environments/production.rb
|
795
|
+
- spec/support/test_app/config/environments/test.rb
|
796
|
+
- spec/support/test_app/config/initializers/backtrace_silencers.rb
|
797
|
+
- spec/support/test_app/config/initializers/inflections.rb
|
798
|
+
- spec/support/test_app/config/initializers/mime_types.rb
|
799
|
+
- spec/support/test_app/config/initializers/secret_token.rb
|
800
|
+
- spec/support/test_app/config/initializers/session_store.rb
|
801
|
+
- spec/support/test_app/config/initializers/wice_grid_config.rb
|
802
|
+
- spec/support/test_app/config/initializers/wrap_parameters.rb
|
803
|
+
- spec/support/test_app/config/locales/en.yml
|
804
|
+
- spec/support/test_app/config/locales/wice_grid.yml
|
805
|
+
- spec/support/test_app/config/puma.rb
|
806
|
+
- spec/support/test_app/config/routes.rb
|
807
|
+
- spec/support/test_app/db/migrate/20120224193505_create_tasks.rb
|
808
|
+
- spec/support/test_app/db/migrate/20120224193517_create_users.rb
|
809
|
+
- spec/support/test_app/db/migrate/20120224193522_create_projects.rb
|
810
|
+
- spec/support/test_app/db/migrate/20120224193529_create_priorities.rb
|
811
|
+
- spec/support/test_app/db/migrate/20120224193537_create_statuses.rb
|
812
|
+
- spec/support/test_app/db/migrate/20120224193543_create_versions.rb
|
813
|
+
- spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb
|
814
|
+
- spec/support/test_app/db/migrate/20120224193610_create_companies.rb
|
815
|
+
- spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb
|
816
|
+
- spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb
|
817
|
+
- spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb
|
818
|
+
- spec/support/test_app/db/schema.rb
|
819
|
+
- spec/support/test_app/db/seeds.rb
|
820
|
+
- spec/support/test_app/lib/ar_fixtures.rb
|
821
|
+
- spec/support/test_app/lib/assets/.gitkeep
|
822
|
+
- spec/support/test_app/lib/tasks/.gitkeep
|
823
|
+
- spec/support/test_app/lib/tasks/ar_fixtures.rake
|
824
|
+
- spec/support/test_app/public/404.html
|
825
|
+
- spec/support/test_app/public/422.html
|
826
|
+
- spec/support/test_app/public/500.html
|
827
|
+
- spec/support/test_app/public/favicon.ico
|
828
|
+
- spec/support/test_app/public/robots.txt
|
285
829
|
- spec/wice/grid_output_buffer_spec.rb
|
286
830
|
- spec/wice/table_column_matrix_spec.rb
|
287
831
|
- spec/wice/wice_grid_misc_spec.rb
|
288
832
|
- spec/wice/wice_grid_spreadsheet_spec.rb
|
289
|
-
- test/readme.txt
|
290
833
|
- vendor/assets/javascripts/wice_grid.js
|
291
834
|
- vendor/assets/javascripts/wice_grid_init.js.coffee
|
292
835
|
- vendor/assets/javascripts/wice_grid_processor.js.coffee
|
293
836
|
- vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee
|
294
837
|
- vendor/assets/stylesheets/wice_grid.scss
|
295
838
|
- wice_grid.gemspec
|
296
|
-
homepage: https://github.com/
|
839
|
+
homepage: https://github.com/patricklindsay/wice_grid
|
297
840
|
licenses:
|
298
841
|
- MIT
|
299
842
|
metadata: {}
|
@@ -303,19 +846,20 @@ require_paths:
|
|
303
846
|
- lib
|
304
847
|
required_ruby_version: !ruby/object:Gem::Requirement
|
305
848
|
requirements:
|
306
|
-
- -
|
849
|
+
- - ">="
|
307
850
|
- !ruby/object:Gem::Version
|
308
851
|
version: '0'
|
309
852
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
310
853
|
requirements:
|
311
|
-
- -
|
854
|
+
- - ">="
|
312
855
|
- !ruby/object:Gem::Version
|
313
856
|
version: '0'
|
314
857
|
requirements: []
|
315
858
|
rubyforge_project:
|
316
|
-
rubygems_version: 2.
|
859
|
+
rubygems_version: 2.6.11
|
317
860
|
signing_key:
|
318
861
|
specification_version: 4
|
319
862
|
summary: A Rails grid plugin to quickly create grids with sorting, pagination, and
|
320
863
|
filters.
|
321
864
|
test_files: []
|
865
|
+
has_rdoc:
|