content-pipeline 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9d788d6b0b841544d707884b8722d5eba7b985d
4
- data.tar.gz: dbc07b53fdafbafdb588bb08630513dbf77520b6
3
+ metadata.gz: f3919909e05e0f4cdbbcc88617f076a0f06c8127
4
+ data.tar.gz: 67affc23cc0361c58801cd2248f683970c6a8275
5
5
  SHA512:
6
- metadata.gz: fdc0dabdb2fc9dbf79370aa8918b852a49c924069a50f52157ab3f65baeb30152b652ad4c81aee073a68dc24056d9e4d92c30995464c8bca6093a287a15dff65
7
- data.tar.gz: 347f1003fd0889e5aea13dbd53b6ec3fac98f70f8f4a5f282b5a8183bfa36a069a33265d989d04a693b5b6ac59adeca05559ff43ea49edb0988ff5e676fe92cd
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
- return ContentPipeline.filter(
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
@@ -1,5 +1,5 @@
1
1
  module Content
2
2
  class Pipeline
3
- VERSION = "2.0.2"
3
+ VERSION = "2.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell