gloo-lang 1.4.1 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/gloo_lang/persist/persist_man.rb +4 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dde9a02687e65800ff3718d1d7f5ac56d56700dcdb39020d1d61c37fd181348d
|
4
|
+
data.tar.gz: 25cfdd3b1c8cce79cd0a0b08ee9859ab62ffacafba745cddda1653f9318f57f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afde5b5d704d87fe4751ed71866359d0a022a568f733f846a43d1503c54462eb92a6b2ce644d7a046eedcc7becb8a92128504c59f3538c106d65463171989e8
|
7
|
+
data.tar.gz: 3974e17fae2cff7b98fb32b8b719d7cf33636d94a6fde4bd2ab7af4ef3ea740ec6c0a08821a379aa2fababb7f4d75b52e4fadff6b394bc7a49ddc0ab97f83729
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.3
|
@@ -25,11 +25,7 @@ module GlooLang
|
|
25
25
|
# Save one object to the file.
|
26
26
|
#
|
27
27
|
def save( name = '' )
|
28
|
-
|
29
|
-
save_all
|
30
|
-
else
|
31
|
-
save_one name
|
32
|
-
end
|
28
|
+
name.blank? ? save_all : save_one( name )
|
33
29
|
end
|
34
30
|
|
35
31
|
#
|
@@ -45,8 +41,8 @@ module GlooLang
|
|
45
41
|
def save_one( name )
|
46
42
|
ref = GlooLang::Core::Pn.new( @engine, name )
|
47
43
|
obj = ref.resolve
|
48
|
-
|
49
|
-
fs =
|
44
|
+
|
45
|
+
fs = find_file_storage( obj )
|
50
46
|
fs.save
|
51
47
|
end
|
52
48
|
|
@@ -107,7 +103,7 @@ module GlooLang
|
|
107
103
|
#
|
108
104
|
def find_file_storage( obj )
|
109
105
|
@maps.each do |o|
|
110
|
-
return o if o.obj.pn === obj.pn
|
106
|
+
return o if ( o.obj.pn === obj.pn )
|
111
107
|
end
|
112
108
|
|
113
109
|
# It was not found, so return nil.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gloo-lang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Crane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|