File tree 2 files changed +5
-9
lines changed
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2025-04-04 23:05:51 UTC using RuboCop version 1.75.1.
3
+ # on 2025-04-04 23:07:22 UTC using RuboCop version 1.75.1.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
13
13
RSpec/MetadataStyle :
14
14
Enabled : false
15
15
16
- # Offense count: 2
17
- # This cop supports unsafe autocorrection (--autocorrect-all).
18
- RSpec/ReceiveMessages :
19
- Exclude :
20
- - ' spec/models/widget_spec.rb'
21
-
22
16
# Offense count: 1
23
17
# This cop supports unsafe autocorrection (--autocorrect-all).
24
18
Rails/ActiveSupportOnLoad :
Original file line number Diff line number Diff line change 678
678
# Json fields for `object` & `object_changes` attributes is most efficient way
679
679
# to do the things - this way we will save even more RAM, as well as will skip
680
680
# the whole YAML serialization
681
- allow ( PaperTrail ::Version ) . to receive ( :object_changes_col_is_json? ) . and_return ( true )
682
- allow ( PaperTrail ::Version ) . to receive ( :object_col_is_json? ) . and_return ( true )
681
+ allow ( PaperTrail ::Version ) . to receive_messages (
682
+ object_changes_col_is_json? : true ,
683
+ object_col_is_json? : true
684
+ )
683
685
684
686
# Force the loading of all lazy things like class definitions,
685
687
# in order to get the pure benchmark
You can’t perform that action at this time.
0 commit comments