Permalink
Switch branches/tags
Commits on Sep 27, 2010
  1. Refactoring, cleaning up, random mods

    Yanosz committed Sep 27, 2010
Commits on Sep 16, 2010
  1. Merge remote branch 'upstream/master'

    Yanosz committed Sep 16, 2010
    Conflicts:
    	declarative_authorization.gemspec
  2. modified gemspec

    Yanosz committed Sep 16, 2010
Commits on Sep 12, 2010
  1. Removed Rails gem dependency because of problems with decl_auth causi…

    stffn committed Sep 12, 2010
    …ng the latest Rails version to be loaded and bumped the minor gem version
Commits on Sep 6, 2010
Commits on Sep 2, 2010
  1. Merged Eric Vatour's patches into git

    Yanosz committed Sep 2, 2010
  2. Merge remote branch 'upstream/master'

    Yanosz committed Sep 2, 2010
Commits on Aug 30, 2010
  1. includeds prototype on the fly instead of assuming that it's available

    bwlang committed Aug 30, 2010
    (makes the authorization_usages bits work even if the rest of the site is using jquery)
Commits on Aug 19, 2010
  1. Extended the authorization rule test helpers to take the same options…

    Sharagoz committed Aug 19, 2010
    … as the authorization engine
Commits on Jul 21, 2010
  1. Release 0.5

    stffn committed Jul 21, 2010
  2. Updated contributors

    stffn committed Jul 21, 2010
  3. Rake tasks moved to lib folder. Because of:DEPRECATION WARNING: Havin…

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

    stffn committed Jul 21, 2010
Commits on Jul 19, 2010
  1. Fixed Typo write -> read

    Yanosz committed Jul 19, 2010
  2. Initial import - no tests, no cleanup

    Yanosz committed Jul 19, 2010
Commits on Jul 12, 2010
  1. Add gt, gte, lt, lte comparison with tests.

    Ari Epstein committed with stffn Jul 9, 2010
Commits on Jun 18, 2010
  1. Doc update to stress :attribute_check

    stffn committed Jun 18, 2010
    (Closes #58, thanks benlangfeld)
Commits on Jun 17, 2010
  1. Removed another unnecessary query

    stffn committed Jun 17, 2010
Commits on Jun 15, 2010
Commits on May 20, 2010
  1. Ruby 1.8 #instance_methods returns a list of strings, where as 1.9 is…

    TJ Singleton committed with stffn May 19, 2010
    … symbols. Moved the conditional into class for symmetry with the above Hash#deep_merge
Commits on May 19, 2010
  1. 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…

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

    stffn committed May 18, 2010
  3. declare string as html safe. Add method to string for backwards compa…

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

    TJ Singleton committed May 14, 2010
    …ility.
Commits on May 2, 2010
  1. fixes a few issues with railsengine.rb

    timcharper committed with stffn Apr 29, 2010
    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>
  2. Be noisy about mismatched method names

    timcharper committed with stffn Apr 27, 2010
    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>
Commits on Apr 30, 2010
  1. if user is nil, pass nil for user_id instead of causing an exception

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

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

    mjonuschat committed with stffn Apr 17, 2010
    Signed-off-by: Steffen Bartsch <sbartsch@tzi.org>
  2. Turning Pathname into string

    stffn committed Apr 23, 2010
Commits on Apr 22, 2010
  1. Further fix for Rails.root being nil in plugin initialization in Rail…

    stffn committed Apr 22, 2010
    …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)
Commits on Apr 21, 2010