Closed fotanus closed 11 years ago
@fotanus I bumped the version to v1.0.0 and published it on rubygems.org for easier use. I changed the gem name to chardet2
because I have no control to the unmaintained chardet
gem. I put you and Hui in authors :smile:
Thanks!
Great, thank you!
The code currently refines
Enumerable#reduce
, which is now standard on ruby 2.0.0. The redefinition is not compatible with the canonical one. Of course, this is causing problems.For example, running a rails console:
This patch remove the redefinition and change the only usage of this method to be compatible with ruby 2.0.0.
If possible, consider pushing a new version for this fix.