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
|
**/*/tmp
|
||||||
**/*/log
|
**/*/log
|
||||||
**/*/*.gem
|
**/*/*.gem
|
||||||
**.*/*.sqlite3
|
**/*/*.sqlite3
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
14
Gemfile.lock
14
Gemfile.lock
@ -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:
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user