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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +38 -38
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/lib/avm/applications/base.rb +1 -1
  5. data/sub/avm/lib/avm/data/instance/files_unit.rb +2 -1
  6. data/sub/avm/lib/avm/entries/base/uri_component_entry_value/default_value.rb +2 -2
  7. data/sub/avm/lib/avm/entries/base/uri_component_entry_value/inherited_value.rb +2 -2
  8. data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +0 -4
  9. data/sub/avm/lib/avm/instances/base/auto_values/install.rb +6 -2
  10. data/sub/avm/lib/avm/instances/entry_keys.rb +1 -1
  11. data/sub/avm/lib/avm/version.rb +1 -1
  12. data/sub/avm/spec/lib/avm/instances/base_spec.rb +2 -2
  13. data/sub/avm/spec/lib/avm/instances/base_spec_configs_storage.yml +1 -1
  14. data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +2 -2
  15. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/apache_host.rb +1 -1
  16. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/deploy.rb +1 -1
  17. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  18. data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +3 -3
  19. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/apache_host.rb +1 -1
  20. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/deploy.rb +1 -1
  21. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
  22. data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +2 -2
  23. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +1 -1
  24. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  25. data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_host_spec.rb +1 -1
  26. data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +1 -1
  27. data/sub/avm-eac_rails_base0/template/avm/eac_rails_base0/apache_path/extra_content.conf +1 -1
  28. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +4 -4
  29. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb +1 -1
  30. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +3 -2
  31. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb +1 -1
  32. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  33. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +1 -1
  34. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +2 -2
  35. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +1 -1
  36. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb +1 -1
  37. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +1 -1
  38. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  39. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +1 -1
  40. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb +1 -1
  41. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/file_unit.rb +1 -1
  42. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb +1 -1
  43. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb +1 -1
  44. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  45. data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +3 -3
  46. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/apache_host.rb +1 -1
  47. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
  48. data/sub/avm-eac_wordpress_base0/spec/lib/avm/eac_wordpress_base0/instances/apache_host_spec.rb +1 -1
  49. data/sub/avm-tools/avm-tools.gemspec +2 -2
  50. data/sub/avm-tools/lib/avm/tools/runner/git/deploy.rb +1 -1
  51. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  52. metadata +20 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6de32a35373e92c90852a1d3d432b16112da4a908cd94bda757d64ca31647e93
4
- data.tar.gz: 2b9c7aa3b2d163f2d5427c3f1d6de0da7e938d58ee79c4bc22418efce16ce1a6
3
+ metadata.gz: ea35ded68776ddeadf8e107f9cdcd0b507f5c9faff2c7569a93b03e0bfbf3493
4
+ data.tar.gz: 46664e26b961edb4e19b2c30aec1c9736b7782138332730729f13fec602eea97
5
5
  SHA512:
6
- metadata.gz: 5e26f055dd1a4d7f617ebd982f820e25b3a81d10ef81d2e0d93648fcfed43a483e9dee6ce6b3a56c7546688aeb19a65edd4d8ae87e5a4dd6850555326cad9535
7
- data.tar.gz: e5da4638216094a63e821b2aef2cb9a346c90cb952a41e8e408295e78628a9c0ff26c55922f4ad7dd7f3f5a5908a16d1dc681dfda3e4482fd9b9229d691a6181
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.26.0)
5
- avm (~> 0.40)
6
- avm-eac_asciidoctor_base0 (~> 0.5)
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.1, >= 0.1.2)
9
- avm-eac_rails_base0 (~> 0.7)
10
- avm-eac_rails_base1 (~> 0.5)
11
- avm-eac_redmine_base0 (~> 0.13)
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.5)
15
- avm-eac_wordpress_base0 (~> 0.1, >= 0.1.2)
16
- avm-tools (~> 0.134)
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.5.0)
22
+ avm-eac_asciidoctor_base0 (0.6.0)
23
23
  asciidoctor (~> 2.0, >= 2.0.17)
24
- avm-eac_webapp_base0 (~> 0.4)
25
- eac_ruby_utils (~> 0.98)
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.1.2)
40
- avm (~> 0.35, >= 0.35.1)
41
- avm-eac_webapp_base0 (~> 0.4)
42
- eac_ruby_utils (~> 0.98)
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.7.0)
48
- avm-eac_rails_base1 (~> 0.5)
49
- eac_ruby_utils (~> 0.98)
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.5.0)
55
- avm (~> 0.35, >= 0.35.1)
56
- avm-eac_ruby_base1 (~> 0.19)
57
- avm-eac_webapp_base0 (~> 0.4)
58
- eac_ruby_utils (~> 0.98)
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.13.0)
64
- avm (~> 0.39, >= 0.39.1)
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.5)
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.5.0)
92
- avm (~> 0.39, >= 0.39.1)
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.1.2)
102
- avm (~> 0.35, >= 0.35.1)
103
- avm-eac_webapp_base0 (~> 0.4)
104
- eac_ruby_utils (~> 0.98)
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.134.0)
109
+ avm-tools (0.135.0)
110
110
  aranha-parsers (~> 0.14, >= 0.14.1)
