Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashie warnings #26

Closed
pmackay opened this issue Jan 25, 2018 · 5 comments
Closed

Hashie warnings #26

pmackay opened this issue Jan 25, 2018 · 5 comments

Comments

@pmackay
Copy link

pmackay commented Jan 25, 2018

When I use this gem to get the title of an item from its ID, this warning is output many times to the console:
WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#hash defined in Hash. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.

I believe the latest version of hashie has ability to disable these warnings if they can be ignored.

@SprouterB
Copy link

Any way to solve this?

@klacointe
Copy link
Owner

@tamaloa
Copy link

tamaloa commented Oct 4, 2023

Can you try https://rubygems.org/gems/wikidata-client/versions/0.1.0.pre.rc1

Worked for me. No more hashie warnings

ruby -v
ruby 3.2.2 
rails --version
Rails 7.1.0.rc1

@tamaloa
Copy link

tamaloa commented Oct 17, 2023

If possible, maybe you could release a new gem version?
The last stable version on rubygems is 0.0.12 from December 13, 2017

Thanks for your work 👍

@klacointe
Copy link
Owner

done https://rubygems.org/gems/wikidata-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants