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

Silence Hashie warnings #5

Merged
merged 1 commit into from
May 5, 2017
Merged

Silence Hashie warnings #5

merged 1 commit into from
May 5, 2017

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented May 5, 2017

Hashie is raising the warning WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#keys defined in Hash. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method. more than 30 times, flooding the logs.

Hashie is raising the warning `WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#keys defined in Hash. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method.` more than 30 times, flooding the logs.
@kigster kigster merged commit 4830579 into kigster:master May 5, 2017
@kigster
Copy link
Owner

kigster commented May 5, 2017

What version of Ruby are you on?

Thanks for the PR — I'll take a deeper look at why it's complaining, but this will do for now :)

@wa0x6e
Copy link
Contributor Author

wa0x6e commented May 5, 2017

I think ruby version is irrelevant, warnings was introduced in latest version of Hashie.
This is another repo who fixed it the same way: berkshelf/berkshelf#1668

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.

3 participants