Categories: None [Edit]

generic_auth

https://rubygems.org/gems/generic_auth
https://github.com/chrismcleod/generic_auth
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

Total

Ranking: 105,813 of 198,225
Downloads: 8,022

Daily

Ranking: 69,347 of 198,184
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,469,777,579activesupport
81,456,522,763rake
291,037,342,164rspec
97516,528,732simplecov

Owners

#GravatarHandle
1iconchris12295