Commit c321c1d
committed
fix: Resolve remaining RuboCop offenses
- Refactors the model processing line in `_prepare_setter_logic_options`
within `lib/controller_setter_pattern/action_controller.rb` to use an
`if` condition, resolving conflicting `Style/SafeNavigationChainLength`
and `Lint/SafeNavigationChain` RuboCop offenses.
- Re-wraps RDoc comment lines in the same file to fix
`Layout/LineLength` offenses.
- Applies minor auto-corrections from RuboCop after these changes.
RuboCop now reports no offenses in the codebase (aside from an
environmental warning for gemspec Ruby version).1 parent 40cc46f commit c321c1d
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
106 | 112 | | |
107 | | - | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
0 commit comments