gitlab-org--gitlab-foss/rubocop/cop
Yorick Peterse 9722158c15
Fix detecting nested EE constants in RuboCop
The InjectEnterpriseEditionModule cop would not detect certain nested EE
constants such as `EE::Foo::Bar::Baz`. This could result in it not
enforcing `prepend` being placed on the last line. This commit fixes
this by just performing a string match on the line, instead of relying
on AST matching.
2019-01-16 16:48:18 +01:00
..
code_reuse
gitlab
migration Make add_reference cop accept a hash for :index 2018-11-27 11:40:38 +01:00
qa
rspec
avoid_break_from_strong_memoize.rb
avoid_return_from_blocks.rb
avoid_route_redirect_leading_slash.rb
destroy_all.rb
group_public_or_visible_to_user.rb
include_sidekiq_worker.rb
inject_enterprise_edition_module.rb Fix detecting nested EE constants in RuboCop 2019-01-16 16:48:18 +01:00
line_break_around_conditional_block.rb
prefer_class_methods_over_module.rb
project_path_helper.rb
ruby_interpolation_in_translation.rb
safe_params.rb
sidekiq_options_queue.rb