blocks 3.0.3 → 3.0.4
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/runtime_context.rb +2 -2
- 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: 28b70c91650eda16f6cda3d72ca19a977332f467
|
4
|
+
data.tar.gz: 5252175f83781196d574e23204416e463289b0e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6af914aa5361e53600908075718aaf31b01e6393da021a475a1c1feee0c09f4fe8bfe9518d358e9eec1076b820b606c3f2e8c4826cbccb80eb65202f1dedebb
|
7
|
+
data.tar.gz: 8e5fff9507774531d1062c89118e41adea3ee1726bda6d74f39bbb094f0cbbff6f5dc6cbd0de997bec5c8d059d435c58ddfe48d07848a4defea70c27d8789836
|
@@ -124,7 +124,7 @@ module Blocks
|
|
124
124
|
elsif render_item.nil? && builder.respond_to?(proxy_block_name)
|
125
125
|
Proc.new do |*args|
|
126
126
|
options = args.extract_options!
|
127
|
-
runtime_block = runtime_block || options[:block]
|
127
|
+
runtime_block = self.runtime_block || options[:block]
|
128
128
|
builder.send(proxy_block_name, *args, options, &runtime_block)
|
129
129
|
end
|
130
130
|
else
|
@@ -134,7 +134,7 @@ module Blocks
|
|
134
134
|
elsif builder.respond_to?(proxy_block_name)
|
135
135
|
Proc.new do |*args|
|
136
136
|
options = args.extract_options!
|
137
|
-
runtime_block = runtime_block || options[:block]
|
137
|
+
runtime_block = self.runtime_block || options[:block]
|
138
138
|
builder.send(proxy_block_name, *args, options, &runtime_block)
|
139
139
|
end
|
140
140
|
end
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: call_with_params
|