111
- avm (~> 0.40)
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.11)
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.40.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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTools
4
- VERSION = '0.26.0'
4
+ VERSION = '0.27.0'
5
5
  end
@@ -38,7 +38,7 @@ module Avm
38
38
 
39
39
  # @return [Avm::Sources::Base]
40
40
  def local_source_uncached
41
- ::Avm::Registry.sources.detect(local_instance.fs_path)
41
+ ::Avm::Registry.sources.detect(local_instance.install_path)
42
42
  end
43
43
  end
44
44
  end
@@ -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::FS_PATH), fs_path_subpath)
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 :component, :entries_provider, to: :uri_component_entry_value
14
+ delegate :component_entry_path, :entries_provider, to: :uri_component_entry_value
15
15
 
16
16
  def default_value_method_name
17
- "#{component}_default_value"
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 :component, :entries_provider, :id_entry_path, :component_entry_path,
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
- "#{component}_inherited_value_proc".to_sym
32
+ "#{component_entry_path.parts.join('_').variableize}_inherited_value_proc".to_sym
33
33
  end
34
34
  end
35
35
  end
@@ -7,10 +7,6 @@ module Avm
7
7
  class Base
8
8
  module AutoValues
9
9
  module Filesystem
10
- def auto_fs_path
11
- inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID,
12
- ::Avm::Instances::EntryKeys::FS_PATH) { |v| v + '/' + id }
13
- end
14
10
  end
15
11
  end
16
12
  end
@@ -28,13 +28,17 @@ module Avm
28
28
  ::Avm::Entries::AutoValues::UriEntry.new(self, 'install').value
29
29
  end
30
30
 
31
- def data_path_inherited_value_proc(value)
31
+ def install_data_path_inherited_value_proc(value)
32
32
  value + '/' + id
33
33
  end
34
34
 
35
- def groupname_default_value
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
@@ -45,7 +45,7 @@ module Avm
45
45
  end
46
46
 
47
47
  {
48
- '' => %w[fs_path name source_instance_id],
48
+ '' => %w[name source_instance_id],
49
49
  admin: URI_FIELDS + %w[api_key],
50
50
  database: URI_FIELDS + %w[id limit name system timeout extra],
51
51
  docker: %w[registry],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.40.0'
4
+ VERSION = '0.41.0'
5
5
  end
@@ -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',
@@ -3,10 +3,10 @@ app_0:
3
3
  install:
4
4
  id: app_1
5
5
  app_1:
6
- fs_path: /fs_root
7
6
  install:
8
7
  id: app_2
9
8
  data_path: /data_fs_root
9
+ path: /fs_root
10
10
  database:
11
11
  name: app_1_db
12
12
  username: user1
@@ -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.4'
17
- s.add_dependency 'eac_ruby_utils', '~> 0.98'
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::FS_PATH)
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::FS_PATH)
21
+ instance.source_instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
22
22
  )
23
23
  end
24
24
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacAsciidoctorBase0
5
- VERSION = '0.5.0'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  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.35', '>= 0.35.1'
16
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.4'
17
- s.add_dependency 'eac_ruby_utils', '~> 0.98'
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
@@ -7,7 +7,7 @@ module Avm
7
7
  module Instances
8
8
  class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
9
9
  def document_root
10
- instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
10
+ instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
11
11
  end
12
12
 
13
13
  def extra_content
@@ -29,7 +29,7 @@ module Avm
29
29
 
30
30
  def project_uncached
31
31
  ::Avm::EacLatexBase0::Sources::Base.new(
32
- instance.source_instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
32
+ instance.source_instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
33
33
  )
34
34
  end
35
35
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacLatexBase0
5
- VERSION = '0.1.2'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  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.5'
16
- s.add_dependency 'eac_ruby_utils', '~> 0.98'
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::FS_PATH),
47
+ 'touch', ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
48
48
  'tmp', 'restart.txt')
49
49
  ).system!
50
50
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase0
5
- VERSION = '0.7.0'
5
+ VERSION = '0.8.0'
6
6
  end
7
7
  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('fs_path').write('/path/to/stub-app_0')
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::FS_PATH).write('/path/to/stub-app_0')
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
 
@@ -1,5 +1,5 @@
1
1
  <Location "%%WEB.PATH%%">
2
2
  PassengerBaseURI "%%WEB.PATH%%"
3
- PassengerAppRoot "%%FS_PATH%%"
3
+ PassengerAppRoot "%%INSTALL.PATH%%"
4
4
  PassengerAppEnv production
5
5
  </Location>
