avm-eac_webapp_base0 0.2.1 → 0.3.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/eac_webapp_base0/instance.rb +7 -0
- data/lib/avm/eac_webapp_base0/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4503e67063e157b013c446020e021b8978ac61f8e795e2f710a61405b8891ec4
|
4
|
+
data.tar.gz: 77b30734d318f75fdad17c2f00289682811d093f3f2a91d99c6b75df2e1d26dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ee140cb7ee147c8e4b1fbbd7e66a9c4fc98783ff9774f8f4adeaaf304cf84319b3da05d0c658dc8cefbe11bfcd4d04cc8b7188605b652819402b9a70ddd3440
|
7
|
+
data.tar.gz: d1a2d0400102d4be54379f421696a4694e6220d9a5dc5e22804d6b276d5e3bea4679317fac9fb68aabd8b4acf56c5b0ccd751bdcfb03f32107d8b9a0ae0db5d7
|
@@ -5,12 +5,14 @@ require 'avm/eac_postgresql_base0/instance_with'
|
|
5
5
|
require 'avm/data/instance/files_unit'
|
6
6
|
require 'avm/data/instance/package'
|
7
7
|
require 'avm/eac_webapp_base0/deploy/file_unit'
|
8
|
+
require 'avm/eac_ubuntu_base0/instances/base'
|
8
9
|
|
9
10
|
module Avm
|
10
11
|
module EacWebappBase0
|
11
12
|
class Instance < ::Avm::Instances::Base
|
12
13
|
require_sub __FILE__
|
13
14
|
include ::Avm::EacPostgresqlBase0::InstanceWith
|
15
|
+
enable_simple_cache
|
14
16
|
|
15
17
|
FILES_UNITS = [].freeze
|
16
18
|
|
@@ -45,6 +47,11 @@ module Avm
|
|
45
47
|
|
46
48
|
private
|
47
49
|
|
50
|
+
# @return [Avm::EacUbuntuBase0::Instances::Base]
|
51
|
+
def platform_instance_uncached
|
52
|
+
::Avm::EacUbuntuBase0::Instances::Base.by_id(id)
|
53
|
+
end
|
54
|
+
|
48
55
|
def files_units
|
49
56
|
self.class.const_get('FILES_UNITS').transform_values do |fs_path_subpath|
|
50
57
|
::Avm::Data::Instance::FilesUnit.new(self, fs_path_subpath)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-eac_webapp_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: '0.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: eac_ruby_utils
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|