Commit Graph

  • efa3ff1c0f releasing 1.6.0 1.6.0 Ryan Bates 2011-03-10 23:59:13 -0800
  • 9bee4a8d4b adding any/all support for MetaWhere conditions Ryan Bates 2011-03-08 23:19:56 -0800
  • eb2826f135 adding more MetaWhere comparison operators Ryan Bates 2011-03-08 22:21:42 -0800
  • a49269175e Merge branch 'master' into meta_where Ryan Bates 2011-03-08 22:05:40 -0800
  • 0de43c445b raise an error when trying to make a rule with both hash conditions and a block - closes #269 Ryan Bates 2011-03-08 17:20:32 -0800
  • f9b181af05 allow Active Record scope to be passed as Ability conditions - closes #257 Ryan Bates 2011-03-08 17:08:26 -0800
  • 80f1ab20fb adding :if and :unless options to check_authorization - closes #284 Ryan Bates 2011-03-08 16:35:01 -0800
  • 37102fe6f8 load collection resources in custom controller actions with no id param - closes #296 Ryan Bates 2011-03-08 16:10:40 -0800
  • ba999970b1 add space in multiword model in I18n unauthorized message - closes #292 Ryan Bates 2011-03-08 15:56:23 -0800
  • 951d70e057 adding :prepend option to load_and_authorize_resource - closes #290 Ryan Bates 2011-03-08 15:50:34 -0800
  • 3a07d62782 fixing spec for Inherited Resource parent loading Ryan Bates 2011-03-08 15:39:15 -0800
  • 2c2fa306cc Merge branch 'master' of https://github.com/stefanoverna/cancan into stefanoverna-master Ryan Bates 2011-03-08 15:33:47 -0800
  • 28a9a0ac07 Merge branch 'inherited_resources_collection_fix' of https://github.com/tanordheim/cancan into tanordheim-inherited_resources_collection_fix Ryan Bates 2011-03-08 15:24:14 -0800
  • bcf2756ad2 simplifying .rvmrc Ryan Bates 2011-03-08 15:23:31 -0800
  • c53ed1e497 raise a NotImplemented exception if it's an unrecognized MetaWhere condition Ryan Bates 2011-03-08 11:06:46 -0800
  • 07088a0cdc making it easier to test all MetaWhere conditions Ryan Bates 2011-03-08 10:52:49 -0800
  • ff5aaf543b adding initial MetaWhere support Ryan Bates 2011-03-08 10:37:25 -0800
  • 52435e97d9 fixing association conditions when MetaWhere is installed (thanks acmetech) - closes #261 Ryan Bates 2011-03-08 10:07:36 -0800
  • e3eab13b86 Use collection instead of end_of_association_chain in the inherited_resources integration, as per suggested by aq1018 Trond Arve Nordheim 2011-03-08 10:45:34 +0100
  • 79995e4309 adding Lock It Down section to readme Ryan Bates 2011-02-22 09:37:53 -0800
  • 8722fbc7a5 Fix for deeply nested resources when using inherited resources Stefano Verna 2011-02-17 22:31:17 +0100
  • 3901cbe499 fixing tests for passing action name through to accessible_by call Ryan Bates 2011-02-14 10:33:53 -0800
  • 471d54ce01 Merge branch 'pass_action_to_accessible_by' of https://github.com/amw/cancan into amw-pass_action_to_accessible_by Ryan Bates 2011-02-14 10:28:59 -0800
  • f23bbe04ef Fix rule check on Hash-like subjects Sam Pohlenz 2011-02-04 16:46:57 +1030
  • f1ea21b2a6 Pass action name to accessible_by. Adam Wróbel 2011-02-03 17:00:46 +0100
  • b2028c8aa7 moving :alert into redirect_to call in documentation Ryan Bates 2011-01-28 09:53:07 -0800
  • 929579f03b releasing 1.5.1 1.5.1 Ryan Bates 2011-01-20 10:16:01 -0800
  • f9ad4858f5 handle deeply nested conditions properly in active record adapter - closes #246 Ryan Bates 2011-01-20 10:12:46 -0800
  • 5c4c179c5a cleaning up mongoid adapter a little Ryan Bates 2011-01-19 10:17:21 -0800
  • 78cbea5733 Merge branch 'master' of https://github.com/stellard/cancan into stellard-master Ryan Bates 2011-01-19 09:25:08 -0800
  • cff922915e improved test assertion stellard 2011-01-18 21:47:33 +0000
  • 2012311c40 readme improvements Ryan Bates 2011-01-18 11:55:46 -0800
  • 55c8a5045b added cannot support and multiple can support stellard 2011-01-18 18:28:03 +0000
  • 344832d199 updated mongoid stellard 2011-01-18 18:27:53 +0000
  • 52b33589dc changing flash[:error] to flash[:alert] in rdocs - closes #238 Ryan Bates 2011-01-18 09:19:22 -0800
  • 04522c9bc6 releasing 1.5.0 1.5.0 Ryan Bates 2011-01-11 00:24:49 -0800
  • 120eafeabd updating readme for 1.5 Ryan Bates 2011-01-11 00:21:42 -0800
  • e49190fc21 fixing link in readme Ryan Bates 2011-01-08 21:48:19 -0800
  • 39bffe91ab fixing github links in readme Ryan Bates 2011-01-08 13:25:45 -0800
  • 3885f469d5 updating changelog Ryan Bates 2011-01-08 13:06:00 -0800
  • e2910a74ee moving parts of the README into wiki pages Ryan Bates 2011-01-08 12:36:32 -0800
  • 57327119a8 adding skip load and authorize behavior - closes #164 Ryan Bates 2011-01-08 12:04:55 -0800
  • 71ceb83ded Merge branch 'bowsersenior-master' Ryan Bates 2011-01-07 11:55:35 -0800
  • 045a850565 use gemset in rvmrc (thanks bowsersenior) - closes #231 Ryan Bates 2011-01-07 11:51:24 -0800
  • 9a14c706d2 Add MongoidAdapter specs for unsaved instances Mani Tadayon 2011-01-06 08:09:37 -0800
  • 12b0bff0b6 Use Mongoid::Matchers#matches? instead of a database query in MongoidAdapter#matches_conditions_hash? Mani Tadayon 2011-01-05 23:12:59 -0800
  • bc9ecb226d don't authorize uncountable instance in collection action - closes #193 Ryan Bates 2011-01-05 13:47:38 -0800
  • 15ca8ade3b improving DataMapper adapter and specs Ryan Bates 2011-01-05 13:22:06 -0800
  • cef6c21232 allow model adapter to override condition hash matching in Rule, also clean up Mongoid adapter and specs Ryan Bates 2011-01-04 11:43:41 -0800
  • 685e926d96 moving with_model rspec configuration into Active Record model adapter spec Ryan Bates 2011-01-04 10:55:48 -0800
  • bd9480cb51 removing unused sanitization code in mongoid spec Ryan Bates 2011-01-04 10:53:31 -0800
  • f759ab7e54 Automatically add accessible_by to Mongoid Documents to match CanCan behavior for ActiveRecord and DataMapper. Mani Tadayon 2011-01-03 12:32:44 -0800
  • 6ccb4dd684 adding spec_all rake task to spec readme Ryan Bates 2010-12-30 15:51:57 -0800
  • 70b5f9a613 adding spec_all task for running specs for all model adapters Ryan Bates 2010-12-30 15:50:40 -0800
  • f9f71d679d removing query.rb since it is no longer used Ryan Bates 2010-12-30 15:45:22 -0800
  • fc867c9c0d removing Mongoid::Components hack, tests are passing without it, add tests if this is actually needed Ryan Bates 2010-12-30 15:43:36 -0800
  • ec616ae75b moving accessible_by out into ModelAdditions module Ryan Bates 2010-12-30 15:40:53 -0800
  • f7a494dc51 switching mongoid over to new adapter Ryan Bates 2010-12-30 15:06:59 -0800
  • f5dce44697 switching data mapper to new adapter Ryan Bates 2010-12-30 14:53:56 -0800
  • e8d298c223 removing fake sanitize methods in specs because we're using Active Record now Ryan Bates 2010-12-30 14:44:31 -0800
  • 8628aa0038 cleanup whitespace Ryan Bates 2010-12-30 14:43:25 -0800
  • bbb02f7c8f dynamically detect which model adapter to use given a class Ryan Bates 2010-12-30 14:42:19 -0800
  • cc30e838c0 fixing active record adapter behavior and improving specs for it Ryan Bates 2010-12-30 00:43:22 -0800
  • af9e77a79e adding initial active record adapter Ryan Bates 2010-12-29 16:24:06 -0800
  • 4c5ba09f4c adding model adapter files in proper location with loading behavior Ryan Bates 2010-12-29 15:01:49 -0800
  • f8760b7149 adding some documentation for running specs with different model adapters Ryan Bates 2010-12-29 13:37:37 -0800
  • 2dc2a573f9 move mongoid/dm gems into Gemfile and load dynamically based on MODEL_ADAPTER env variable Ryan Bates 2010-12-29 13:22:14 -0800
  • f9a498d2fc moving model adapter specs into their own directory with MODEL_ADAPTER environment variable for choosing which one to run Ryan Bates 2010-12-29 13:15:56 -0800
  • 5183113d2d adding .rvmrc file to switch to Ruby 1.8.7 for development Ryan Bates 2010-12-29 13:04:22 -0800
  • d315e22e7a Add support and tests for datamapper. This broke some of the mongoid tests and I don't know how to fix them. Both packages define Symbol#in, and when you load them both things don't behave properly. Hopefully someone more versed in mongoid can rewrite the spec to not depend on the Symbol extensions. Nate Mueller 2010-12-29 06:07:20 +0800
  • 2d31cbdf60 switching gemspec version to 1.5.0.beta1 to avoid confusion Ryan Bates 2010-12-28 10:56:48 -0800
  • e14e1edec2 Fix bug with MongoidAdditions throwing a NameError when Mongoid is not defined by always checking if Mongoid is defined before referencing Mongoid-related constants Mani Tadayon 2010-12-26 02:17:50 -0800
  • ebb8e1bf8b Rename Mongoid collection used in spec and fix description for first spec Mani Tadayon 2010-12-26 01:37:29 -0800
  • 4339ac6546 improve support for rspec scaffolding (thanks voxik) - closes #176 Ryan Bates 2010-12-21 14:18:20 -0800
  • 5e1e6e182b allow query.conditions to be called multiple times without losing conditions Ryan Bates 2010-12-21 14:01:28 -0800
  • 9b8e84944c adding ability generator - closes #170 Ryan Bates 2010-12-21 11:38:27 -0800
  • 37c149182c renaming CanDefinition to Rule Ryan Bates 2010-12-21 10:41:55 -0800
  • a6959c0ab2 Merge branch 'master' of https://github.com/bowsersenior/cancan into bowsersenior-master Ryan Bates 2010-12-21 10:28:31 -0800
  • 2ee6908a2a Remove commented-out line from gemspec Mani Tadayon 2010-11-17 09:52:44 -0800
  • 84c590e8c7 Add comments clarifying alias_method in MongoidAdditions Mani Tadayon 2010-11-17 09:52:30 -0800
  • 5ebca1f9bf Update specs for MongoidAdditions to use rr mocks Mani Tadayon 2010-11-16 15:47:07 -0800
  • f6aaa581ef can? should only go to db if there are mongoid criteria in the conditions. Tyler Gannon 2010-11-15 19:43:54 -0800
  • 872e4cfba8 releasing version 1.4.1 1.4.1 Ryan Bates 2010-11-12 10:51:29 -0800
  • 787511a208 renaming skip_authorization to skip_authorization_check - closes #169 Ryan Bates 2010-11-12 10:46:03 -0800
  • 92995d791e adding :through_association option to load_resource (thanks hunterae) - closes #171 Ryan Bates 2010-11-12 10:42:26 -0800
  • ebf77ed647 fixing specs due to joins method check in active record additions Ryan Bates 2010-11-12 10:31:36 -0800
  • 9a7c427373 Fix NoMethodError Nanda Lopes 2010-11-04 02:47:02 +0800
  • cf263c105d checks if active record responds to 'joins', so this can work with internuity's quick_scopes gem; added .swp files to git ignore Ramon Tayag 2010-11-02 10:57:45 +0800
  • 79180de372 This fixes an odd error I was seeing in development mode when cache_classes = false (the default), specifically when loading an object throught the parent in load_and_authorize_resource. Michael Halliday 2010-10-17 22:36:40 +0800
  • dbcd93e095 Fix bug with Mongoid document where :manage :all caused accessible_by to return nothing and add specs to test for :manage :all. Mani Tadayon 2010-10-14 18:21:59 -0700
  • d256aeb26e Fix bug with CanDefinition#tableized_conditions being used with Mongoid documents and add more specs for accesible_by with Mongoid. Mani Tadayon 2010-10-14 17:39:19 -0700
  • 25bf479f48 Fix accessible_by for Mongoid documents when no ability is defined. Mani Tadayon 2010-10-13 19:41:30 -0700
  • ab82dcbc8f Add support for Mongoid::Criteria Symbol extensions (:age.gt => 10) along with specs. Mani Tadayon 2010-10-13 15:22:53 -0700
  • be74df0548 Add support for Mongoid documents along with basic specs. Mani Tadayon 2010-10-13 14:41:29 -0700
  • f901c367fc using supermodel in specs to remove some of the model stubs Ryan Bates 2010-10-08 11:46:41 -0700
  • 67cd83dd96 releasing version 1.4.0 1.4.0 Ryan Bates 2010-10-05 16:25:04 -0700
  • 6c3e87eea9 updating readme and documentation Ryan Bates 2010-10-05 16:18:35 -0700
  • fa766e71ed looks like Bundler automatically requires cancan for the specs Ryan Bates 2010-10-05 14:02:01 -0700
  • b0cec5251c adding a couple things to the changelog Ryan Bates 2010-10-05 12:00:50 -0700
  • 18b45d5cfc adding Gemfile, to get specs running just bundle and rake - closes #163 Ryan Bates 2010-10-05 10:09:37 -0700