gloo 5.0.1 → 5.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee942af92e0c0e259012f64ffe275af8df045cd57b94be9d34fd009e17bad4f2
4
- data.tar.gz: eb7b8f1f99f2396bfa5c3ca092ebd2baeabcff84a35b8c4b4f8cb1b90c805329
3
+ metadata.gz: 3997abc49fe622dedcf93aeadd68fe5e18414e3b48daec0e466fce8bcf1c418f
4
+ data.tar.gz: c918a567e8a5a8a7f69791f41b36ff5fe3bca5d9c9f984f8be63a6c4f3bf79f0
5
5
  SHA512:
6
- metadata.gz: da876a5c3beaeee943a5db0912c596d2bd84e39c8b2cf1dd5dc6bfd32da8084d50d65a8388df99f5ec544dcf0f5c0204537eeb8634d67f089a724e0fd2998a7c
7
- data.tar.gz: 004a987705d1115b28f374b74c32b936d85f90c2b6d24c2747904ef7e0b39e6d1eb177e1b580388ab4760a193c83e14ad5491bf7139349dff18828b25c35f712
6
+ metadata.gz: ae3cad6a557a66d1150222709d9ef6f5a9d95082663e67e53e6e3dbe8a7c1ff65b724f1413a114375dcc02b748048cd75169713e9bfe4caf885a96793efb8015
7
+ data.tar.gz: 7cd96ee3680c5a987eae9ab4f5e52575dd00deb95660ae37c5d2bf63d9950b99e8cf410c3b9b351cb7fef230eb6a026e7abd6d62cf6790f180940193f02bc5f2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 5.0.1
1
+ 5.1.0
data/lib/VERSION_NOTES CHANGED
@@ -1,3 +1,8 @@
1
+ 5.1.0 - 2026.02.15
2
+ - Fixes issue with int * dec
3
+ - Some code cleanup
4
+
5
+
1
6
  5.0.1 - 2026.02.11
2
7
  - Fixes bug with redirect to login.
3
8
 
@@ -62,43 +62,6 @@ module Gloo
62
62
  end
63
63
 
64
64
 
65
- # ---------------------------------------------------------------------
66
- # Serialization
67
- # ---------------------------------------------------------------------
68
-
69
- #
70
- # Prepare for serialization by removing any file references.
71
- # Without this, the engine cannot be serialized.
72
- #
73
- def prep_serialize
74
- @log.prep_serialize
75
- end
76
-
77
- #
78
- # Get the serialized version of this Engine.
79
- #
80
- def serialize
81
- prep_serialize
82
- Marshal::dump( self )
83
- end
84
-
85
- #
86
- # Deserialize the Engine data.
87
- #
88
- def self.deserialize data
89
- e = Marshal::load( data )
90
- e.restore_after_deserialization
91
- return e
92
- end
93
-
94
- #
95
- # Restore the engine after deserialization.
96
- #
97
- def restore_after_deserialization
98
- @log.restore_after_deserialization
99
- end
100
-
101
-
102
65
  # ---------------------------------------------------------------------
103
66
  # Run
104
67
  # ---------------------------------------------------------------------
data/lib/gloo/app/log.rb CHANGED
@@ -183,25 +183,6 @@ module Gloo
183
183
  end
184
184
  end
185
185
 
186
- # ---------------------------------------------------------------------
187
- # Serialization
188
- # ---------------------------------------------------------------------
189
-
190
- #
191
- # Prepare for serialization by removing the file reference.
192
- # Without this, the engine cannot be serialized.
193
- #
194
- def prep_serialize
195
- @logger = nil
196
- end
197
-
198
- #
199
- # Restore the logger after deserialization.
200
- #
201
- def restore_after_deserialization
202
- create_loggers
203
- end
204
-
205
186
  end
206
187
  end
207
188
  end
@@ -14,6 +14,14 @@ module Gloo
14
14
  # Perform the operation and return the result.
15
15
  #
16
16
  def perform( left, right )
17
+ if ( left.is_a? Integer ) && ( right.is_a? Integer )
18
+ return left * right
19
+ end
20
+
21
+ if (left.is_a? Numeric) && (right.is_a? Numeric)
22
+ return left * right
23
+ end
24
+
17
25
  return left * right.to_i if left.is_a? Integer
18
26
 
19
27
  return left * right.to_f if left.is_a? Numeric
@@ -80,8 +80,9 @@ module Gloo
80
80
  inst = plugin_class.new
81
81
  ext_cb = Callback.new( @engine )
82
82
  inst.register( ext_cb )
83
- rescue NameError
84
- @engine.log.error "Warning: Could not find class #{class_name} in file #{full_path}"
83
+ rescue NameError => ex
84
+ @engine.log_exception ex
85
+ @engine.log.error "Could not find class #{class_name} in file #{full_path}"
85
86
  end
86
87
  end
87
88
 
@@ -87,8 +87,8 @@ module Gloo
87
87
  inst = plugin_class.new
88
88
  lib_cb = Callback.new( @engine )
89
89
  inst.register( lib_cb )
90
- rescue NameError
91
- @engine.log.error "Warning: Could not find class #{class_name}"
90
+ rescue NameError => ex
91
+ @engine.log.error "Warning: Could not find class #{class_name}", ex
92
92
  end
93
93
  end
94
94
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-02-11 00:00:00.000000000 Z
11
+ date: 2026-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler