Skip to content

Conversation

@Edouard-chin
Copy link
Contributor

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

Follow up to #8430 (comment).

The maglev platform was not supported by Bundler, so calling gem "foo", platforms: ["maglev"] would raise an error.

The helpers added in the CurrentRuby class were used at a time when maglev was supported (as explained in 45ec86e). Support of maglev was most likely dropped at some point and the helpers in the CurrentRuby class were not deprecated/removed.

We decided to deprecate them now.

Make sure the following tasks are checked

@Edouard-chin Edouard-chin force-pushed the ec-deprecate-maglev branch 2 times, most recently from 5fb83de to f92d2c9 Compare January 29, 2025 22:17
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I would've done it a bit differently, but I'm good if you prefer your way.

- Follow up to ruby#8430 (comment).

  The maglev platform was not supported by Bundler, so calling
  `gem "foo", platforms: ["maglev"]` would raise an error.

  The helpers added in the `CurrentRuby` class were used at a time
  when maglev was supported (as explained in 45ec86e).
  Support of maglev was most likely dropped at some point and the helpers
  in the `CurrentRuby` class were not deprecated/removed.

  We decided to deprecate them now.
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@deivid-rodriguez deivid-rodriguez merged commit 1389745 into ruby:master Feb 3, 2025
91 checks passed
@Edouard-chin
Copy link
Contributor Author

Thanks for reviewing !

@Edouard-chin Edouard-chin deleted the ec-deprecate-maglev branch February 3, 2025 14:47
@deivid-rodriguez deivid-rodriguez changed the title Deprecate CurrentRuby#maglev? and other related maglev methods: Deprecate CurrentRuby#maglev? and other related maglev methods Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants