blocks 4.0.0.rc1 → 4.0.0.rc2
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/collection_renderer.rb +1 -2
- data/lib/blocks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c2bc8606eb38fc14ef7d5cba2af1243900777696d36555948c3723d96242032
|
4
|
+
data.tar.gz: 3d278dc1864520beaa5b33d44680fe0326621128f7fe97d96249080698237e2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db01d1469f15ac1f833ae155d04ea28232106eff6a108d7640552f3f18116a7aec72f32d54939efe3ba5cdd56bc5d19fa2150cb79ff1b5fcfa89414a2696b51
|
7
|
+
data.tar.gz: 4fa95a20bc9f3ab1372dfa921a8acb4bea749beabb2aff6ae0241ff134a38074d9f24fd0c5dd5ff779a30a1f3ea3371d443af5f6ea6de66949f3163d42da9576
|
@@ -13,8 +13,7 @@ module Blocks
|
|
13
13
|
runtime_context.collection_item_index = index
|
14
14
|
|
15
15
|
if Blocks.collection_item_passed_to_block_as_first_arg
|
16
|
-
runtime_context.runtime_args =
|
17
|
-
runtime_context.runtime_args = [item] + Array(runtime_context.runtime_args)
|
16
|
+
runtime_context.runtime_args = [item, *original_runtime_args]
|
18
17
|
end
|
19
18
|
|
20
19
|
yield runtime_context
|
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: 4.0.0.
|
4
|
+
version: 4.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hunter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|