Skip to content

Commit a206e59

Browse files
committed
Use ruby-grape-danger gem.
1 parent 463b289 commit a206e59

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#### Features
44

55
* [#492](https://github.com/ruby-grape/grape/pull/492): Define security requirements on endpoint methods - [@tomregelink](https://github.com/tomregelink).
6+
* [#497](https://github.com/ruby-grape/grape-swagger/pull/497): Use ruby-grape-danger in Dangerfile - [@dblock](https://github.com/dblock).
67
* Your contribution here.
78

89
#### Fixes

Dangerfile

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ if RUBY_VERSION < '2.2.2'
1616
gem 'activesupport', '<5.0.0'
1717
end
1818

19-
gem 'danger', '~> 2.1', require: false
19+
group :test do
20+
gem 'ruby-grape-danger', '~> 0.1.0', require: false
21+
end

0 commit comments

Comments
 (0)