lolcommits 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 automatically posts your lolcommits to one (or more) Slack channels.
The Slack post will contain the git commit message and repo name. The SHA is used as the uploaded image file name. Posting will be retried (once) should any error occur.
Follow the install guide for lolcommits first. Then run the following:
$ gem install lolcommits-slack
Next configure and enable with:
$ lolcommits --config -p slack # set enabled to `true` # enter your access token and Slack channel ID list (see below)
That's it! Every lolcommit will now be posted to these Slack channels. To
disable simply reconfigure with
You must supply one or more Slack channel IDs. You can use Slack's own API testing tool to list all Slack channels in your account, and grab the IDs from the JSON response presented.
Check out this repo and run
bin/setup, this will install dependencies and
generate docs. Run
bundle exec rake to run all tests and generate a coverage
You can also run
bin/console for an interactive prompt that will allow you to
experiment with the gem code.
MiniTest is used for testing. Run the test suite with:
$ rake test
Generate docs for this gem with:
$ rake rdoc
If you think something is broken or missing, please raise a new issue. Take a moment to check it hasn't been raised in the past (and possibly closed).
The gem is available as open source under the terms of LGPL-3.