*CURRENTLY UNMAINTAINED*. Authority helps you authorize actions in your Rails app. It's ORM-neutral and has very little fancy syntax; just group your models under one or more Authorizer classes and write plain Ruby methods on them.
MIT License
1.21k
stars
67
forks
source link
Fix failing spec. Proc.bind was removed in Rails 4.1. #78
/home/travis/build/nathanl/authority/spec/authority/controller_spec.rb:4:in `require': cannot load such file -- active_support/core_ext/proc (LoadError)
In issue #56 Proc.bind was replaced with instance_exec, but the controller spec still requires that Proc class. That file was removed in Rails 4.1 which raises an error now.
Build fails with:
In issue #56
Proc.bind
was replaced withinstance_exec
, but the controller spec still requires thatProc
class. That file was removed in Rails 4.1 which raises an error now.