chucknorris: read gzip stream before passing it to YAML.load
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 20 Feb 2014 20:06:10 +0000 (21:06 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 29 May 2021 14:21:46 +0000 (16:21 +0200)
commit8b811d21babf8f9e5a10a953b595d55ebd08820d
treed1237b886b04a336f59ef006c291cb4adf959de8
parent61bf4d98909457f96e5c3f71c36687e42cab53fe
chucknorris: read gzip stream before passing it to YAML.load

Prevents errors about external_encoding not being defined for the gzip
stream in ruby 1.9+
data/rbot/plugins/chucknorris.rb