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