summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-08-06 03:52:24 +0200
committerGabriel Mazetto <gabriel@gitlab.com>2016-08-06 03:52:24 +0200
commit5f6223cf9f285da3814991d1271e328e23be9d45 (patch)
tree01be6e2991ef35c87806950f4c8a4b2d700b6205 /lib
parent2aa2f52191b746df851853cf5fe9ce7249a70739 (diff)
downloadgitlab-ce-rubocop/EmptyLinesAroundModuleBody.tar.gz
Enable Style/EmptyLinesAroundClassBody coprubocop/EmptyLinesAroundModuleBody
Diffstat (limited to 'lib')
-rw-r--r--lib/banzai/filter/video_link_filter.rb1
-rw-r--r--lib/gitlab/import_export/avatar_restorer.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/banzai/filter/video_link_filter.rb b/lib/banzai/filter/video_link_filter.rb
index 0f86ae83f72..ac7bbcb0d10 100644
--- a/lib/banzai/filter/video_link_filter.rb
+++ b/lib/banzai/filter/video_link_filter.rb
@@ -4,7 +4,6 @@ module Banzai
# a `src` attribute ending with a video extension, add a new video node and
# a "Download" link in the case the video cannot be played.
class VideoLinkFilter < HTML::Pipeline::Filter
-
def call
doc.xpath(query).each do |el|
el.replace(video_node(doc, el))
diff --git a/lib/gitlab/import_export/avatar_restorer.rb b/lib/gitlab/import_export/avatar_restorer.rb
index 352539eb594..cfa595629f4 100644
--- a/lib/gitlab/import_export/avatar_restorer.rb
+++ b/lib/gitlab/import_export/avatar_restorer.rb
@@ -1,7 +1,6 @@
module Gitlab
module ImportExport
class AvatarRestorer
-
def initialize(project:, shared:)
@project = project
@shared = shared