diff --git a/.travis.yml b/.travis.yml index d595969..743b400 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 + diff --git a/CHANGELOG.md b/CHANGELOG.md index d45ed06..45b3802 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) @@ -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). diff --git a/Dangerfile b/Dangerfile new file mode 100644 index 0000000..f05fedd --- /dev/null +++ b/Dangerfile @@ -0,0 +1 @@ +danger.import_dangerfile(gem: 'ruby-grape-danger') diff --git a/Gemfile b/Gemfile index 135e6e2..8ee30a9 100644 --- a/Gemfile +++ b/Gemfile @@ -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