Sha256: 695f78ac8ac4e1b619e797e52372ee9c70bf414bd0d5bec51001d2fad70cf930

Contents?: true

Size: 416 Bytes

Versions: 24

Compression:

Stored size: 416 Bytes

Contents

require 'simplecov-rcov'

module Daddy
  module Coverage
    class RcovFormatter < SimpleCov::Formatter::RcovFormatter
    
      private
    
      def write_file(template, output_filename, binding)
        rcov_result = template.result( binding ).force_encoding('UTF-8')
    
        File.open( output_filename, "w" ) do |file_result|
         file_result.write rcov_result
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
daddy-0.9.9 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.8 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.7 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.6 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.5 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.4 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.3 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.2 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.1 lib/daddy/coverage/rcov_formatter.rb
daddy-0.9.0 lib/daddy/coverage/rcov_formatter.rb
daddy-0.8.1 lib/daddy/coverage/rcov_formatter.rb
daddy-0.8.0 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.9 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.8 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.7 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.6 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.5 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.4 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.3 lib/daddy/coverage/rcov_formatter.rb
daddy-0.7.2 lib/daddy/coverage/rcov_formatter.rb