Mongoid extention for model abtract devise_oauth2_providable
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
Guardfile
README.rdoc
Rakefile
devise_oauth2_providable_mongoid.gemspec

README.rdoc

# devise_oauth2_providable_mongoid

This gem provides Mongoid behaviour for my custom version of devise_oauth2_providable gem

My problem with original devise_oauth2_providable gem was :

* It was dedicated only to ActiveRecord ORM, I'm using Mongoid
* It forces to use provided models, I needed to plug behaviour in my own models

## Usage

Check out the core gem README at github.com/proxygear/devise_oauth2_providable But for the basic, you just need to :

““.rb gem 'devise_oauth2_providable', :git => 'github.com/proxygear/devise_oauth2_providable.git' # The :branch => :mongo_mapper_orm is not necessary anymore. I did merge it into the master. gem 'devise_oauth2_providable_mongoid', :git => 'github.com/proxygear/devise_oauth2_providable_mongoid.git' ““