Skip to content
This repository

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 April 18, 2014

Apr 17, 2014

  1. Gergo Erdosi

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

    authored April 17, 2014

Apr 08, 2014

  1. Nathan Long

    Update CHANGELOG and bump version

    authored April 08, 2014
  2. Nathan Long

    Update CHANGELOG

    authored April 08, 2014
  3. Nathan Long

    Probably not a common enough use case to show here

    authored April 08, 2014
  4. Nathan Long

    Merge pull request #76 from capicue/forced_actions

    Refactor overridden_actions
    authored April 08, 2014
  5. Nathan Long

    Update README per changes in 135a501

    authored April 08, 2014
  6. Nathan Long

    Merge pull request #75 from orchardpie/master

    Allow authorize_actions_for to pass options
    authored April 08, 2014

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.
    authored March 11, 2014
  2. Stacey Touset

    Add failing spec

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

Mar 07, 2014

  1. Fix spec error for ruby 1.8.7

    authored March 07, 2014

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
    authored February 27, 2014

Feb 21, 2014

  1. Nathan Long

    Merge pull request #74 from gergoerdosi/travis

    Fix Rubinius failures.
    authored February 21, 2014
  2. Gergo Erdosi

    Fix Rubinius failures.

    authored February 21, 2014
  3. Nathan Long

    Merge pull request #73 from gergoerdosi/travis

    Fix Rubinius failures.
    authored February 21, 2014
  4. Nathan Long

    Merge pull request #72 from gergoerdosi/readme

    Fix typo.
    authored February 21, 2014
  5. Gergo Erdosi

    Fix Rubinius failures.

    authored February 21, 2014
  6. Gergo Erdosi

    Fix typo.

    authored February 21, 2014

Feb 19, 2014

  1. Nathan Long

    Merge pull request #71 from gergoerdosi/master

    Test on Ruby 2.1.0.
    authored February 19, 2014
  2. Gergo Erdosi

    Test on Ruby 2.1.0.

    authored February 19, 2014

Oct 09, 2013

  1. Nathan Long

    Tweak message slightly

    [ci skip]
    authored October 09, 2013
  2. Nathan Long

    More helpful error when user is nil

    Fixes #62
    authored October 09, 2013
  3. Nathan Long

    Delete unused return value

    authored October 09, 2013

Oct 03, 2013

  1. Nathan Long

    Bump version for release

    [ci skip]
    authored October 03, 2013
  2. Nathan Long

    Yet another fix for 1.8.7 tests

    authored October 03, 2013
  3. Nathan Long

    Fix another 1.8.7 syntax issue

    authored October 03, 2013
  4. Nathan Long

    Thank people using their real names. :)

    [ci skip]
    authored October 03, 2013
  5. Nathan Long

    Fix tests for Ruby 1.8.7

    Hash order is not guaranteed before 1.9
    authored October 03, 2013
  6. Nathan Long

    Tiny cleanups

    authored October 03, 2013
  7. Nathan Long

    Document `all_actions` key for `authorize_actions_for`

    authored October 03, 2013
  8. Nathan Long

    Treat 'all_actions' key as the special one in controller methods

    authored October 03, 2013

Oct 01, 2013

  1. Nathan Long

    Merge pull request #57 from div/permit_option

    Add :permit option to set authority action in mass
    authored October 01, 2013

Sep 30, 2013

  1. Igor Davydov

    Merge branch 'master' into permit_option

    Conflicts:
    	spec/authority/controller_spec.rb
    authored September 30, 2013
  2. Nathan Long

    Bump version to release

    [ci skip]
    authored September 30, 2013
  3. Nathan Long

    Add license to gemspec

    Fixes #59
    [ci skip]
    authored September 30, 2013
Something went wrong with that request. Please try again.