better_html 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/better_html/better_erb.rb +1 -1
- data/lib/better_html/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7a436fddf6b6fb7942f653d3ac6229e2abaf9b5
|
4
|
+
data.tar.gz: 0a7be9ddbcb902bc7fc897b7c2ed173fa01aae72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 882d1cfcc881372d05484aac3177f9c88769b633c0b45f6b56a4cc120c3d41b86d5a13e2eed524725282f625dcadcdf82be97cfb2ba787eada0087ae119c0424
|
7
|
+
data.tar.gz: c557c7b01ca379062627fc94908b185b94592200d832f62957874567f2dfc41958565a3737290a895bd8e9961cc8c7d6cf9f35a8582a32c436812714da36f925
|
@@ -52,7 +52,7 @@ class BetterHtml::BetterErb
|
|
52
52
|
# Always make sure we return a String in the default_internal
|
53
53
|
erb.encode!
|
54
54
|
|
55
|
-
excluded_template = !!BetterHtml.config.
|
55
|
+
excluded_template = !!BetterHtml.config.template_exclusion_filter&.call(template.identifier)
|
56
56
|
klass = BetterHtml::BetterErb.content_types[exts] unless excluded_template
|
57
57
|
klass ||= self.class.erb_implementation
|
58
58
|
|
data/lib/better_html/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: better_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois Chagnon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubi
|