Aryk Grosz
c81d2364e5
Add explanation for PR
2017-07-30 10:06:38 -07:00
Aryk Grosz
f7a2156847
Changes for PR
2017-07-30 10:03:31 -07:00
Aryk Grosz
60bc927b42
Fix typo in README
2017-07-27 11:13:11 -07:00
Aryk Grosz
f33de4f8c1
Refactor dynamic methods
...
1. Add setter methods for each role
2. Remove duplicative methods and add ability to add
a prefix.
Tests: 100% Pass
(cherry picked from commit 3bba2a18cfbcc34ae6432b2715de728638fafe34)
2017-07-27 11:10:16 -07:00
Martin Rehfeld
a4b8c45e9b
Remove MRI 1.9.2 from Travis build matrix
2017-06-23 00:47:31 +02:00
Martin Rehfeld
b2d885e5ca
Pin development dependencies to working versions
...
* Remove Juweler as a dependency
* Manage development dependencies via gemspec
* Pin Rake and RSpec to versions compatible with the rest of the code
2017-06-23 00:43:51 +02:00
Aryk Grosz
1fbeed288c
Update README to reflect dynamic selectors
2017-06-22 23:57:39 +02:00
Aryk Grosz
19c1499a05
Fix ugly rspec deprecation warnings
2017-06-22 23:55:10 +02:00
Martin Rehfeld
0a8b6e27e7
Fix typo in README
2017-06-21 14:18:23 +02: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