summaryrefslogtreecommitdiff
path: root/app/models/hooks
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-07-03 16:01:41 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-07-06 12:01:36 +0200
commite1a3bf30b6ea04f2c658729f65a0eb09847dd341 (patch)
tree9c418de69fba8187717aa16979e102212417c634 /app/models/hooks
parent6f1e00ea36bdcc39da955f7aa2add6a21432d190 (diff)
downloadgitlab-ce-e1a3bf30b6ea04f2c658729f65a0eb09847dd341.tar.gz
Rename ActiverecordSerialize cop
This cop has been renamed to ActiveRecordSerialize to match the way "ActiveRecord" is usually written.
Diffstat (limited to 'app/models/hooks')
-rw-r--r--app/models/hooks/web_hook_log.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/hooks/web_hook_log.rb b/app/models/hooks/web_hook_log.rb
index d73cfcf630d..e72c125fb69 100644
--- a/app/models/hooks/web_hook_log.rb
+++ b/app/models/hooks/web_hook_log.rb
@@ -1,9 +1,9 @@
class WebHookLog < ActiveRecord::Base
belongs_to :web_hook
- serialize :request_headers, Hash # rubocop:disable Cop/ActiverecordSerialize
- serialize :request_data, Hash # rubocop:disable Cop/ActiverecordSerialize
- serialize :response_headers, Hash # rubocop:disable Cop/ActiverecordSerialize
+ serialize :request_headers, Hash # rubocop:disable Cop/ActiveRecordSerialize
+ serialize :request_data, Hash # rubocop:disable Cop/ActiveRecordSerialize
+ serialize :response_headers, Hash # rubocop:disable Cop/ActiveRecordSerialize
validates :web_hook, presence: true