Merge pull request #11551 from Homebrew/dependabot/bundler/Library/Homebrew/simplecov_json_formatter-0.1.3

build(deps): bump simplecov_json_formatter from 0.1.2 to 0.1.3 in /Library/Homebrew
This commit is contained in:
Nanda H Krishna 2021-06-17 02:56:21 +05:30 committed by GitHub
commit cfcb4761fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 5 deletions

View File

@ -142,7 +142,7 @@ GEM
simplecov-cobertura (1.4.2) simplecov-cobertura (1.4.2)
simplecov (~> 0.8) simplecov (~> 0.8)
simplecov-html (0.12.3) simplecov-html (0.12.3)
simplecov_json_formatter (0.1.2) simplecov_json_formatter (0.1.3)
sorbet (0.5.6274) sorbet (0.5.6274)
sorbet-static (= 0.5.6274) sorbet-static (= 0.5.6274)
sorbet-runtime (0.5.6274) sorbet-runtime (0.5.6274)

View File

@ -1,6 +1,6 @@
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov_json_formatter` gem. # This is an autogenerated file for types exported from the `simplecov_json_formatter` gem.
# Please instead update this file by running `tapioca sync`. # Please instead update this file by running `bin/tapioca sync`.
# typed: true # typed: true

View File

@ -86,7 +86,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.4.0/l
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-2.5.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-1.4.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-1.4.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0.2.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0.2.0/lib"

View File

@ -4,6 +4,7 @@ module SimpleCovJSONFormatter
class SourceFileFormatter class SourceFileFormatter
def initialize(source_file) def initialize(source_file)
@source_file = source_file @source_file = source_file
@line_coverage = nil
end end
def format def format
@ -17,7 +18,7 @@ module SimpleCovJSONFormatter
private private
def line_coverage def line_coverage
@line_coverage || { @line_coverage ||= {
lines: lines lines: lines
} }
end end

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
module SimpleCovJSONFormatter module SimpleCovJSONFormatter
VERSION = '0.1.2' VERSION = '0.1.3'
end end