Commit graph

  • c81d2364e5 Add explanation for PR master Aryk Grosz 2017-07-30 10:06:38 -07:00
  • f7a2156847 Changes for PR Aryk Grosz 2017-07-30 10:03:31 -07:00
  • 60bc927b42 Fix typo in README Aryk Grosz 2017-07-27 11:13:11 -07:00
  • f33de4f8c1 Refactor dynamic methods Aryk Grosz 2017-07-27 11:03:24 -07:00
  • a4b8c45e9b Remove MRI 1.9.2 from Travis build matrix Martin Rehfeld 2017-06-23 00:47:31 +02:00
  • b2d885e5ca Pin development dependencies to working versions Martin Rehfeld 2017-06-23 00:43:51 +02:00
  • 1fbeed288c Update README to reflect dynamic selectors Aryk Grosz 2017-06-20 16:15:04 -07:00
  • 19c1499a05 Fix ugly rspec deprecation warnings Aryk Grosz 2017-06-20 16:02:07 -07:00
  • 0a8b6e27e7 Fix typo in README Martin Rehfeld 2017-06-21 14:18:23 +02:00
  • 39decc17e9 Fix ugly rspec deprecation warnings fix-rspec-warnings Aryk Grosz 2017-06-20 16:02:07 -07:00
  • c9cc0e9e77 Regenerate gemspec for version 0.8.2 v0.8.2 Martin Rehfeld 2015-02-12 14:59:14 +00:00
  • 6d7522fd39 Regenerate gemspec for version 0.8.2 Martin Rehfeld 2015-02-12 10:42:24 +01:00
  • 86b31f0a11 Add vendor dir to gitignore Martin Rehfeld 2015-02-12 10:42:19 +01:00
  • dc5c4d22a0 Regenerate gemspec for version 0.8.2 Martin Rehfeld 2015-02-12 10:16:00 +01:00
  • 8c8c36ca8e Merge pull request #33 from gregory/find_roles_from_mask Martin Rehfeld 2015-02-12 10:13:33 +01:00
  • 0c82b94b32 ability to retrieve the roles associated to a bitmask gregory 2015-02-11 16:38:11 -08:00
  • 16f90778b9 Merge pull request #31 from osulyanov/master Martin Rehfeld 2014-04-07 09:59:48 +02:00
  • e15b2836c0 Remove Ruby 1.8.7, add 2.0.0 and 2.1.1 to Travis build matrix Oleg Sulyanov 2014-04-07 14:46:10 +07:00
  • d0c6bdd8ea Remove rspec duplicate dependency Oleg Sulyanov 2014-04-07 14:39:00 +07:00
  • d273b9fc2f Merge pull request #30 from osulyanov/master Martin Rehfeld 2014-04-07 09:01:27 +02:00
  • 9675ed1c8f Remove test of deleting array with 1 element Oleg Sulyanov 2014-04-07 09:02:57 +07:00
  • cbfe5f7625 Fix typos and add test cases where pass single role as an array Oleg Sulyanov 2014-04-04 16:27:24 +07:00
  • 6e561c5343 Add delete array of roles feature and new specs. Oleg Sulyanov 2014-04-04 13:37:32 +07:00
  • 84825d3cda Fix some typos in README Martin Rehfeld 2013-01-17 08:01:45 +01:00
  • aec679174a Regenerate gemspec for version 0.8.1 v0.8.1 Martin Rehfeld 2012-10-29 20:18:11 +01:00
  • 07100d6c00 Version bump to 0.8.1 Martin Rehfeld 2012-10-29 20:18:04 +01:00
  • a4124cd651 role_symbols returns an Array, closes #22 Martin Rehfeld 2012-10-29 20:16:23 +01:00
  • 8845d63d03 Regenerate gemspec for version 0.8.0 v0.8.0 Martin Rehfeld 2012-10-29 11:47:55 +01:00
  • dfbb5cf4aa Version bump to 0.8.0 Martin Rehfeld 2012-10-29 11:45:52 +01:00
  • a304aa168e hopefully clarify usage, closes #20 Martin Rehfeld 2012-10-17 17:16:00 +03:00
  • 7c9741df52 Merge pull request #19 from dwbutler/master Martin Rehfeld 2012-08-29 00:27:58 -07:00
  • f1a4a79360 Define dynamic methods in a module so they can be overriden and still call super dwbutler 2012-08-28 14:05:09 -07:00
  • 04d0674ff1 Predefine dynamic queries from valid roles dwbutler 2012-08-27 12:50:13 -07:00
  • 9f8c48b69e Ruby 1.8.7 compatibility dwbutler 2012-08-27 10:55:29 -07:00
  • 39caec8984 Added support for dynamic matchers dwbutler 2012-08-27 09:55:19 -07:00
  • 7f55772f21 Merge pull request #17 from james2m/master Martin Rehfeld 2012-05-28 12:28:09 -07:00
  • aef2eb0e35 Added #has_only_roles? and #is_exactly? methods. James McCarthy 2012-05-28 20:05:14 +01:00
  • 643f3d1a13 add Ruby 1.9.3 to Travis build matrix Martin Rehfeld 2012-05-13 17:18:25 +02:00
  • 2696f0d1f5 Regenerate gemspec for version 0.7.1 v0.7.1 Martin Rehfeld 2012-05-13 17:01:53 +02:00
  • 80118f48fa Version bump to 0.7.1 Martin Rehfeld 2012-05-13 17:00:12 +02:00
  • 16240202f9 Merge pull request #15 from james2m/master Martin Rehfeld 2012-03-26 07:57:37 -07:00
  • 9d766b0f7b Removed the Gemfile.log as it's considered good practice http://bit.ly/ibPw3w . James McCarthy 2012-03-26 01:00:50 +01:00
  • ed0d286204 Updated rdoc to remove deprecation warnings. James McCarthy 2012-03-26 00:54:45 +01:00
  • c2f1f054b0 Simplified ClassMethods.mask_for. James McCarthy 2012-03-26 00:43:19 +01:00
  • 565e919863 Replaces use of role.respond_to?(:each) with role.is_a?(Set) in mask_for. James McCarthy 2011-09-05 19:34:32 +01:00
  • 3cefbf35da Replaced use of map { |r| r.to_sym } with the more terse but idomatic map(&:to_sym). James McCarthy 2011-09-05 19:31:17 +01:00
  • f9343c70c0 Forces the order of valid roles upon sanitized roles in mask_for and sets the bitmaks default value to 0. James McCarthy 2011-09-05 19:27:24 +01:00
  • f3d56f1ccf Removed use of Array[*roles]. James McCarthy 2011-09-05 19:20:49 +01:00
  • 25be3587cd whitespace Martin Rehfeld 2011-09-05 07:33:22 +02:00
  • eb03f4bcc7 add build matrix for Travis CI Martin Rehfeld 2011-07-22 00:52:17 +02:00
  • 1fbd0fa1e4 Regenerate gemspec for version 0.7.0 v0.7.0 Martin Rehfeld 2011-05-01 08:41:09 +02:00
  • 1888351428 Version bump to 0.7.0 Martin Rehfeld 2011-05-01 08:40:32 +02:00
  • c75bf358c6 Merge remote branch 'james2m/master' into issues_7_9 James McCarthy 2011-05-01 08:38:09 +02:00
  • bb34024aad update to RSpec 2, latest jeweler + bundler Martin Rehfeld 2011-04-07 01:02:45 +02:00
  • ce4d4905b4 Fixes rspec dependency to version 1 and bumps gem version. James McCarthy 2011-04-30 18:12:54 +01:00
  • 62687070a0 Fixes issue checking roles when none are initialized in the class yet. James McCarthy 2011-04-30 18:12:02 +01:00
  • c7d3a95874 Version bump to 0.6.1 James McCarthy 2011-04-30 17:50:38 +01:00
  • 9660b9b43a Fixes #7 RoleModel.roles is now a protected method. James McCarthy 2011-04-30 12:58:47 +01:00
  • 3fe3a6d535 spec supported usage of -= on .roles Martin Rehfeld 2010-10-27 23:24:38 +02:00
  • 322fb3baf9 simplify spec for .mask_for Martin Rehfeld 2010-10-27 23:20:32 +02:00
  • 4d84a4dd4c Regenerated gemspec for version 0.6.0 v0.6.0 Martin Rehfeld 2010-10-10 15:39:20 +02:00
  • 1737be8819 Version bump to 0.6.0 Martin Rehfeld 2010-10-10 15:39:09 +02:00
  • be64e35a7b add hint on #delete to README Martin Rehfeld 2010-10-10 15:38:21 +02:00
  • 604b0d5e09 refactoring: use .mask_for in #roles= Martin Rehfeld 2010-10-10 15:33:59 +02:00
  • 58e4e06bd1 support most Set methods on #roles Martin Rehfeld 2010-10-10 15:25:47 +02:00
  • 9222ec0da0 remove explicit #to_a before re-assigning Roles Martin Rehfeld 2010-10-10 15:06:28 +02:00
  • 2058edaf2f allow assigning Roles objects via #roles= Martin Rehfeld 2010-10-10 15:02:20 +02:00
  • f41b98a0e4 make spec for Roles#delete actually test the desired behaviour Martin Rehfeld 2010-10-10 14:10:48 +02:00
  • e62e22a459 Adding a method that returns the roles mask for a given array of roles Daniel Gaytán 2010-10-07 13:35:39 -05:00
  • 2717592a7c adding the ability to delete a role given as a string Pablo Barrios 2010-09-26 23:21:55 +08:00
  • e2e5578d88 Adding a delete method to remove a simple role Pablo Barrios 2010-09-26 12:18:55 +08:00
  • aec78afb98 remove duplication in spec Martin Rehfeld 2010-08-17 14:13:14 +02:00
  • d4befa6071 Regenerated gemspec for version 0.5.0 v0.5.0 Martin Rehfeld 2010-08-17 14:01:26 +02:00
  • f74006d493 Version bump to 0.5.0 Martin Rehfeld 2010-08-17 14:01:16 +02:00
  • 402ef2ed22 add reference to multi-role querying to the README has_roles Martin Rehfeld 2010-08-17 14:00:31 +02:00
  • 02364a4e06 properly spec the new multi-role query features Martin Rehfeld 2010-08-17 13:52:26 +02:00
  • 7dc843f0a7 ensure backward compatibility Martin Rehfeld 2010-08-17 13:45:06 +02:00
  • dec40a9c14 whitespace and punctuation Martin Rehfeld 2010-08-12 20:35:16 +02:00
  • 50e6c7054f Merge commit '27635154e722a3ad970c23d0d58b4a3cbad7e5e3' into has_roles Martin Rehfeld 2010-08-12 20:31:14 +02:00
  • 72ffee5870 use alias_method instead of alias Martin Rehfeld 2010-08-12 20:25:28 +02:00
  • 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 Kristian Mandrup 2010-08-12 15:40:28 +02:00
  • ecaaa57db0 add hint to .valid_roles class method to README Martin Rehfeld 2010-08-07 11:04:00 -07:00
  • 91341cc70e Regenerated gemspec for version 0.4.0 v0.4.0 Martin Rehfeld 2010-08-07 15:20:02 +02:00
  • febba64799 Version bump to 0.4.0 Martin Rehfeld 2010-08-07 15:19:54 +02:00
  • f7f139a92e provide is? alias for has_role? Martin Rehfeld 2010-08-07 15:15:32 +02:00
  • 90754f4e9e Regenerated gemspec for version 0.3.2 v0.3.2 Martin Rehfeld 2010-08-04 14:22:11 +02:00
  • 30d36506a7 Version bump to 0.3.2 Martin Rehfeld 2010-08-04 14:20:28 +02:00
  • 2d04b3f1a5 remove is_a? and is_an? aliases for has_role? Martin Rehfeld 2010-08-04 14:16:21 +02:00
  • a66af17fdf move instance methods into separate file Martin Rehfeld 2010-06-04 09:12:15 +02:00
  • be80b7e106 move RoleModel::ClassMethods into separate file Martin Rehfeld 2010-05-30 22:28:06 +02:00
  • 35c7ed502c fix another typo in comment Martin Rehfeld 2010-05-30 22:18:53 +02:00
  • 88601af7dd alias has_role? to is_an? (in addition to is_a?) Martin Rehfeld 2010-05-30 22:16:14 +02:00
  • aae5470155 improve RDoc documentation and fix typo in README Martin Rehfeld 2010-05-30 21:54:25 +02:00
  • b93f38af07 pimp elevator pitch Martin Rehfeld 2010-05-30 13:10:42 +02:00
  • 49e33ff355 configure rcov scope Martin Rehfeld 2010-05-30 00:36:56 +02:00
  • 4a15d83f30 improve and spec custom ArrayIncludingMatcher Martin Rehfeld 2010-05-30 00:18:28 +02:00
  • b20b9806bc minor README change Martin Rehfeld 2010-05-29 23:49:37 +02:00
  • 389cab60ac Regenerated gemspec for version 0.3.1 v0.3.1 Martin Rehfeld 2010-05-29 23:42:40 +02:00
  • 09fdb8bcdf Version bump to 0.3.1 Martin Rehfeld 2010-05-29 23:42:32 +02:00
  • 0dc99aef4a minor tweaks to spec Martin Rehfeld 2010-05-29 23:34:35 +02:00