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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b54f9b644279f79b5acf934e6141d11259f151f2
4
- data.tar.gz: 6f164b66a2094f6ef45a416353b9cba7e37871f9
3
+ metadata.gz: 23ce4e69b1f336ee4ad706dce861c059f87d036a
4
+ data.tar.gz: 53ac3bda1bd1d1eb8af4c011aae1d3f9215e3e5b
5
5
  SHA512:
6
- metadata.gz: 2e085953ea207e96fdb25ab2aa104bf76d5ffcc8dc56889ddf27f0120c58d7d0d9f4e03d6463985cfd0d9fe4983e41f211fa8f8f40ac891f3a6bb6d6ed7cd190
7
- data.tar.gz: 7fafce2744cdeee1f254dd8a46046f69282bfbf429345b9510f153f4880c6bf33199f907e30e675145272a3366ab84e657dc788f8262fa8466253242badfa989
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 )
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Html
2
2
  module Pipeline
3
3
  module Gitlab
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
6
6
  end
7
7
  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.5
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-22 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler