-
Notifications
You must be signed in to change notification settings - Fork 476
Freeze Rack version to 2.0.8 #773
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
LeFnord
commented
Jan 20, 2020
- corrects version matrix
- corrects version matrix
3 similar comments
@LeFnord why are you freezing rack to a very specific version? Wouldn't having it as a minimum required be better? As with this if I have another gem in my app that needs, say, 2.0.9, I will be unable to have that and grape at the same time since this is exposed in the gemspec. |
@@ -15,6 +15,7 @@ Gem::Specification.new do |s| | |||
|
|||
s.required_ruby_version = '>= 2.4' | |||
s.add_runtime_dependency 'grape', '>= 0.16.2', '< 1.3.0' | |||
s.add_runtime_dependency 'rack', '2.0.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This locks dependency to a specific version of Rack. Definitely don't want to do that as it will render grape-swagger incompatible with most apps.
Grape 1.3 is compatible with rack 2.1, there's a matrix where you can make it all work. LMK if you need help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap I know, the problem here isn’t grape, it is grape-swagger and I’m on it.
Sorry for circumstances, if you need rack > 2.0.x use version 0.34.1, there rack isn’t frozen.
Hey, why this version has been frozen? |
please read the comment above |
- corrects version matrix