Commit graph

46 commits

Author SHA1 Message Date
Martin Rehfeld
402ef2ed22 add reference to multi-role querying to the README 2010-08-17 14:00:31 +02:00
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
dec40a9c14 whitespace and punctuation 2010-08-12 20:35:16 +02:00
Martin Rehfeld
50e6c7054f Merge commit '27635154e722a3ad970c23d0d58b4a3cbad7e5e3' into has_roles
draft for multi-role query methods provided by kristianmandrup

Conflicts:
	lib/role_model/implementation.rb
2010-08-12 20:31:14 +02:00
Martin Rehfeld
72ffee5870 use alias_method instead of alias
this might be beneficial when inheriting and 
re-defining methods introduced by RoleModel
2010-08-12 20:25:28 +02:00
Kristian Mandrup
27635154e7 added methods to check for multiple roles, any or all - also added 'drive_it' file to show how to use it - as described in README 2010-08-12 15:40:28 +02:00
Martin Rehfeld
ecaaa57db0 add hint to .valid_roles class method to README 2010-08-07 11:04:00 -07:00
Martin Rehfeld
91341cc70e Regenerated gemspec for version 0.4.0 2010-08-07 15:20:02 +02:00
Martin Rehfeld
febba64799 Version bump to 0.4.0 2010-08-07 15:19:54 +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
90754f4e9e Regenerated gemspec for version 0.3.2 2010-08-04 14:22:11 +02:00
Martin Rehfeld
30d36506a7 Version bump to 0.3.2 2010-08-04 14:20:28 +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
a66af17fdf move instance methods into separate file 2010-06-04 09:18:58 +02:00
Martin Rehfeld
be80b7e106 move RoleModel::ClassMethods into separate file 2010-05-30 22:28:06 +02:00
Martin Rehfeld
35c7ed502c fix another typo in comment 2010-05-30 22:18:53 +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
aae5470155 improve RDoc documentation and fix typo in README 2010-05-30 22:13:44 +02:00
Martin Rehfeld
b93f38af07 pimp elevator pitch 2010-05-30 13:10:42 +02:00
Martin Rehfeld
49e33ff355 configure rcov scope 2010-05-30 00:36:56 +02:00
Martin Rehfeld
4a15d83f30 improve and spec custom ArrayIncludingMatcher 2010-05-30 00:19:08 +02:00
Martin Rehfeld
b20b9806bc minor README change 2010-05-29 23:50:56 +02:00
Martin Rehfeld
389cab60ac Regenerated gemspec for version 0.3.1 2010-05-29 23:42:40 +02:00
Martin Rehfeld
09fdb8bcdf Version bump to 0.3.1 2010-05-29 23:42:32 +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
6812f1727f Regenerated gemspec for version 0.3.0 2010-05-29 13:21:59 +02:00
Martin Rehfeld
64469661cf Version bump to 0.3.0 2010-05-29 13:21:35 +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
11dbe76271 fix Ruby warning 2010-05-29 12:58:27 +02:00
Martin Rehfeld
5f17d781e0 Regenerated gemspec for version 0.2.0 2010-05-25 17:35:03 +02:00
Martin Rehfeld
4d6dc64738 Version bump to 0.2.0 2010-05-25 17:34:48 +02:00
Martin Rehfeld
3b6096759f support inheritance of RoleModel settings 2010-05-25 17:27:16 +02:00
Martin Rehfeld
e5095d7ff0 add require statement to README example 2010-05-25 12:27:47 +02:00
Martin Rehfeld
69c22f3890 Add installation instruction to README 2010-05-25 00:29:43 +02:00
Martin Rehfeld
127755c020 Regenerated gemspec for version 0.1.1 2010-05-25 00:14:24 +02:00
Martin Rehfeld
0841a97883 generate gemspec 2010-05-25 00:13:35 +02:00
Martin Rehfeld
d12e63d051 add documentation 2010-05-25 00:13:28 +02:00
Martin Rehfeld
6167cee6fc initial codebase 2010-05-25 00:13:21 +02:00
Martin Rehfeld
38eefa9106 Version bump to 0.1.1 2010-05-25 00:06:43 +02:00
Martin Rehfeld
69a4086c9c Version bump to 0.1.0 2010-05-24 23:50:39 +02:00
Martin Rehfeld
39354bd5a8 Version bump to 0.0.0 2010-05-24 23:50:30 +02:00
Martin Rehfeld
09649d08d0 Initial commit to role_model. 2010-05-24 21:50:46 +02:00