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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4e941809483194d134933db9ccc8f985383ff4f
4
- data.tar.gz: 75557924121d4db8cd1147cbb45ce8233d4e2e70
3
+ metadata.gz: 28b70c91650eda16f6cda3d72ca19a977332f467
4
+ data.tar.gz: 5252175f83781196d574e23204416e463289b0e0
5
5
  SHA512:
6
- metadata.gz: 315c441d6ba6a50d2432acbea6c704931e76ea7e0b498af6936f1c8e48897b8bcc01dd36134c01b6346c17e5fbadc56a373af1a25ad43ad610768800705c9972
7
- data.tar.gz: c7bdf193b1b32eab6f7d1703d04c5582cbd6fa06f25d7bc950f27a98b440283e5858fea2eee327f9913aafeab5082e9c775239710d38b128d09e4ca4a22de85f
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
@@ -1,3 +1,3 @@
1
1
  module Blocks
2
- VERSION = "3.0.3"
2
+ VERSION = "3.0.4"
3
3
  end
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.3
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-02 00:00:00.000000000 Z
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