Aryk Grosz
|
39decc17e9
|
Fix ugly rspec deprecation warnings
|
2017-06-20 16:02:07 -07:00 |
|
Martin Rehfeld
|
c9cc0e9e77
|
Regenerate gemspec for version 0.8.2
|
2015-02-12 14:59:14 +00:00 |
|
Martin Rehfeld
|
6d7522fd39
|
Regenerate gemspec for version 0.8.2
|
2015-02-12 10:42:24 +01:00 |
|
Martin Rehfeld
|
86b31f0a11
|
Add vendor dir to gitignore
|
2015-02-12 10:42:19 +01:00 |
|
Martin Rehfeld
|
dc5c4d22a0
|
Regenerate gemspec for version 0.8.2
|
2015-02-12 10:16:00 +01:00 |
|
Martin Rehfeld
|
8c8c36ca8e
|
Merge pull request #33 from gregory/find_roles_from_mask
ability to retrieve the roles associated to a bitmask
|
2015-02-12 10:13:33 +01:00 |
|
gregory
|
0c82b94b32
|
ability to retrieve the roles associated to a bitmask
|
2015-02-11 16:45:31 -08:00 |
|
Martin Rehfeld
|
16f90778b9
|
Merge pull request #31 from osulyanov/master
Remove rspec duplicate dependency, remove Ruby 1.8.7, add 2.0.0 and 2.1.1 to Travis build matrix
|
2014-04-07 09:59:48 +02:00 |
|
Oleg Sulyanov
|
e15b2836c0
|
Remove Ruby 1.8.7, add 2.0.0 and 2.1.1 to Travis build matrix
|
2014-04-07 14:46:10 +07:00 |
|
Oleg Sulyanov
|
d0c6bdd8ea
|
Remove rspec duplicate dependency
|
2014-04-07 14:39:00 +07:00 |
|
Martin Rehfeld
|
d273b9fc2f
|
Merge pull request #30 from osulyanov/master
Add delete array of roles feature
|
2014-04-07 09:01:27 +02:00 |
|
Oleg Sulyanov
|
9675ed1c8f
|
Remove test of deleting array with 1 element
|
2014-04-07 09:02:57 +07:00 |
|
Oleg Sulyanov
|
cbfe5f7625
|
Fix typos and add test cases where pass single role as an array
|
2014-04-04 16:27:24 +07:00 |
|
Oleg Sulyanov
|
6e561c5343
|
Add delete array of roles feature and new specs.
|
2014-04-04 13:37:32 +07:00 |
|
Martin Rehfeld
|
84825d3cda
|
Fix some typos in README
|
2013-01-17 08:01:45 +01:00 |
|
Martin Rehfeld
|
aec679174a
|
Regenerate gemspec for version 0.8.1
|
2012-10-29 20:18:11 +01:00 |
|
Martin Rehfeld
|
07100d6c00
|
Version bump to 0.8.1
|
2012-10-29 20:18:04 +01:00 |
|
Martin Rehfeld
|
a4124cd651
|
role_symbols returns an Array, closes #22
DeclarativeAuthorization has problems with the Set-like
RoleModel::Roles class.
|
2012-10-29 20:17:06 +01:00 |
|
Martin Rehfeld
|
8845d63d03
|
Regenerate gemspec for version 0.8.0
|
2012-10-29 11:47:55 +01:00 |
|
Martin Rehfeld
|
dfbb5cf4aa
|
Version bump to 0.8.0
|
2012-10-29 11:45:52 +01:00 |
|
Martin Rehfeld
|
a304aa168e
|
hopefully clarify usage, closes #20
|
2012-10-17 17:16:00 +03:00 |
|
Martin Rehfeld
|
7c9741df52
|
Merge pull request #19 from dwbutler/master
Support for dynamic querying
|
2012-08-29 00:27:58 -07:00 |
|
dwbutler
|
f1a4a79360
|
Define dynamic methods in a module so they can be overriden and still call super
|
2012-08-28 14:05:09 -07:00 |
|
dwbutler
|
04d0674ff1
|
Predefine dynamic queries from valid roles
|
2012-08-27 12:50:13 -07:00 |
|
dwbutler
|
9f8c48b69e
|
Ruby 1.8.7 compatibility
|
2012-08-27 10:55:29 -07:00 |
|
dwbutler
|
39caec8984
|
Added support for dynamic matchers
|
2012-08-27 09:55:19 -07:00 |
|
Martin Rehfeld
|
7f55772f21
|
Merge pull request #17 from james2m/master
Added has_only_roles? with alias is_exactly? methods.
|
2012-05-28 12:28:09 -07:00 |
|
James McCarthy
|
aef2eb0e35
|
Added #has_only_roles? and #is_exactly? methods.
|
2012-05-28 20:05:14 +01:00 |
|
Martin Rehfeld
|
643f3d1a13
|
add Ruby 1.9.3 to Travis build matrix
|
2012-05-13 17:18:25 +02:00 |
|
Martin Rehfeld
|
2696f0d1f5
|
Regenerate gemspec for version 0.7.1
|
2012-05-13 17:01:53 +02:00 |
|
Martin Rehfeld
|
80118f48fa
|
Version bump to 0.7.1
|
2012-05-13 17:00:12 +02:00 |
|
Martin Rehfeld
|
16240202f9
|
Merge pull request #15 from james2m/master
update mask_for, fix rdoc deprecation and remove Gemfile.lock.
|
2012-03-26 07:57:37 -07:00 |
|
James McCarthy
|
9d766b0f7b
|
Removed the Gemfile.log as it's considered good practice http://bit.ly/ibPw3w .
|
2012-03-26 14:57:43 +01:00 |
|
James McCarthy
|
ed0d286204
|
Updated rdoc to remove deprecation warnings.
|
2012-03-26 14:57:43 +01:00 |
|
James McCarthy
|
c2f1f054b0
|
Simplified ClassMethods.mask_for.
|
2012-03-26 14:57:26 +01:00 |
|
James McCarthy
|
565e919863
|
Replaces use of role.respond_to?(:each) with role.is_a?(Set) in mask_for.
|
2011-09-06 10:09:12 +02:00 |
|
James McCarthy
|
3cefbf35da
|
Replaced use of map { |r| r.to_sym } with the more terse but idomatic map(&:to_sym).
|
2011-09-06 10:08:46 +02:00 |
|
James McCarthy
|
f9343c70c0
|
Forces the order of valid roles upon sanitized roles in mask_for and sets the bitmaks default value to 0.
|
2011-09-06 10:08:19 +02:00 |
|
James McCarthy
|
f3d56f1ccf
|
Removed use of Array[*roles].
|
2011-09-06 10:07:47 +02:00 |
|
Martin Rehfeld
|
25be3587cd
|
whitespace
|
2011-09-05 07:33:22 +02:00 |
|
Martin Rehfeld
|
eb03f4bcc7
|
add build matrix for Travis CI
|
2011-07-22 00:52:17 +02:00 |
|
Martin Rehfeld
|
1fbd0fa1e4
|
Regenerate gemspec for version 0.7.0
|
2011-05-01 08:41:09 +02:00 |
|
Martin Rehfeld
|
1888351428
|
Version bump to 0.7.0
|
2011-05-01 08:40:32 +02:00 |
|
James McCarthy
|
c75bf358c6
|
Merge remote branch 'james2m/master' into issues_7_9
* ignored RSpec 1 and gem version related changes
Conflicts:
.gitignore
Rakefile
|
2011-05-01 08:38:09 +02:00 |
|
Martin Rehfeld
|
bb34024aad
|
update to RSpec 2, latest jeweler + bundler
|
2011-05-01 08:34:15 +02:00 |
|
James McCarthy
|
ce4d4905b4
|
Fixes rspec dependency to version 1 and bumps gem version.
|
2011-04-30 18:12:54 +01:00 |
|
James McCarthy
|
62687070a0
|
Fixes issue checking roles when none are initialized in the class yet.
|
2011-04-30 18:12:02 +01:00 |
|
James McCarthy
|
c7d3a95874
|
Version bump to 0.6.1
|
2011-04-30 17:50:38 +01:00 |
|
James McCarthy
|
9660b9b43a
|
Fixes #7 RoleModel.roles is now a protected method.
|
2011-04-30 12:58:47 +01:00 |
|
Martin Rehfeld
|
3fe3a6d535
|
spec supported usage of -= on .roles
|
2010-10-27 23:24:38 +02:00 |
|