eac_tools 0.62.1 → 0.64.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +33 -33
  3. data/lib/eac_tools/version.rb +1 -1
  4. data/sub/avm/avm.gemspec +2 -2
  5. data/sub/avm/lib/avm/data/package.rb +11 -0
  6. data/sub/avm/lib/avm/instances/base/subcommand_parent.rb +25 -0
  7. data/sub/avm/lib/avm/instances/data/files_unit.rb +2 -2
  8. data/sub/avm/lib/avm/instances/data/unit.rb +12 -0
  9. data/sub/avm/lib/avm/instances/entry_keys.rb +1 -0
  10. data/sub/avm/lib/avm/version.rb +1 -1
  11. data/sub/avm-eac_postgresql_base0/Gemfile +3 -0
  12. data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +3 -3
  13. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb +16 -16
  14. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +0 -4
  15. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb +5 -0
  16. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +1 -1
  17. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +3 -3
  18. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb +2 -10
  19. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb +3 -1
  20. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  21. data/sub/avm-tools/avm-tools.gemspec +11 -11
  22. data/sub/{avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners → avm-tools/lib/avm/tools/runner/instance}/data/dump.rb +11 -6
  23. data/sub/avm-tools/lib/avm/tools/runner/instance/data/load.rb +58 -0
  24. data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit/clear.rb +24 -0
  25. data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit/dump.rb +41 -0
  26. data/sub/avm-tools/lib/avm/tools/runner/instance/data/unit.rb +42 -0
  27. data/sub/{avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners → avm-tools/lib/avm/tools/runner/instance}/data.rb +4 -3
  28. data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
  29. data/sub/eac_cli/eac_cli.gemspec +1 -1
  30. data/sub/eac_cli/lib/eac_cli/definition/base_option.rb +3 -1
  31. data/sub/eac_cli/lib/eac_cli/definition/default_value.rb +17 -0
  32. data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +22 -23
  33. data/sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb +40 -0
  34. data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +15 -4
  35. data/sub/eac_cli/lib/eac_cli/runner_with/input.rb +1 -1
  36. data/sub/eac_cli/lib/eac_cli/runner_with/output.rb +1 -1
  37. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +2 -2
  38. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  39. data/sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb +21 -0
  40. data/sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +0 -1
  41. data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
  42. data/sub/eac_ruby_utils/lib/eac_ruby_utils/{abstract_methods.rb → acts_as_abstract.rb} +4 -4
  43. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/class/abstract.rb +2 -2
  44. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb +3 -3
  45. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/acts_as_abstract.rb +14 -0
  46. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb +5 -1
  47. data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/base.rb +14 -1
  48. data/sub/eac_ruby_utils/lib/eac_ruby_utils/require_sub/sub_file.rb +2 -11
  49. data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +2 -2
  50. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  51. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/{abstract_methods_spec.rb → acts_as_abstract_spec.rb} +2 -2
  52. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb +1 -1
  53. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/acts_as_abstract_spec.rb +14 -0
  54. metadata +26 -29
  55. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb +0 -26
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.62.1
4
+ version: 0.64.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: 2023-05-09 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.68'
19
+ version: '0.70'
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.68'
26
+ version: '0.70'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: avm-eac_asciidoctor_base0
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
- version: '0.3'
101
+ version: '0.5'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '0.3'
108
+ version: '0.5'
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: avm-eac_python_base0
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -226,20 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '0.15'
230
- - - ">="
231
- - !ruby/object:Gem::Version
232
- version: 0.15.1
229
+ version: '0.17'
233
230
  type: :runtime
234
231
  prerelease: false
235
232
  version_requirements: !ruby/object:Gem::Requirement
236
233
  requirements:
237
234
  - - "~>"
238
235
  - !ruby/object:Gem::Version
239
- version: '0.15'
240
- - - ">="
241
- - !ruby/object:Gem::Version
242
- version: 0.15.1
236
+ version: '0.17'
243
237
  - !ruby/object:Gem::Dependency
244
238
  name: avm-eac_wordpress_base0
245
239
  requirement: !ruby/object:Gem::Requirement
@@ -286,34 +280,28 @@ dependencies:
286
280
  requirements:
287
281
  - - "~>"
288
282
  - !ruby/object:Gem::Version
289
- version: '0.145'
290
- - - ">="
291
- - !ruby/object:Gem::Version
292
- version: 0.145.1
283
+ version: '0.146'
293
284
  type: :runtime
294
285
  prerelease: false
295
286
  version_requirements: !ruby/object:Gem::Requirement
296
287
  requirements:
297
288
  - - "~>"
298
289
  - !ruby/object:Gem::Version
299
- version: '0.145'
300
- - - ">="
301
- - !ruby/object:Gem::Version
302
- version: 0.145.1
290
+ version: '0.146'
303
291
  - !ruby/object:Gem::Dependency
304
292
  name: eac_ruby_utils
305
293
  requirement: !ruby/object:Gem::Requirement
306
294
  requirements:
307
295
  - - "~>"
308
296
  - !ruby/object:Gem::Version
309
- version: '0.112'
297
+ version: '0.114'
310
298
  type: :runtime
311
299
  prerelease: false
312
300
  version_requirements: !ruby/object:Gem::Requirement
313
301
  requirements:
314
302
  - - "~>"
315
303
  - !ruby/object:Gem::Version
316
- version: '0.112'
304
+ version: '0.114'
317
305
  - !ruby/object:Gem::Dependency
318
306
  name: eac_ruby_gem_support
319
307
  requirement: !ruby/object:Gem::Requirement
