3.5.2 breaks omniauth adapters #407

Closed
2called-chaos opened this Issue Feb 11, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@2called-chaos

2called-chaos commented Feb 11, 2017

I just figured that updating hashie from 3.5.1 to 3.5.2 breaks at least two of my omniauth-providers with this trace:

/Users/chaos/.gem/ruby/2.3.0/gems/bundler-1.14.3/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'omniauth-twitter'. (Bundler::GemRequireError)
Gem Load Error is: private method `warn' called for nil:NilClass
Backtrace for gem load error is:
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:334:in `log_built_in_message'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:139:in `custom_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:207:in `block in deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `each_pair'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:115:in `initialize'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth/auth_hash.rb:24:in `new'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth/auth_hash.rb:24:in `regular_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:140:in `custom_writer'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:207:in `block in deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `each_pair'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:200:in `deep_update'
/Users/chaos/.gem/ruby/2.3.0/gems/hashie-3.5.2/lib/hashie/mash.rb:115:in `initialize'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:45:in `new'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:45:in `defaults'
/Users/chaos/.gem/ruby/2.3.0/gems/omniauth-1.4.1/lib/omniauth.rb:50:in `initialize'
[..]

@2called-chaos 2called-chaos referenced this issue in zquestz/omniauth-google-oauth2 Feb 11, 2017

Closed

Require Error when starting Rails Server #267

@jonhue jonhue referenced this issue in zquestz/omniauth-google-oauth2 Feb 11, 2017

Closed

Compatibility with Hashie 3.5.0 #265

@michaelherold

This comment has been minimized.

Show comment
Hide comment
@michaelherold

michaelherold Feb 11, 2017

Contributor

Thank you for the bug report.

There's already a fix for this in #406.

Contributor

michaelherold commented Feb 11, 2017

Thank you for the bug report.

There's already a fix for this in #406.

@michaelherold

This comment has been minimized.

Show comment
Hide comment
@michaelherold

michaelherold Feb 11, 2017

Contributor

The just-released v3.5.3 should fix this problem for you. Apologies for the bumpy ride!

Contributor

michaelherold commented Feb 11, 2017

The just-released v3.5.3 should fix this problem for you. Apologies for the bumpy ride!

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