lifecycle_vm 0.1.0 → 0.1.1
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 +4 -4
- data/lib/lifecycle_vm/cond_base.rb +2 -0
- data/lib/lifecycle_vm/error.rb +19 -0
- data/lib/lifecycle_vm/op_base.rb +1 -0
- data/lib/lifecycle_vm/then.rb +1 -0
- data/lib/lifecycle_vm/version.rb +1 -1
- data/lib/lifecycle_vm.rb +1 -4
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdc31a306782c404fa2a882eca82e0e0fc66d3bd98d8ab78b87f7debf91d6e62
|
4
|
+
data.tar.gz: 1c4b3310262e4e21c205f0505f85794bea198e12844843e1b4dbb3acc246dd84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d831d9a28d25e0ada2fde295004d001d105a046dd09518c22a4d87d3085613bb5d3ec41b692daa19159e1e2a0a4e85d14ff4c32381e64166ceb654be33a5bccc
|
7
|
+
data.tar.gz: 7c33d605ad59b7163694545674629fe6681f2ec9234d950ce84b8a2e9269becfc5099f1adb92123ee965878548a5f82920e06c43ddd93727f3f796fcf02bcdda
|
@@ -14,6 +14,8 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
+
require 'lifecycle_vm/error'
|
18
|
+
|
17
19
|
module LifecycleVM
|
18
20
|
# Base class for all conditionals in a vm.
|
19
21
|
# A conditional may read from vm emory by declare reads using the DSL. The
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Teak.io, Inc.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module LifecycleVM
|
18
|
+
class Error < RuntimeError; end
|
19
|
+
end
|
data/lib/lifecycle_vm/op_base.rb
CHANGED
data/lib/lifecycle_vm/then.rb
CHANGED
data/lib/lifecycle_vm/version.rb
CHANGED
data/lib/lifecycle_vm.rb
CHANGED
@@ -14,10 +14,7 @@
|
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
|
-
|
18
|
-
class Error < RuntimeError; end
|
19
|
-
end
|
20
|
-
|
17
|
+
require 'lifecycle_vm/error'
|
21
18
|
require 'lifecycle_vm/version'
|
22
19
|
require 'lifecycle_vm/cond_base'
|
23
20
|
require 'lifecycle_vm/op_base'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lifecycle_vm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Scarborough
|
@@ -56,6 +56,7 @@ files:
|
|
56
56
|
- Rakefile
|
57
57
|
- lib/lifecycle_vm.rb
|
58
58
|
- lib/lifecycle_vm/cond_base.rb
|
59
|
+
- lib/lifecycle_vm/error.rb
|
59
60
|
- lib/lifecycle_vm/memory.rb
|
60
61
|
- lib/lifecycle_vm/op_base.rb
|
61
62
|
- lib/lifecycle_vm/state.rb
|