middleman/middleman-core/lib/middleman-core/step_definitions
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
..
builder_steps.rb Fix dynamic multi-byte utf-8 files rebuilding. 2013-03-03 18:13:41 -08:00
middleman_steps.rb Reduce work converting paths from relative to absolute and back again 2012-07-19 01:18:55 -07:00
server_steps.rb Clean up whitespace, play with cane for testing style quality and code complexity 2012-08-13 15:41:07 -07:00