Bundler::Reorganizer

Automated reorganization for all your Gemfiles.

One simple command turns your unwieldy Gemfile from this:

gem "utils", :group => :development
gem "more-tools", :group => :development
gem "testsuite-runner", :group => [:development, :test]

Into this!

group :development do
  gem "utils"
  gem "more-tools"
end

group :development, :test do
  gem "testsuite-runner"
end

Usage

$ bundler-reorganizer path/to/Gemfile

(optional) --output path/to/reorganized/Gemfile

Controls the location of reorganized Gemfile.

aliased to -o

example:

$ bundler-reorganizer path/to/original/Gemfile --output path/to/reorganized/Gemfile

Installation

$ gem install bundler-reorganizer

Contributing

Patches are always welcome and thank you to all project contributors!

Interested in contributing? Review the project contribution guidelines and get started!