Skip to content
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

(PUP-5973) Remove symbol string monkey patch #5642

Conversation

hlindberg
Copy link
Contributor

No description provided.

This removes a conditional monkey patch of Symbol#intern. This is no
longer needed since all Ruby versions from 1.9.3 supports this method.
It was missing on Ruby 1.8.7 which is no longer supported in the Puppet
code base. The monkey patch can therefore safely be removed without any
consequences.
This removes the monkey patch that made it possible to compare strings
with symbols as if symbols are strings. That was problematic for many
reasons (see ticket).

The monkey patch is removed to prevent further accidental issues that
are very hard to track down. Anyone relying on the monkey patched Symbol
have been warned with a deprecation warning in earlier versions.
@puppetcla
Copy link

CLA signed by all contributors.

@adrienthebo adrienthebo merged commit ad6df55 into puppetlabs:master Feb 17, 2017
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.

None yet

3 participants