Skip to content

Commit

Permalink
changelog entry, revert change made to get rubocop to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
aseroff authored and palkan committed Oct 23, 2024
1 parent 83971c9 commit 95d3c7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master (unreleased)

- Updates Rubocop::Cop code to comply with most modern API. ([@aseroff][])

## 1.4.2 (2024-09-03) 🗓️

- Ignore default scopes in `ActiveRecord::Base#refind`. ([@palkan][])
Expand Down
3 changes: 2 additions & 1 deletion lib/test_prof/factory_doctor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ def result
# Do not analyze code within the block
def ignore
@ignored = true
yield
res = yield
ensure
@ignored = false
res
end

def ignore!
Expand Down

0 comments on commit 95d3c7f

Please sign in to comment.