avm 0.15.0 → 0.18.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 678a691cf2ccbd86589577affeb607bb74543347909778401e317b5ada020dd9
|
4
|
+
data.tar.gz: b0dd033965eab254607c952def3dd5a57fc737d00dcd621df72d8e13fd76a212
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a26e3f0f9068ebac2edad0883af7a336887fffb79fff26db99653a7a250a1ce7f7f317d5bb9223464f5a061448a33aaaae016c1ff21d0d1423e52768c2a22f
|
7
|
+
data.tar.gz: c627d6f37382c3c5ebfe9200288c6ef8bafa95999b39d08647b1071b08c54f8d13e6fa7abef151818c4d8e3bd52e9cc9e012f3c51dc2d0eae7bb61687f7ea4ad
|
@@ -37,7 +37,7 @@ module Avm
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def auto_database_password
|
40
|
-
database_auto_common('password')
|
40
|
+
database_auto_common('password') || id
|
41
41
|
end
|
42
42
|
|
43
43
|
def auto_database_port
|
@@ -45,7 +45,7 @@ module Avm
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def auto_database_username
|
48
|
-
database_auto_common('username')
|
48
|
+
database_auto_common('username') || id
|
49
49
|
end
|
50
50
|
|
51
51
|
def auto_database_system
|
@@ -43,11 +43,14 @@ module Avm
|
|
43
43
|
|
44
44
|
{
|
45
45
|
'' => %w[data_fs_path fs_path host_id name source_instance_id],
|
46
|
+
admin: %w[username password api_key],
|
46
47
|
database: %w[id hostname limit name password port system timeout username extra],
|
47
48
|
docker: %w[registry],
|
49
|
+
fs: %w[url],
|
48
50
|
mailer: {
|
49
51
|
'' => %w[id from reply_to],
|
50
|
-
smtp: %w[address port domain username password authentication
|
52
|
+
smtp: %w[address port domain username password authentication openssl_verify_mode
|
53
|
+
starttls_auto tls]
|
51
54
|
},
|
52
55
|
ssh: %w[hostname port url username],
|
53
56
|
web: %w[authority hostname path port scheme url userinfo]
|
data/lib/avm/self/instance.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/instances/application'
|
4
|
+
require 'avm/instances/base'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module Sources
|
8
|
+
class Base
|
9
|
+
module Instance
|
10
|
+
DEFAULT_INSTANCE_SUFFIX = 'dev'
|
11
|
+
|
12
|
+
def instance_suffix
|
13
|
+
DEFAULT_INSTANCE_SUFFIX
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def application_uncached
|
19
|
+
::Avm::Instances::Application.new(path.basename)
|
20
|
+
end
|
21
|
+
|
22
|
+
def instance_uncached
|
23
|
+
::Avm::Instances::Base.new(application, DEFAULT_INSTANCE_SUFFIX)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
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.18.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-
|
11
|
+
date: 2022-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eac_cli
|
@@ -241,6 +241,7 @@ files:
|
|
241
241
|
- lib/avm/sources.rb
|
242
242
|
- lib/avm/sources/base.rb
|
243
243
|
- lib/avm/sources/base/configuration.rb
|
244
|
+
- lib/avm/sources/base/instance.rb
|
244
245
|
- lib/avm/sources/base/testing.rb
|
245
246
|
- lib/avm/sources/configuration.rb
|
246
247
|
- lib/avm/sources/configuration/_locale.rb
|