Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for make_tmpdir deprecation #37

Merged
merged 2 commits into from
May 14, 2017
Merged

Update for make_tmpdir deprecation #37

merged 2 commits into from
May 14, 2017

Conversation

kindjar
Copy link
Contributor

@kindjar kindjar commented May 5, 2017

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.

@coveralls
Copy link

coveralls commented May 5, 2017

Coverage Status

Coverage decreased (-0.4%) to 79.898% when pulling 825132e on kindjar:master into 6449b5d on roo-rb:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants