rswag/Gemfile
Jay Dorsey 42c8e123a8 Replace therubyracer with mini_racer
therubyracer doesn't appear to be under active development

I didn't need this for PRs that I was doing, but a `bundle install`
failed because of it. I know I can specify the groups as a workaround
but replacing this seems like it might reduce a small barrier to
contributing
2021-08-08 22:40:33 -04:00

52 lines
993 B
Ruby

# frozen_string_literal: true
source 'https://rubygems.org'
# Allow the rails version to come from an ENV setting so Travis can test multiple versions.
# See http://www.schneems.com/post/50991826838/testing-against-multiple-rails-versions/
rails_version = ENV['RAILS_VERSION'] || '5.2.4.2'
gem 'rails', rails_version.to_s
case rails_version.split('.').first
when '3'
gem 'strong_parameters'
when '4', '5', '6'
gem 'responders'
end
case rails_version.split('.').first
when '3', '4', '5'
gem 'sqlite3', '~> 1.3.6'
when '6'
gem 'sqlite3', '~> 1.4.1'
end
gem 'rswag-api', path: './rswag-api'
gem 'rswag-ui', path: './rswag-ui'
group :development, :test do
gem 'rswag-specs', path: './rswag-specs'
end
group :test do
gem 'capybara'
gem 'geckodriver-helper'
gem 'generator_spec'
gem 'rspec-rails'
gem 'selenium-webdriver'
gem 'test-unit'
end
group :development do
gem 'rubocop'
end
group :assets do
gem 'mini_racer'
gem 'uglifier'
end
gem 'byebug'
gem 'puma'