eac_tools 0.59.0 → 0.60.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +50 -50
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/aranha-parsers/aranha-parsers.gemspec +2 -5
  5. data/sub/aranha-parsers/lib/aranha/parsers/source_address/hash_http_base.rb +13 -22
  6. data/sub/aranha-parsers/lib/aranha/parsers/source_address/http_get.rb +6 -12
  7. data/sub/aranha-parsers/lib/aranha/parsers/version.rb +1 -1
  8. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec.rb +32 -0
  9. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_get.source.yml +6 -0
  10. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_get.target.yaml +10 -0
  11. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_post.source.yml +5 -0
  12. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_post.target.yaml +12 -0
  13. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/http_get.source.yml +1 -0
  14. data/sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/http_get.target.yaml +10 -0
  15. data/sub/avm/avm.gemspec +1 -1
  16. data/sub/avm/lib/avm/data/package/build_directory.rb +28 -0
  17. data/sub/avm/lib/avm/data/package/dump.rb +10 -8
  18. data/sub/avm/lib/avm/data/package/load.rb +8 -11
  19. data/sub/avm/lib/avm/data/package.rb +3 -0
  20. data/sub/avm/lib/avm/data/unit.rb +5 -0
  21. data/sub/avm/lib/avm/instances/data/files_unit.rb +8 -1
  22. data/sub/avm/lib/avm/version.rb +1 -1
  23. data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +1 -1
  24. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb +0 -1
  25. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/breadcrumbs_macro_value.rb +59 -0
  26. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb +1 -3
  27. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb +7 -1
  28. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +20 -1
  29. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  30. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec.rb +58 -18
  31. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc +7 -2
  32. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build_spec.rb +4 -20
  33. data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb +1 -6
  34. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper/eac_asciidoctor_base0_stubs.rb +55 -0
  35. data/sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb +3 -0
  36. data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +3 -3
  37. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb +0 -1
  38. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
  39. data/sub/avm-eac_php_base0/avm-eac_php_base0.gemspec +3 -3
  40. data/sub/avm-eac_php_base0/lib/avm/eac_php_base0/instances/base.rb +0 -1
  41. data/sub/avm-eac_php_base0/lib/avm/eac_php_base0/version.rb +1 -1
  42. data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +2 -2
  43. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +1 -1
  44. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +1 -1
  45. data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +1 -1
  46. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb +11 -1
  47. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  48. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +2 -2
  49. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +5 -0
  50. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  51. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +2 -2
  52. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +5 -4
  53. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  54. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +2 -2
  55. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +7 -12
  56. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/{file_unit.rb → setup_files_unit.rb} +12 -3
  57. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb +3 -4
  58. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb +2 -1
  59. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  60. data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +3 -3
  61. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/base.rb +19 -1
  62. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
  63. metadata +55 -22
  64. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/data_package.rb +0 -23
@@ -4,7 +4,8 @@ module Avm
4
4
  module EacWebappBase0
5
5
  module Instances
6
6
  class Deploy
7
- class FileUnit < ::SimpleDelegator
7
+ class SetupFilesUnit < ::SimpleDelegator
8
+ enable_method_class
8
9
  attr_reader :data_key, :fs_path_subpath
9
10
 
10
11
  def initialize(deploy, data_key, fs_path_subpath)
@@ -13,7 +14,7 @@ module Avm
13
14
  @fs_path_subpath = fs_path_subpath
14
15
  end
15
16
 
16
- def run
17
+ def result
17
18
  assert_source_directory
18
19
  link_source_target
19
20
  end
@@ -34,9 +35,17 @@ module Avm
34
35
 
35
36
  def link_source_target
36
37
  infom "Linking \"#{data_key}\" directory..."
37
- instance.host_env.command('rm', '-rf', target_path).execute!
38
+ return unless remove_target
39
+
38
40
  instance.host_env.command('ln', '-s', source_path, target_path).execute!
39
41
  end
42
+
43
+ private
44
+
45
+ # @return [Boolean]
46
+ def remove_target
47
+ instance.host_env.command('rm', '-rf', target_path).execute.fetch(:exit_code).zero?
48
+ end
40
49
  end
41
50
  end
42
51
  end
