Skip to content

Commit

Permalink
updates travis.yml
Browse files Browse the repository at this point in the history
- updates UPGRADE
- adds changelog entry
  • Loading branch information
LeFnord committed Dec 18, 2016
1 parent 17db1b8 commit bf55513
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 15 deletions.
24 changes: 11 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,32 @@ before_install:

matrix:
include:
- rvm: 2.3.1
- rvm: 2.3.3
script:
- bundle exec danger
- rvm: 2.3.1
- rvm: 2.3.3
env: MODEL_PARSER=grape-swagger-entity
- rvm: 2.3.1
- rvm: 2.3.3
env: MODEL_PARSER=grape-swagger-representable
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=0.14.0
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=0.15.0
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=0.16.2
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=0.17.0
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=0.18.0
- rvm: 2.3.1
- rvm: 2.3.3
env: GRAPE_VERSION=HEAD
- rvm: 2.3.0
- rvm: 2.2
- rvm: 2.1
- rvm: ruby-head
- rvm: jruby-9.1.2.0
- rvm: jruby-9.1.6.0
- rvm: jruby-head
- rvm: rbx-2
allow_failures:
- rvm: ruby-head
- rvm: jruby-9.1.2.0
- rvm: jruby-9.1.6.0
- rvm: jruby-head
- rvm: rbx-2
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#### Features

* [#554](https://github.com/ruby-grape/grape-swagger/pull/554): Updates travis.yml to align with grape - [@LeFnord](https://github.com/LeFnord).

* Your contribution here.

#### Fixes
Expand Down
26 changes: 24 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
Upgrading Grape-swagger
=======================
## Upgrading Grape-swagger

### Upgrading to >= 0.25.2

Avoids ambiguous documentation of array parameters,
by enforcing correct usage of both possibilities:

1. Array of primitive types
```ruby
params do
requires :foo, type: Array[String]
end
```

2. Array of objects
```ruby
params do
requires :put_params, type: Array do
requires :op, type: String
requires :path, type: String
requires :value, type: String
end
end
```

### Upgrading to >= 0.25.0

Expand Down

0 comments on commit bf55513

Please sign in to comment.