Restrict rack to <= 2.0.8 as long as grape >= 1.3.0 is not supported

grape >= 1.3.0 has side-effects of dropping support for ruby < 2.4
This commit is contained in:
Wasif Hossain 2020-02-19 06:40:56 +06:00
parent 2d8e634d4d
commit 10af7a6205
No known key found for this signature in database
GPG Key ID: 14C15A54E34D7803
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,6 @@ gemspec
version = ENV['RAILS_VERSION'] || '4.2'
if version == 'master'
gem 'rack', github: 'rack/rack'
gem 'arel', github: 'rails/arel'
gem 'rails', github: 'rails/rails'
git 'https://github.com/rails/rails.git' do

View File

@ -28,6 +28,8 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'actionpack', rails_versions
# 'activesupport', rails_versions
# restrict rack version as long as grape < 1.3.0 is supported
spec.add_runtime_dependency 'rack', '<= 2.0.8'
# 'rack'
# 'rack-test', '~> 0.6.2'