1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00
omniauth--omniauth/spec/omniauth
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
..
strategies Fix RuboCop offenses introduced in version 0.22.0 2014-05-30 14:42:00 -04:00
auth_hash_spec.rb Silence Hashie::Mash logger on Hashie 3.5.0+ 2017-02-05 15:35:08 -06:00
builder_spec.rb Fix RuboCop offenses introduced in version 0.19.0 2014-03-15 20:43:30 +01:00
failure_endpoint_spec.rb Redundant merge 2016-08-08 10:54:19 -07:00
form_spec.rb Fix RuboCop offenses 2014-01-16 05:22:36 +01:00
key_store_spec.rb Silence Hashie::Mash logger on Hashie 3.5.0+ 2017-02-05 15:35:08 -06:00
strategy_spec.rb security issue in returning post parameters from session in callback phase 2017-01-10 23:04:18 -05:00