0.0
No commit activity in last 3 years
No release in over 3 years
Alphabetizes your gems in your Gemfile! Makes life good!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0
 Project Readme

HappyGemfile

House keep on your Gemfile no more! Happy Gemfile is here to clean up a small fraction of the clutter in your codebase by alphabetizing your gems!

Installation

Add this line to your application's Gemfile:

gem 'happy_gemfile'

And then execute:

$ bundle

Or install it yourself with:

$ gem install happy_gemfile

Usage

You can call the executable in the directory with the gemfile to be spruced up!

$ happy_gemfile

But nothing will happen without arguments!

happy_gemfile alphabetize # alphabetizes gems in place; reminds me of grade school.

happy_gemfile wipe_comments # clears all, non-inline, comments; you know what you're doing, right?

happy_gemfile organize_groups # places gems tidily their specified group; home sweet home!

happy_gemfile all # one arg to call them all! (RECOMMENDED)

Alternatively, you can call the alphabetize method directly in your app, say, in your config.rb.

HappyGemfile.alphabetize

HappyGemfile.wipe_comments

HappyGemfile.organize_groups

HappyGemfile.all

License

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