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: 102,545 of 189,852
Downloads: 7,821

Daily

Ranking: 100,652 of 189,815
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,285,266,899activesupport
81,245,119,659rake
29953,591,983rspec
99446,741,422simplecov

Owners

#GravatarHandle
1iconchris12295