Sha256: 6bd9b33fe8788ce94012fb7f874b3ec912aaab7742dfce111a9a5145035f3357
Contents?: true
Size: 1.73 KB
Versions: 1
Compression:
Stored size: 1.73 KB
Contents
# Authpro - Rails 4 only at the moment Work in progress but fully functional. [![Code Climate](https://codeclimate.com/github/ricn/authpro.png)](https://codeclimate.com/github/ricn/authpro) [![Build Status](https://travis-ci.org/ricn/authpro.png?branch=master)](https://travis-ci.org/ricn/authpro) Authpro is a simple authentication generator for Rails. It: * Gives you sign up, log in, remember me & password reset funtionality * Has no hidden code, weird sub classes or mixins * Has no configuration Authpro assumes you want: * User as the model * Email for login * Erb for views. This might be configurable in the future because I like writing views using Slim. However, you can easily change the code that Authpro generates if you want to. It's just simple Ruby / Rails code. To be honest you really should change the generated code. Most of the code in the user model should be moved to a different place. You can use the new concerns functionality in Rails 4. More information about concerns can be found [here](http://37signals.com/svn/posts/3372-put-chubby-models-on-a-diet-with-concerns). If concerns concerns you, you can always extract the code into Service Objects. More info about Service Objects can be found [here](http://railscasts.com/episodes/398-service-objects). ## Installation Add this line to your application's Gemfile: gem 'authpro' And then execute: $ bundle $ rails generate authpro $ rake db:migrate $ rails server Open browser: $ open http://localhost:3000 ## 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authpro-0.9.0 | README.md |