eac_tools 0.60.0 → 0.60.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +51 -51
  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/version.rb +1 -1
  26. data/sub/avm-eac_latex_base0/avm-eac_latex_base0.gemspec +3 -3
  27. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/instances/base.rb +0 -1
  28. data/sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/version.rb +1 -1
  29. data/sub/avm-eac_php_base0/avm-eac_php_base0.gemspec +3 -3
  30. data/sub/avm-eac_php_base0/lib/avm/eac_php_base0/instances/base.rb +0 -1
  31. data/sub/avm-eac_php_base0/lib/avm/eac_php_base0/version.rb +1 -1
  32. data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +2 -2
  33. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +1 -1
  34. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +1 -1
  35. data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +1 -1
  36. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/instances/base.rb +11 -1
  37. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  38. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +2 -2
  39. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/instances/base.rb +5 -0
  40. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  41. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +2 -2
  42. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +5 -4
  43. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +7 -2
  44. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  45. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_path_dockerfile +5 -0
  46. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +2 -2
  47. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +7 -12
  48. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/{file_unit.rb → setup_files_unit.rb} +12 -3
  49. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb +3 -4
  50. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb +2 -1
  51. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  52. data/sub/avm-eac_wordpress_base0/avm-eac_wordpress_base0.gemspec +3 -3
  53. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/instances/base.rb +19 -1
  54. data/sub/avm-eac_wordpress_base0/lib/avm/eac_wordpress_base0/version.rb +1 -1
  55. metadata +53 -21
  56. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/data_package.rb +0 -23
  57. /data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/{Dockerfile_apache_setup → apache_host_dockerfile} +0 -0
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.60.0
4
+ version: 0.60.2
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-07 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,20 +16,14 @@ 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
@@ -37,6 +31,9 @@ dependencies:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
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
@@ -44,6 +41,9 @@ dependencies:
44
41
  - - "~>"
45
42
  - !ruby/object:Gem::Version
46
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.2
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.2
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
@@ -616,7 +647,6 @@ files:
616
647
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb
617
648
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb
618
649
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb
619
- - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/data_package.rb
620
650
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb
621
651
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb
622
652
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api.rb
@@ -641,9 +671,10 @@ files:
641
671
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/install.sh.template
642
672
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/deploy/config/secrets.yml
643
673
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template
644
- - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile_apache_setup
674
+ - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_host_dockerfile
645
675
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_http_virtualhost.conf.template
646
676
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
677
+ - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_path_dockerfile
647
678
  - sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
648
679
  - sub/avm-eac_redmine_plugin_base0/Gemfile
649
680
  - sub/avm-eac_redmine_plugin_base0/avm-eac_redmine_plugin_base0.gemspec
@@ -837,8 +868,8 @@ files:
837
868
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb
838
869
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb
839
870
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb
840
- - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/file_unit.rb
841
871
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/scm.rb
872
+ - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/setup_files_unit.rb
842
873
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/version.rb
843
874
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/write_on_target.rb
844
875
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb
@@ -1090,6 +1121,7 @@ files:
1090
1121
  - sub/avm/lib/avm/applications/base/stereotype.rb
1091
1122
  - sub/avm/lib/avm/data/callbacks.rb
1092
1123
  - sub/avm/lib/avm/data/package.rb
1124
+ - sub/avm/lib/avm/data/package/build_directory.rb
1093
1125
  - sub/avm/lib/avm/data/package/dump.rb
1094
1126
  - sub/avm/lib/avm/data/package/load.rb
1095
1127
  - 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