middleman/middleman-core/lib/middleman-core/cli
Kevin McCarthy 7608275089 Fix dynamic multi-byte utf-8 files rebuilding.
Thor compares the new contents with the existing file by using
File.binread(destination) == new_content.
File.binread returns a string with ASCII_8BIT encoding, which will not
match the new_content if new_content contains multi-byte utf-8.

This patch simply encodes the new_content to ASCII_8BIT before passing
it to Thor.
2013-03-03 18:13:41 -08:00
..
build.rb Fix dynamic multi-byte utf-8 files rebuilding. 2013-03-03 18:13:41 -08:00
bundler.rb Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00
extension.rb Add test gems to extension and a gitignore. Closes #570 2012-08-20 19:37:10 -07:00
init.rb Add skip-gemfile, skip-bundle, and skip-git options to middleman init, aligning with rails options. 2012-09-14 23:32:46 -07:00
server.rb Add --force-polling flag to server. Closes #730. Closes #644 2013-01-13 11:56:53 -08:00