nanoc-html-pipeline 0.3.2 → 0.3.3

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: a7a7bd9a2a6e03c8683a35bb1c23ea029f49b98f
4
- data.tar.gz: 67d70e69318d0589a23e3d0d16a149fe9e23a2c8
3
+ metadata.gz: 86d4139b6b9725301b99da33cce584b11c7eeb2f
4
+ data.tar.gz: 0f5b347733ed38995ef17ceda0c4e27d276224bb
5
5
  SHA512:
6
- metadata.gz: 611ea6cfbeb3a2129be9f63b039ed6990d0644b04b03cac558d75a3343766f332d89fda05decd505d58ba28f93094c39bbe7ef7d810e2a026df0a02fc1ae4068
7
- data.tar.gz: 7f35d95abdeccf1077f798465233006f51f769f3821b4fe88d0a41b4dca5d59f723f20247de2586bab1fc4e9201e354745febf03698efba1e9b9a246557f0899
6
+ metadata.gz: 4e645787051c55be0a2dd384d3b518157602ad9116ab5b0a3a7359dcdec7567d8a903b3473dcdc22379fe51926a6ed82f557112c72628a743d7086b2cad1d76b
7
+ data.tar.gz: c7f19e1c131cc4c9110783a868fba216a58a60e516fa24843928913f0852bf477484df839c40eed070284154fb9bce0772f2502e61b03dac1d15f8d5a9c249a3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nanoc-html-pipeline (0.3.2)
4
+ nanoc-html-pipeline (0.3.3)
5
5
  html-pipeline (~> 2.0)
6
6
  nanoc (>= 3.1, < 5.0)
7
7
 
@@ -34,7 +34,12 @@ module NanocHtmlPipeline
34
34
  else
35
35
  key = self.class.filter_key(f)
36
36
  filter = HTML::Pipeline.constants.find { |c| c.downcase == key }
37
- HTML::Pipeline.const_get(filter)
37
+ # possibly a custom filter
38
+ if filter.nil?
39
+ Nanoc.const_get(f)
40
+ else
41
+ HTML::Pipeline.const_get(filter)
42
+ end
38
43
  end
39
44
  end
40
45
 
@@ -1,4 +1,4 @@
1
1
 
2
2
  module NanocHtmlPipeline
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-html-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brent Fitzgerald