diff --git a/.travis.yml b/.travis.yml index 0ec2a830c..f1fa7ede9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,10 @@ language: ruby sudo: false rvm: + - 2.3.1 - 2.3.0 - - 2.2 - - 2.1 - - 2.0.0 + - 2.2.5 - rbx-2 - - jruby-19mode - ruby-head - jruby-head diff --git a/CHANGELOG.md b/CHANGELOG.md index dd47d320e..63badfc1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ #### Features +* [#1440](https://github.com/ruby-grape/grape/pull/1441): Supports only Ruby 2.2.2 and later - [@jlfaber](https://github.com/jlfaber). * [#1393](https://github.com/ruby-grape/grape/pull/1393): Middleware can be inserted before or after default Grape middleware - [@ridiculous](https://github.com/ridiculous). * [#1390](https://github.com/ruby-grape/grape/pull/1390): Allow inserting middleware at arbitrary points in the middleware stack - [@Rosa](https://github.com/Rosa). * [#1366](https://github.com/ruby-grape/grape/pull/1366): Store `message_key` on `Grape::Exceptions::Validation` - [@mkou](https://github.com/mkou). diff --git a/UPGRADING.md b/UPGRADING.md index 4429a1425..faa7a61c9 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -3,6 +3,12 @@ Upgrading Grape ### Upgrading to >= 0.16.0 +#### Removed official support for Ruby < 2.2.2 + +Since 0.16.3 Grape is no longer automatically tested against versions of Ruby prior to 2.2.2. +This is because of its dependency on activesupport which, with version 5.0.0, now requires +at least Ruby 2.2.2. + #### Changed priority of `rescue_from` clauses applying Since 0.16.3 `rescue_from` clauses declared inside namespace would take a priority over ones declared in the root scope.