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

Disable mash warnings (review catch up) #273

merged 3 commits into from Dec 14, 2018


None yet
3 participants
Copy link

unasuke commented Dec 14, 2018

original pull request description ( by @hnmx4 )

for #243.
I use a Hashie developer’s solution that solves issue similar to issue#243 as reference.


I just released Hashie v3.5.2 which has the disable_warnings feature for the Mash logger and sets the Hashie logger to the Rails logger when we detect that we're running in Rails. Hopefully, this helps!

You can also disable the logging in subclasses of Mash:

class Response < Hashie::Mash

I added commits for @sue445 's comment

I prefer add require 'itamae/mash' to lib/itamae.rb than here.

#244 (comment)

hnmx4 and others added some commits Jul 28, 2017

Load 'itamae/mash' in lib/itamae.rb
to use Itamae::Mash in the whole of itamae
Replace Hashie::Mash -> Itamae::Mash
to suppress hashie warning messages

@unasuke unasuke self-assigned this Dec 14, 2018

@unasuke unasuke requested a review from sue445 Dec 14, 2018


sue445 approved these changes Dec 14, 2018

Copy link

sue445 left a comment



This comment has been minimized.

Copy link

unasuke commented Dec 14, 2018


@unasuke unasuke merged commit 2d1f66a into itamae-kitchen:master Dec 14, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@unasuke unasuke deleted the unasuke:disable-mash-warnings branch Dec 14, 2018

@unasuke unasuke referenced this pull request Dec 14, 2018


Disable Mash warnings #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment