Commits on Jan 7, 2011
  1. muting active_record calls

    committed Jan 7, 2011
Commits on Dec 31, 2010
  1. @stffn
  2. @stffn

    Updated contributors

    stffn committed Dec 31, 2010
Commits on Nov 16, 2010
  1. @stffn

    Fixed exception from frozen role_symbols

    Closes #79
    stffn committed Nov 16, 2010
Commits on Oct 28, 2010
  1. @stffn
Commits on Oct 11, 2010
  1. @dbloete

    Added example for RSpec

    dbloete committed Oct 11, 2010
Commits on Oct 10, 2010
  1. @dbloete
Commits on Sep 29, 2010
  1. @stffn
Commits on Sep 12, 2010
  1. @stffn
  2. @stffn

    Removed Rails gem dependency because of problems with decl_auth causi…

    …ng the latest Rails version to be loaded and bumped the minor gem version
    stffn committed Sep 12, 2010
Commits on Sep 6, 2010
  1. @stffn
Commits on Aug 30, 2010
  1. @bwlang

    includeds prototype on the fly instead of assuming that it's available

    (makes the authorization_usages bits work even if the rest of the site is using jquery)
    bwlang committed Aug 30, 2010
Commits on Aug 19, 2010
  1. @Sharagoz

    Extended the authorization rule test helpers to take the same options…

    … as the authorization engine
    Sharagoz committed Aug 20, 2010
Commits on Jul 21, 2010
  1. @stffn

    Release 0.5

    stffn committed Jul 21, 2010
  2. @stffn

    Updated contributors

    stffn committed Jul 21, 2010
  3. @opusmagnum @stffn

    Rake tasks moved to lib folder. Because of:DEPRECATION WARNING: Havin…

    …g rake tasks in PLUGIN_PATH/tasks or PLUGIN_PATH/rails/tasks is deprecated. Use to PLUGIN_PATH/lib/tasks instead.
    opusmagnum committed with stffn Jun 24, 2010
  4. @stffn

    Updated changelog and contributors

    stffn committed Jul 21, 2010
Commits on Jul 19, 2010
  1. @stffn
Commits on Jul 12, 2010
  1. @stffn

    Add gt, gte, lt, lte comparison with tests.

    Ari Epstein committed with stffn Jul 9, 2010
Commits on Jun 18, 2010
  1. @stffn

    Doc update to stress :attribute_check

    (Closes #58, thanks benlangfeld)
    stffn committed Jun 18, 2010
Commits on Jun 17, 2010
  1. @stffn

    Removed another unnecessary query

    stffn committed Jun 17, 2010
Commits on Jun 15, 2010
  1. @stffn
Commits on May 20, 2010
  1. @stffn

    Ruby 1.8 #instance_methods returns a list of strings, where as 1.9 is…

    … symbols. Moved the conditional into class for symmetry with the above Hash#deep_merge
    TJ Singleton committed with stffn May 19, 2010
Commits on May 19, 2010
  1. @stffn

    Fixes previous commit

    stffn committed May 19, 2010
Commits on May 18, 2010
  1. - don't check the class method, but check that the instance method is…

    … defined.
    
    - we don't actually need the instance variable.
    TJ Singleton committed May 18, 2010
  2. @stffn

    Added contributor

    stffn committed May 18, 2010
  3. @stffn

    declare string as html safe. Add method to string for backwards compa…

    …tiblity.
    TJ Singleton committed with stffn May 13, 2010
Commits on May 14, 2010
  1. Use Rails 3's prefered interface while maintaining backwards compatib…

    …ility.
    TJ Singleton committed May 13, 2010
Commits on May 2, 2010
  1. @timcharper @stffn

    fixes a few issues with railsengine.rb

    a) Authorization::Engine is already defined in authorization.rb.
    Therefore, we must (I believe) rename the Authorization::Engine rail tie.
    b) authorization.rb required railsengine.rb which required
    lib/declarative_authorization.rb.  This dependency chain made it
    impossible to select which pieces from declarative auth you want (if
    you're not using ActiveRecord, loading in_model.rb will fail, and
    lib/declarative_authorization.rb makes such an attempt).
    
    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
    timcharper committed with stffn Apr 29, 2010
  2. @timcharper @stffn

    Be noisy about mismatched method names

    It's generally bad practice to, by default, munch errors that were
    induced by errors in the code.
    
    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
    timcharper committed with stffn Apr 27, 2010
Commits on Apr 30, 2010
  1. @timcharper @stffn

    if user is nil, pass nil for user_id instead of causing an exception

    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
    timcharper committed with stffn Apr 29, 2010
  2. @timcharper @stffn

    remove redundancy in building gems

    gem build declarative_authorization.gemspec works just fine if
    spec.files has Dir.globs in it.
    
    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
    timcharper committed with stffn Apr 29, 2010
Commits on Apr 23, 2010
  1. @yabawock @stffn

    Add a railtie to initialize da under rails3

    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
    yabawock committed with stffn Apr 17, 2010
  2. @stffn

    Turning Pathname into string

    stffn committed Apr 23, 2010
Commits on Apr 22, 2010
  1. @stffn

    Further fix for Rails.root being nil in plugin initialization in Rail…

    …s 3.beta3
    
    The correct approach most likely is to employ Railtie and init hooks to make sure
    that Rails is initialized.  Anyway, this should fix it for now.
    (Closes #43)
    stffn committed Apr 22, 2010