Skip to content

Commit 9ca96c9

Browse files
committed
Use the ruby-grape-danger gem.
1 parent 8709973 commit 9ca96c9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
0.17.1 (Next)
22
==================
33

4+
* [#1480](https://github.com/ruby-grape/grape/pull/1480): Use the ruby-grape-danger gem for PR linting - [@dblock](https://github.com/dblock).
45
* Your contribution here.
56

67
#### Fixes

Dangerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# inherits from https://github.com/ruby-grape/danger
1+
danger.import_dangerfile(gem: 'ruby-grape-danger')

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ group :test do
2828
gem 'cookiejar'
2929
gem 'rack-jsonp', require: 'rack/jsonp'
3030
gem 'mime-types', '< 3.0'
31-
gem 'danger', '~> 2.0', require: false unless RUBY_PLATFORM == 'java'
31+
gem 'danger', github: 'danger/danger'
32+
gem 'ruby-grape-danger', github: 'dblock/ruby-grape-danger', branch: 'ruby-grape-danger-gem', require: false
3233
end

0 commit comments

Comments
 (0)