puppetlabs/puppet — pull request #2938 by keymone (2014-08-05 08:05:56+00:00)
Title: (PUP-2946) File2 with #compare_stream from 1.9.3

FileUtils.compare_stream in Ruby 2 is broken when comparing
binary file stream with StringIO stream of different encoding.

This change reverts FileUtils.compare_stream to stdlib v1.9.3
implementation.

(followup to #2881)