awesome-print / awesome_print

Pretty print your Ruby objects with style -- in full color and with proper indentation
http://github.com/michaeldv/awesome_print
MIT License
4.07k stars 454 forks source link

warning: method redefined; discarding old - complaint in the verbose mode #310

Closed matkoniecz closed 7 years ago

matkoniecz commented 7 years ago

to replicate - create file with require 'awesome_print', name it awesome_bug.rb

run ruby -v awesome_bug.rb

what happens:

ruby 2.3.4p301 (2017-03-30 revision 58214) [i386-linux-gnu]
/home/mateusz/.gem/ruby/2.3.0/gems/awesome_print-1.7.0/lib/awesome_print/core_ext/array.rb:19: warning: method redefined; discarding old -
/home/mateusz/.gem/ruby/2.3.0/gems/awesome_print-1.7.0/lib/awesome_print/core_ext/array.rb:19: warning: method redefined; discarding old &

expected: lack of warnings

matkoniecz commented 7 years ago

It turns out to be fixed in master.

imajes commented 7 years ago

so sorry -- life has been one project after another. Well, a year between releases can't be bad for a simple stable gem ;)

Here's to 1.8.0 ! :beers: 👍 💯