gobstones-blockly 0.28.0 → 0.28.1

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
  SHA256:
3
- metadata.gz: 29902334f56b93fd4cef18ef000f6503f536f50db2367928e8d89bea3aaf0876
4
- data.tar.gz: 7370abf521aa0634c477ad8a267e725e4d253c3165221f1ae1c3d5f61b2c89c1
3
+ metadata.gz: c0294fc5ea182f53be3620d1195c8427e580d99dea953e20aaafff3b3c349e3a
4
+ data.tar.gz: 8a8c53cf6d275e77910e6fb5b32dcb767c57074990045d70ea9cea55df657785
5
5
  SHA512:
6
- metadata.gz: cfd32117eb21e74db5ce2610c2df787c444b0a7bbfd5a5fa5473f00e859cdbbb293d599a0577a6298f9acfd3414735ee1e0e6fab2515b1c5caaf1b890efb1134
7
- data.tar.gz: d10e980e304acbd0966921c63228790159c037fc6d5d44ed13274c62918bed40237818158b1f9c6323eba8275e9e7b76bd1731eb89ba29a1fd35ffa05acf097f
6
+ metadata.gz: 3cce63fde46daff2d4f5e0cb21acbf2707dd3dc769a0d2ba1a114018eaa5bb17778f1af6cb977bf5c880642f0fe9ab610c83fe0648880ed6e137a6651a31386c
7
+ data.tar.gz: 63ca2eb9192c94420f433bab4fa4ecfbb55ece67b027910fdeb18f6143a7e4b96b8d4d252f5b0c07f4e8054f98aad98959eaf000e34fbb65410b2ddff2f374f3
@@ -5689,7 +5689,7 @@ Blockly.GobstonesLanguage.List = function(block) {
5689
5689
 
5690
5690
  Blockly.GobstonesLanguage.ForEach = function (block) {
5691
5691
  let body = Blockly.GobstonesLanguage.statementToCode(block, 'block');
5692
- var varName = block.getFieldValue('varName');
5692
+ var varName = formatCallName(block.getFieldValue('varName'), false, Blockly.VARIABLE_CATEGORY_NAME);
5693
5693
  var list = Blockly.GobstonesLanguage.valueToCode(block, 'list', Blockly.GobstonesLanguage.ORDER_NONE) || '';
5694
5694
 
5695
5695
  return `foreach ${varName} in ${list} {\n${body}}\n`;
@@ -1,5 +1,5 @@
1
1
  module Gobstones
2
2
  module Blockly
3
- VERSION = "0.28.0"
3
+ VERSION = "0.28.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobstones-blockly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso