In .travis.yml, use Rails 3 version that's compatable with Ruby 2.2

This commit is contained in:
richie 2016-10-11 23:00:12 -07:00
parent f0159a877d
commit 941b195f68
4 changed files with 9 additions and 13 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
**/*/tmp **/*/tmp
**/*/log **/*/log
**/*/*.gem **/*/*.gem
**.*/*.sqlite3 **/*/*.sqlite3

View File

@ -2,7 +2,7 @@ nguage: ruby
rvm: rvm:
- 2.2.5 - 2.2.5
env: env:
- "RAILS_VERSION=3.2.0" - "RAILS_VERSION=3.2.22"
- "RAILS_VERSION=4.2.0" - "RAILS_VERSION=4.2.0"
- "RAILS_VERSION=5.0.0" - "RAILS_VERSION=5.0.0"
cache: bundler cache: bundler

View File

@ -5,18 +5,18 @@ PATH
rails (>= 3.1, < 5.1) rails (>= 3.1, < 5.1)
PATH PATH
remote: ./rswag-ui remote: ./rswag-specs
specs:
rswag-ui (1.0.0)
rails (>= 3.1, < 5.1)
PATH
remote: ~/src/rswag/rswag-specs
specs: specs:
rswag-specs (1.0.0) rswag-specs (1.0.0)
json-schema (~> 2.2) json-schema (~> 2.2)
rails (>= 3.1, < 5.1) rails (>= 3.1, < 5.1)
PATH
remote: ./rswag-ui
specs:
rswag-ui (1.0.0)
rails (>= 3.1, < 5.1)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:

View File

@ -1,8 +1,4 @@
TestApp::Application.routes.draw do TestApp::Application.routes.draw do
mount Rswag::Ui::Engine => '/api-docs'
mount Rswag::Api::Engine => '/api-docs'
resources :blogs, defaults: { :format => :json } resources :blogs, defaults: { :format => :json }
mount Rswag::Api::Engine => 'api-docs' mount Rswag::Api::Engine => 'api-docs'