class CoverageReporter::SimplecovParser::Report

Included Modules

Defined in:

coverage_reporter/parsers/simplecov_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def coverage : Hash(String, Coverage | ComplexCoverage) #

[View source]
def coverage=(coverage : Hash(String, Coverage | ComplexCoverage)) #

[View source]
def timestamp : Int64 | Float64 | Nil #

#timestamp is a Unix time. Prior to simplecov v1.1.0 it was written as an integer, but v1.1.0 (see commit 234a1994) switched to Time#to_f, emitting a float (fractional seconds) instead. See: https://github.com/coverallsapp/github-action/issues/269


[View source]
def timestamp=(timestamp : Int64 | Float64 | Nil) #

#timestamp is a Unix time. Prior to simplecov v1.1.0 it was written as an integer, but v1.1.0 (see commit 234a1994) switched to Time#to_f, emitting a float (fractional seconds) instead. See: https://github.com/coverallsapp/github-action/issues/269


[View source]