No commit activity in last 3 years
No release in over 3 years
Create a Rails 3 generator from git commit history
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.2.9
 Project Readme

generate_from_diff¶ ↑

Create a Rails 3 generator from git commit history. Example:

rails generate generator_from_diff my_change HEAD~1 HEAD

This will generate a new Rails 3 generator called “my_change” using a “git diff” command with the specified git revisions. When the my_change generator is later run the code changes will be applied using Larry Wall’s GNU patch command to whatever files are present.

This is a way of recording code changes made in one Rails project, and playing them back in another.

Copyright © 2010 Pat Shaughnessy. See LICENSE for details.