dtr_core 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dtr_core/function.rb +2 -1
- data/lib/dtr_core/type_validator.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: a611417500f07d640a0c6e10bb1af4315d1ccefffaff46722b687efe7649366e
|
4
|
+
data.tar.gz: cf000e4539b97922cd039e66c2c50d3c9c765353f0b4b727d9dbcaf15d677b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ec4a023b32eda4b6146b879067074c3e84bf19876d18ad7a7cc15f95abbb017f1d9671ddd2c7bea6f0af1321e5b869b69932b5c3f305f3ceeb7ba40c6464fea
|
7
|
+
data.tar.gz: 11af8723aa26260aca32f644a9106f6c4d0b814a18c157256727b883067541c11a28bd4389c9030a947cc5e29c0a254c32a0f4a8f38eb6840ff75667dff4431a
|
data/lib/dtr_core/function.rb
CHANGED
@@ -58,7 +58,8 @@ module DTRCore
|
|
58
58
|
{
|
59
59
|
instruction: instruction[/instruction:\s*(?<all>[^\s,]+)/, 1],
|
60
60
|
inputs: parse_function_instruction_input(instruction),
|
61
|
-
assign: instruction[/\s*assign:\s*(?<all>[^\s\,]+)/, 1]
|
61
|
+
assign: instruction[/\s*assign:\s*(?<all>[^\s\,]+)/, 1],
|
62
|
+
scope: instruction[/\s*scope:\s*(?<all>[^\s\,]+)/, 1].to_i || 0
|
62
63
|
}
|
63
64
|
end
|
64
65
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dtr_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Durst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Core smart contract intermediate language (Digicus Textual Representation)
|
14
14
|
parser.
|