@@ -10,7 +10,7 @@ module Avm
10
10
  module EacWebappBase0
11
11
  module Instances
12
12
  class Deploy
13
- require_sub __FILE__, include_modules: true
13
+ require_sub __FILE__, include_modules: true, require_dependency: true
14
14
 
15
15
  DEFAULT_REFERENCE = 'HEAD'
16
16
 
@@ -42,9 +42,8 @@ module Avm
42
42
  end
43
43
 
44
44
  def setup_files_units
45
- instance.class.const_get('FILES_UNITS').each do |data_key, fs_path_subpath|
46
- FileUnit.new(self, data_key, fs_path_subpath).run
47
- end
45
+ instance.data_package.units.values.map(&:installation_files_data).select(&:present?)
46
+ .each { |unit_install| setup_files_unit(unit_install.key, unit_install.subpath) }
48
47
  end
49
48
 
50
49
  def assert_instance_branch
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support/core_ext/numeric/time'
4
+ require 'avm/result'
4
5
  require 'eac_cli/speaker'
5
6
  require 'eac_ruby_utils/simple_cache'
6
7
 
@@ -17,7 +18,7 @@ module Avm
17
18
  end
18
19
 
19
20
  def run
20
- return ::Dev::Result.error("Dump \"#{dump_path}\" does not exist") unless
21
+ return fatal_error("Dump \"#{dump_path}\" does not exist") unless
21
22
  ::File.exist?(dump_path)
22
23
 
23
24
  load_dump
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWebappBase0
5
- VERSION = '0.14.0'
5
+ VERSION = '0.15.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.57'
16
- s.add_dependency 'avm-eac_webapp_base0', '~> 0.13'
17
- s.add_dependency 'eac_ruby_utils', '~> 0.109'
15
+ s.add_dependency 'avm', '~> 0.67'
16
+ s.add_dependency 'avm-eac_webapp_base0', '~> 0.15'
17
+ s.add_dependency 'eac_ruby_utils', '~> 0.112'
18
18
 
19
19
  s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5', '>= 0.5.1'
20
20
  end
@@ -7,7 +7,15 @@ module Avm
7
7
  module EacWordpressBase0
8
8
  module Instances
9
9
  class Base < ::Avm::EacWebappBase0::Instances::Base
10
- FILES_UNITS = { uploads: 'wp-content/uploads', themes: 'wp-content/themes' }.freeze
10
+ THEMES_UNIT_SUBPATH = 'wp-content/themes'
11
+ UPLOADS_UNIT_SUBPATH = 'wp-content/uploads'
12
+
13
+ # @return [Avm::Instances::Data::Package]
14
+ def data_package_create
15
+ %w[database themes uploads].inject(super) do |a, e|
16
+ a.add_unit(e, send("#{e}_unit"))
17
+ end
18
+ end
11
19
 
12
20
  def database_unit
13
21
  web_url = read_entry(::Avm::Instances::EntryKeys::WEB_URL)
@@ -20,6 +28,16 @@ module Avm
20
28
  SQL
21
29
  end
22
30
  end
31
+
32
+ # @return [Avm::Instances::Data::FilesUnit]
33
+ def themes_unit
34
+ ::Avm::Instances::Data::FilesUnit.new(self, THEMES_UNIT_SUBPATH)
35
+ end
36
+
37
+ # @return [Avm::Instances::Data::FilesUnit]
38
+ def uploads_unit
39
+ ::Avm::Instances::Data::FilesUnit.new(self, UPLOADS_UNIT_SUBPATH)
40
+ end
23
41
  end
24
42
  end
25
43
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacWordpressBase0
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
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.59.0
4
+ version: 0.60.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-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,34 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.66'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.66.1
19
+ version: '0.67'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0.66'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 0.66.1
26
+ version: '0.67'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: avm-eac_asciidoctor_base0
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '0.17'
33
+ version: '0.18'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.18.1
40
37
  type: :runtime
41
38
  prerelease: false
42
39
  version_requirements: !ruby/object:Gem::Requirement
43
40
  requirements:
44
41
  - - "~>"
45
42
  - !ruby/object:Gem::Version
