avm-eac_ubuntu_base0 0.4.3 → 0.5.1

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: 20b14bb6a84c108a211feda51c6cbb1abd6d5bdda002977bc2c5561314d97fa2
4
- data.tar.gz: 17952be72a570295ec0cf1d04fca0b31f09272f6df0bdd63a98e2c5db766c84b
3
+ metadata.gz: ec3435f15adf03b8951b7a81c4473980c681e94041f80a78bce3dc7d922c38c4
4
+ data.tar.gz: e3d06266c308f628f554bf5dc35cffce0f34109bb79298530fd5c510fc1f29d9
5
5
  SHA512:
6
- metadata.gz: b992e42f8ab4d49b62c4354512642d5c9ba0d2d8d7cc83c66300e6bd8ecd2f029ed6fb9dc59ea1e2de720ecfcfbc788630acfbe23a563d7923a29d2033664710
7
- data.tar.gz: 24381c6b68cad9f4f76e9c4246cbcc839d8cbe6d47b2b52a6c764b11e4e22b7102a88adbfb57eede36b6eea41404b25255ca6eafb41e8ee23474b0e227a192c9
6
+ metadata.gz: 44a8db54e00039366784fd4fee02606f9578b6936022eb894787f261d3164938c0d915ae7578d415d0fcd363c816452652155eb7075da87a21b8a094bc145d87
7
+ data.tar.gz: 7a39ced9a550c850c60e92f5572800af4408fc31ff101dffa9b25253e19ae91016bea43acf4d3027c2400773cfe9ae8c4ec9444d9a3d16b73b8a06a554bf2848
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'avm/eac_ubuntu_base0/apache'
3
4
  require 'avm/eac_ubuntu_base0/docker_image'
4
5
  require 'avm/instances/base'
5
6
 
@@ -7,6 +8,11 @@ module Avm
7
8
  module EacUbuntuBase0
8
9
  module Instances
9
10
  class Base < ::Avm::Instances::Base
11
+ # @return [Avm::EacUbuntuBase0::Apache]
12
+ def apache
13
+ ::Avm::EacUbuntuBase0::Apache.new(host_env)
14
+ end
15
+
10
16
  def docker_image_class
11
17
  ::Avm::EacUbuntuBase0::DockerImage
12
18
  end
@@ -15,11 +15,9 @@ module Avm
15
15
  @env
16
16
  end
17
17
 
18
- def on_run
18
+ def on_run(&block)
19
19
  on_container do
20
- on_env do
21
- yield
22
- end
20
+ on_env(&block)
23
21
  end
24
22
  end
25
23
 
@@ -73,9 +71,9 @@ module Avm
73
71
  @identity_file = env_identity_file_good_permissions
74
72
  @env = ::EacRubyUtils::Envs::SshEnv.new(
75
73
  "ssh://root@#{container.hostname}" \
76
- '?StrictHostKeyChecking=no' \
77
- '&BatchMode=yes' \
78
- "&IdentityFile=#{@identity_file}"
74
+ '?StrictHostKeyChecking=no' \
75
+ '&BatchMode=yes' \
76
+ "&IdentityFile=#{@identity_file}"
79
77
  )
80
78
  end
81
79
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacUbuntuBase0
5
- VERSION = '0.4.3'
5
+ VERSION = '0.5.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_ubuntu_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.1
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: 2023-05-20 00:00:00.000000000 Z
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.73'
19
+ version: '0.86'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.86.2
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.73'
29
+ version: '0.86'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.86.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: eac_ruby_utils
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.117'
39
+ version: '0.121'
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '0.117'
46
+ version: '0.121'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: eac_templates
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -45,6 +51,9 @@ dependencies:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0.5'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.5.1
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,34 +61,23 @@ dependencies:
52
61
  - - "~>"
53
62
  - !ruby/object:Gem::Version
54
63
  version: '0.5'
55
- - !ruby/object:Gem::Dependency
56
- name: avm-eac_ubuntu_base0
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
64
  - - ">="
67
65
  - !ruby/object:Gem::Version
68
- version: '0'
66
+ version: 0.5.1
69
67
  - !ruby/object:Gem::Dependency
70
68
  name: eac_ruby_gem_support
71
69
  requirement: !ruby/object:Gem::Requirement
72
70
  requirements:
73
71
  - - "~>"
74
72
  - !ruby/object:Gem::Version
75
- version: '0.4'
73
+ version: '0.10'
76
74
  type: :development
77
75
  prerelease: false
78
76
  version_requirements: !ruby/object:Gem::Requirement
79
77
  requirements:
80
78
  - - "~>"
81
79
  - !ruby/object:Gem::Version
82
- version: '0.4'
80
+ version: '0.10'
83
81
  description:
84
82
  email:
85
83
  executables: []
@@ -112,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
110
  requirements:
113
111
  - - ">="
114
112
  - !ruby/object:Gem::Version
115
- version: '0'
113
+ version: '2.7'
116
114
  required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - - ">="