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
Commits on Apr 21, 2010
  1. @stffn
Commits on Apr 18, 2010
  1. @stffn

    Less deprecation warnings

    stffn committed Apr 18, 2010
  2. @stffn
Commits on Apr 14, 2010
  1. @stffn
Commits on Mar 30, 2010
  1. @stffn
Commits on Mar 25, 2010
  1. @stffn
  2. @timcharper

    implements omnipotent roles

    timcharper committed Mar 24, 2010
  3. @timcharper
  4. @timcharper
  5. @timcharper
  6. @timcharper
Commits on Mar 19, 2010
  1. @stffn
Commits on Mar 4, 2010
  1. @stffn

    Merge branch 'rails3'

    stffn committed Mar 4, 2010
  2. @stffn

    Rails 3 support

    stffn committed Jan 19, 2010
Commits on Feb 21, 2010
  1. @stffn

    Bumped patch gem version

    stffn committed Feb 21, 2010
Commits on Jan 22, 2010
  1. @stffn
  2. @stffn

    More consistent deriving of context from model class

    Closes #26 [wjbuys]
    stffn committed Jan 22, 2010
Commits on Jan 19, 2010
  1. @stffn
Commits on Jan 12, 2010
  1. @stffn

    Updated contributors

    stffn committed Jan 12, 2010
  2. @dyck @stffn

    enables :shallow option to filter_resource_access for non-CRUD member…

    … actions defined by :member / :additional_member.
    dyck committed with stffn Jan 11, 2010
Commits on Jan 7, 2010
  1. @stffn
  2. @jjb @stffn