Sha256: 2774c03d7d10f78fe3a5e7d77a98353816d16e496ec23b525791f2f393b4f2d1

Contents?: true

Size: 307 Bytes

Versions: 64

Compression:

Stored size: 307 Bytes

Contents

module SimpleCov
  module Formatter
    class QualityFormatter
      def format(result)
        SimpleCov::Formatter::HTMLFormatter.new.format(result)
        File.open("coverage/covered_percent", "w") do |f|
          f.puts result.source_files.covered_percent.to_f
        end
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 3 rubygems

Version Path
rpush-9.1.0 spec/support/simplecov_quality_formatter.rb
rpush-9.0.0 spec/support/simplecov_quality_formatter.rb
rpush-8.0.0 spec/support/simplecov_quality_formatter.rb
rpush-7.0.1 spec/support/simplecov_quality_formatter.rb
rpush-7.0.0 spec/support/simplecov_quality_formatter.rb
rpush-6.0.1 spec/support/simplecov_quality_formatter.rb
rpush-6.0.0 spec/support/simplecov_quality_formatter.rb
rpush-5.4.0 spec/support/simplecov_quality_formatter.rb
rpush-5.3.0 spec/support/simplecov_quality_formatter.rb
rpush-5.2.0 spec/support/simplecov_quality_formatter.rb
rpush-5.1.0 spec/support/simplecov_quality_formatter.rb
rpush-5.0.0 spec/support/simplecov_quality_formatter.rb
rpush-4.2.0 spec/support/simplecov_quality_formatter.rb
rpush-4.1.1 spec/support/simplecov_quality_formatter.rb
rpush-4.1.0 spec/support/simplecov_quality_formatter.rb
rpush-4.0.1 spec/support/simplecov_quality_formatter.rb
rpush-4.0.0 spec/support/simplecov_quality_formatter.rb
rpush-3.3.1 spec/support/simplecov_quality_formatter.rb
rpush-3.3.0 spec/support/simplecov_quality_formatter.rb
rpush_extended-3.2.6 spec/support/simplecov_quality_formatter.rb