static_literal_parser 0.0.1 → 1.0.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/static_literal_parser.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bef75aedec92b2a8537588268fa5f323fa0ef20327fad37b8600870d6be334c9
4
- data.tar.gz: a93d7994e01601f3ef0d6b59b6c423334c2d90fec7f6496d571e4a9b8d2aef23
3
+ metadata.gz: 82b3e80ee21bee898310ea427ec7c8d17ac8cd6c4bdd695b01533c20b10ce6bb
4
+ data.tar.gz: bceae076cc0417f41dd6d2e17c5f0a72c21c3f49d25bd7c3e4ea5ae045372d40
5
5
  SHA512:
6
- metadata.gz: 2062b397ac78c50252f2c7c85d669e7341962a306aacf9cb0f377337d9c60cb2f0356e86adaaf0d45938f71211c4948a8c76f4cbff1a1cb0561758ffc23c55eb
7
- data.tar.gz: a3381a952bcfa265b62df1c855b5014f73d146d03204d0dece25758207b0d03e4974a7959b44083e85c79f63843826147f2e42a0b63b157eb8bf1ab28ff95ad6
6
+ metadata.gz: d3a1ae56c150260c4b9d329a380e9dfd9575fd5807c5d6fe6c23977e7213ea0289a95b0d0c9fae60de1be88df88fdfa8eb8679a5431f689699e66830aef11453
7
+ data.tar.gz: 31544354602f701aba7fa126112f71e1318b63625d2abb74dbf2c7ab03746bfb559c25a55d1371086c73697f2cd8b5763a019eb9334621cb712ae6ebde8c8c30
@@ -26,6 +26,8 @@ module StaticLiteralParser
26
26
  else
27
27
  raise "Unexpected COLON2 parent #{parent.type}"
28
28
  end
29
+ when :DSTR, :DOT2, :DREGX
30
+ raise "Unsupported node: #{node.type}\nStaticLiteralParser does not support any dyanmic evaluations."
29
31
  else
30
32
  raise "Unexpected node #{node.type}"
31
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_literal_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatsuhiro Ujihisa