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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4245d6e8d7f22be7c3f76beeb39d08f5504484bdf2dadb3566526c037c69c82d
4
- data.tar.gz: 784dec9bcfdf269fc3349444f76ee8faaea016411ab133b7328dc12dba634244
3
+ metadata.gz: 4503e67063e157b013c446020e021b8978ac61f8e795e2f710a61405b8891ec4
4
+ data.tar.gz: 77b30734d318f75fdad17c2f00289682811d093f3f2a91d99c6b75df2e1d26dd
5
5
  SHA512:
6
- metadata.gz: f1dc8e67f3ac572783a06cda340edff9f3cf4378b1f3630c85e11b293e547e2d83379a9eaabe59400b5ac7ed1cbfd91c09e8c98df6b1ca6eaba4744561f908e8
7
- data.tar.gz: 38bc58eacc10156c3174a3c83bdc04230f393ed8e8bb542fe05b9c10381b07fc3db668f18608243cc852319acf91a5740070e4398f689d1da9b728abefeb6f70
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWebappBase0
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
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.2.1
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: 2021-12-11 00:00:00.000000000 Z
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.2.1
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.2.1
68
+ version: '0.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: eac_ruby_utils
71
71
  requirement: !ruby/object:Gem::Requirement