From 6020277608b714ddf95294d0b94a1f37cfa4817a Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 27 Jun 2020 12:36:44 -0500 Subject: [PATCH] Update simplecov gem. --- .simplecov | 6 ++---- Gemfile | 2 +- Gemfile.lock | 9 ++++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.simplecov b/.simplecov index 66536caa3..e527eadf6 100644 --- a/.simplecov +++ b/.simplecov @@ -1,10 +1,8 @@ SimpleCov.start "rails" do add_group "Libraries", ["app/logical", "lib"] add_group "Presenters", "app/presenters" - #enable_coverage :branch - #minimum_coverage line: 85, branch: 75 - #minimum_coverage_by_file 50 - #coverage_dir "tmp/coverage" + add_group "Policies", "app/policies" + enable_coverage :branch # https://github.com/codecov/codecov-ruby#submit-only-in-ci-example if ENV["CODECOV_TOKEN"] diff --git a/Gemfile b/Gemfile index 18bd95879..02cde7ccd 100644 --- a/Gemfile +++ b/Gemfile @@ -80,7 +80,7 @@ group :test do gem "factory_bot" gem "mocha", require: "mocha/minitest" gem "ffaker" - gem "simplecov", "~> 0.17.0", require: false + gem "simplecov", require: false gem "minitest-ci" gem "minitest-reporters", require: "minitest/reporters" gem "mock_redis" diff --git a/Gemfile.lock b/Gemfile.lock index e7c754a04..918dd045c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -337,11 +337,10 @@ GEM simple_form (5.0.2) actionpack (>= 5.0) activemodel (>= 5.0) - simplecov (0.17.1) + simplecov (0.18.5) docile (~> 1.1) - json (>= 1.8, < 3) - simplecov-html (~> 0.10.0) - simplecov-html (0.10.2) + simplecov-html (~> 0.11) + simplecov-html (0.12.2) sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) @@ -454,7 +453,7 @@ DEPENDENCIES shoulda-context shoulda-matchers simple_form - simplecov (~> 0.17.0) + simplecov stackprof streamio-ffmpeg stripe