Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker1007/rspec-formatter-git_auto_commit
This gem commit to git repository automatically, every run rspec.
https://github.com/joker1007/rspec-formatter-git_auto_commit
Last synced: 2 days ago
JSON representation
This gem commit to git repository automatically, every run rspec.
- Host: GitHub
- URL: https://github.com/joker1007/rspec-formatter-git_auto_commit
- Owner: joker1007
- License: mit
- Created: 2012-10-22T20:51:57.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-19T15:45:06.000Z (over 10 years ago)
- Last Synced: 2024-10-29T01:22:33.674Z (10 days ago)
- Language: Ruby
- Homepage:
- Size: 215 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rspec::Formatter::GitAutoCommit
Commits your code automatically, Every time run RSpec (if file changed).
This gem is inspired by [guard-notifier-git\_auto\_commit](https://github.com/tomykaira/guard-notifier-git_auto_commit)
Git log example:
```
efc829c [green] 101 examples, 0 failures in 9.66 seconds
8ccd44a [red] 79 examples, 61 failures in 19.02 seconds
6b2d17a [green] 79 examples, 0 failures in 33.43 seconds
```## Installation
Add this line to your application's Gemfile:
gem 'rspec-formatter-git_auto_commit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rspec-formatter-git_auto_commit
## Usage
```sh
rspec --format RSpec::Formatter::GitAutoCommit spec
```or
write .rspec.
```
--format d
--format RSpec::Formatter::GitAutoCommit
```## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request