Use portable collection paths in cleaner - #3111
Conversation
ca80360 to
e422900
Compare
|
Thank you for the patch. I would like to merge this, but as a refactoring rather than as a portability fix, so let me record why. I tried to build the case the description points at and could not find one. That said, the new form reads better. I have rebased the branch onto the current master. The If you do have a case where the old code actually breaks, please tell me. That would change how we describe the change, and it would be worth a test. |
Summary: derive collection gem and version names through Pathname components instead of splitting paths on a slash. This preserves cleaning behavior on Windows-style path implementations.
Verification: focused baseline/fixed reproduction, combined RBS 4.2.0 consumer models, and RuboCop (738 files, zero offenses). No tests are added in this PR.
Compatibility: no public API removal or dependency/version change.