let danger say LGTM!
Switch branches/tags
Clone or download
Latest commit f45b3a5 Aug 28, 2018
Permalink
Failed to load latest commit information.
lib bump version Aug 29, 2018
spec Fix with ci Aug 4, 2018
.gitignore add ignore Apr 5, 2017
.rubocop.yml Fix rubocop offences May 31, 2017
.travis.yml update gem Jun 28, 2018
Gemfile Initial commit Mar 7, 2017
Gemfile.lock update gem lock Aug 29, 2018
Guardfile Initial commit Mar 7, 2017
LICENSE.txt Initial commit Mar 7, 2017
README.md Update README.md Oct 5, 2017
Rakefile Initial commit Mar 7, 2017
danger-lgtm.gemspec update gem Jun 28, 2018

README.md

Gem Gem Gem Travis branch

danger-lgtm

Make danger say LGTM.

Installation

$ gem install danger-lgtm

Usage

Add the lgtm call to the last line of your Dangerfile, it will post a random lgtm picture from lgtm.in

lgtm.check_lgtm 

Also you can specify a image url to post with image_url

lgtm.check_lgtm image_url: 'https://yourimage'

If you want a https image only, you can use https_image_only option

lgtm.check_lgtm https_image_only: true

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.