Skip to content

Fix simplecov 1.0 deprecation warnings - #152

Merged
eclectic-coding merged 1 commit into
mainfrom
chore/simplecov-1.0-deprecations
Aug 10, 2026
Merged

Fix simplecov 1.0 deprecation warnings#152
eclectic-coding merged 1 commit into
mainfrom
chore/simplecov-1.0-deprecations

Conversation

@eclectic-coding

Copy link
Copy Markdown
Owner

Summary

  • SimpleCov.add_filter/add_group are deprecated in simplecov 1.0 (bumped in Bump simplecov from 0.22.0 to 1.0.3 #150) in favor of skip/group — updated spec/spec_helper.rb
  • The # :nocov: comment syntax is deprecated in favor of paired # simplecov:disable / # simplecov:enable — updated the one usage in audit_log_entry.rb

Test plan

  • bundle exec rspec — 363 examples, 0 failures, no deprecation output, coverage still 100%
  • bundle exec rubocop — clean

add_filter/add_group and the :nocov: comment syntax are deprecated in
simplecov 1.0 (merged via PR #150) in favor of skip/group and the
simplecov:disable/enable block comments.
@eclectic-coding
eclectic-coding merged commit 62b2cf5 into main Aug 10, 2026
16 of 17 checks passed
@eclectic-coding
eclectic-coding deleted the chore/simplecov-1.0-deprecations branch August 10, 2026 19:06
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.

1 participant