avm 0.40.0 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/applications/base.rb +1 -1
- data/lib/avm/data/instance/files_unit.rb +2 -1
- data/lib/avm/entries/base/uri_component_entry_value/default_value.rb +2 -2
- data/lib/avm/entries/base/uri_component_entry_value/inherited_value.rb +2 -2
- data/lib/avm/instances/base/auto_values/filesystem.rb +0 -4
- data/lib/avm/instances/base/auto_values/install.rb +6 -2
- data/lib/avm/instances/entry_keys.rb +1 -1
- data/lib/avm/version.rb +1 -1
- 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: ff98dd57f92b57b9584b1f9e6b17f7d6512ac0a9e7d9fa61efddff90a2384f5c
|
4
|
+
data.tar.gz: 4a4c95084804d58be56d34ee820e1fb6435cbb33ef67b1cb8be9420a4a6b5ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 104bc1564c1184da11ab751b250324da90af6353e0656c4c9fe7d9920e13efbb029177a460e32721b03ec99d85bdc44cd7939e7c294235dac2130d983e514f59
|
7
|
+
data.tar.gz: c9ab7a4af7ae782a1c36b93b0d3664d6f161b638b867f397373088932f507ca1da762f0c6077ab9f71eb279081f9e02f3febbe27c1750c3a2509162f45b437e9
|
@@ -18,7 +18,8 @@ module Avm
|
|
18
18
|
before_load :clear_files
|
19
19
|
|
20
20
|
def files_path
|
21
|
-
::File.join(instance.read_entry(::Avm::Instances::EntryKeys::
|
21
|
+
::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
|
22
|
+
fs_path_subpath)
|
22
23
|
end
|
23
24
|
|
24
25
|
def dump_command
|
@@ -11,10 +11,10 @@ module Avm
|
|
11
11
|
class DefaultValue
|
12
12
|
enable_method_class
|
13
13
|
common_constructor :uri_component_entry_value
|
14
|
-
delegate :
|
14
|
+
delegate :component_entry_path, :entries_provider, to: :uri_component_entry_value
|
15
15
|
|
16
16
|
def default_value_method_name
|
17
|
-
"#{
|
17
|
+
"#{component_entry_path.parts.join('_').variableize}_default_value"
|
18
18
|
end
|
19
19
|
|
20
20
|
def result
|
@@ -11,7 +11,7 @@ module Avm
|
|
11
11
|
class InheritedValue
|
12
12
|
enable_method_class
|
13
13
|
common_constructor :uri_component_entry_value
|
14
|
-
delegate :
|
14
|
+
delegate :entries_provider, :id_entry_path, :component_entry_path,
|
15
15
|
to: :uri_component_entry_value
|
16
16
|
|
17
17
|
def result
|
@@ -29,7 +29,7 @@ module Avm
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def inherited_value_block_method_name
|
32
|
-
"#{
|
32
|
+
"#{component_entry_path.parts.join('_').variableize}_inherited_value_proc".to_sym
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -28,13 +28,17 @@ module Avm
|
|
28
28
|
::Avm::Entries::AutoValues::UriEntry.new(self, 'install').value
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
31
|
+
def install_data_path_inherited_value_proc(value)
|
32
32
|
value + '/' + id
|
33
33
|
end
|
34
34
|
|
35
|
-
def
|
35
|
+
def install_groupname_default_value
|
36
36
|
read_entry_optional(::Avm::Instances::EntryKeys::INSTALL_USERNAME)
|
37
37
|
end
|
38
|
+
|
39
|
+
def install_path_inherited_value_proc(value)
|
40
|
+
install_data_path_inherited_value_proc(value)
|
41
|
+
end
|
38
42
|
end
|
39
43
|
end
|
40
44
|
end
|
data/lib/avm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_cli
|