Martin Rehfeld
|
02364a4e06
|
properly spec the new multi-role query features
|
2010-08-17 13:52:26 +02:00 |
|
Martin Rehfeld
|
7dc843f0a7
|
ensure backward compatibility
also get method and alias names right
|
2010-08-17 13:47:29 +02:00 |
|
Martin Rehfeld
|
f7f139a92e
|
provide is? alias for has_role?
this is what ryanb proposed on his implementation
|
2010-08-07 15:15:32 +02:00 |
|
Martin Rehfeld
|
2d04b3f1a5
|
remove is_a? and is_an? aliases for has_role?
these were poor names and caused conflicts
|
2010-08-04 14:16:21 +02:00 |
|
Martin Rehfeld
|
88601af7dd
|
alias has_role? to is_an? (in addition to is_a?)
|
2010-05-30 22:16:14 +02:00 |
|
Martin Rehfeld
|
4a15d83f30
|
improve and spec custom ArrayIncludingMatcher
|
2010-05-30 00:19:08 +02:00 |
|
Martin Rehfeld
|
0dc99aef4a
|
minor tweaks to spec
|
2010-05-29 23:40:43 +02:00 |
|
Martin Rehfeld
|
78cbab58b1
|
make Roles class inherit from Set instead of Array
|
2010-05-29 23:29:27 +02:00 |
|
Martin Rehfeld
|
b4159f1d82
|
alias has_role? to is_a?
|
2010-05-29 23:27:11 +02:00 |
|
Martin Rehfeld
|
7b24c29f4d
|
support adding roles with <<
|
2010-05-29 13:20:59 +02:00 |
|
Martin Rehfeld
|
c825481f76
|
add example to spec
|
2010-05-29 12:59:26 +02:00 |
|
Martin Rehfeld
|
3b6096759f
|
support inheritance of RoleModel settings
|
2010-05-25 17:27:16 +02:00 |
|
Martin Rehfeld
|
6167cee6fc
|
initial codebase
|
2010-05-25 00:13:21 +02:00 |
|
Martin Rehfeld
|
09649d08d0
|
Initial commit to role_model.
|
2010-05-24 21:50:46 +02:00 |
|