README.markdown in roles_data_mapper-0.1.2 vs README.markdown in roles_data_mapper-0.1.3

- old
+ new

@@ -1,14 +1,11 @@ # Roles for Data Mapper A Data Mapper implementation of [roles generic](http://github.com/kristianmandrup/roles_generic) -## Update! +The following role strategies from Roles Generic are currently supported -Now implements the [roles generic](http://github.com/kristianmandrup/roles_generic) Roles API -It also implements the following Role strategies: - * admin_flag * many_roles * one_role * roles_mask * role_string @@ -23,21 +20,25 @@ This gem is based on Jeweler, so simply: <code>rake install</code> -## Rails generator +## Roles Generator The library comes with a Rails 3 generator that lets you populate a user model with a given role strategy The following role strategies are included by default. Add your own by adding extra files inside the strategy folder, one file for each role strategy is recommended. * admin_flag * many_roles * one_role * roles_mask * role_string -*Roles generator* +### Update Oct 10. + +Bugfix: Added dependencies to Rakefile for role generator so they should work out-of-the-box after gem is installed ;) + +## Usage examples Apply :admin_flag Role strategy to User model using default roles :admin and :guest (default) <code>$ rails g data_mapper:roles User --strategy admin_flag</code>