Skip to content

prodifyllp/cancancan-mongoid

 
 

Repository files navigation

CanCanCan-Mongoid

ATTENTION: Gem in development. Not working yet. Look at the build status to see which tests are failing and help us fixing them

Build Status

Code Climate

This is the adapter for the CanCanCan authorisation library to automatically generate SQL queries from ability rules.

Adds support for Mongoid >= 3.0

Ruby Versions Supported

Ruby >= 2.0.0

JRuby >= 9.1

Usage

In your Gemfile, insert the following line:

gem 'cancancan'
gem 'cancancan-mongoid'

Bugs?

If you find a bug please add an issue on GitHub or fork the project and send a pull request.

Development

cancancan-mongoid uses appraisals to test the code base against multiple versions of Mongoid

When first developing, you may need to run bundle install and then appraisal install, to install the different sets.

You can then run all appraisal files (like CI does), with appraisal rake or just run a specific set appraisal mongoid_6.1 rake.

About

CanCanCan Mongoid Adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%