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
**/*/log
**/*/*.gem
**.*/*.sqlite3
**/*/*.sqlite3

View File

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

View File

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

View File

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