content-pipeline 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/content/pipeline/jekyll/converter.rb +4 -4
- data/lib/content/pipeline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3919909e05e0f4cdbbcc88617f076a0f06c8127
|
4
|
+
data.tar.gz: 67affc23cc0361c58801cd2248f683970c6a8275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c497afd6bd12246459a045f2d1da2a6846a27fb454fbb8886743408762142619287e1522e5f0107a262c199d6566f200ef458995a1f60a64c906f2fd69f049b
|
7
|
+
data.tar.gz: c3a3f38e8586bc23bae2e20e67ee688c9ca853f8ab715c31b4ecc32ea5361e4ea4953f2e415483df838301a3309083e32fd0285e29741d8fd3fe268ca079e819
|
@@ -5,15 +5,15 @@ module Content::Pipeline::Jekyll
|
|
5
5
|
require "content/pipeline/filters/https"
|
6
6
|
require "content/pipeline/filters/gemoji"
|
7
7
|
require "content/pipeline/filters/code"
|
8
|
-
|
9
|
-
ContentPipeline = Content::Pipeline.new([
|
8
|
+
Filters = [
|
10
9
|
Content::Pipeline::Filters::Markdown,
|
11
10
|
Content::Pipeline::Filters::Code,
|
12
11
|
Content::Pipeline::Filters::Https
|
13
|
-
]
|
12
|
+
]
|
14
13
|
|
15
14
|
def convert(data)
|
16
|
-
|
15
|
+
# Add your filters to Filters if you want them.
|
16
|
+
return Content::Pipeline.new(Filters).filter(
|
17
17
|
data
|
18
18
|
)
|
19
19
|
end
|