hashie: New version of hashie breaks omniauth
The new version of hashie is blowing up our build on travis:
Bundler::GemRequireError: There was an error while trying to load the gem 'omniauth-google-oauth2'.
Gem Load Error is: uninitialized constant Hashie::Extensions::RubyVersionCheck::ClassMethods::RubyVersion
Backtrace for gem load error is:
hashie-3.5.0/lib/hashie/extensions/ruby_version_check.rb:10:in `with_minimum_ruby'
hashie-3.5.0/lib/hashie/array.rb:8:in `<class:Array>'
hashie-3.5.0/lib/hashie/array.rb:5:in `<module:Hashie>'
hashie-3.5.0/lib/hashie/array.rb:4:in `<top (required)>'
hashie-3.5.0/lib/hashie/mash.rb:2:in `<top (required)>'
omniauth-1.3.2/lib/omniauth/strategy.rb:1:in `<top (required)>'
Looking into trying to debug this. We use a lot of gems in our project
Any insight would be great, thanks
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 12
- Comments: 23 (13 by maintainers)
Commits related to this issue
- Lock hashie to 3.4.6 for now https://github.com/intridea/hashie/issues/391 — committed to librariesio/libraries.io by andrew 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Added omniauth integration spec for #391. — committed to dblock/hashie by dblock 7 years ago
- Fix #391: require all dependencies in Hashie::Mash. — committed to dblock/hashie by dblock 7 years ago
- Fix #391: require all dependencies in Hashie::Mash. — committed to dblock/hashie by dblock 7 years ago
- Merge pull request #392 from dblock/omniauth-integration-spec Added omniauth integration spec for #391. — committed to hashie/hashie by michaelherold 7 years ago
- Fixes hashie warning for methods ``` W, [2017-03-18T22:33:20.253963 #55813] WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#size defined in Hash. This can cause un... — committed to petems/tugboat by petems 7 years ago
- Nulled out the Hashie logger, since it was warning about keys during specs. See https://github.com/intridea/hashie/issues/391#issuecomment-276490533 for more details. — committed to visoft/goodreads by visoft 7 years ago
- Update omniauth gem to fix hashie warnings Discussions on the fix https://github.com/omniauth/omniauth/issues/872 https://github.com/intridea/hashie/issues/391 — committed to nusskylab/nusskylab by lincredibleJC 6 years ago
I’m working on a patch for Hashie that will make this behavior toggleable. I’ll then make a patch for OmniAuth to take care of that functionality.
I’m trying to add an integration spec in https://github.com/intridea/hashie/pull/392.
That’s because they have an
OmniAuth::AuthHash::InfoHash#namemethod, which is often set with the writer methodMash#name=. We often have people complain that the Mash behavior isn’t what they expect when a key collides with a built-in method, so we added logging to that point.If you aren’t using Hashie anywhere else, you can set the Hashie logger to a nil logger with:
in an initializer.