├── .document ├── .github └── workflows │ ├── ci.yml │ ├── release.yml │ └── scripts │ ├── changelog.sh │ ├── tag.sh │ └── version.sh ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .yardopts ├── Appraisals ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── app ├── assets │ └── stylesheets │ │ └── datagrid.css └── views │ └── datagrid │ ├── _enum_checkboxes.html.erb │ ├── _form.html.erb │ ├── _head.html.erb │ ├── _order_for.html.erb │ ├── _range_filter.html.erb │ ├── _row.html.erb │ └── _table.html.erb ├── datagrid.gemspec ├── gemfiles ├── rails_7.0.gemfile ├── rails_7.1.gemfile ├── rails_7.2.gemfile ├── rails_8.0.gemfile └── rails_8.1.gemfile ├── lib ├── datagrid.rb └── datagrid │ ├── active_model.rb │ ├── base.rb │ ├── column_names_attribute.rb │ ├── columns.rb │ ├── columns │ └── column.rb │ ├── configuration.rb │ ├── core.rb │ ├── deprecated_object.rb │ ├── drivers.rb │ ├── drivers │ ├── abstract_driver.rb │ ├── active_record.rb │ ├── array.rb │ ├── mongo_mapper.rb │ ├── mongoid.rb │ └── sequel.rb │ ├── engine.rb │ ├── filters.rb │ ├── filters │ ├── base_filter.rb │ ├── boolean_filter.rb │ ├── date_filter.rb │ ├── date_time_filter.rb │ ├── default_filter.rb │ ├── dynamic_filter.rb │ ├── enum_filter.rb │ ├── extended_boolean_filter.rb │ ├── float_filter.rb │ ├── integer_filter.rb │ ├── ranged_filter.rb │ ├── select_options.rb │ └── string_filter.rb │ ├── form_builder.rb │ ├── generators │ ├── scaffold.rb │ └── views.rb │ ├── helper.rb │ ├── locale │ └── en.yml │ ├── ordering.rb │ ├── rspec.rb │ ├── utils.rb │ └── version.rb ├── spec ├── datagrid │ ├── active_model_spec.rb │ ├── column_names_attribute_spec.rb │ ├── columns │ │ └── column_spec.rb │ ├── columns_spec.rb │ ├── core_spec.rb │ ├── drivers │ │ ├── active_record_spec.rb │ │ ├── array_spec.rb │ │ ├── mongo_mapper_spec.rb │ │ ├── mongoid_spec.rb │ │ └── sequel_spec.rb │ ├── filters │ │ ├── base_filter_spec.rb │ │ ├── boolean_filter_spec.rb │ │ ├── date_filter_spec.rb │ │ ├── date_time_filter_spec.rb │ │ ├── dynamic_filter_spec.rb │ │ ├── enum_filter_spec.rb │ │ ├── extended_boolean_filter_spec.rb │ │ ├── float_filter_spec.rb │ │ ├── integer_filter_spec.rb │ │ └── string_filter_spec.rb │ ├── filters_spec.rb │ ├── form_builder_spec.rb │ ├── generators │ │ └── scaffold_spec.rb │ ├── helper_spec.rb │ ├── ordering_spec.rb │ ├── stylesheet_spec.rb │ └── utils_spec.rb ├── datagrid_spec.rb ├── spec_helper.rb └── support │ ├── active_record.rb │ ├── configuration.rb │ ├── i18n_helpers.rb │ ├── matchers.rb │ ├── mongo_mapper.rb │ ├── mongoid.rb │ ├── sequel.rb │ ├── simple_report.rb │ └── test_partials │ ├── _actions.html.erb │ ├── client │ └── datagrid │ │ ├── _form.html.erb │ │ ├── _head.html.erb │ │ ├── _order_for.html.erb │ │ ├── _row.html.erb │ │ └── _table.html.erb │ ├── custom_checkboxes │ └── _enum_checkboxes.html.erb │ ├── custom_form │ └── _form.html.erb │ ├── custom_range │ └── _range_filter.html.erb │ └── deprecated_enum_checkboxes │ └── _enum_checkboxes.html.erb ├── templates ├── base.rb.erb └── grid.rb.erb └── version-2 ├── Readme.markdown ├── deprecations.sh ├── find_broken_range_filters.rb ├── find_deprecated_column_options.rb ├── form-v1.html ├── form-v2.html └── views.diff /.document: -------------------------------------------------------------------------------- 1 | bin/* 2 | lib/**/*.rb 3 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/scripts/changelog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.github/workflows/scripts/changelog.sh -------------------------------------------------------------------------------- /.github/workflows/scripts/tag.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.github/workflows/scripts/tag.sh -------------------------------------------------------------------------------- /.github/workflows/scripts/version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.github/workflows/scripts/version.sh -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/.yardopts -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/stylesheets/datagrid.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/assets/stylesheets/datagrid.css -------------------------------------------------------------------------------- /app/views/datagrid/_enum_checkboxes.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_enum_checkboxes.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_form.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_head.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_head.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_order_for.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_order_for.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_range_filter.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_range_filter.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_row.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_row.html.erb -------------------------------------------------------------------------------- /app/views/datagrid/_table.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/app/views/datagrid/_table.html.erb -------------------------------------------------------------------------------- /datagrid.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/datagrid.gemspec -------------------------------------------------------------------------------- /gemfiles/rails_7.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/gemfiles/rails_7.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/gemfiles/rails_7.1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_7.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/gemfiles/rails_7.2.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_8.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/gemfiles/rails_8.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_8.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/gemfiles/rails_8.1.gemfile -------------------------------------------------------------------------------- /lib/datagrid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid.rb -------------------------------------------------------------------------------- /lib/datagrid/active_model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/active_model.rb -------------------------------------------------------------------------------- /lib/datagrid/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/base.rb -------------------------------------------------------------------------------- /lib/datagrid/column_names_attribute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/column_names_attribute.rb -------------------------------------------------------------------------------- /lib/datagrid/columns.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/columns.rb -------------------------------------------------------------------------------- /lib/datagrid/columns/column.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/columns/column.rb -------------------------------------------------------------------------------- /lib/datagrid/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/configuration.rb -------------------------------------------------------------------------------- /lib/datagrid/core.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/core.rb -------------------------------------------------------------------------------- /lib/datagrid/deprecated_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/deprecated_object.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/abstract_driver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/abstract_driver.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/active_record.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/array.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/mongo_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/mongo_mapper.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/mongoid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/mongoid.rb -------------------------------------------------------------------------------- /lib/datagrid/drivers/sequel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/drivers/sequel.rb -------------------------------------------------------------------------------- /lib/datagrid/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/engine.rb -------------------------------------------------------------------------------- /lib/datagrid/filters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/base_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/base_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/boolean_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/boolean_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/date_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/date_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/date_time_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/date_time_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/default_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/default_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/dynamic_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/dynamic_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/enum_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/enum_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/extended_boolean_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/extended_boolean_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/float_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/float_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/integer_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/integer_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/ranged_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/ranged_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/select_options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/select_options.rb -------------------------------------------------------------------------------- /lib/datagrid/filters/string_filter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/filters/string_filter.rb -------------------------------------------------------------------------------- /lib/datagrid/form_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/form_builder.rb -------------------------------------------------------------------------------- /lib/datagrid/generators/scaffold.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/generators/scaffold.rb -------------------------------------------------------------------------------- /lib/datagrid/generators/views.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/generators/views.rb -------------------------------------------------------------------------------- /lib/datagrid/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/helper.rb -------------------------------------------------------------------------------- /lib/datagrid/locale/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/locale/en.yml -------------------------------------------------------------------------------- /lib/datagrid/ordering.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/ordering.rb -------------------------------------------------------------------------------- /lib/datagrid/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/rspec.rb -------------------------------------------------------------------------------- /lib/datagrid/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/lib/datagrid/utils.rb -------------------------------------------------------------------------------- /lib/datagrid/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Datagrid 4 | VERSION = "2.0.8" 5 | end 6 | -------------------------------------------------------------------------------- /spec/datagrid/active_model_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/active_model_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/column_names_attribute_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/column_names_attribute_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/columns/column_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/columns/column_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/columns_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/columns_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/core_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/core_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/drivers/active_record_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/drivers/active_record_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/drivers/array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/drivers/array_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/drivers/mongo_mapper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/drivers/mongo_mapper_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/drivers/mongoid_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/drivers/mongoid_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/drivers/sequel_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/drivers/sequel_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/base_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/base_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/boolean_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/boolean_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/date_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/date_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/date_time_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/date_time_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/dynamic_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/dynamic_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/enum_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/enum_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/extended_boolean_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/extended_boolean_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/float_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/float_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/integer_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/integer_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters/string_filter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters/string_filter_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/filters_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/filters_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/form_builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/form_builder_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/generators/scaffold_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/generators/scaffold_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/helper_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/ordering_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/ordering_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/stylesheet_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/stylesheet_spec.rb -------------------------------------------------------------------------------- /spec/datagrid/utils_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid/utils_spec.rb -------------------------------------------------------------------------------- /spec/datagrid_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/datagrid_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/active_record.rb -------------------------------------------------------------------------------- /spec/support/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/configuration.rb -------------------------------------------------------------------------------- /spec/support/i18n_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/i18n_helpers.rb -------------------------------------------------------------------------------- /spec/support/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/matchers.rb -------------------------------------------------------------------------------- /spec/support/mongo_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/mongo_mapper.rb -------------------------------------------------------------------------------- /spec/support/mongoid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/mongoid.rb -------------------------------------------------------------------------------- /spec/support/sequel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/sequel.rb -------------------------------------------------------------------------------- /spec/support/simple_report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/simple_report.rb -------------------------------------------------------------------------------- /spec/support/test_partials/_actions.html.erb: -------------------------------------------------------------------------------- 1 | <%= "No action for #{model.name}" -%> 2 | -------------------------------------------------------------------------------- /spec/support/test_partials/client/datagrid/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/client/datagrid/_form.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/client/datagrid/_head.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/client/datagrid/_head.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/client/datagrid/_order_for.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/client/datagrid/_order_for.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/client/datagrid/_row.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/client/datagrid/_row.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/client/datagrid/_table.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/client/datagrid/_table.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/custom_checkboxes/_enum_checkboxes.html.erb: -------------------------------------------------------------------------------- 1 | custom_enum_checkboxes 2 | -------------------------------------------------------------------------------- /spec/support/test_partials/custom_form/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/spec/support/test_partials/custom_form/_form.html.erb -------------------------------------------------------------------------------- /spec/support/test_partials/custom_range/_range_filter.html.erb: -------------------------------------------------------------------------------- 1 | custom_range_partial 2 | -------------------------------------------------------------------------------- /spec/support/test_partials/deprecated_enum_checkboxes/_enum_checkboxes.html.erb: -------------------------------------------------------------------------------- 1 | <%= elements.to_json %> 2 | -------------------------------------------------------------------------------- /templates/base.rb.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/templates/base.rb.erb -------------------------------------------------------------------------------- /templates/grid.rb.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/templates/grid.rb.erb -------------------------------------------------------------------------------- /version-2/Readme.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/Readme.markdown -------------------------------------------------------------------------------- /version-2/deprecations.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/deprecations.sh -------------------------------------------------------------------------------- /version-2/find_broken_range_filters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/find_broken_range_filters.rb -------------------------------------------------------------------------------- /version-2/find_deprecated_column_options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/find_deprecated_column_options.rb -------------------------------------------------------------------------------- /version-2/form-v1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/form-v1.html -------------------------------------------------------------------------------- /version-2/form-v2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/form-v2.html -------------------------------------------------------------------------------- /version-2/views.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bogdan/datagrid/HEAD/version-2/views.diff --------------------------------------------------------------------------------