mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
In .travis.yml, use Rails 3 version that's compatable with Ruby 2.2
This commit is contained in:
parent
f0159a877d
commit
941b195f68
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
**/*/tmp
|
||||
**/*/log
|
||||
**/*/*.gem
|
||||
**.*/*.sqlite3
|
||||
**/*/*.sqlite3
|
||||
|
||||
@ -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
|
||||
|
||||
14
Gemfile.lock
14
Gemfile.lock
@ -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:
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user