lib/ass_tests.rb in ass_tests-1.0.0.alpha vs lib/ass_tests.rb in ass_tests-1.2.0.alpha

- old
+ new

@@ -1,16 +1,12 @@ module AssTests class ConfigureError < StandardError; end + require 'ass_ole' require 'ass_tests/version' require 'ass_tests/config' require 'ass_tests/fixt' require 'ass_tests/externals' require 'ass_tests/info_bases' + require 'ass_tests/core_patch/win32ole_runtime_error' + require 'ass_tests/core_patch/no_method_error' end -class WIN32OLERuntimeError - old_message = instance_method(:message) - define_method(:message) do - old_message.bind(self).call.force_encoding('ASCII-8BIT')\ - .split('HRESULT')[0].force_encoding('UTF-8').strip - end -end