https://github.com/leonhartX/danger-lgtm
let danger say LGTM!
https://github.com/leonhartX/danger-lgtm
danger danger-plugin lgtm lgtm-gif lgtm-image
Last synced: 11 days ago
JSON representation
let danger say LGTM!
- Host: GitHub
- URL: https://github.com/leonhartX/danger-lgtm
- Owner: leonhartX
- License: mit
- Created: 2017-03-07T08:34:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:33:34.000Z (over 2 years ago)
- Last Synced: 2024-11-10T02:13:50.057Z (6 months ago)
- Topics: danger, danger-plugin, lgtm, lgtm-gif, lgtm-image
- Language: Ruby
- Homepage:
- Size: 51.8 KB
- Stars: 17
- Watchers: 2
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-danger - danger-lgtm - Let Danger say LGTM! (Plugins / Ruby (danger))
README
[](https://rubygems.org/gems/danger-lgtm)
[](https://rubygems.org/gems/danger-lgtm)
[](https://rubygems.org/gems/danger-lgtm)
[](https://travis-ci.org/leonhartX/danger-lgtm)
# danger-lgtmMake 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](https://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.