# Lolcommits Tranzlate

[![Gem Version](https://img.shields.io/gem/v/lolcommits-tranzlate.svg?style=flat)](http://rubygems.org/gems/lolcommits-tranzlate)
[![Travis Build Status](https://travis-ci.org/lolcommits/lolcommits-tranzlate.svg?branch=master)](https://travis-ci.org/lolcommits/lolcommits-tranzlate)
[![Coverage Status](https://coveralls.io/repos/github/lolcommits/lolcommits-tranzlate/badge.svg?branch=master)](https://coveralls.io/github/lolcommits/lolcommits-tranzlate)
[![Code Climate](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate/badges/gpa.svg)](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate)
[![Gem Dependency Status](https://gemnasium.com/badges/github.com/lolcommits/lolcommits-tranzlate.svg)](https://gemnasium.com/github.com/lolcommits/lolcommits-tranzlate)

[lolcommits](https://lolcommits.github.io/) takes a snapshot with your webcam
every time you git commit code, and archives a lolcat style image with it. Git
blame has never been so much fun!

This plugin will TRANZLATE YOAR COMMIT MSG TO
[LOLSPEKK](https://github.com/rwtnorton/moar-lolspeak) - U CAN HAZ PICZ LIKEZ
DIS:

![lolz
commit](https://github.com/lolcommits/lolcommits-tranzlate/raw/master/assets/images/lolz.jpg)

## Requirements

* Ruby >= 2.0.0
* A webcam
* [ImageMagick](http://www.imagemagick.org)
* [ffmpeg](https://www.ffmpeg.org) (optional) for animated gif capturing

## Installation

After installing the lolcommits gem, install this plugin with:

    $ gem install lolcommits-tranzlate

Then enable tranzlate with:

    $ lolcommits --config -p tranzlate
    # and set enabled to `true`

Thats it! Your lolcommit messages will now be tranzlated!

## Development

Check out this repo and run `bin/setup`, to install all dependencies and
generate docs. Run `bundle exec rake` to run all tests and generate a coverage
report.

You can also run `bin/console` for an interactive prompt that will allow you to
experiment with the gem code.

## Tests

MiniTest is used for testing. Run the test suite with:

    $ rake test

## Docs

Generate docs for this gem with:

    $ rake rdoc

## Troubles?

If you think something is broken or missing, please raise a new
[issue](https://github.com/lolcommits/lolcommits-tranzlate/issues). Take
a moment to check it hasn't been raised in the past (and possibly closed).

## Contributing

Bug [reports](https://github.com/lolcommits/lolcommits-tranzlate/issues) and [pull
requests](https://github.com/lolcommits/lolcommits-tranzlate/pulls) are welcome on
GitHub.

When submitting pull requests, remember to add tests covering any new behaviour,
and ensure all tests are passing on [Travis
CI](https://travis-ci.org/lolcommits/lolcommits-tranzlate). Read the
[contributing
guidelines](https://github.com/lolcommits/lolcommits-tranzlate/blob/master/CONTRIBUTING.md)
for more details.

This project is intended to be a safe, welcoming space for collaboration, and
contributors are expected to adhere to the [Contributor
Covenant](http://contributor-covenant.org) code of conduct. See
[here](https://github.com/lolcommits/lolcommits-tranzlate/blob/master/CODE_OF_CONDUCT.md)
for more details.

## License

The gem is available as open source under the terms of
[LGPL-3](https://opensource.org/licenses/LGPL-3.0).

## Links

* [Travis CI](https://travis-ci.org/lolcommits/lolcommits-tranzlate)
* [Test Coverage](https://coveralls.io/github/lolcommits/lolcommits-tranzlate)
* [Code Climate](https://codeclimate.com/github/lolcommits/lolcommits-tranzlate)
* [RDoc](http://rdoc.info/projects/lolcommits/lolcommits-tranzlate)
* [Issues](http://github.com/lolcommits/lolcommits-tranzlate/issues)
* [Report a bug](http://github.com/lolcommits/lolcommits-tranzlate/issues/new)
* [Gem](http://rubygems.org/gems/lolcommits-tranzlate)
* [GitHub](https://github.com/lolcommits/lolcommits-tranzlate)