diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-11-23 13:56:51 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-11-23 13:56:51 +0100 |
commit | b3331cf3dfe3c5081bf448279456701009d17231 (patch) | |
tree | bd2ab3c687c9159fca9a7bce3d2d8b26fb4fe613 /lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb | |
parent | 904a625edd743ea4707598d0e285b6a8607e95d5 (diff) | |
download | gitlab-ce-b3331cf3dfe3c5081bf448279456701009d17231.tar.gz |
Added Rubocop config for background migrationsreviewing-db-changes
This adds a Rubocop configuration file specific to
lib/gitlab/background_migrations. This configuration will be used to
(hopefully) make reviewing background migrations easier by enforcing
stricter rules compared to the rest of GitLab. Because this
configuration is directory specific it will only affect background
migrations.
Diffstat (limited to 'lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb')
-rw-r--r-- | lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb b/lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb index e94719db72e..c2bf42f846d 100644 --- a/lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb +++ b/lib/gitlab/background_migration/create_gpg_key_subkeys_from_gpg_keys.rb @@ -1,3 +1,7 @@ +# frozen_string_literal: true +# rubocop:disable Metrics/LineLength +# rubocop:disable Style/Documentation + class Gitlab::BackgroundMigration::CreateGpgKeySubkeysFromGpgKeys class GpgKey < ActiveRecord::Base self.table_name = 'gpg_keys' |