Project

cbratools

0.0
No commit activity in last 3 years
No release in over 3 years
A set of tools to help with refactorings in component-based Rails applications.
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.5
>= 2.14.1, ~> 2.14
 Project Readme

cbratools Build Status Gem Version Code Climate Dependency Status

A set of tools to help with refactorings in component-based Rails applications. Specifically,

  • rnc: Renames a component and its references within a CBRA application
  • rnm: Creates renaming migrations of all component tables for a rename

Installation

Add this line to your application's Gemfile:

gem 'cbratools'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cbratools

Usage

rnc

rnc [-v] CurrentName NewName PATH

Rename CBRA components.

Pass no options to see this help text.

Option -v is for verbose output.

rnm

rnm [-v] CurrentName NewName MIGRATIONS_PATH SCHEMA_FILE_PATH

Create migrations to support CBRA component rename.

Pass no options to see this help text.

Option -v is for verbose output.

Todos

None yet

License

Copyright (c) 2015 Stephan Hagemann, stephan.hagemann@gmail.com, @shageman

Released under the MIT license. See LICENSE file for details.