effective_resources 1.2.11 → 1.2.12
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: df37c8d640e4e5db582da448c9018d03dc41b231
|
|
4
|
+
data.tar.gz: c542ce72a4681f544035d888d48a199befdd023f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b2c7f3e1befa877422f6ab946dd63ab14f2d4fec3fbbc7bbe9dfc6c2f6432fbd6791564a3dbbf041bebad236aea9b091466b70b8a7b22ea98bd54349a8e83fa
|
|
7
|
+
data.tar.gz: 3a57fb83a0d36764a0b79ba82e25fcea3787166638fbc08397003332ba9e0399c9cd3b2bfd2ae47b8f42eaeac6de09ee1470e1373f7c18127f5da09f6dd34192
|
|
@@ -94,7 +94,7 @@ module EffectiveResourcesHelper
|
|
|
94
94
|
locals[:format_block] = block if block_given?
|
|
95
95
|
render(partial: partial, collection: resource, as: :resource, locals: locals.except(:resource), spacer_template: spacer_template)
|
|
96
96
|
elsif block_given?
|
|
97
|
-
render(partial, locals) {
|
|
97
|
+
render(partial, locals) { capture(&block).to_s.html_safe }
|
|
98
98
|
else
|
|
99
99
|
render(partial, locals)
|
|
100
100
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_resources
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|