Skip to content

Drop warning and ruby 1.9 support.#1172

Merged
sferik merged 3 commits intosimplecov-ruby:mainfrom
renuo:erb_coverage
Apr 23, 2026
Merged

Drop warning and ruby 1.9 support.#1172
sferik merged 3 commits intosimplecov-ruby:mainfrom
renuo:erb_coverage

Conversation

@coorasse
Copy link
Copy Markdown
Contributor

From my understanding the warning was introduced in the issue #56 and it's interesting only for ruby 1.9, which is not supported anymore anyway.
So let's get rid of this warning completely and close #1057 as well.

@sferik sferik requested a review from PragTob April 17, 2026 14:58
Copy link
Copy Markdown
Collaborator

@sferik sferik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would approve this after a few small changes:

  1. I’m not sure why you added spec/fixtures/issue_1057.erb, but it doesn’t seem to be referenced anywhere, so please either use it or remove it.
  2. The capture_stderr is now unused and can be removed.
  3. Add a positive regression test: expect { subject.lines }.not_to output.to_stderr so silence is pinned.

@sferik
Copy link
Copy Markdown
Collaborator

sferik commented Apr 22, 2026

@coorasse Are you planning to make these changes so this PR can be merged or would you like me to take it over?

@coorasse
Copy link
Copy Markdown
Contributor Author

On it right now 👍 thanks

@coorasse
Copy link
Copy Markdown
Contributor Author

Adapted. Sorry for the issue_1057.erb. I used it in a previous iteration and then removed it.

@coorasse coorasse requested a review from sferik April 23, 2026 12:00
@sferik sferik merged commit 2729bdf into simplecov-ruby:main Apr 23, 2026
12 checks passed
@sferik
Copy link
Copy Markdown
Collaborator

sferik commented Apr 23, 2026

Merged! Thanks so much.

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.

option to disable line warnings with enable_coverage_for_eval and rails views

2 participants