From 2368dcb4879df263ee5df6b4e588021d7349e50d Mon Sep 17 00:00:00 2001 From: "Daniel P. Clark" <6ftdan@gmail.com> Date: Sun, 4 Oct 2026 19:55:24 +0000 Subject: [PATCH] Remove the Travis CI coverage leftovers The coverage block in test_helper only ran on Travis CI (`TRAVIS_OS_NAME`) with Ruby 2.4, so since the move to GitHub Actions and Ruby 2.5 to 2.7 it was dead code, and the `coveralls` gem it needed was still installed into every bundle. Nothing has reported coverage since 2018, so the Coveralls badge in the README no longer described this project. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01CXvfgWzuq28ewqT3AyhX4Z --- Gemfile | 4 ---- README.md | 1 - test/test_helper.rb | 17 ----------------- 3 files changed, 22 deletions(-) diff --git a/Gemfile b/Gemfile index 31d1a72..b806447 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,3 @@ source 'https://rubygems.org' # Specify your gem's dependencies in faster_path.gemspec gemspec - -group :test do - gem 'coveralls', require: false -end diff --git a/README.md b/README.md index 43b7f97..2af350b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [![Latest Tag](https://img.shields.io/github/tag/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/tags) [![Commits Since Last Release](https://img.shields.io/github/commits-since/danielpclark/faster_path/v0.3.10.svg)](https://github.com/danielpclark/faster_path/pulse) [![Binary Release](https://img.shields.io/github/release/danielpclark/faster_path.svg)](https://github.com/danielpclark/faster_path/releases) -[![Coverage Status](https://coveralls.io/repos/github/danielpclark/faster_path/badge.svg?branch=master)](https://coveralls.io/github/danielpclark/faster_path?branch=master) [![Inline docs](http://inch-ci.org/github/danielpclark/faster_path.svg?branch=master)](http://inch-ci.org/github/danielpclark/faster_path) [![Code Triagers Badge](https://www.codetriage.com/danielpclark/faster_path/badges/users.svg)](https://www.codetriage.com/danielpclark/faster_path) diff --git a/test/test_helper.rb b/test/test_helper.rb index 514defb..875b05d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,21 +1,4 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) -if ENV['TEST_MONKEYPATCHES'] && - ENV['WITH_REGRESSION'] && - !ENV['RUST_BACKTRACE'] && - ENV['TRAVIS_OS_NAME'] == 'linux' && - Gem::Dependency.new('', '~> 2.4', '< 2.5').match?('', RUBY_VERSION) - require 'simplecov' - require 'coveralls' - - SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter - ] - SimpleCov.start do - add_filter '/test/' - add_filter '/spec/' - end -end require 'faster_path' require 'minitest/autorun' require 'pathname'