Skip to content

Fix solargraph-rspec spec failure#1164

Open
apiology wants to merge 9 commits intocastwide:v0.59from
apiology:temp_solargraph_rspec_branch
Open

Fix solargraph-rspec spec failure#1164
apiology wants to merge 9 commits intocastwide:v0.59from
apiology:temp_solargraph_rspec_branch

Conversation

@apiology
Copy link
Contributor

@apiology apiology commented Jan 27, 2026

Includes to reproduce the problem:

apiology and others added 6 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
@apiology apiology changed the base branch from master to v0.59 January 27, 2026 14:26
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