No commit activity in last 3 years
No release in over 3 years
If you do database branching the biggest problem you might have is enormous amount of useless databases. This gem gives you a few rake tasks to clean that mess
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
>= 0
~> 10.0
>= 0
 Project Readme

BranchingCleaner

Build Status Gem Version Coverage Status

[WIP] If you do database branching the biggest problem you might have is enormous amount of useless databases. The purpose of this gem is to clean that mess.

Installation

Add this line to your application's Gemfile:

gem 'branching_cleaner'

And then execute:

$ bundle

Or install it yourself as:

$ gem install branching_cleaner

Add this line to Rakefile

require 'branching_cleaner/rake_tasks'

Usage

Remove git branch with a database

rake db:drop_branch

Remove all development and test databases associated with Git branches

rake db:clean_branches

Remove all development and test databases remaining after removing Git branches

rake db:drop_leftovers

Contributing

  1. Fork it ( https://github.com/pbrudny/branching_cleaner/fork )
  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 a new Pull Request