express_templates 0.11.7 → 0.11.8
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4832cfc78c6baa394a408ea32aa18c66b4cb7ed7
|
|
4
|
+
data.tar.gz: 912d50b9d688c7a24a57f719abf36d33d63eb286
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd44543aab5ff5b20c9dabd5543e50f683c567e7b756fa5884dde1f40980329d1ccd3ccf70dc70132f2371708d91a30c47ec2df139624be471177c03f6bf9f32
|
|
7
|
+
data.tar.gz: 7d836dd3ce6851b16efc2f300a38686cf42963d01532b78b3fa118f4353d2e84972283c2bd00ebc31f088cd0a632aae07f7fc4d3d7791814019ef74e72edeb8f
|
|
@@ -19,7 +19,7 @@ module ActionView
|
|
|
19
19
|
def capture(*args)
|
|
20
20
|
value = nil
|
|
21
21
|
buffer = with_output_buffer { value = yield(*args) }
|
|
22
|
-
value = value.to_s if value.is_a? Arbre::
|
|
22
|
+
value = value.to_s if value.is_a?(Arbre::Element) || value.is_a?(Arbre::ElementCollection)
|
|
23
23
|
if string = buffer.presence || value and string.is_a?(String)
|
|
24
24
|
ERB::Util.html_escape string
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: express_templates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Talcott Smith
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-11-
|
|
12
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|