mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
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:
parent
2d8e634d4d
commit
10af7a6205
1
Gemfile
1
Gemfile
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user