rolify v3.3 Release Notes
Release Date: 2014-01-26 // about 10 years ago-
- ๐ DEPRECATION NOTICE:Rails 3.1 support dropped: if you use Rails 3.1, please stick to rolify 3.2
- code cleanup in finders methods
- generators rewritten entirely. now using ActiveRecord/Mongoid model generator to create Role model
- โ added rspec matchers for detailed spec error messages (thanks to @delwyn)
- ๐ clean up specs (thanks to @delwyn), removed subject and let declarations in before(:all) block
- roles query needs 1 DB hit instead of 1 up to 3 (thanks to @terraplane)
- โ remove nil entries from ResourceAdapter#resources_find when using Mongoid adapter (thanks to @daviscabral)
- ๐ fixed a bug regarding redundant index for Mongoid Role model (thanks to @rschultheis)
- โ added support for rolify and resourcify methods on the same model class (specs by @amer)
- โ added support for namespaced models (thanks to @intrica)
- ๐ fixed compatibility issue with squeel when using symbols as role parameters (hint by @f3ndot)
- โ now raises a warning in the initializer if migration has not been run
- โ add support for primary key different than 'id' for resource Model (thanks to @rafaeldl)
- ๐ Rails 4 (thanks to @adammathys) and ruby 2.0 compliant
- ๐ง configured travis-ci to run the specs on Rails 3.2/4.0 and Rubies 1.9.3/2.0/rbx/jruby
- โ added code climate to check for code smell