46
- version: '0.17'
43
+ version: '0.18'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.18.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_generic_base0
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0.3'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 0.3.1
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - "~>"
73
76
  - !ruby/object:Gem::Version
74
77
  version: '0.3'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 0.3.1
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: avm-eac_php_base0
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +87,7 @@ dependencies:
81
87
  version: '0.4'
82
88
  - - ">="
83
89
  - !ruby/object:Gem::Version
84
- version: 0.4.1
90
+ version: 0.4.2
85
91
  type: :runtime
86
92
  prerelease: false
87
93
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +97,7 @@ dependencies:
91
97
  version: '0.4'
92
98
  - - ">="
93
99
  - !ruby/object:Gem::Version
94
- version: 0.4.1
100
+ version: 0.4.2
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: avm-eac_postgresql_base0
97
103
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +107,7 @@ dependencies:
101
107
  version: '0.2'
102
108
  - - ">="
103
109
  - !ruby/object:Gem::Version
104
- version: 0.2.3
110
+ version: 0.2.4
105
111
  type: :runtime
106
112
  prerelease: false
107
113
  version_requirements: !ruby/object:Gem::Requirement
@@ -111,7 +117,7 @@ dependencies:
111
117
  version: '0.2'
112
118
  - - ">="
113
119
  - !ruby/object:Gem::Version
114
- version: 0.2.3
120
+ version: 0.2.4
115
121
  - !ruby/object:Gem::Dependency
116
122
  name: avm-eac_python_base0
117
123
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +145,9 @@ dependencies:
139
145
  - - "~>"
140
146
  - !ruby/object:Gem::Version
141
147
  version: '0.10'
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 0.10.1
142
151
  type: :runtime
143
152
  prerelease: false
144
153
  version_requirements: !ruby/object:Gem::Requirement
@@ -146,6 +155,9 @@ dependencies:
146
155
  - - "~>"
147
156
  - !ruby/object:Gem::Version
148
157
  version: '0.10'
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: 0.10.1
149
161
  - !ruby/object:Gem::Dependency
150
162
  name: avm-eac_rails_base1
151
163
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +167,7 @@ dependencies:
155
167
  version: '0.8'
156
168
  - - ">="
157
169
  - !ruby/object:Gem::Version
158
- version: 0.8.2
170
+ version: 0.8.3
159
171
  type: :runtime
160
172
  prerelease: false
161
173
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,7 +177,7 @@ dependencies:
165
177
  version: '0.8'
166
178
  - - ">="
167
179
  - !ruby/object:Gem::Version
168
- version: 0.8.2
180
+ version: 0.8.3
169
181
  - !ruby/object:Gem::Dependency
170
182
  name: avm-eac_redmine_base0
171
183
  requirement: !ruby/object:Gem::Requirement
@@ -173,6 +185,9 @@ dependencies:
173
185
  - - "~>"
174
186
  - !ruby/object:Gem::Version
175
187
  version: '0.19'
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: 0.19.1
176
191
  type: :runtime
177
192
  prerelease: false
178
193
  version_requirements: !ruby/object:Gem::Requirement
@@ -180,6 +195,9 @@ dependencies:
180
195
  - - "~>"
181
196
  - !ruby/object:Gem::Version
182
197
  version: '0.19'
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 0.19.1
183
201
  - !ruby/object:Gem::Dependency
184
202
  name: avm-eac_redmine_plugin_base0
185
203
  requirement: !ruby/object:Gem::Requirement
@@ -220,14 +238,14 @@ dependencies:
220
238
  requirements:
221
239
  - - "~>"
222
240
  - !ruby/object:Gem::Version
223
- version: '0.14'
241
+ version: '0.15'
224
242
  type: :runtime
225
243
  prerelease: false
226
244
  version_requirements: !ruby/object:Gem::Requirement
227
245
  requirements:
228
246
  - - "~>"
229
247
  - !ruby/object:Gem::Version
230
- version: '0.14'
248
+ version: '0.15'
231
249
  - !ruby/object:Gem::Dependency
232
250
  name: avm-eac_wordpress_base0
233
251
  requirement: !ruby/object:Gem::Requirement
@@ -235,6 +253,9 @@ dependencies:
235
253
  - - "~>"
236
254
  - !ruby/object:Gem::Version
