dtr_core 0.4.0 → 0.5.0

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: 55f12eb18f4ee0879a11da596e7773478c63af67b500b266321b5dea0e197b8e
4
- data.tar.gz: 2d01a09f79dee8a6024a188305bf697c64c95de1bd515395b5a5a60121546e54
3
+ metadata.gz: ee072b6dce36bea6dc63d4c72d16021b519846088a3a9e2300dee4ad94e5183e
4
+ data.tar.gz: c27c0898e590ce11f2b592764e7ab8deaf91c3a4b190085aa314b22c5fcf24ff
5
5
  SHA512:
6
- metadata.gz: 4c62efa2e3480649ad53ed708a9a7e791d7704e2d9ba8882a0b17af1c4383439de5204af6ed16cd835bcaa8721eb6c4488d086ae3e1da8322f7386c3265dc5d1
7
- data.tar.gz: 9044b0c00d4b125644efa8404b05bed564c71e379ab3b7e714682a699fef77a5cc80530e258931a09d8315fc8f35205c420a993df175edb5aec355935e9471d3
6
+ metadata.gz: 6621c3c36a912547bf75c8d9b49bac6c851fa64dfd9c2852a7b0c37fc7c583a18e130bc10030fbc710eae38768e72b2eb8e3ee1c84ea418497d599473564ae14
7
+ data.tar.gz: 397ac9609eab13ab3e2aa8b9d5d172b25cb207276f2bbbc5ae93950d5b16ccdff83089d4e52e168ea366a61d3b93c9a8428e72a43a9050f5815d88320e7acdce
@@ -49,7 +49,7 @@ module DTRCore
49
49
  def function_section
50
50
  return @function_definitions if @function_definitions
51
51
 
52
- function_section = first_match_for_content(/\[Functions\]:(?<all>.*):\[Functions\]/m)
52
+ function_section = first_match_for_content(/\[InternalFunctions\]:(?<all>.*):\[InternalFunctions\]/m)
53
53
 
54
54
  return nil if function_section.nil?
55
55
 
@@ -21,7 +21,7 @@ module DTRCore
21
21
  validate_numeric!
22
22
 
23
23
  # TODO: check type
24
- when 'Symbol'
24
+ when 'Symbol', 'String'
25
25
  strip_and_remove_quotes(@initial_value)
26
26
  else
27
27
  raise 'Missing Invalid Type Name.'
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.0
4
+ version: 0.5.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-30 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Core smart contract intermediate language (Digicus Textual Representation)
14
14
  parser.