BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3a8c548e
Commit
3a8c548e
authored
Sep 25, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead `Gitlab::Markdown::Pipeline` class
parent
b83dcd3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
pipeline.rb
lib/gitlab/markdown/pipeline.rb
+0
-32
No files found.
lib/gitlab/markdown/pipeline.rb
deleted
100644 → 0
View file @
b83dcd3a
module
Gitlab
module
Markdown
class
Pipeline
def
self
.
[]
(
name
)
name
||=
:full
const_get
(
"
#{
name
.
to_s
.
camelize
}
Pipeline"
)
end
def
self
.
filters
[]
end
def
self
.
transform_context
(
context
)
context
end
def
self
.
html_pipeline
@html_pipeline
||=
HTML
::
Pipeline
.
new
(
filters
)
end
class
<<
self
%i(call to_document to_html)
.
each
do
|
meth
|
define_method
(
meth
)
do
|
text
,
context
|
context
=
transform_context
(
context
)
html_pipeline
.
__send__
(
meth
,
text
,
context
)
# rubocop:disable GitlabSecurity/PublicSend
end
end
end
end
end
end
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