1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00
Commit graph

3 commits

Author SHA1 Message Date
Tom Milewski
7f7a29445a
Revert temporary Hashie fix 2017-02-11 15:43:06 -05:00
Tom Milewski
df7699d17e
Temporary Hashie Regression Fix 2017-02-11 13:12:39 -05:00
Michael Herold
00481a9edc Silence Hashie::Mash logger on Hashie 3.5.0+
We introduced a new logger for Mash due to the huge number of issues
that we get where people try to set keys on their Mash. This change
silences the info messages that get logged when a Mash has a conflict
with a method name.

I had to do this in a kind of hacky way. Since OmniAuth supports Hashie
versions `>= 1.2, < 4`, I can't just hook into the method that we'll be
adding in 3.5.2. As such, I apply an override for the logging method if
the disable method isn't present.

I'm also only overriding the method in versions that have the logging
capability.
2017-02-05 15:35:08 -06:00