equation 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +31 -0
- data/lib/equation.rb +68 -0
- data/lib/equation_grammar.rb +1977 -0
- data/lib/equation_node_classes.rb +19 -0
- metadata +48 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
module Equation
|
2
|
+
class NilLiteral < Treetop::Runtime::SyntaxNode
|
3
|
+
end
|
4
|
+
|
5
|
+
class StringLiteral < Treetop::Runtime::SyntaxNode
|
6
|
+
end
|
7
|
+
|
8
|
+
class NumericLiteral < Treetop::Runtime::SyntaxNode
|
9
|
+
end
|
10
|
+
|
11
|
+
class BooleanLiteral < Treetop::Runtime::SyntaxNode
|
12
|
+
end
|
13
|
+
|
14
|
+
class RangeLiteral < Treetop::Runtime::SyntaxNode
|
15
|
+
end
|
16
|
+
|
17
|
+
class ArrayLiteral < Treetop::Runtime::SyntaxNode
|
18
|
+
end
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: equation
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- OMAR
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Equation exposes a minimal environment to allow safe execution of Ruby
|
14
|
+
code represented via a custom expression language.
|
15
|
+
email:
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- README.md
|
21
|
+
- lib/equation.rb
|
22
|
+
- lib/equation_grammar.rb
|
23
|
+
- lib/equation_node_classes.rb
|
24
|
+
homepage: https://github.com/ancat/equation
|
25
|
+
licenses:
|
26
|
+
- MIT
|
27
|
+
metadata:
|
28
|
+
rubygems_mfa_required: 'true'
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options: []
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2.5'
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
requirements: []
|
44
|
+
rubygems_version: 3.3.19
|
45
|
+
signing_key:
|
46
|
+
specification_version: 4
|
47
|
+
summary: A rules engine for your Ruby apps.
|
48
|
+
test_files: []
|