237
255
  version: '0.3'
256
+ - - ">="
257
+ - !ruby/object:Gem::Version
258
+ version: 0.3.1
238
259
  type: :runtime
239
260
  prerelease: false
240
261
  version_requirements: !ruby/object:Gem::Requirement
@@ -242,6 +263,9 @@ dependencies:
242
263
  - - "~>"
243
264
  - !ruby/object:Gem::Version
244
265
  version: '0.3'
266
+ - - ">="
267
+ - !ruby/object:Gem::Version
268
+ version: 0.3.1
245
269
  - !ruby/object:Gem::Dependency
246
270
  name: avm-git
247
271
  requirement: !ruby/object:Gem::Requirement
@@ -355,6 +379,13 @@ files:
355
379
  - sub/aranha-parsers/spec/lib/aranha/parsers/rspec/shared_examples/source_target_fixtures_spec.rb
356
380
  - sub/aranha-parsers/spec/lib/aranha/parsers/rspec/shared_examples/source_target_fixtures_spec_files/fixture1.source.txt
357
381
  - sub/aranha-parsers/spec/lib/aranha/parsers/rspec/shared_examples/source_target_fixtures_spec_files/fixture1.target.yaml
382
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec.rb
383
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_get.source.yml
384
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_get.target.yaml
385
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_post.source.yml
386
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/hash_http_post.target.yaml
387
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/http_get.source.yml
388
+ - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/detect_sub_spec_files/http_get.target.yaml
358
389
  - sub/aranha-parsers/spec/lib/aranha/parsers/source_address/http_get_spec.rb
359
390
  - sub/aranha-parsers/spec/lib/aranha/parsers/source_address_spec.rb
360
391
  - sub/aranha-parsers/spec/lib/aranha/parsers/source_target_fixtures_spec.rb
@@ -375,6 +406,7 @@ files:
375
406
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb
376
407
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb
377
408
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
409
+ - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/breadcrumbs_macro_value.rb
378
410
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb
379
411
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_lines.rb
380
412
  - sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/media.rb
@@ -419,6 +451,7 @@ files:
419
451
  - sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/sources/base_spec.rb
420
452
  - sub/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
421
453
  - sub/avm-eac_asciidoctor_base0/spec/spec_helper.rb
454
+ - sub/avm-eac_asciidoctor_base0/spec/spec_helper/eac_asciidoctor_base0_stubs.rb
422
455
  - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/body.adoc
423
456
  - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/title
424
457
  - sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/theme/main.css
@@ -614,7 +647,6 @@ files:
614
647
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb
615
648
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb
616
649
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb
617
- - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/data_package.rb
618
650
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb
619
651
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb
620
652
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api.rb
@@ -835,8 +867,8 @@ files:
835
867
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb
836
868
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb
837
869
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb
838
- - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/file_unit.rb
839
870
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/scm.rb
871
+ - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/setup_files_unit.rb
840
872
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/version.rb
841
873
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/write_on_target.rb
842
874
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb
@@ -1088,6 +1120,7 @@ files:
1088
1120
  - sub/avm/lib/avm/applications/base/stereotype.rb
1089
1121
  - sub/avm/lib/avm/data/callbacks.rb
1090
1122
  - sub/avm/lib/avm/data/package.rb
1123
+ - sub/avm/lib/avm/data/package/build_directory.rb
1091
1124
  - sub/avm/lib/avm/data/package/dump.rb
1092
1125
  - sub/avm/lib/avm/data/package/load.rb
1093
1126
  - sub/avm/lib/avm/data/rotate.rb
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/instances/data/package'
4
- require 'eac_ruby_utils/core_ext'
5
-
6
- module Avm
7
- module EacRedmineBase0
8
- module Instances
9
- class DataPackage < ::Avm::Instances::Data::Package
10
- after_load :run_installer
11
-
12
- def initialize(instance, options = {})
13
- super(instance, options.merge(units: options[:units].if_present({}).merge(
14
- database: instance.database_unit, files: instance.files_data_unit,
15
- gitolite: instance.gitolite_data_unit
16
- )))
17
- end
18
-
19
- delegate :run_installer, to: :instance
20
- end
21
- end
22
- end
23
- end