html-pipeline-gitlab 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/html/pipeline/gitlab.rb +15 -0
- data/lib/html/pipeline/gitlab/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23ce4e69b1f336ee4ad706dce861c059f87d036a
|
4
|
+
data.tar.gz: 53ac3bda1bd1d1eb8af4c011aae1d3f9215e3e5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95418e088e4c790b23e5de425b2b2fe6064d3c4b9555d30db0cfca2da41f18a8e9a867924b0390ced8414a5e2d205872bd57ccb988a52e3758b19093bfde60b
|
7
|
+
data.tar.gz: d5b887099df4aedf73484723af32c8eee1538ffe60147ecba9ef389523294244a1d9ca3faeed37f3f9536c771159f25697487b6642a2b51af0e119b6ab6b35d8
|
data/README.md
CHANGED
@@ -3,8 +3,6 @@
|
|
3
3
|
This gem implements various filters for [html-pipeline](https://github.com/jch/html-pipeline)
|
4
4
|
used by [GitLab](https://about.gitlab.com).
|
5
5
|
|
6
|
-
## Code Status
|
7
|
-
|
8
6
|
[![Build Status](https://semaphoreapp.com/api/v1/projects/b9b808be-6c72-4e76-ae62-79b3a25a022a/243365/badge.png)](https://semaphoreapp.com/razer6/html-pipeline-gitlab)
|
9
7
|
|
10
8
|
## Installation
|
@@ -23,6 +21,11 @@ Or install it yourself as:
|
|
23
21
|
|
24
22
|
$ gem install html-pipeline-gitlab
|
25
23
|
|
24
|
+
## Filters
|
25
|
+
|
26
|
+
* `GitLabEmojiFilter` - replaces emoji references with images from
|
27
|
+
[PhantomOpenEmoji](https://github.com/Genshin/PhantomOpenEmoji)
|
28
|
+
|
26
29
|
## Contributing
|
27
30
|
|
28
31
|
1. Fork it ( https://github.com/razer6/html-pipeline-gitlab/fork )
|
data/lib/html/pipeline/gitlab.rb
CHANGED
@@ -1,2 +1,17 @@
|
|
1
|
+
require 'html/pipeline'
|
1
2
|
require 'html/pipeline/gitlab/version'
|
2
3
|
require 'html/pipeline/gitlab/gitlab_emoji_filter'
|
4
|
+
|
5
|
+
module HTML
|
6
|
+
class Pipeline
|
7
|
+
class Gitlab
|
8
|
+
# GitLab related filters for html-pipeline. Implements new filters used
|
9
|
+
# by GitLab.
|
10
|
+
|
11
|
+
# Most used markdown pipeline in GitLab. Performs emoji replace,,ent
|
12
|
+
MarkdownPipeline = HTML::Pipeline.new [
|
13
|
+
HTML::Pipeline::GitLab::GitLabEmojiFilter
|
14
|
+
]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-pipeline-gitlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Schilling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|