Toni

Build Status Code Climate Inline docs

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request