Skip to content
This repository

Jun 06, 2014

  1. Nathan Long

    Make test description match contents

    [ci skip]
    authored
  2. Nathan Long

    Merge pull request #83 from awinograd/master

    Fix README
    authored

May 21, 2014

  1. Alec Winograd

    Update README.markdown

    Fix methods called on AdminAuthorizer
    awinograd authored

May 15, 2014

  1. Nathan Long

    Update Rubinius testing for Travis

    authored
  2. Nathan Long

    Tiny documentation fix

    [ci skip]
    authored
  3. Nathan Long

    Merge pull request #80 from binarypaladin/readme-fix

    Fixed error in README concerning default authorizer name.
    authored

May 08, 2014

  1. Joshua Hansen

    Fixed error in README concerning default authorizer name.

Apr 19, 2014

  1. Nathan Long

    Bump version to 3.0.0

    [ci skip]
    authored
  2. Nathan Long

    Don't test prior to Ruby 1.9.3 or Rails 3.2

    authored

Apr 18, 2014

  1. Nathan Long

    Merge pull request #78 from gergoerdosi/require

    Fix failing spec. Proc.bind was removed in Rails 4.1.
    authored

Apr 17, 2014

  1. Gergo Erdosi

    Fix failing spec. Proc.bind was removed in Rails 4.1.

    gergoerdosi authored

Apr 08, 2014

  1. Nathan Long

    Update CHANGELOG and bump version

    authored
  2. Nathan Long

    Update CHANGELOG

    authored
  3. Nathan Long

    Probably not a common enough use case to show here

    authored
  4. Nathan Long

    Merge pull request #76 from capicue/forced_actions

    Refactor overridden_actions
    authored
  5. Nathan Long

    Update README per changes in 135a501

    authored
  6. Nathan Long

    Merge pull request #75 from orchardpie/master

    Allow authorize_actions_for to pass options
    authored

Mar 11, 2014

  1. Stacey Touset

    Refactor authorize_actions_for and authority_actions to be consistent

    Decouples dealing with the :actions and :all_actions options.
    Previously, overridden_actions was being applied twice to the same hash
    resulting in unexpected behavior.
    capicue authored
  2. Stacey Touset

    Add failing spec

    When authorize_actions_for is called with {:actions => {:actions =>
    :read}}, it should not throw an error.
    capicue authored

Mar 07, 2014

  1. Fix spec error for ruby 1.8.7

    Adam Milligan authored

Feb 27, 2014

  1. Allow authorize_actions_for to pass options

    This change simply splats the result of the method called to get the
    resource to authorize in a controller (as a result of using the
    .authorize_actions_for class method).
    
    This will have no effect on existing calls, since the .authorize_actions_for
    previously supported only a resource method that returns a single value.
    
    This change will allow someone to return an array in their resource
    method, including both the resource to authorize and options.  This can
    be very helpful for authorizing create actions.
    
    For example:
    
    class WibblesController
      before_filter :load_foo
      authorize_actions_for :foo_wibbles, only: :create
    
      ...
    
      private
    
      def foo_wibbles
        [Wibble, { foo_id: @foo }]
      end
    end
    Adam Milligan authored

Feb 21, 2014

  1. Nathan Long

    Merge pull request #74 from gergoerdosi/travis

    Fix Rubinius failures.
    authored
  2. Gergo Erdosi

    Fix Rubinius failures.

    gergoerdosi authored
  3. Nathan Long

    Merge pull request #73 from gergoerdosi/travis

    Fix Rubinius failures.
    authored
  4. Nathan Long

    Merge pull request #72 from gergoerdosi/readme

    Fix typo.
    authored
  5. Gergo Erdosi

    Fix Rubinius failures.

    gergoerdosi authored
  6. Gergo Erdosi

    Fix typo.

    gergoerdosi authored

Feb 19, 2014

  1. Nathan Long

    Merge pull request #71 from gergoerdosi/master

    Test on Ruby 2.1.0.
    authored
  2. Gergo Erdosi

    Test on Ruby 2.1.0.

    gergoerdosi authored

Oct 09, 2013

  1. Nathan Long

    Tweak message slightly

    [ci skip]
    authored
  2. Nathan Long

    More helpful error when user is nil

    Fixes #62
    authored
  3. Nathan Long

    Delete unused return value

    authored

Oct 03, 2013

  1. Nathan Long

    Bump version for release

    [ci skip]
    authored
  2. Nathan Long

    Yet another fix for 1.8.7 tests

    authored
  3. Nathan Long

    Fix another 1.8.7 syntax issue

    authored
Something went wrong with that request. Please try again.