Skip to content

Add tsort to rubocop1.0 gemfile to fix deprecation warning#642

Merged
sds merged 1 commit intosds:mainfrom
mattmenefee:fix-tsort-deprecation-warning
Apr 13, 2026
Merged

Add tsort to rubocop1.0 gemfile to fix deprecation warning#642
sds merged 1 commit intosds:mainfrom
mattmenefee:fix-tsort-deprecation-warning

Conversation

@mattmenefee
Copy link
Copy Markdown
Contributor

Summary

  • Add tsort gem to gemfiles/rubocop1.0.gemfile to silence Ruby 4.0 deprecation warning
  • RuboCop 1.0 uses tsort internally, which was extracted from Ruby's default gems in 4.0
  • Matches the existing base64 and ostruct shims already in that gemfile

Test plan

  • BUNDLE_GEMFILE=gemfiles/rubocop1.0.gemfile bundle exec rspec runs with no deprecation warnings and no new failures

Ruby 4.0 extracted tsort from default gems, causing a deprecation
warning when running specs against RuboCop 1.0. Adding it explicitly
silences the warning, matching the existing base64 and ostruct shims.
@sds sds merged commit 90d3f37 into sds:main Apr 13, 2026
51 checks passed
@sds
Copy link
Copy Markdown
Owner

sds commented Apr 13, 2026

Thanks!

@mattmenefee mattmenefee deleted the fix-tsort-deprecation-warning branch April 13, 2026 16:22
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