Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix Tempfile.new #88
This PR fixes the call to
Since Ruby 2.2.0 bundled in newer versions of chef-client,
This is because Tempfile.new has just ignored the 'wb+' option - not so any more.
This PR fixes how the Tempfile object is instantiated.
As documented here: http://ruby-doc.org/stdlib-2.3.1/libdoc/tempfile/rdoc/Tempfile.html#method-c-new Tempfile.new will open the file with "w+" by default; then using
[List any existing issues this PR resolves]