taylorbrooks / closeio

A Ruby wrapper for the Close.io API
http://developer.close.com
MIT License
45 stars 57 forks source link

"You are setting a key that conflicts with a built-in method Hashie::Mash#object_id defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method." #39

Closed stevenmaguire closed 6 years ago

stevenmaguire commented 7 years ago

A recent build of our project that includes this gem has emitted this Hashie warning.

"You are setting a key that conflicts with a built-in method Hashie::Mash#object_id defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method."

Have you experienced the same?

taylorbrooks commented 7 years ago

Yes, I'm debating removing Hashie altogether because of it's memory bloat.

stevenmaguire commented 7 years ago

Oh? I am happy to have less memory bloat :)

taylorbrooks commented 6 years ago

v3.0.0 removes Hashie and fixes this error.

The bump to v3.0.0 is a breaking change so test before you integrate.