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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nanoc-html-pipeline/filter.rb +6 -1
- data/lib/nanoc-html-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: 86d4139b6b9725301b99da33cce584b11c7eeb2f
|
4
|
+
data.tar.gz: 0f5b347733ed38995ef17ceda0c4e27d276224bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e645787051c55be0a2dd384d3b518157602ad9116ab5b0a3a7359dcdec7567d8a903b3473dcdc22379fe51926a6ed82f557112c72628a743d7086b2cad1d76b
|
7
|
+
data.tar.gz: c7f19e1c131cc4c9110783a868fba216a58a60e516fa24843928913f0852bf477484df839c40eed070284154fb9bce0772f2502e61b03dac1d15f8d5a9c249a3
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
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
|
|