Skip to content

Refactor RbsMap::Conversions#1163

Open
apiology wants to merge 28 commits intocastwide:v0.59from
apiology:refactor_rbs_conversions
Open

Refactor RbsMap::Conversions#1163
apiology wants to merge 28 commits intocastwide:v0.59from
apiology:refactor_rbs_conversions

Conversation

@apiology
Copy link
Contributor

@apiology apiology commented Jan 18, 2026

Let's work more directly with type objects and reduce duplication

Includes

apiology and others added 28 commits January 13, 2026 05:08
We were using the sig/shims directory for some internally helpful
shims; unfortunately that exported them during gem installs, causing
castwide#1144
* Use each_line instead of text.lines

Avoid allocating additional strings, instead use sliced substrings

* gitignore vendor/cache

* Remove redundant end_with?

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>

* Remove benchamrks

castwide#1054 (comment)

* String#index(offset:) FTW 🚀

castwide#1054 (comment)

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>

* fix rubocop

---------

Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
* Raise InvalidOffsetError for offsets > text

* Linting

* Fix fencepost error

* Additional fencepost test

* Document exception
Let's work more directly with type objects and reduce duplication
@apiology apiology marked this pull request as ready for review January 27, 2026 14:32
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