better_html 0.0.10 → 0.0.11

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: b6246bfb4cf4ae99f87a12370d99b362b9b2737b
4
- data.tar.gz: 67a8747a32552d237bacafe3cc782dc7b1815ffc
3
+ metadata.gz: d7a436fddf6b6fb7942f653d3ac6229e2abaf9b5
4
+ data.tar.gz: 0a7be9ddbcb902bc7fc897b7c2ed173fa01aae72
5
5
  SHA512:
6
- metadata.gz: 07c548e1027d5f582ee796df6b536bd6f895edcd42c3c2898d0eb1da61c9adffaff6683bf83cbfee3e59d0f2acb2ed70c3371606cb772b39b3a8c4df30a75d8a
7
- data.tar.gz: d5168282725b6e5ba210eae30eefcfa88b8270063422f0127be7f53cc888dfa1470c9a82db09971d2b9ec540024a28f57337cf9d4e092afb5aa86c092f9aef0a
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.template_exclusion_filter_block&.call(template.identifier)
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
 
@@ -1,3 +1,3 @@
1
1
  module BetterHtml
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
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.10
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-07 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubi