blocks 3.0.1 → 3.0.2
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 +1 -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: 1dd0be2da1cfdb77d20734c176b456a458e06e5b
|
4
|
+
data.tar.gz: 995ccc899d450c477d3c26bd7a3c1e219e6e8a62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2798edcdebe0af61ce996495f05b13547a3ab182544b5c7cb4cd8e7c3ece411d6315498ae68a77d2a951bf92e98722b2823bc30fe9b709e04c4fe7e1dcbbd2a5
|
7
|
+
data.tar.gz: b1fa206ea0c9154833669bb8b2adedfec683bf4e17167ae138ed7f7635d1c399ba58f05c7f2bfda50fb8eb28f8cc89417ede60200750e6e4ed413bc319d81523
|
@@ -2,7 +2,7 @@ module Blocks
|
|
2
2
|
class PartialRenderer < AbstractRenderer
|
3
3
|
def render(partial, options={}, &block)
|
4
4
|
if !options.is_a?(Blocks::RuntimeContext)
|
5
|
-
options = RuntimeContext.new(builder, options).to_hash.with_indifferent_access
|
5
|
+
options = RuntimeContext.new(builder, options).to_hash.with_indifferent_access
|
6
6
|
end
|
7
7
|
overrides_and_provided_content = capture(builder, options, &block) if block_given?
|
8
8
|
locals = options.merge(
|
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.
|
4
|
+
version: 3.0.2
|
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-
|
11
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: call_with_params
|