eac_tools 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +38 -38
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/applications/base.rb +1 -1
- data/sub/avm/lib/avm/data/instance/files_unit.rb +2 -1
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/default_value.rb +2 -2
- data/sub/avm/lib/avm/entries/base/uri_component_entry_value/inherited_value.rb +2 -2
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +0 -4
- data/sub/avm/lib/avm/instances/base/auto_values/install.rb +6 -2
- data/sub/avm/lib/avm/instances/entry_keys.rb +1 -1
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm/spec/lib/avm/instances/base_spec.rb +2 -2
- data/sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml +1 -1
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +2 -2
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +3 -3
- data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb +1 -1
- data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb +1 -1
- data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +2 -2
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +1 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +1 -1
- data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf +1 -1
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +4 -4
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +1 -1
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +3 -2
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +1 -1
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
- data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +1 -1
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +2 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/file_unit.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
- data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +3 -3
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb +1 -1
- data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
- data/sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec.rb +1 -1
- data/sub/avm-tools/avm-tools.gemspec +2 -2
- data/sub/avm-tools/lib/avm/tools/runner/git/deploy.rb +1 -1
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- metadata +20 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea35ded68776ddeadf8e107f9cdcd0b507f5c9faff2c7569a93b03e0bfbf3493
|
4
|
+
data.tar.gz: 46664e26b961edb4e19b2c30aec1c9736b7782138332730729f13fec602eea97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8031e90bca20fed7ec24c53e6d03e86cf876085ec85c1f080a871329590c4b95836ca02c8f162f701734b0aeb38e338a8f0d175e01109db3b9d4ac48b6a367e
|
7
|
+
data.tar.gz: 991180687e138de7d5f4d9397ebf39d0f9768c661025a1d39d5cbea9bcdd0db56a8298352b2b7d68f4f145a5d1c31acbce20c60868656380255302426e14dced
|
data/Gemfile.lock
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.
|
6
|
-
avm-eac_asciidoctor_base0 (~> 0.
|
4
|
+
eac_tools (0.27.0)
|
5
|
+
avm (~> 0.41)
|
6
|
+
avm-eac_asciidoctor_base0 (~> 0.6)
|
7
7
|
avm-eac_generic_base0 (~> 0.5)
|
8
|
-
avm-eac_latex_base0 (~> 0.
|
9
|
-
avm-eac_rails_base0 (~> 0.
|
10
|
-
avm-eac_rails_base1 (~> 0.
|
11
|
-
avm-eac_redmine_base0 (~> 0.
|
8
|
+
avm-eac_latex_base0 (~> 0.2)
|
9
|
+
avm-eac_rails_base0 (~> 0.8)
|
10
|
+
avm-eac_rails_base1 (~> 0.6)
|
11
|
+
avm-eac_redmine_base0 (~> 0.14)
|
12
12
|
avm-eac_redmine_plugin_base0 (~> 0.3)
|
13
13
|
avm-eac_ruby_base1 (~> 0.20)
|
14
|
-
avm-eac_webapp_base0 (~> 0.
|
15
|
-
avm-eac_wordpress_base0 (~> 0.
|
16
|
-
avm-tools (~> 0.
|
14
|
+
avm-eac_webapp_base0 (~> 0.6)
|
15
|
+
avm-eac_wordpress_base0 (~> 0.2)
|
16
|
+
avm-tools (~> 0.135)
|
17
17
|
eac_ruby_utils (~> 0.102)
|
18
18
|
|
19
19
|
PATH
|
20
20
|
remote: sub/avm-eac_asciidoctor_base0
|
21
21
|
specs:
|
22
|
-
avm-eac_asciidoctor_base0 (0.
|
22
|
+
avm-eac_asciidoctor_base0 (0.6.0)
|
23
23
|
asciidoctor (~> 2.0, >= 2.0.17)
|
24
|
-
avm-eac_webapp_base0 (~> 0.
|
25
|
-
eac_ruby_utils (~> 0.
|
24
|
+
avm-eac_webapp_base0 (~> 0.5, >= 0.5.1)
|
25
|
+
eac_ruby_utils (~> 0.102)
|
26
26
|
os (~> 1.1, >= 1.1.4)
|
27
27
|
rouge (~> 3.30)
|
28
28
|
|
@@ -36,34 +36,34 @@ PATH
|
|
36
36
|
PATH
|
37
37
|
remote: sub/avm-eac_latex_base0
|
38
38
|
specs:
|
39
|
-
avm-eac_latex_base0 (0.
|
40
|
-
avm (~> 0.
|
41
|
-
avm-eac_webapp_base0 (~> 0.
|
42
|
-
eac_ruby_utils (~> 0.
|
39
|
+
avm-eac_latex_base0 (0.2.0)
|
40
|
+
avm (~> 0.41)
|
41
|
+
avm-eac_webapp_base0 (~> 0.5, >= 0.5.1)
|
42
|
+
eac_ruby_utils (~> 0.102)
|
43
43
|
|
44
44
|
PATH
|
45
45
|
remote: sub/avm-eac_rails_base0
|
46
46
|
specs:
|
47
|
-
avm-eac_rails_base0 (0.
|
48
|
-
avm-eac_rails_base1 (~> 0.
|
49
|
-
eac_ruby_utils (~> 0.
|
47
|
+
avm-eac_rails_base0 (0.8.0)
|
48
|
+
avm-eac_rails_base1 (~> 0.6)
|
49
|
+
eac_ruby_utils (~> 0.102)
|
50
50
|
|
51
51
|
PATH
|
52
52
|
remote: sub/avm-eac_rails_base1
|
53
53
|
specs:
|
54
|
-
avm-eac_rails_base1 (0.
|
55
|
-
avm (~> 0.
|
56
|
-
avm-eac_ruby_base1 (~> 0.
|
57
|
-
avm-eac_webapp_base0 (~> 0.
|
58
|
-
eac_ruby_utils (~> 0.
|
54
|
+
avm-eac_rails_base1 (0.6.0)
|
55
|
+
avm (~> 0.41)
|
56
|
+
avm-eac_ruby_base1 (~> 0.20)
|
57
|
+
avm-eac_webapp_base0 (~> 0.6)
|
58
|
+
eac_ruby_utils (~> 0.102)
|
59
59
|
|
60
60
|
PATH
|
61
61
|
remote: sub/avm-eac_redmine_base0
|
62
62
|
specs:
|
63
|
-
avm-eac_redmine_base0 (0.
|
64
|
-
avm (~> 0.
|
63
|
+
avm-eac_redmine_base0 (0.14.0)
|
64
|
+
avm (~> 0.41)
|
65
65
|
avm-eac_generic_base0 (~> 0.5)
|
66
|
-
avm-eac_rails_base1 (~> 0.
|
66
|
+
avm-eac_rails_base1 (~> 0.6)
|
67
67
|
avm-eac_ubuntu_base0 (~> 0.3)
|
68
68
|
curb (~> 0.9, >= 0.9.11)
|
69
69
|
eac_fs (~> 0.12, >= 0.12.3)
|
@@ -88,8 +88,8 @@ PATH
|
|
88
88
|
PATH
|
89
89
|
remote: sub/avm-eac_webapp_base0
|
90
90
|
specs:
|
91
|
-
avm-eac_webapp_base0 (0.
|
92
|
-
avm (~> 0.
|
91
|
+
avm-eac_webapp_base0 (0.6.0)
|
92
|
+
avm (~> 0.41)
|
93
93
|
avm-eac_generic_base0 (~> 0.5)
|
94
94
|
avm-eac_postgresql_base0 (~> 0.2)
|
95
95
|
avm-eac_ubuntu_base0 (~> 0.3)
|
@@ -98,17 +98,17 @@ PATH
|
|
98
98
|
PATH
|
99
99
|
remote: sub/avm-eac_wordpress_base0
|
100
100
|
specs:
|
101
|
-
avm-eac_wordpress_base0 (0.
|
102
|
-
avm (~> 0.
|
103
|
-
avm-eac_webapp_base0 (~> 0.
|
104
|
-
eac_ruby_utils (~> 0.
|
101
|
+
avm-eac_wordpress_base0 (0.2.0)
|
102
|
+
avm (~> 0.41)
|
103
|
+
avm-eac_webapp_base0 (~> 0.6)
|
104
|
+
eac_ruby_utils (~> 0.102)
|
105
105
|
|
106
106
|
PATH
|
107
107
|
remote: sub/avm-tools
|
108
108
|
specs:
|
109
|
-
avm-tools (0.
|
109
|
+
avm-tools (0.135.0)
|
110
110
|
aranha-parsers (~> 0.14, >= 0.14.1)
|
111
|
-
avm (~> 0.
|
111
|
+
avm (~> 0.41)
|
112
112
|
avm-eac_ruby_base1 (~> 0.20)
|
113
113
|
avm-eac_ubuntu_base0 (~> 0.3)
|
114
114
|
avm-files (~> 0.3, >= 0.3.2)
|
@@ -118,13 +118,13 @@ PATH
|
|
118
118
|
eac_git (~> 0.12, >= 0.12.2)
|
119
119
|
eac_ruby_base0 (~> 0.16, >= 0.16.6)
|
120
120
|
eac_templates (~> 0.3, >= 0.3.1)
|
121
|
-
git (~> 1.
|
121
|
+
git (~> 1.12)
|
122
122
|
ruby-progressbar (~> 1.11)
|
123
123
|
|
124
124
|
PATH
|
125
125
|
remote: sub/avm
|
126
126
|
specs:
|
127
|
-
avm (0.
|
127
|
+
avm (0.41.0)
|
128
128
|
eac_cli (~> 0.27, >= 0.27.8)
|
129
129
|
eac_config (~> 0.11, >= 0.11.1)
|
130
130
|
eac_docker (~> 0.4, >= 0.4.2)
|
data/lib/eac_tools/version.rb
CHANGED
@@ -18,7 +18,8 @@ module Avm
|
|
18
18
|
before_load :clear_files
|
19
19
|
|
20
20
|
def files_path
|
21
|
-
::File.join(instance.read_entry(::Avm::Instances::EntryKeys::
|
21
|
+
::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
|
22
|
+
fs_path_subpath)
|
22
23
|
end
|
23
24
|
|
24
25
|
def dump_command
|
@@ -11,10 +11,10 @@ module Avm
|
|
11
11
|
class DefaultValue
|
12
12
|
enable_method_class
|
13
13
|
common_constructor :uri_component_entry_value
|
14
|
-
delegate :
|
14
|
+
delegate :component_entry_path, :entries_provider, to: :uri_component_entry_value
|
15
15
|
|
16
16
|
def default_value_method_name
|
17
|
-
"#{
|
17
|
+
"#{component_entry_path.parts.join('_').variableize}_default_value"
|
18
18
|
end
|
19
19
|
|
20
20
|
def result
|
@@ -11,7 +11,7 @@ module Avm
|
|
11
11
|
class InheritedValue
|
12
12
|
enable_method_class
|
13
13
|
common_constructor :uri_component_entry_value
|
14
|
-
delegate :
|
14
|
+
delegate :entries_provider, :id_entry_path, :component_entry_path,
|
15
15
|
to: :uri_component_entry_value
|
16
16
|
|
17
17
|
def result
|
@@ -29,7 +29,7 @@ module Avm
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def inherited_value_block_method_name
|
32
|
-
"#{
|
32
|
+
"#{component_entry_path.parts.join('_').variableize}_inherited_value_proc".to_sym
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -28,13 +28,17 @@ module Avm
|
|
28
28
|
::Avm::Entries::AutoValues::UriEntry.new(self, 'install').value
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
31
|
+
def install_data_path_inherited_value_proc(value)
|
32
32
|
value + '/' + id
|
33
33
|
end
|
34
34
|
|
35
|
-
def
|
35
|
+
def install_groupname_default_value
|
36
36
|
read_entry_optional(::Avm::Instances::EntryKeys::INSTALL_USERNAME)
|
37
37
|
end
|
38
|
+
|
39
|
+
def install_path_inherited_value_proc(value)
|
40
|
+
install_data_path_inherited_value_proc(value)
|
41
|
+
end
|
38
42
|
end
|
39
43
|
end
|
40
44
|
end
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -15,8 +15,8 @@ RSpec.describe ::Avm::Instances::Base do
|
|
15
15
|
describe '#read_entry' do
|
16
16
|
{
|
17
17
|
'app_0' => {
|
18
|
-
fs_path: '/fs_root/app_0',
|
19
18
|
::Avm::Instances::EntryKeys::INSTALL_DATA_PATH => '/data_fs_root/app_0',
|
19
|
+
::Avm::Instances::EntryKeys::INSTALL_PATH => '/fs_root/app_0',
|
20
20
|
::Avm::Instances::EntryKeys::DATABASE_NAME => 'app_0',
|
21
21
|
::Avm::Instances::EntryKeys::DATABASE_USERNAME => 'user1',
|
22
22
|
::Avm::Instances::EntryKeys::DATABASE_PASSWORD => 'pass1',
|
@@ -71,7 +71,7 @@ RSpec.describe ::Avm::Instances::Base do
|
|
71
71
|
::Avm::Instances::EntryKeys::INSTALL_PORT => '2222',
|
72
72
|
::Avm::Instances::EntryKeys::INSTALL_USERNAME => 'user5',
|
73
73
|
::Avm::Instances::EntryKeys::INSTALL_PASSWORD => 'passwd5',
|
74
|
-
::Avm::Instances::EntryKeys::INSTALL_PATH => '/path/to/app5'
|
74
|
+
::Avm::Instances::EntryKeys::INSTALL_PATH => '/path/to/app5/app_6'
|
75
75
|
},
|
76
76
|
'mailer_0' => {
|
77
77
|
::Avm::Instances::EntryKeys::MAILER_FROM => 'noreply@example.net',
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.17'
|
16
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.5', '>= 0.5.1'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
18
18
|
s.add_dependency 'os', '~> 1.1', '>= 1.1.4'
|
19
19
|
s.add_dependency 'rouge', '~> 3.30'
|
20
20
|
|
@@ -6,7 +6,7 @@ module Avm
|
|
6
6
|
module EacAsciidoctorBase0
|
7
7
|
class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
|
8
8
|
def document_root
|
9
|
-
instance.read_entry(::Avm::Instances::EntryKeys::
|
9
|
+
instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
|
10
10
|
end
|
11
11
|
|
12
12
|
def extra_content
|
@@ -18,7 +18,7 @@ module Avm
|
|
18
18
|
|
19
19
|
def project_uncached
|
20
20
|
::Avm::EacAsciidoctorBase0::Sources::Base.new(
|
21
|
-
instance.source_instance.read_entry(::Avm::Instances::EntryKeys::
|
21
|
+
instance.source_instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
|
22
22
|
)
|
23
23
|
end
|
24
24
|
end
|
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
16
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41'
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.5', '>= 0.5.1'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
18
18
|
|
19
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
|
20
20
|
end
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm-eac_rails_base1', '~> 0.
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm-eac_rails_base1', '~> 0.6'
|
16
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
17
17
|
|
18
18
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
19
19
|
end
|
@@ -44,7 +44,7 @@ module Avm
|
|
44
44
|
def touch_restart_file
|
45
45
|
infom 'Touching restart file...'
|
46
46
|
instance.host_env.command(
|
47
|
-
'touch', ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::
|
47
|
+
'touch', ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
|
48
48
|
'tmp', 'restart.txt')
|
49
49
|
).system!
|
50
50
|
end
|
@@ -11,7 +11,7 @@ RSpec.describe ::Avm::EacRailsBase0::ApacheHost do
|
|
11
11
|
let(:expected_content) { fixtures_dir.join('apache_host_spec_no_ssl_content.conf').read }
|
12
12
|
|
13
13
|
before do
|
14
|
-
instance.entry('
|
14
|
+
instance.entry('install.path').write('/path/to/stub-app_0')
|
15
15
|
instance.entry('web.url').write('http://stubapp.net')
|
16
16
|
end
|
17
17
|
|
@@ -12,7 +12,7 @@ RSpec.describe ::Avm::EacRailsBase0::ApachePath do
|
|
12
12
|
let(:expected_content) { expect_file.read }
|
13
13
|
|
14
14
|
before do
|
15
|
-
instance.entry(::Avm::Instances::EntryKeys::
|
15
|
+
instance.entry(::Avm::Instances::EntryKeys::INSTALL_PATH).write('/path/to/stub-app_0')
|
16
16
|
instance.entry('web.url').write('http://stubapp.net/stub-app_0')
|
17
17
|
end
|
18
18
|
|
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
16
|
-
s.add_dependency 'avm-eac_ruby_base1', '~> 0.
|
17
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
18
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41'
|
16
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.20'
|
17
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.6'
|
18
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
19
19
|
|
20
20
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
21
21
|
end
|
@@ -6,7 +6,7 @@ module Avm
|
|
6
6
|
module EacRailsBase1
|
7
7
|
class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
|
8
8
|
def document_root
|
9
|
-
"#{instance.read_entry(::Avm::Instances::EntryKeys::
|
9
|
+
"#{instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)}/public"
|
10
10
|
end
|
11
11
|
|
12
12
|
def extra_content
|
@@ -18,8 +18,9 @@ module Avm
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def the_gem
|
21
|
-
@the_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(
|
22
|
-
|
21
|
+
@the_gem ||= ::Avm::EacRubyBase1::Sources::Base.new(
|
22
|
+
::File.join(read_entry('install.path'))
|
23
|
+
).env_set(host_env)
|
23
24
|
end
|
24
25
|
end
|
25
26
|
end
|
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,locale,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
|
-
s.add_dependency 'avm-eac_rails_base1', '~> 0.
|
17
|
+
s.add_dependency 'avm-eac_rails_base1', '~> 0.6'
|
18
18
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
19
19
|
s.add_dependency 'curb', '~> 0.9', '>= 0.9.11'
|
20
20
|
s.add_dependency 'eac_fs', '~> 0.12', '>= 0.12.3'
|
@@ -21,7 +21,7 @@ module Avm
|
|
21
21
|
def docker_run_arguments
|
22
22
|
[
|
23
23
|
'--volume',
|
24
|
-
"#{
|
24
|
+
"#{install_path}:/home/myuser/eac_redmine_base0",
|
25
25
|
'--publish', "#{read_entry(:ssh_port)}:22",
|
26
26
|
'--publish', "#{read_entry(:http_port)}:80",
|
27
27
|
'--publish', "#{read_entry(:https_port)}:443"
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
17
|
s.add_dependency 'avm-eac_postgresql_base0', '~> 0.2'
|
18
18
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
@@ -9,7 +9,7 @@ module Avm
|
|
9
9
|
def write_on_target
|
10
10
|
::Avm::Files::Deploy.new(
|
11
11
|
instance.host_env,
|
12
|
-
instance.read_entry(::Avm::Instances::EntryKeys::
|
12
|
+
instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
|
13
13
|
).append_plain_directory(build_dir).run
|
14
14
|
end
|
15
15
|
end
|
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
16
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.41'
|
16
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.6'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.102'
|
18
18
|
|
19
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
|
20
20
|
end
|
data/sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec.rb
CHANGED
@@ -13,7 +13,7 @@ RSpec.describe ::Avm::EacWordpressBase0::Instances::ApacheHost do
|
|
13
13
|
end
|
14
14
|
|
15
15
|
before do
|
16
|
-
instance.entry(::Avm::Instances::EntryKeys::
|
16
|
+
instance.entry(::Avm::Instances::EntryKeys::INSTALL_PATH).write('/path/to/stub-app_0')
|
17
17
|
instance.entry(::Avm::Instances::EntryKeys::WEB_URL).write('http://stubapp.net')
|
18
18
|
instance.entry(::Avm::Instances::EntryKeys::INSTALL_USERNAME).write('myuser')
|
19
19
|
end
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
16
16
|
|
17
17
|
s.add_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.1'
|
18
|
-
s.add_dependency 'avm', '~> 0.
|
18
|
+
s.add_dependency 'avm', '~> 0.41'
|
19
19
|
s.add_dependency 'avm-eac_ruby_base1', '~> 0.20'
|
20
20
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
21
21
|
s.add_dependency 'avm-files', '~> 0.3', '>= 0.3.2'
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.add_dependency 'eac_git', '~> 0.12', '>= 0.12.2'
|
26
26
|
s.add_dependency 'eac_ruby_base0', '~> 0.16', '>= 0.16.6'
|
27
27
|
s.add_dependency 'eac_templates', '~> 0.3', '>= 0.3.1'
|
28
|
-
s.add_dependency 'git', '~> 1.
|
28
|
+
s.add_dependency 'git', '~> 1.12'
|
29
29
|
s.add_dependency 'ruby-progressbar', '~> 1.11'
|
30
30
|
|
31
31
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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: 2022-08-
|
11
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.41'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.41'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm-eac_asciidoctor_base0
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_generic_base0
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,62 +58,56 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 0.1.2
|
61
|
+
version: '0.2'
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - "~>"
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: '0.
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.1.2
|
68
|
+
version: '0.2'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: avm-eac_rails_base0
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - "~>"
|
80
74
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
75
|
+
version: '0.8'
|
82
76
|
type: :runtime
|
83
77
|
prerelease: false
|
84
78
|
version_requirements: !ruby/object:Gem::Requirement
|
85
79
|
requirements:
|
86
80
|
- - "~>"
|
87
81
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0.
|
82
|
+
version: '0.8'
|
89
83
|
- !ruby/object:Gem::Dependency
|
90
84
|
name: avm-eac_rails_base1
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
92
86
|
requirements:
|
93
87
|
- - "~>"
|
94
88
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0.
|
89
|
+
version: '0.6'
|
96
90
|
type: :runtime
|
97
91
|
prerelease: false
|
98
92
|
version_requirements: !ruby/object:Gem::Requirement
|
99
93
|
requirements:
|
100
94
|
- - "~>"
|
101
95
|
- !ruby/object:Gem::Version
|
102
|
-
version: '0.
|
96
|
+
version: '0.6'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
name: avm-eac_redmine_base0
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
101
|
- - "~>"
|
108
102
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
103
|
+
version: '0.14'
|
110
104
|
type: :runtime
|
111
105
|
prerelease: false
|
112
106
|
version_requirements: !ruby/object:Gem::Requirement
|
113
107
|
requirements:
|
114
108
|
- - "~>"
|
115
109
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
110
|
+
version: '0.14'
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
112
|
name: avm-eac_redmine_plugin_base0
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,48 +142,42 @@ dependencies:
|
|
148
142
|
requirements:
|
149
143
|
- - "~>"
|
150
144
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0.
|
145
|
+
version: '0.6'
|
152
146
|
type: :runtime
|
153
147
|
prerelease: false
|
154
148
|
version_requirements: !ruby/object:Gem::Requirement
|
155
149
|
requirements:
|
156
150
|
- - "~>"
|
157
151
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0.
|
152
|
+
version: '0.6'
|
159
153
|
- !ruby/object:Gem::Dependency
|
160
154
|
name: avm-eac_wordpress_base0
|
161
155
|
requirement: !ruby/object:Gem::Requirement
|
162
156
|
requirements:
|
163
157
|
- - "~>"
|
164
158
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0.
|
166
|
-
- - ">="
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: 0.1.2
|
159
|
+
version: '0.2'
|
169
160
|
type: :runtime
|
170
161
|
prerelease: false
|
171
162
|
version_requirements: !ruby/object:Gem::Requirement
|
172
163
|
requirements:
|
173
164
|
- - "~>"
|
174
165
|
- !ruby/object:Gem::Version
|
175
|
-
version: '0.
|
176
|
-
- - ">="
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: 0.1.2
|
166
|
+
version: '0.2'
|
179
167
|
- !ruby/object:Gem::Dependency
|
180
168
|
name: avm-tools
|
181
169
|
requirement: !ruby/object:Gem::Requirement
|
182
170
|
requirements:
|
183
171
|
- - "~>"
|
184
172
|
- !ruby/object:Gem::Version
|
185
|
-
version: '0.
|
173
|
+
version: '0.135'
|
186
174
|
type: :runtime
|
187
175
|
prerelease: false
|
188
176
|
version_requirements: !ruby/object:Gem::Requirement
|
189
177
|
requirements:
|
190
178
|
- - "~>"
|
191
179
|
- !ruby/object:Gem::Version
|
192
|
-
version: '0.
|
180
|
+
version: '0.135'
|
193
181
|
- !ruby/object:Gem::Dependency
|
194
182
|
name: eac_ruby_utils
|
195
183
|
requirement: !ruby/object:Gem::Requirement
|