hydra-role-management 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +68 -0
- data/.rubocop.yml +50 -0
- data/CONTRIBUTING.md +22 -20
- data/Gemfile +3 -3
- data/README.md +33 -1
- data/Rakefile +14 -17
- data/SUPPORT.md +6 -0
- data/app/controllers/concerns/hydra/role_management/roles_behavior.rb +15 -16
- data/app/controllers/concerns/hydra/role_management/user_roles_behavior.rb +9 -8
- data/app/controllers/roles_controller.rb +2 -1
- data/app/controllers/user_roles_controller.rb +2 -2
- data/app/models/concerns/hydra/role_management/legacy_attribute_handling.rb +2 -0
- data/app/models/concerns/hydra/role_management/user_roles.rb +5 -4
- data/app/models/role.rb +8 -5
- data/app/views/roles/edit.html.erb +1 -1
- data/config/routes.rb +2 -2
- data/hydra-role-management.gemspec +19 -14
- data/lib/generators/roles/roles_generator.rb +30 -32
- data/lib/generators/roles/templates/hydra_role_management_rails3.rb +2 -1
- data/lib/generators/roles/templates/migrations/user_roles.rb +3 -2
- data/lib/hydra-role-management.rb +9 -3
- data/lib/hydra/role_management.rb +4 -2
- data/lib/hydra/role_management/version.rb +2 -1
- data/spec/controllers/roles_controller_spec.rb +27 -30
- data/spec/controllers/user_roles_controller_spec.rb +15 -13
- data/spec/lib/user_roles_spec.rb +21 -21
- data/spec/models/role_spec.rb +22 -20
- data/spec/routing/role_management_routes_spec.rb +29 -44
- data/spec/spec_helper.rb +4 -2
- data/spec/test_app_templates/app/models/sample.rb +7 -8
- data/spec/test_app_templates/app/models/solr_document.rb +2 -2
- data/spec/test_app_templates/config/initializers/hydra_config.rb +6 -6
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +6 -5
- metadata +88 -17
- data/.travis.yml +0 -11