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

9 commits

Author SHA1 Message Date
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
Erik Michaels-Ober
a3a362de64 Use alias instead of alias_method in a class body 2016-08-08 10:55:19 -07:00
Akira Matsuda
71c1732067 🔥 👮 2015-12-19 13:23:13 +09:00
Erik Michaels-Ober
eb9d0412ae Fix RuboCop offenses introduced in version 0.19.0 2014-03-15 20:43:30 +01:00
Erik Michaels-Ober
d9683a8880 Fix RuboCop offenses 2014-01-16 05:22:36 +01:00
Michael Bleigh
6d0e5c9cf5 Uses Hashie 1.2 to prevent pollution of subhashes in InfoHash. Closes #495 2011-10-15 03:15:45 -05:00
Michael Bleigh
bf00970f21 Refactor auth_hash to put name back in info. That's where it belongs. 2011-09-27 12:36:05 -05:00
Michael Bleigh
5733f9a8e0 Beefed up the AuthHash, pulled name out to the root, specs for #to_hash. 2011-09-22 12:56:36 -05:00
Michael Bleigh
cc73281406 Clearing out everything to move towards the new 1.0 independent gems strategy. 2011-09-03 21:26:57 -03:00
Renamed from oa-core/lib/omniauth/auth_hash.rb (Browse further)