blocks 3.0.0.rc6 → 3.0.0.rc7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blocks/renderers/partial_renderer.rb +6 -1
- data/lib/blocks/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: b2c9902373a222d24d5785b7485b9fada199f43d
|
4
|
+
data.tar.gz: 701646e71d0644b84e3380fe2d7120165e055c21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c747b34bcbdc47dd542fded6ac3794a36375dc34fa4ab9301557c7cf622a241d6be4fac2df10470024efc42e948db8ba58e4e22e4be75abf8e5c1f979f244bd
|
7
|
+
data.tar.gz: 10b5a023ae6ce04e9f32b22f0c9c58bcc3544d6c7fd404af618c2df542f7f6cada78433d1dd4dd19793b339c69e5d400e0af0130a64f4688a46c3ff933f38db1
|
@@ -7,7 +7,12 @@ module Blocks
|
|
7
7
|
overrides_and_provided_content = capture(builder, options, &block) if block_given?
|
8
8
|
locals = options.merge(
|
9
9
|
(options[:builder_variable] || :builder) => builder,
|
10
|
-
)
|
10
|
+
)
|
11
|
+
locals = if locals.respond_to?(:deep_symbolize_keys)
|
12
|
+
locals.deep_symbolize_keys
|
13
|
+
else
|
14
|
+
locals.symbolize_keys
|
15
|
+
end
|
11
16
|
locals[:options] = options
|
12
17
|
view.render(layout: partial, locals: locals) do |*args|
|
13
18
|
if overrides_and_provided_content
|
data/lib/blocks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.rc7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: call_with_params
|