Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Fully remove compatibility guard#7239

Merged
1 commit merged intomasterfrom
remove_compatibility_guard
Jul 15, 2019
Merged

Fully remove compatibility guard#7239
1 commit merged intomasterfrom
remove_compatibility_guard

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

What was the end-user problem that led to this PR?

The problem was that this code is untested and never run.

What was your diagnosis of the problem?

My diagnosis was that we can remove it.

What is your fix for the problem, implemented in this PR?

My fix is to remove the code.

Why did you choose this fix out of the possible options?

I actually intented to remove this in #6983, but after a discussing it with @simi I decided to keep it (see #6983 (comment)). After a second though I think this is safe to remove and that the potential use case (that the latest bundler is allowed to be installed by a really really old rubygems that didn't support ruby version constraints) is not a problem. The required_ruby_version constraint landed in rubygems 0.6, 15 years ago.

@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

Moving on with @simi's blessing ❤️

@bundlerbot r+

ghost pushed a commit that referenced this pull request Jul 15, 2019
7239: Fully remove compatibility guard r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that this code is untested and never run.

### What was your diagnosis of the problem?

My diagnosis was that we can remove it.

### What is your fix for the problem, implemented in this PR?

My fix is to remove the code.

### Why did you choose this fix out of the possible options?

I actually intented to remove this in #6983, but after a discussing it with @simi I decided to keep it (see #6983 (comment)). After a second though I think this is safe to remove and that the potential use case (that the latest bundler is allowed to be installed by a really really old rubygems that didn't support ruby version constraints) is not a problem. The `required_ruby_version` constraint landed in [rubygems 0.6, 15 years ago](ruby/rubygems@240a9d3).

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
@ghost
Copy link
Copy Markdown

ghost commented Jul 15, 2019

Build succeeded

@ghost ghost merged commit 2a7a5da into master Jul 15, 2019
@ghost ghost deleted the remove_compatibility_guard branch July 15, 2019 19:52
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants