Newer versions of the roo gem have marked the make_tmpdir method for deprecation. The deprecation notice suggests using make_tempdir in Roo::Tempdir, but that method is designed for using without a block (and the cleanup mechanism it uses isn't quite as robust as that used by Dir.mktmpdir). Since roo-xls only uses make_tmpdir in the block form, I opted to just directly use Dir.mktmpdir. This fixes the deprecation warnings otherwise sent to STDOUT by roo.
Coverage decreased (-0.4%) to 79.898% when pulling 825132e801742135ba809cac73fedaa9261b66ac on kindjar:master into 6449b5de121420cb8981df876acf984b547d7703 on roo-rb:master.
Newer versions of the roo gem have marked the
make_tmpdir
method for deprecation. The deprecation notice suggests usingmake_tempdir
inRoo::Tempdir
, but that method is designed for using without a block (and the cleanup mechanism it uses isn't quite as robust as that used byDir.mktmpdir
). Sinceroo-xls
only usesmake_tmpdir
in the block form, I opted to just directly useDir.mktmpdir
. This fixes the deprecation warnings otherwise sent toSTDOUT
byroo
.