Skip to content

chore: move development dependencies to the Gemfile - #135

Merged
tas50 merged 1 commit into
mainfrom
chore/move-dev-deps-to-gemfile
Aug 24, 2026
Merged

tas50 merged 1 commit into
mainfrom
chore/move-dev-deps-to-gemfile

Conversation

@tas50

@tas50 tas50 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Moves minitest, mocha and yard into the Gemfile's :test group (rake is already declared there), and drops the :debug group — pry, pry-byebug and pry-stack_explorer are referenced nowhere in the repo.

The Gemfile already says gemspec development_group: :test, so all four were resolving into :test anyway; the installed bundle is unchanged apart from the pry gems.

yard is deliberately kept in :test rather than moved to a separate :docs group. The Rakefile does an unguarded require "yard" at the top level, so if yard were in a group anyone could exclude, BUNDLE_WITHOUT=docs would make every rake task — including rake unit — fail to load. Guarding that require the way the cookstyle block just above it already is would be a good follow-up.

Development dependencies belong in the Gemfile, not the gemspec. Declaring
them in the gemspec ships them as real metadata to every consumer and
duplicates constraints already expressed in the Gemfile.

Signed-off-by: Tim Smith <tsmith84@proton.me>
@tas50
tas50 merged commit 20ff2b3 into main Aug 24, 2026
15 checks passed
@tas50
tas50 deleted the chore/move-dev-deps-to-gemfile branch August 24, 2026 14:50
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.

1 participant