-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Use Hash.to_h to construct a new hash #150
Conversation
@@ -179,8 +179,9 @@ def on_supported_os_implementation(opts = {}) | |||
os_facts_hash | |||
end | |||
|
|||
# @api private | |||
def stringify_keys(hash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you know if that's used somewhere? should we mark it as breaking change? (I want to drop old rubies anyways)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should only be internal. And marking it with a comment doesn't mean it can't be called anymore, it's only a signal people consuming the API.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #150 +/- ##
=======================================
Coverage 94.93% 94.93%
=======================================
Files 2 2
Lines 158 158
=======================================
Hits 150 150
Misses 8 8
☔ View full report in Codecov by Sentry. |
Interesting that this behavior is different on Ruby 2.4 & 2.5. I think you finally have a good excuse to drop older versions because I do think this newer version is easier to read. |
press the button on #149 :) |
Also declares stringify_keys as a private API method.
Also declares stringify_keys as a private API method.