RubyGems Navigation menu

generic_auth 0.1.4

This gem works on the most basic ruby classes. Its only dependency is activesupport for some string and inflector functionality. GenericAuth is very easy to use, simply create a rules file and your class methods are automatically wrapped to invoke authorization methods before they are run. You must set the user which must respond to a roles method. Your authorized classes must also specify which methods should be authorized (generic_auth_on method) as an array of symbols (see specs). Other than that, its automatic

Gemfile:
=

安装:
=

版本列表:

  1. 0.1.4 August 20, 2012 (5.0 KB)
  2. 0.1.1 August 20, 2012 (5.0 KB)

Runtime 依赖 (1):

Development 依赖 (3):

rake >= 0
rspec >= 0
simplecov >= 0

业主:

作者:

  • Chris McLeod

SHA 256 校验和:

=

下载总量 7,530

这个版本 4,259

版本发布:

许可:

需要的 Ruby 版本:

链接: