avm 0.7.0 → 0.8.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/instances/base/auto_values/database.rb +5 -0
- 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: 6ca24d93ae7424cc6e6d3929b9341e236602aacbb75e2930ca2cb2b435bce9e6
|
4
|
+
data.tar.gz: b0af011f034b3cbfa225cea4dc452d33315c34811f82f90a0843848ef2f3f3b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58d1f630e478a6a7967f61e7979f40f76b2edf467cdda9d95b6228830daf0f87b88342e4e8abdfea5fbd944ba5ed05064efd9e300a81509bbfe8fbe6b2da78e8
|
7
|
+
data.tar.gz: 025d2bc3ad847b019bb297c00436ebbb6b2d6655040d98a98d3137fba90285b496b0afd08cba53d234252a0fd9d92f551234a59ae7c248e08eb87db3a0f60565
|
@@ -7,6 +7,7 @@ module Avm
|
|
7
7
|
class Base
|
8
8
|
module AutoValues
|
9
9
|
module Database
|
10
|
+
DEFAULT_EXTRA = ''
|
10
11
|
DEFAULT_HOSTNAME = '127.0.0.1'
|
11
12
|
DEFAULT_LIMIT = 5
|
12
13
|
DEFAULT_PORTS = {
|
@@ -18,6 +19,10 @@ module Avm
|
|
18
19
|
DEFAULT_SYSTEM = 'postgresql'
|
19
20
|
DEFAULT_TIMEOUT = 5000
|
20
21
|
|
22
|
+
def auto_database_extra
|
23
|
+
database_auto_common('hostname') || DEFAULT_EXTRA
|
24
|
+
end
|
25
|
+
|
21
26
|
def auto_database_name
|
22
27
|
inherited_entry_value(::Avm::Instances::EntryKeys::DATABASE_ID,
|
23
28
|
::Avm::Instances::EntryKeys::DATABASE_NAME) || id
|
@@ -43,7 +43,7 @@ module Avm
|
|
43
43
|
|
44
44
|
{
|
45
45
|
'' => %w[fs_path host_id source_instance_id],
|
46
|
-
database: %w[id hostname limit name password port system timeout username],
|
46
|
+
database: %w[id hostname limit name password port system timeout username extra],
|
47
47
|
docker: %w[registry],
|
48
48
|
mailer: {
|
49
49
|
'' => %w[id from reply_to],
|
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.8.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: 2021-11-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_cli
|