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
1
Merge Requests
1
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
nexedi
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
lib/gitlab/markdown/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