Project

avocado

0.0
The project is in a healthy, maintained state
Simple authentication for Rails (7.1+) applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.1
~> 7.1.0.alpha
 Project Readme

🥑

Authentication library for Rails 7.1+ applications.

When most people notice the trifecta of has_secure_password, authenticate_by, and generates_token_for in Rails 7.1 they think to themselves "Sweet sassy molassey, I bet you could DIY a nice auth solution with these dog-gone methods!" and then they slap the roof of their cars and yell "Everyone to the coder-cycle! Let's rev this bad boy up and build us an SDK!"

But then again, maybe it's too soon for that, or maybe you're nervous about writing authentication code in your own application and would prefer to consume such code in scrumpulent gem form instead. The 🥑 gem is an extraction of the authentication portion of an experimental next-generation Rails codebase built in our research group.

Installation

Add to the application's Gemfile by executing:

$ bundle add avocado

Usage

Read the documentation for more details.

Development

After checking out the repo, run bin/setup to install dependencies. Use bin/rspec to run the full spec suite and bin/standardrb to run the linter. Running bin/rake will run specs & linter.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.