You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```ruby
$ bundle exec rubocop -a
Inspecting 73 files
...................W.......C..............CC.............................
Offenses:
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:49:13: C: [Corrected] Layout/IndentationWidth: Use 2 (not 32) spaces for indentation.
"\"#{name.upcase}\""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:50:43: C: [Corrected] Layout/ElseAlignment: Align else with QUOTED_COLUMN_NAMES[name].
else
^^^^
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:51:45: C: [Corrected] Layout/CommentIndentation: Incorrect indentation detected (column 44 instead of 14).
# remove double quotes which cannot be used inside quoted identifier
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:52:13: C: [Corrected] Layout/IndentationWidth: Use 2 (not 32) spaces for indentation.
"\"#{name.delete('"')}\""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:53:43: W: [Corrected] Layout/EndAlignment: end at 53, 42 is not aligned with QUOTED_COLUMN_NAMES[name] ||= if at 48, 12.
end
^^^
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:60:1: C: [Corrected] Layout/EmptyLinesAroundModuleBody: Extra empty line detected at module body end.
lib/active_record/connection_adapters/oracle_enhanced/quoting.rb:110:1: C: [Corrected] Layout/EmptyLines: Extra blank line detected.
lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:66:1: C: [Corrected] Layout/EmptyLinesAroundModuleBody: Extra empty line detected at module body beginning.
lib/arel/visitors/oracle_common.rb:6:1: C: [Corrected] Layout/EmptyLinesAroundModuleBody: Extra empty line detected at module body beginning.
spec/active_record/connection_adapters/emulation/oracle_adapter_spec.rb:13:86: C: [Corrected] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
@conn = ActiveRecord::Base.establish_connection(CONNECTION_PARAMS.merge(adapter: 'oracle'))
^^^^^^^^
73 files inspected, 10 offenses detected, 10 offenses corrected
$
```
0 commit comments