Skip to content

Commit

Permalink
Test against multiple versions of Grape.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Nov 10, 2014
1 parent cdd877b commit 86c6eba
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
language: ruby

sudo: false

rvm:
- jruby-19mode
- 1.9.3
- 2.1.1
- 2.0.0
- 2.1.2
- 1.9.3
- rbx-2.2.10
- jruby-19mode

env:
- GRAPE_VERSION=0.8.0
- GRAPE_VERSION=0.9.0
- GRAPE_VERSION=HEAD

matrix:
allow_failures:
- env: GRAPE_VERSION=HEAD
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* [#91](https://github.com/tim-vandecasteele/grape-swagger/issues/91): Fixed empty field for group parameters' name with type hash or Array - [@dukedave](https://github.com/dukedave).
* [#154](https://github.com/tim-vandecasteele/grape-swagger/pull/154): Allow classes for type declarations inside documentation - [@mrmargolis](https://github.com/mrmargolis).
* [#162](https://github.com/tim-vandecasteele/grape-swagger/pull/162): Fix performance issue related to having a large number of models - [@elado](https://github.com/elado).
* [#169](https://github.com/tim-vandecasteele/grape-swagger/pull/169): Test against multiple versions of Grape - [@dblock](https://github.com/dblock).
* Your contribution here.

### 0.8.0 (August 30, 2014)
Expand Down
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
source "http://rubygems.org"

gemspec

case version = ENV['GRAPE_VERSION'] || '~> 0.9.0'
when 'HEAD'
gem 'grape', github: 'intridea/grape'
else
gem 'grape', version
end

0 comments on commit 86c6eba

Please sign in to comment.