reflekt 1.0.0 → 1.0.5

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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reflekt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maedi Prichard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-06 00:00:00.000000000 Z
11
+ date: 2020-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rowdb
@@ -31,11 +31,12 @@ extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
33
  - lib/Accessor.rb
34
+ - lib/Action.rb
35
+ - lib/ActionStack.rb
34
36
  - lib/Aggregator.rb
35
37
  - lib/Clone.rb
36
38
  - lib/Config.rb
37
39
  - lib/Control.rb
38
- - lib/Execution.rb
39
40
  - lib/Meta.rb
40
41
  - lib/MetaBuilder.rb
41
42
  - lib/Reflection.rb
@@ -43,16 +44,17 @@ files:
43
44
  - lib/Renderer.rb
44
45
  - lib/Rule.rb
45
46
  - lib/RuleSet.rb
46
- - lib/ShadowStack.rb
47
47
  - lib/meta/ArrayMeta.rb
48
48
  - lib/meta/BooleanMeta.rb
49
49
  - lib/meta/FloatMeta.rb
50
50
  - lib/meta/IntegerMeta.rb
51
+ - lib/meta/NullMeta.rb
51
52
  - lib/meta/StringMeta.rb
52
53
  - lib/rules/ArrayRule.rb
53
54
  - lib/rules/BooleanRule.rb
54
55
  - lib/rules/FloatRule.rb
55
56
  - lib/rules/IntegerRule.rb
57
+ - lib/rules/NullRule.rb
56
58
  - lib/rules/StringRule.rb
57
59
  - lib/web/README.md
58
60
  - lib/web/bundle.js
@@ -80,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
82
  - !ruby/object:Gem::Version
81
83
  version: '0'
82
84
  requirements: []
83
- rubygems_version: 3.1.4
85
+ rubygems_version: 3.0.3
84
86
  signing_key:
85
87
  specification_version: 4
86
88
  summary: Reflective testing.
@@ -1,44 +0,0 @@
1
- ################################################################################
2
- # Track the executions in a shadow call stack.
3
- #
4
- # @pattern Stack
5
- ################################################################################
6
-
7
- class ShadowStack
8
-
9
- def initialize()
10
- @bottom = nil
11
- @top = nil
12
- end
13
-
14
- def peek()
15
- @top
16
- end
17
-
18
- def base()
19
- @bottom
20
- end
21
-
22
- ##
23
- # Place Execution at the top of stack.
24
- #
25
- # @param execution [Execution] The execution to place.
26
- # @return [Execution] The placed execution.
27
- ##
28
- def push(execution)
29
-
30
- # Place first execution at bottom of stack.
31
- if @bottom.nil?
32
- @bottom = execution
33
- # Connect subsequent executions to each other.
34
- else
35
- @top.parent = execution
36
- execution.child = @top
37
- end
38
-
39
- # Place execution at top of stack.
40
- @top = execution
41
-
42
- end
43
-
44
- end