@@ -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.35', '>= 0.35.1'
16
- s.add_dependency 'avm-eac_ruby_base1', '~> 0.19'
17
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.4'
18
- s.add_dependency 'eac_ruby_utils', '~> 0.98'
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::FS_PATH)}/public"
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(::File.join(read_entry('fs_path')))
22
- .env_set(host_env)
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
@@ -20,7 +20,7 @@ module Avm
20
20
  private
21
21
 
22
22
  def log_path
23
- ::File.join(rails_instance.read_entry('fs_path'), 'log', "#{rails_environment}.log")
23
+ ::File.join(rails_instance.read_entry('install.path'), 'log', "#{rails_environment}.log")
24
24
  end
25
25
 
26
26
  def start_banner
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRailsBase1
5
- VERSION = '0.5.0'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  end
@@ -3,4 +3,4 @@
3
3
  set -e
4
4
 
5
5
  source "$HOME/.rvm/scripts/rvm"
6
- ( cd '%%fs_path%%'; RAILS_ENV=production bundle exec tasks_scheduler "$@" )
6
+ ( cd '%%install.path%%'; RAILS_ENV=production bundle exec tasks_scheduler "$@" )
@@ -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.39', '>= 0.39.1'
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.5'
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
- "#{read_entry(::Avm::Instances::EntryKeys::FS_PATH)}:/home/myuser/eac_redmine_base0",
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"
@@ -21,7 +21,7 @@ module Avm
21
21
  end
22
22
 
23
23
  def installer_path
24
- ::File.join(instance.fs_path, 'plugins', 'redmine_installer', 'installer', 'run.sh')
24
+ ::File.join(instance.install_path, 'plugins', 'redmine_installer', 'installer', 'run.sh')
25
25
  end
26
26
 
27
27
  def install_task
@@ -77,7 +77,7 @@ module Avm
77
77
  end
78
78
 
79
79
  def git_repo_uncached
80
- ::EacGit::Local.new(instance.source_instance.fs_path)
80
+ ::EacGit::Local.new(instance.source_instance.install_path)
81
81
  end
82
82
 
83
83
  def redmine_source_git_id
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacRedmineBase0
5
- VERSION = '0.13.0'
5
+ VERSION = '0.14.0'
6
6
  end
7
7
  end
@@ -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.39', '>= 0.39.1'
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'
@@ -15,7 +15,7 @@ module Avm
15
15
  end
16
16
 
17
17
  def document_root
18
- instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
18
+ instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
19
19
  end
20
20
 
21
21
  def extra_content
@@ -27,7 +27,7 @@ module Avm
27
27
  end
28
28
 
29
29
  def target_path
30
- ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH),
30
+ ::File.join(instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH),
31
31
  fs_path_subpath.to_s)
32
32
  end
33
33
 
@@ -38,7 +38,7 @@ module Avm
38
38
  end
39
39
 
40
40
  def git_repository_path
41
- instance.source_instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
41
+ instance.source_instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
42
42
  end
43
43
 
44
44
  def git_uncached
@@ -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::FS_PATH)
12
+ instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
13
13
  ).append_plain_directory(build_dir).run
14
14
  end
15
15
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWebappBase0
5
- VERSION = '0.5.0'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  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.35', '>= 0.35.1'
16
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.4'
17
- s.add_dependency 'eac_ruby_utils', '~> 0.98'
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
@@ -7,7 +7,7 @@ module Avm
7
7
  module Instances
8
8
  class ApacheHost < ::Avm::EacWebappBase0::ApacheHost
9
9
  def document_root
10
- instance.read_entry(::Avm::Instances::EntryKeys::FS_PATH)
10
+ instance.read_entry(::Avm::Instances::EntryKeys::INSTALL_PATH)
11
11
  end
12
12
 
13
13
  def extra_content
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWordpressBase0
5
- VERSION = '0.1.2'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
@@ -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::FS_PATH).write('/path/to/stub-app_0')
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.40'
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.11'
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'
@@ -71,7 +71,7 @@ module Avm
71
71
  def dev_instance_fs_path
72
72
  instance.if_present do |v|
73
73
  v.application.instance('dev').read_entry_optional(
74
- ::Avm::Instances::EntryKeys::FS_PATH
74
+ ::Avm::Instances::EntryKeys::INSTALL_PATH
75
75
  )
76
76
  end
77
77
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.134.0'
5
+ VERSION = '0.135.0'
6
6
  end
7
7
  end
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.26.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-18 00:00:00.000000000 Z
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.40'
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.40'
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.5'
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.5'
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.1'
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.1'
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.7'
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.7'
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.5'
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.5'
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.13'
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.13'
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.5'
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.5'
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.1'
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.1'
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.134'
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.134'
180
+ version: '0.135'
193
181
  - !ruby/object:Gem::Dependency
194
182
  name: eac_ruby_utils
195
183
  requirement: !ruby/object:Gem::Requirement