lifecycle_vm 0.1.0 → 0.1.1

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: 12e44a51967bc4275e68b74de045c3b50604c939ade596365a102e9b34280c4a
4
- data.tar.gz: d2efdbc98e5ce8e02cfad19e9c4ff479691a4c10c5e5db7261ca089c7cb4efb8
3
+ metadata.gz: cdc31a306782c404fa2a882eca82e0e0fc66d3bd98d8ab78b87f7debf91d6e62
4
+ data.tar.gz: 1c4b3310262e4e21c205f0505f85794bea198e12844843e1b4dbb3acc246dd84
5
5
  SHA512:
6
- metadata.gz: ce5700cf19e330bf3c1f1006d519037776f0f50bba74295943ccf71100fd77f7f0d96fbd174b4ecd09c8fc2864e52f647602e56aad23c499ab6da089e903e123
7
- data.tar.gz: 430a04f58436b5702cf9fe4cf994bec3dec84eaf1030d65b29f74a7dae4b43f2a1489089b147382c06f3808c57d20390b14ec4801ed6cca4faf96c2c3fa573cf
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
@@ -14,6 +14,7 @@
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'
17
18
  require 'lifecycle_vm/memory'
18
19
 
19
20
  module LifecycleVM
@@ -14,6 +14,7 @@
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'
17
18
  require 'lifecycle_vm/vm'
18
19
 
19
20
  module LifecycleVM
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module LifecycleVM
18
- VERSION = "0.1.0"
18
+ VERSION = "0.1.1"
19
19
  end
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
- module LifecycleVM
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.0
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