Toni
Toni enables you to create a centralized authorization rules configuration with a readable DSL, similar to declarative authorization, but not required to use with Ruby on Rails. Internally the Gem is using RSpec Matchers. You can use Toni with Sinatra and Ruby on Rails.
Installation
Add this line to your application's Gemfile:
gem 'toni'
And then execute:
$ bundle
Or install it yourself as:
$ gem install toni
Getting Started
Setup Authorization Rules
TODO: Write usage instructions here
Ruby on Rails
TODO: Write usage instructions here
Sinatra
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
