dtr_core 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dtr_core/function.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4917a084a74054c729d66f2939d5c2a4166f08e38db858652e58a307119e1a8
4
- data.tar.gz: 510ac11b521aca79f9d42eb877d4a717c34cb56b0b2adb967496cc248c03f6cc
3
+ metadata.gz: 55f12eb18f4ee0879a11da596e7773478c63af67b500b266321b5dea0e197b8e
4
+ data.tar.gz: 2d01a09f79dee8a6024a188305bf697c64c95de1bd515395b5a5a60121546e54
5
5
  SHA512:
6
- metadata.gz: a4b482496bf39d6cf3986a914ea1ee399a60f17213e20febc6de7625101b5e316e5d4aaa3f5a2d32aedc732106a9dadd495d861bb6413a3d107d90fff693f5bd
7
- data.tar.gz: a6691c452e7056cdd017a91d9e8c4c794289b93e4361ffa0275d51b8ddc6a9a19fb2431aa67771e66d0659226b023d2236a95fe155285e549b07cef6240c1edb
6
+ metadata.gz: 4c62efa2e3480649ad53ed708a9a7e791d7704e2d9ba8882a0b17af1c4383439de5204af6ed16cd835bcaa8721eb6c4488d086ae3e1da8322f7386c3265dc5d1
7
+ data.tar.gz: 9044b0c00d4b125644efa8404b05bed564c71e379ab3b7e714682a699fef77a5cc80530e258931a09d8315fc8f35205c420a993df175edb5aec355935e9471d3
@@ -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.3.1
4
+ version: 0.4.0
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-05-26 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Core smart contract intermediate language (Digicus Textual Representation)
14
14
  parser.