Releases: icoluccio/simple-crud
Releases · icoluccio/simple-crud
Release list
v0.2.1
- Rename the published gem from
simple_crudtowor-simple_crud.simple_crudis already taken on RubyGems by an unrelated gem, and RubyGems also rejects names that differ from an existing one only by hyphen/underscore (sosimple-crudwas rejected too). Install withgem 'wor-simple_crud', require: 'simple_crud'(the require path is unchanged). - Drop the last Wolox references now that this gem lives at icoluccio/simple-crud, and point the wor-paginate link and CI/gem badges at their new homes.
- Support Rails 6.1 through 8.1 (previously untested past very old Rails/Ruby versions): add an Appraisal-based test matrix, replace Travis CI with GitHub Actions, and drop the abandoned
devise_jwt_controllersandfictiumdependencies, which capped Rails compatibility at old versions. - Fix several bugs found while getting the CRUD shared examples to 100% coverage (authorization checks that never actually ran, mismatched test fixtures, a dead
SimpleCrud.configurethat always raised). - Add an overcommit pre-push hook (RuboCop + full spec suite) and tighten
.rubocop.ymlto the default cop set. - Make both authorization and pagination pluggable via
SimpleCrud::Authorization::Adapter/SimpleCrud::Pagination::Adapter(SimpleCrud.configure { |c| c.authorization_adapter = ...; c.pagination_adapter = ... }). Pundit and wor-paginate remain the defaults but are no longer hard dependencies of the gem: an app that setsauthorize: false/paginate: falseeverywhere needs neither installed. Ship CanCanCan and Action Policy as ready-to-use authorization adapters, and Kaminari, will_paginate, and Pagy as ready-to-use pagination adapters (none of the six libraries is a hard dependency, require the one you use).
Published on RubyGems as wor-simple_crud.