Skip to content

Remove outdated platform advice #308

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

Merged

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Feb 6, 2022

I expect this was added before Bundler had proper support for multiple platforms.

@andyw8
Copy link
Contributor Author

andyw8 commented Feb 6, 2022

(was originally added by @sirupsen in eb3520e in 2011).

Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

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

I see it's completely fine to drop this.
Do we need to mention the modern way to do so? E.g.

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

I have no certainty that the above is correct, I took it from a project that is never used on any of those platforms.

@andyw8
Copy link
Contributor Author

andyw8 commented Feb 6, 2022

The above matches what Rails generates on a new project.

I don't think there's a need to give any specific guidance here.

@andyw8 andyw8 merged commit d2a7a9e into rubocop:master Feb 6, 2022
@andyw8 andyw8 deleted the andyw8/remove-outdated-platform-advice branch February 6, 2022 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants