/sinatra-authentication-ajax

A sinatra extension wrapped in a gem that implements authentication/permissions with users stored in the database. Now with optional support for facebook connect. This fork adds simple ajax responses from some routes.

Primary LanguageRubyThe UnlicenseUnlicense

This is a fork of the nice sinatra-authentication gem to add ajax-ready responses to all the routes.

To install:

git clone git@github.com:/wakely/sinatra-authentication-ajax
cd ./sinatra-authentication-ajax
as root:
gem build ./sinatra-authentication-ajax.gemspec
gem install ./sinatra-authentication-ajax-0.4.x.gem

Or?

   gem 'sinatra-authentication-ajax', :git => 'git://github.com/wakely/sinatra-authentication-ajax.git'
   gem install 'sinatra-authentication-ajax', github: 'wakely/sinatra-authentication-ajax'