avm-tools 0.114.2 → 0.116.1

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/lib/avm/tools/runner/git/deploy.rb +1 -1
  3. data/lib/avm/tools/version.rb +1 -1
  4. data/sub/avm/lib/avm/instances/base/auto_values/database.rb +2 -2
  5. data/sub/avm/lib/avm/instances/entry_keys.rb +4 -1
  6. data/sub/avm/lib/avm/self/instance.rb +0 -1
  7. data/sub/avm/lib/avm/sources/base/instance.rb +28 -0
  8. data/sub/avm/lib/avm/version.rb +1 -1
  9. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build/file.rb +1 -1
  10. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/build.rb +2 -2
  11. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner/build.rb +1 -1
  12. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runner.rb +2 -2
  13. data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  14. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb +77 -0
  15. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb +23 -12
  16. data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +1 -1
  17. data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +1 -1
  18. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +1 -1
  19. data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
  20. data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +1 -1
  21. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb +46 -0
  22. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb +17 -0
  23. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb +70 -0
  24. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb +29 -0
  25. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb +57 -0
  26. data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  27. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service +12 -0
  28. data/sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh +6 -0
  29. data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
  30. data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  31. data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +3 -3
  32. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +6 -0
  33. data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +1 -1
  34. data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +1 -1
  35. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb +7 -0
  36. data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  37. data/sub/eac_cli/lib/eac_cli/runner/context.rb +4 -0
  38. data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +10 -0
  39. data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +1 -1
  40. data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
  41. data/sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +6 -1
  42. data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
  43. data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb +46 -0
  44. data/sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb +81 -0
  45. data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte.rb +105 -0
  46. data/sub/eac_ruby_utils/lib/eac_ruby_utils/byte_array.rb +36 -0
  47. data/sub/eac_ruby_utils/lib/eac_ruby_utils/envs/process.rb +12 -4
  48. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb +11 -0
  49. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_noext.rb +10 -0
  50. data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb +13 -0
  51. data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  52. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb +22 -0
  53. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/byte_spec.rb +54 -0
  54. data/sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_noext_spec.rb +26 -0
  55. metadata +38 -14
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.114.2
4
+ version: 0.116.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -30,84 +30,90 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.13'
33
+ version: '0.18'
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.13'
40
+ version: '0.18'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: avm-eac_asciidoctor_base0
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.3'
45
48
  - - ">="
46
49
  - !ruby/object:Gem::Version
47
- version: '0'
50
+ version: 0.3.4
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '0.3'
52
58
  - - ">="
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: 0.3.4
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: avm-eac_rails_base0
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0.1'
67
+ version: '0.3'
62
68
  type: :runtime
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0.1'
74
+ version: '0.3'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: avm-eac_redmine_base0
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '0.4'
81
+ version: '0.5'
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '0.4'
88
+ version: '0.5'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: avm-eac_ruby_base1
85
91
  requirement: !ruby/object:Gem::Requirement
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: '0.1'
95
+ version: '0.2'
90
96
  type: :runtime
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: '0.1'
102
+ version: '0.2'
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: avm-eac_ubuntu_base0
99
105
  requirement: !ruby/object:Gem::Requirement
100
106
  requirements:
101
107
  - - "~>"
102
108
  - !ruby/object:Gem::Version
103
- version: '0.2'
109
+ version: '0.3'
104
110
  type: :runtime
105
111
  prerelease: false
106
112
  version_requirements: !ruby/object:Gem::Requirement
107
113
  requirements:
108
114
  - - "~>"
109
115
  - !ruby/object:Gem::Version
110
- version: '0.2'
116
+ version: '0.3'
111
117
  - !ruby/object:Gem::Dependency
112
118
  name: avm-files
113
119
  requirement: !ruby/object:Gem::Requirement
@@ -460,6 +466,7 @@ files:
460
466
  - sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec
461
467
  - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb
462
468
  - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance.rb
469
+ - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/assert.rb
463
470
  - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance/data_unit.rb
464
471
  - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/instance_with.rb
465
472
  - sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb
@@ -496,11 +503,18 @@ files:
496
503
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb
497
504
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb
498
505
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb
506
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler.rb
507
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/tasks_scheduler/systemd_unit.rb
499
508
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
500
509
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
510
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit.rb
511
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/service.rb
512
+ - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.rb
501
513
  - sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb
502
514
  - sub/avm-eac_rails_base1/spec/rubocop_spec.rb
503
515
  - sub/avm-eac_rails_base1/spec/spec_helper.rb
516
+ - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler.service
517
+ - sub/avm-eac_rails_base1/template/avm/eac_rails_base1/systemd_unit/tasks_scheduler_command.sh
504
518
  - sub/avm-eac_redmine_base0/Gemfile
505
519
  - sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec
506
520
  - sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb
@@ -740,6 +754,7 @@ files:
740
754
  - sub/avm/lib/avm/sources.rb
741
755
  - sub/avm/lib/avm/sources/base.rb
742
756
  - sub/avm/lib/avm/sources/base/configuration.rb
757
+ - sub/avm/lib/avm/sources/base/instance.rb
743
758
  - sub/avm/lib/avm/sources/base/testing.rb
744
759
  - sub/avm/lib/avm/sources/configuration.rb
745
760
  - sub/avm/lib/avm/sources/configuration/_locale.rb
@@ -1195,9 +1210,13 @@ files:
1195
1210
  - sub/eac_ruby_utils/lib/eac_ruby_utils.rb
1196
1211
  - sub/eac_ruby_utils/lib/eac_ruby_utils/abstract_methods.rb
1197
1212
  - sub/eac_ruby_utils/lib/eac_ruby_utils/arguments_consumer.rb
1213
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/bit.rb
1214
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/bit_array.rb
1198
1215
  - sub/eac_ruby_utils/lib/eac_ruby_utils/blank_not_blank.rb
1199
1216
  - sub/eac_ruby_utils/lib/eac_ruby_utils/boolean.rb
1200
1217
  - sub/eac_ruby_utils/lib/eac_ruby_utils/by_reference.rb
1218
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/byte.rb
1219
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/byte_array.rb
1201
1220
  - sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb
1202
1221
  - sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/class_setup.rb
1203
1222
  - sub/eac_ruby_utils/lib/eac_ruby_utils/common_concern/module_setup.rb
@@ -1298,11 +1317,13 @@ files:
1298
1317
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
1299
1318
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_uri.rb
1300
1319
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
1320
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_noext.rb
1301
1321
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
1302
1322
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb
1303
1323
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb
1304
1324
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb
1305
1325
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb
1326
+ - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb
1306
1327
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
1307
1328
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
1308
1329
  - sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
@@ -1335,7 +1356,9 @@ files:
1335
1356
  - sub/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
1336
1357
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/abstract_methods_spec.rb
1337
1358
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/arguments_consumer_spec.rb
1359
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/bit_array_spec.rb
1338
1360
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/blank_not_blank_spec.rb
1361
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/byte_spec.rb
1339
1362
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_concern_spec.rb
1340
1363
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/common_constructor_spec.rb
1341
1364
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/compact_spec.rb
@@ -1366,6 +1389,7 @@ files:
1366
1389
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/compact_spec.rb
1367
1390
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb
1368
1391
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
1392
+ - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_noext_spec.rb
1369
1393
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb
1370
1394
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
1371
1395
  - sub/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/string/delimited_spec.rb