Skip to content

chore: drop unused dev dependencies#53

Merged
jasonbosco merged 2 commits intotypesense:masterfrom
OLIOEX:cleanup-unused-dev-deps
Apr 30, 2026
Merged

chore: drop unused dev dependencies#53
jasonbosco merged 2 commits 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
@jasonbosco
Copy link
Copy Markdown
Member

Could you resolve the conflicts in this PR?

@jasonbosco jasonbosco marked this pull request as draft April 28, 2026 21:54
@erimicel erimicel marked this pull request as ready for review April 29, 2026 09:01
@jasonbosco jasonbosco merged commit 443f21e into typesense:master Apr 30, 2026
5 checks passed
@erimicel erimicel deleted the cleanup-unused-dev-deps branch May 1, 2026 14:36
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.

3 participants