Skip to content

chore: drop unused dev dependencies#53

Open
erimicel wants to merge 1 commit intotypesense:masterfrom
OLIOEX:cleanup-unused-dev-deps
Open

chore: drop unused dev dependencies#53
erimicel wants to merge 1 commit intotypesense:masterfrom
OLIOEX:cleanup-unused-dev-deps

Conversation

@erimicel
Copy link
Copy Markdown
Contributor

@erimicel erimicel commented Apr 27, 2026

Summary

Removes four dev dependencies from the Gemfile that are not referenced anywhere in the gem code, specs, Rakefile, Guardfile, bin/, examples/, or the CI workflow.

Gem Reason
codecov (~> 0.1) Officially deprecated by Codecov in 2021 in favour of the Codecov uploader binary / GitHub Action. The current .github/workflows/tests.yml uploads the simplecov report as a GitHub artifact and never requires/invokes the codecov gem.
rspec-legacy_formatters (~> 1.0) The Gemfile comment said it was only there for the codecov formatter; drops together with codecov.
rspec_junit_formatter (~> 0.4) The CI workflow runs bundle exec rspec --format documentation and produces no JUnit XML, so this formatter has no consumer.
erb No require 'erb' anywhere in the gem. ERB is in the Ruby stdlib for the supported matrix (>= 2.7), so the standalone gem entry was redundant.

awesome_print, guard, guard-rubocop, and the rest are kept untouched — awesome_print is used heavily in examples/, and guard/guard-rubocop are wired up in Guardfile for local rubocop-on-save.

Verification

  • bundle install — resolves cleanly, 12 Gemfile deps (was 16), 61 gems total (was 68).
  • bundle exec rubocop — 97 files inspected, no offenses.
  • bundle exec rspec — 151 examples, 1 failure, 27 pending. The single failure is collections_spec.rb:156 (truncate_len schema mismatch with the running Typesense container) — pre-existing on master, unrelated to this change.

PR Checklist

Remove four dev dependencies that are not referenced anywhere in the gem,
its specs, the Rakefile, the Guardfile, the bin/ scripts, the examples, or
the CI workflow:

- `codecov` (~> 0.1): Officially deprecated by Codecov in 2021 in favour
  of the Codecov uploader binary / GitHub Action. The current
  `.github/workflows/tests.yml` uploads the simplecov report as a GitHub
  artifact and never invokes the codecov gem.
- `rspec-legacy_formatters` (~> 1.0): The Gemfile comment states it was
  only there for the codecov formatter. Drops with codecov.
- `rspec_junit_formatter` (~> 0.4): The CI workflow runs
  `bundle exec rspec --format documentation` and produces no JUnit XML,
  so this formatter has no consumer.
- `erb`: The standalone gem has no consumer in the project. ERB is in the
  Ruby stdlib for the supported matrix (>= 2.7), and `require 'erb'` is
  not used anywhere in the gem.

Verified: full RSpec suite (151 examples, 1 failure - pre-existing
`truncate_len` integration failure on master, unrelated to this change)
and `bundle exec rubocop` (97 files, no offenses) both green after the
removal.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erimicel erimicel changed the title Drop unused dev dependencies chore: drop unused dev dependencies Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants