Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added danger, PR linter. #68

Merged
merged 1 commit into from
Sep 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 29 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,35 @@ language: ruby

cache: bundler

rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3

env:
- GRAPE_SWAGGER_VERSION=0.8.0
- GRAPE_SWAGGER_VERSION=0.9.0
- GRAPE_SWAGGER_VERSION=0.11.0
- GRAPE_SWAGGER_VERSION=0.20.2
- GRAPE_SWAGGER_VERSION=HEAD

matrix:
include:
- rvm: 2.3.1
script:
- bundle exec danger
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.8.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.9.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.11.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.20.2
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=HEAD
- rvm: 2.3.0
- rvm: 2.2.5
- rvm: 2.0.0
- rvm: rbx-2
- rvm: ruby-head
- rvm: jruby-head
allow_failures:
- env: GRAPE_SWAGGER_VERSION=HEAD
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-2

9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 0.2.3 (Next)

* [#68](https://github.com/ruby-grape/grape-swagger-rails/pull/68): Added danger, PR linter - [@dblock](https://github.com/dblock).
* Your contribution here.

### 0.2.2 (July 13, 2016)
Expand Down Expand Up @@ -27,13 +28,13 @@

### 0.1.0 (February 5, 2015)

* [41](https://github.com/BrandyMint/grape-swagger-rails/pull/41): Compatibility with grape-swagger 0.8.0 and 0.9.0 - [@dblock](https://github.com/dblock).
* [#41](https://github.com/BrandyMint/grape-swagger-rails/pull/41): Compatibility with grape-swagger 0.8.0 and 0.9.0 - [@dblock](https://github.com/dblock).

### 0.0.10 (September 30, 2014)

* [33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Fix: make the dummy app runnable - [@dblock](https://github.com/dblock).
* [33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Fix: headers default to nil - [@dblock](https://github.com/dblock).
* [33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Added support for GrapeSwaggerRails.options.headers - [@dblock](https://github.com/dblock).
* [#33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Fix: make the dummy app runnable - [@dblock](https://github.com/dblock).
* [#33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Fix: headers default to nil - [@dblock](https://github.com/dblock).
* [#33](https://github.com/BrandyMint/grape-swagger-rails/pull/33): Added support for GrapeSwaggerRails.options.headers - [@dblock](https://github.com/dblock).
* [#31](https://github.com/BrandyMint/grape-swagger-rails/pull/31): Get Swagger-UI from dist - [@dblock](https://github.com/dblock).
* [#29](https://github.com/BrandyMint/grape-swagger-rails/pull/29): Add Rails 4.1 support - [@aaronchi](https://github.com/aaronchi).
* [#21](https://github.com/BrandyMint/grape-swagger-rails/pull/21): Corrected initializer paths - [@mrclmrvn](https://github.com/mrclmrvn).
Expand Down
1 change: 1 addition & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
danger.import_dangerfile(gem: 'ruby-grape-danger')
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ when '0.20.2'
else
gem 'grape-swagger', version
end

group :test do
gem 'ruby-grape-danger', '~> 0.1.0', require: false
end