summaryrefslogtreecommitdiff
path: root/gems
diff options
context:
space:
mode:
authorDaniel Colson <danieljamescolson@gmail.com>2021-10-22 15:43:27 -0400
committergit <svn-admin@ruby-lang.org>2021-10-25 19:02:50 +0900
commit7394514bde24af482d4db5a89eb3fcd28f87ac11 (patch)
treed5113e0fbc7a601b1367dd25cf4ff15ae7163529 /gems
parenta1c4cab11d613d7df037a81a770ee44a23a2e9be (diff)
[rubygems/rubygems] Simplify and remove some unused code
When `install_with_build_args` was added in https://github.com/rubygems/rubygems/commit/be96283985cb49c023112117b2ac2dea0d9becf1, there were two versions of the method: the default version in the base class that still used the locking `with_build_args`, and an override in the `Future` class (for Rubygems 2.0 and up) that yielded without calling `with_build_args`. The `with_build_args` version of the method was removed in https://github.com/rubygems/rubygems/commit/8a5b71e3e8072c64a0f3cab838ba330f5e87e37a while removing a bunch of the old Rubygems compatibility code. This commit removes `with_build_args`, since it no longer appears to be used (the build args are passed as a keyword argument to `spec.source.install` instead, since https://github.com/rubygems/rubygems/commit/be96283985cb49c023112117b2ac2dea0d9becf1). The commit also removes `install_with_build_args` and the conditional around it, since the method wasn't doing anything different than `install`, and it had a comment that was no longer accurate. https://github.com/rubygems/rubygems/commit/ba543a60eb
Diffstat (limited to 'gems')
0 files changed, 0 insertions, 0 deletions