No commit activity in last 3 years
No release in over 3 years
Auto git commiter for Ruby on Rails.
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.13
~> 10.0
~> 3.0
 Project Readme

RailsAutoCommiter

RailsAutoCommiter provides an auto commiter for Ruby on Rails. If you run rails [generate,destroy] ..., files Rails changed will be automatically commited by it.

Installation

Add this line to your application's Gemfile:

gem 'rails_auto_commiter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_auto_commiter

Usage

Run the rails commands as always. The changed files are automatically committed.

% rails generate model Post hoge
Running via Spring preloader in process 78876
Expected string default value for '--jbuilder'; got true (boolean)
      invoke  active_record
      create    db/migrate/20170115144306_create_posts.rb
      create    app/models/post.rb
      invoke    test_unit
      create      test/models/post_test.rb
      create      test/fixtures/posts.yml
[master 0a9773b] result of 'rails generate model Post title body:text'.
 4 files changed, 28 insertions(+)
 create mode 100644 app/models/post.rb
 create mode 100644 db/migrate/20170115144306_create_posts.rb
 create mode 100644 test/fixtures/posts.yml
 create mode 100644 test/models/post_test.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rails_auto_commiter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

RailsAutoCommiter is released under the MIT License.