@@ -871,7 +859,6 @@ files:
871
859
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_host.rb
872
860
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/apache_path.rb
873
861
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base.rb
874
- - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
875
862
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy.rb
876
863
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/appended_directories.rb
877
864
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/deploy/build.rb
@@ -882,8 +869,6 @@ files:
882
869
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners.rb
883
870
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_host.rb
884
871
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/apache_path.rb
885
- - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data.rb
886
- - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/dump.rb
887
872
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/data/load.rb
888
873
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/runners/deploy.rb
889
874
  - sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/sources.rb
@@ -1068,6 +1053,12 @@ files:
1068
1053
  - sub/avm-tools/lib/avm/tools/runner/git/subrepo/clone.rb
1069
1054
  - sub/avm-tools/lib/avm/tools/runner/git/subrepo/fix.rb
1070
1055
  - sub/avm-tools/lib/avm/tools/runner/instance.rb
1056
+ - sub/avm-tools/lib/avm/tools/runner/instance/data.rb
1057
+ - sub/avm-tools/lib/avm/tools/runner/instance/data/dump.rb
1058
+ - sub/avm-tools/lib/avm/tools/runner/instance/data/load.rb
1059
+ - sub/avm-tools/lib/avm/tools/runner/instance/data/unit.rb
1060
+ - sub/avm-tools/lib/avm/tools/runner/instance/data/unit/clear.rb
1061
+ - sub/avm-tools/lib/avm/tools/runner/instance/data/unit/dump.rb
1071
1062
  - sub/avm-tools/lib/avm/tools/runner/instance/info.rb
1072
1063
  - sub/avm-tools/lib/avm/tools/runner/launcher.rb
1073
1064
  - sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb
@@ -1177,6 +1168,7 @@ files:
1177
1168
  - sub/avm/lib/avm/instances/base/dockerizable.rb
1178
1169
  - sub/avm/lib/avm/instances/base/entry_keys.rb
1179
1170
  - sub/avm/lib/avm/instances/base/install.rb
1171
+ - sub/avm/lib/avm/instances/base/subcommand_parent.rb
1180
1172
  - sub/avm/lib/avm/instances/base/web.rb
1181
1173
  - sub/avm/lib/avm/instances/data.rb
1182
1174
  - sub/avm/lib/avm/instances/data/files_unit.rb
@@ -1336,6 +1328,7 @@ files:
1336
1328
  - sub/eac_cli/lib/eac_cli/definition/base_option.rb
1337
1329
  - sub/eac_cli/lib/eac_cli/definition/base_option/initialize_args_parser.rb
1338
1330
  - sub/eac_cli/lib/eac_cli/definition/boolean_option.rb
1331
+ - sub/eac_cli/lib/eac_cli/definition/default_value.rb
1339
1332
  - sub/eac_cli/lib/eac_cli/definition/positional_argument.rb
1340
1333
  - sub/eac_cli/lib/eac_cli/enum.rb
1341
1334
  - sub/eac_cli/lib/eac_cli/old_configs.rb
@@ -1370,6 +1363,7 @@ files:
1370
1363
  - sub/eac_cli/lib/eac_cli/runner_with/help.rb
1371
1364
  - sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb
1372
1365
  - sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb
1366
+ - sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb
1373
1367
  - sub/eac_cli/lib/eac_cli/runner_with/input.rb
1374
1368
  - sub/eac_cli/lib/eac_cli/runner_with/output.rb
1375
1369
  - sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb
@@ -1387,6 +1381,7 @@ files:
1387
1381
  - sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
1388
1382
  - sub/eac_cli/spec/lib/eac_cli/runner_spec.rb
1389
1383
  - sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation_spec.rb
1384
+ - sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
1390
1385
  - sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
1391
1386
  - sub/eac_cli/spec/lib/eac_cli/runner_with/output_spec.rb
1392
1387
  - sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
@@ -1756,7 +1751,7 @@ files:
1756
1751
  - sub/eac_ruby_utils/README.rdoc
1757
1752
  - sub/eac_ruby_utils/eac_ruby_utils.gemspec
1758
1753
  - sub/eac_ruby_utils/lib/eac_ruby_utils.rb
1759
- - sub/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb
1754
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/acts_as_abstract.rb
1760
1755
  - sub/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb
1761
1756
  - sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb
1762
1757
  - sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb
@@ -1862,6 +1857,7 @@ files:
1862
1857
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb
1863
1858
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb
1864
1859
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb
1860
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/acts_as_abstract.rb
1865
1861
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb
1866
1862
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/compare_by.rb
1867
1863
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb
@@ -1931,7 +1927,7 @@ files:
1931
1927
  - sub/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
1932
1928
  - sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb
1933
1929
  - sub/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
1934
- - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb
1930
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/acts_as_abstract_spec.rb
1935
1931
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb
1936
1932
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb
1937
1933
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb
@@ -1959,6 +1955,7 @@ files:
1959
1955
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
1960
1956
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/addressable/uri/query_value_spec.rb
1961
1957
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/abstract_spec.rb
1958
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/acts_as_abstract_spec.rb
1962
1959
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/method_class_spec.rb
1963
1960
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/self_included_modules_spec.rb
1964
1961
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/class/static_method_class_spec.rb
@@ -1,26 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
-
5
- module Avm
6
- module EacWebappBase0
7
- module Instances
8
- class Base < ::Avm::Instances::Base
9
- class SubcommandParent
10
- enable_simple_cache
11
- common_constructor :instance
12
-
13
- private
14
-
15
- def runner_context_uncached
16
- ::EacCli::Runner::Context.new(self, argv: runner_argv)
17
- end
18
-
19
- def runner_argv
20
- [instance.class.name.split('::')[-2].dasherize, instance.id]
21
- end
22
- end
23
- end
24
- end
25
- end
26
- end