Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
5f6223cf
Commit
5f6223cf
authored
Aug 06, 2016
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Style/EmptyLinesAroundClassBody cop
parent
2aa2f521
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
.rubocop.yml
.rubocop.yml
+1
-1
lib/banzai/filter/video_link_filter.rb
lib/banzai/filter/video_link_filter.rb
+0
-1
lib/gitlab/import_export/avatar_restorer.rb
lib/gitlab/import_export/avatar_restorer.rb
+0
-1
No files found.
.rubocop.yml
View file @
5f6223cf
...
...
@@ -153,7 +153,7 @@ Style/EmptyLinesAroundBlockBody:
# Keeps track of empty lines around class bodies.
Style/EmptyLinesAroundClassBody
:
Enabled
:
fals
e
Enabled
:
tru
e
# Keeps track of empty lines around module bodies.
Style/EmptyLinesAroundModuleBody
:
...
...
lib/banzai/filter/video_link_filter.rb
View file @
5f6223cf
...
...
@@ -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
))
...
...
lib/gitlab/import_export/avatar_restorer.rb
View file @
5f6223cf
module
Gitlab
module
ImportExport
class
AvatarRestorer
def
initialize
(
project
:,
shared
:)
@project
=
project
@shared
=
shared
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment