From 72f5e20acc6d085c2b8cdecb56c8b386d1c09578 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Feb 2022 18:04:14 +0000 Subject: [PATCH 1/3] build(deps): bump simplecov_json_formatter in /Library/Homebrew Bumps [simplecov_json_formatter](https://github.com/fede-moya/simplecov_json_formatter) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/fede-moya/simplecov_json_formatter/releases) - [Changelog](https://github.com/codeclimate-community/simplecov_json_formatter/blob/master/CHANGELOG.md) - [Commits](https://github.com/fede-moya/simplecov_json_formatter/commits) --- updated-dependencies: - dependency-name: simplecov_json_formatter dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index d7710f0a1f..d772132e51 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -156,7 +156,7 @@ GEM rexml simplecov (~> 0.19) simplecov-html (0.12.3) - simplecov_json_formatter (0.1.3) + simplecov_json_formatter (0.1.4) sorbet (0.5.9644) sorbet-static (= 0.5.9644) sorbet-runtime (0.5.9644) From 656e22766d48b0492616e9471a02d9b78b7996b2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 16 Feb 2022 18:07:02 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- .../Homebrew/vendor/bundle/bundler/setup.rb | 2 +- .../lib/simplecov_json_formatter.rb | 0 .../result_exporter.rb | 0 .../result_hash_formatter.rb | 26 +++++++++++++++---- .../source_file_formatter.rb | 0 .../lib/simplecov_json_formatter/version.rb | 2 +- 6 files changed, 23 insertions(+), 7 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{simplecov_json_formatter-0.1.3 => simplecov_json_formatter-0.1.4}/lib/simplecov_json_formatter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{simplecov_json_formatter-0.1.3 => simplecov_json_formatter-0.1.4}/lib/simplecov_json_formatter/result_exporter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{simplecov_json_formatter-0.1.3 => simplecov_json_formatter-0.1.4}/lib/simplecov_json_formatter/result_hash_formatter.rb (68%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{simplecov_json_formatter-0.1.3 => simplecov_json_formatter-0.1.4}/lib/simplecov_json_formatter/source_file_formatter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/{simplecov_json_formatter-0.1.3 => simplecov_json_formatter-0.1.4}/lib/simplecov_json_formatter/version.rb (76%) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 628365788a..11235afd3e 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -91,7 +91,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.8.0/l $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-sorbet-0.6.7/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-macho-3.0.0/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.3/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.4/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-2.1.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-0.5.9644-universal-darwin-14/lib" diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/result_exporter.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_exporter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/result_exporter.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_exporter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/result_hash_formatter.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_hash_formatter.rb similarity index 68% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/result_hash_formatter.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_hash_formatter.rb index 9dfe47da24..e9c8fc8ae4 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/result_hash_formatter.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_hash_formatter.rb @@ -9,22 +9,38 @@ module SimpleCovJSONFormatter end def format - @result.files.each do |source_file| - formatted_result[:coverage][source_file.filename] = - format_source_file(source_file) - end + format_files + format_groups formatted_result end private + def format_files + @result.files.each do |source_file| + formatted_result[:coverage][source_file.filename] = + format_source_file(source_file) + end + end + + def format_groups + @result.groups.each do |name, file_list| + formatted_result[:groups][name] = { + lines: { + covered_percent: file_list.covered_percent + } + } + end + end + def formatted_result @formatted_result ||= { meta: { simplecov_version: SimpleCov::VERSION }, - coverage: {} + coverage: {}, + groups: {} } end diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/source_file_formatter.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/source_file_formatter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/source_file_formatter.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/source_file_formatter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/version.rb b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/version.rb similarity index 76% rename from Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/version.rb rename to Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/version.rb index 7345fb721f..ef8fadce94 100644 --- a/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.3/lib/simplecov_json_formatter/version.rb +++ b/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module SimpleCovJSONFormatter - VERSION = '0.1.3' + VERSION = '0.1.4' end From 481934b4ee8935d9b658f10be7710475eb13826e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 16 Feb 2022 18:12:16 +0000 Subject: [PATCH 3/3] Update RBI files for simplecov_json_formatter. --- ...rmatter@0.1.3.rbi => simplecov_json_formatter@0.1.4.rbi} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{simplecov_json_formatter@0.1.3.rbi => simplecov_json_formatter@0.1.4.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi rename to Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi index f9c0c1a4da..502be3d4f9 100644 --- a/Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi @@ -1,9 +1,9 @@ +# typed: true + # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `simplecov_json_formatter` gem. # Please instead update this file by running `bin/tapioca gem simplecov_json_formatter`. -# typed: true - module SimpleCov extend ::SimpleCov::Configuration @@ -93,6 +93,8 @@ class SimpleCovJSONFormatter::ResultHashFormatter private + def format_files; end + def format_groups; end def format_source_file(source_file); end def formatted_result; end end