Class: Codecov::SimpleCov::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/codecov/formatter.rb

Class Method Summary collapse

Class Method Details

.format(report) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/codecov/formatter.rb', line 9

def self.format(report)
  result = {
    'meta' => {
      'version' => "codecov-ruby/v#{::Codecov::VERSION}"
    }
  }
  result.update(result_to_codecov(report))
  result
end