mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Use different Sqlite versions for Rails versions
This commit is contained in:
parent
586d0211ff
commit
91a0f88eb5
5
Gemfile
5
Gemfile
@ -13,7 +13,12 @@ when '4', '5', '6'
|
|||||||
gem 'responders'
|
gem 'responders'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
case rails_version.split('.').first
|
||||||
|
when '3', '4', '5'
|
||||||
gem 'sqlite3', '~> 1.3.6'
|
gem 'sqlite3', '~> 1.3.6'
|
||||||
|
when '6'
|
||||||
|
gem 'sqlite3', '~> 1.4.1'
|
||||||
|
end
|
||||||
|
|
||||||
gem 'rswag-api', path: './rswag-api'
|
gem 'rswag-api', path: './rswag-api'
|
||||||
gem 'rswag-ui', path: './rswag-ui'
|
gem 'rswag-ui', path: './rswag-ui'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user