Fix Rubinius failures.
Merge pull request #74 from gergoerdosi/travis

Fix Rubinius failures.
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
Fix spec error for ruby 1.8.7
Add failing spec

When authorize_actions_for is called with {:actions => {:actions =>
:read}}, it should not throw an error.
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.
Merge pull request #75 from orchardpie/master

Allow authorize_actions_for to pass options
Update README per changes in 135a501
Merge pull request #76 from capicue/forced_actions

Refactor overridden_actions
Probably not a common enough use case to show here
Update CHANGELOG
Update CHANGELOG and bump version