-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove rackup server #1607
Remove rackup server #1607
Conversation
Can you provide an explanation as to why this change is necessary? What is broken that this fixes? |
@lsegal |
1 similar comment
@lsegal |
@lsegal if you go back to the first commit of this branch and run the specs you'll see them fail |
This looks like a third-party issue with a version of rackup 1.x, but I'm not sure which. With rackup 2.x it works fine:
|
This is a downstream issue with rackup, not something YARD should change. If a minor version of rackup broke the API, you should file an issue with that project. You could alternatively lock to 1.0.0. Given that this bug only exists in one patchlevel release of the gem, I don't see this as something that YARD should be responsible for working around. |
@lsegal it's really confusing, honestly. If you look into rackup the change from 1.0.0 to 1.0.1 is |
Seems like a bug that should be reported to the rackup project as they broke compatibility across versions. |
FYI you should be capable of providing |
@lsegal what concerns me is the update message "remove invalid require". There's no much info about what they meant with that, and whether that's actually accurate, as what they did in fact was wipe up the library. Assuming wiping was wrong, this lib would have to explicitly require rackup/server instead. Regardless, I'm making this contribution as a supporter and user of both libraries, but in our case we're just removing the Yard::Server we have hosted for our internal APIs as this is not our primary way of using them. That unblocks us. @lsegal thank you for your service and quick replies! |
It must be a mistake, as rackup 2.x retains this constant, but I will leave it up to them to respond properly. |
Description
Rackup::Server
was removed on 1.0.1. There's no much explanation on their changelog, and the git blame doesn't give up much information either. Fact is that this class doesn't exist.The first commit simply adds this dependency, which breaks the specs. The second fixes it.
Completed Tasks
bundle exec rake
locally (if code is attached to PR).