Sha256: 9fdadebc2e49bf49098bed148af1b1c8869c83639e6d08023405a149ee3acb42
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
# 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: ```ruby 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! ```bash $ happy_gemfile ``` But nothing will happen without arguments! ```bash 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. ```ruby 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](http://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
happy_gemfile-0.1.2 | README.md |