Skip to content

Commit

Permalink
Merge pull request #16822 from bdunne/cops
Browse files Browse the repository at this point in the history
Update cop namespaces
  • Loading branch information
jrafanie authored Jan 15, 2018
2 parents c992bac + 70317e4 commit 41b76f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/extensions/ar_virtual.rb
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def preloaders_for_one(association, records, scope)
# Ignoring them to avoid noise in RuboCop, but allow us to keep the same
# syntax from the original codebase.
#
# rubocop:disable Style/BlockDelimiters, Style/SpaceAfterComma, Style/HashSyntax
# rubocop:disable Style/BlockDelimiters, Layout/SpaceAfterComma, Style/HashSyntax
# rubocop:disable Layout/AlignHash, Metrics/AbcSize, Metrics/MethodLength
class JoinDependency
def instantiate(result_set, aliases)
Expand Down Expand Up @@ -682,8 +682,8 @@ def instantiate(result_set, aliases)

parents.values
end
# rubocop:enable Style/BlockDelimiters, Style/SpaceAfterComma, Style/HashSyntax
# rubocop:enable Style/AlignHash, Metrics/AbcSize, Metrics/MethodLength
# rubocop:enable Style/BlockDelimiters, Layout/SpaceAfterComma, Style/HashSyntax
# rubocop:enable Layout/AlignHash, Metrics/AbcSize, Metrics/MethodLength
end
end

Expand Down

0 comments on commit 41b76f5

Please sign in to comment.