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

(MODULES-10623) explicitly top-scope calls to JSON methods #1101

Merged
merged 1 commit into from
Apr 14, 2020
Merged

(MODULES-10623) explicitly top-scope calls to JSON methods #1101

merged 1 commit into from
Apr 14, 2020

Conversation

tkishel
Copy link
Contributor

@tkishel tkishel commented Apr 9, 2020

Call ::JSON to ensure it references the JSON library
from Ruby’s standard library instead of a random JSON namespace
that might be in scope due to user code.

For example::

https://github.com/puppetlabs/pdk/blob/master/lib/pdk/config/json.rb

Call ::JSON to ensure it references the JSON library
from Ruby’s standard library instead of a random JSON namespace
that might be in scope due to user code.

For example::

https://github.com/puppetlabs/pdk/blob/master/lib/pdk/config/json.rb
@tkishel tkishel requested a review from a team as a code owner April 9, 2020 20:29
@DavidS DavidS added the bugfix label Apr 14, 2020
@DavidS DavidS changed the title (MODULES-10623) scope calls to JSON methods (MODULES-10623) explicitly top-scope calls to JSON methods Apr 14, 2020
@DavidS DavidS merged commit b1e80b4 into puppetlabs:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants