avm-tools 0.74.0 → 0.76.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/eac_rails_base0/instance.rb +2 -5
- data/lib/avm/{rails/runners.rb → eac_rails_base1.rb} +2 -4
- data/lib/avm/{rails → eac_rails_base1}/instance.rb +8 -3
- data/lib/avm/eac_rails_base1/runner.rb +12 -0
- data/lib/avm/eac_rails_base1/runner/bundle.rb +28 -0
- data/lib/avm/eac_rails_base1/runner/code_runner.rb +28 -0
- data/lib/avm/eac_rails_base1/runner_with/bundle.rb +57 -0
- data/lib/avm/eac_redmine_base0/instance.rb +2 -4
- data/lib/avm/{stereotypes/eac_ubuntu_base0.rb → eac_ubuntu_base0.rb} +1 -3
- data/lib/avm/eac_webapp_base0/deploy.rb +17 -40
- data/lib/avm/eac_webapp_base0/deploy/build.rb +48 -0
- data/lib/avm/eac_webapp_base0/deploy/git_info.rb +13 -0
- data/lib/avm/eac_webapp_base0/deploy/version.rb +4 -0
- data/lib/avm/eac_webapp_base0/deploy/write_on_target.rb +18 -0
- data/lib/avm/eac_webapp_base0/instance.rb +2 -2
- data/lib/avm/eac_webapp_base0/runner.rb +12 -0
- data/lib/avm/eac_webapp_base0/runner/apache_host.rb +2 -3
- data/lib/avm/eac_webapp_base0/runner/data.rb +1 -1
- data/lib/avm/eac_webapp_base0/runner/data/dump.rb +1 -1
- data/lib/avm/eac_webapp_base0/runner/data/load.rb +1 -1
- data/lib/avm/eac_webapp_base0/runner/deploy.rb +4 -16
- data/lib/avm/eac_wordpress_base0.rb +9 -0
- data/lib/avm/eac_wordpress_base0/apache_host.rb +25 -0
- data/lib/avm/eac_wordpress_base0/deploy.rb +10 -0
- data/lib/avm/eac_wordpress_base0/instance.rb +24 -0
- data/lib/avm/eac_writings_base0/apache_host.rb +17 -0
- data/lib/avm/eac_writings_base0/deploy.rb +36 -0
- data/lib/avm/eac_writings_base0/instance.rb +11 -0
- data/lib/avm/files/appendable.rb +55 -0
- data/lib/avm/files/appendable/file_content.rb +24 -0
- data/lib/avm/files/appendable/plain_directory.rb +25 -0
- data/lib/avm/files/appendable/resource_base.rb +13 -0
- data/lib/avm/files/appendable/tar_output_command.rb +26 -0
- data/lib/avm/files/appendable/templatized_directory.rb +28 -0
- data/lib/avm/files/appender.rb +11 -0
- data/lib/avm/files/deploy.rb +72 -0
- data/lib/avm/files/formatter.rb +8 -4
- data/lib/avm/git/auto_commit_path.rb +2 -4
- data/lib/avm/git/auto_commit_path/ruby.rb +20 -0
- data/lib/avm/git/commit/deploy.rb +8 -61
- data/lib/avm/instances/runner.rb +40 -0
- data/lib/avm/{stereotypes/postgresql.rb → postgresql.rb} +1 -3
- data/lib/avm/postgresql/instance.rb +63 -0
- data/lib/avm/postgresql/instance/data_unit.rb +39 -0
- data/lib/avm/postgresql/instance_with.rb +18 -0
- data/lib/avm/tools/runner.rb +3 -3
- data/lib/avm/tools/runner/eac_rails_base0.rb +5 -18
- data/lib/avm/tools/runner/eac_rails_base0/apache_path.rb +1 -1
- data/lib/avm/tools/runner/eac_rails_base0/rails_server.rb +7 -12
- data/lib/avm/tools/runner/eac_rails_base0/runner.rb +3 -3
- data/lib/avm/tools/runner/eac_redmine_base0.rb +5 -23
- data/lib/avm/tools/runner/eac_redmine_base0/core_update.rb +1 -1
- data/lib/avm/tools/runner/eac_redmine_base0/docker.rb +1 -1
- data/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +9 -18
- data/lib/avm/tools/runner/eac_wordpress_base0.rb +5 -24
- data/lib/avm/tools/runner/{eac_rails_base0/data.rb → eac_writings_base0.rb} +4 -4
- data/lib/avm/tools/runner/files/format.rb +3 -2
- data/lib/avm/tools/runner/git/auto_commit.rb +11 -0
- data/lib/avm/tools/runner/git/deploy.rb +1 -1
- data/lib/avm/tools/version.rb +1 -1
- data/template/avm/{stereotypes/eac_ubuntu_base0 → eac_ubuntu_base0}/docker_image/Dockerfile +0 -0
- data/template/avm/{stereotypes/eac_wordpress_base0 → eac_wordpress_base0}/deploy/wp-config.php.template +0 -0
- data/template/avm/eac_writings_base0/deploy/index.html.template +9 -0
- data/vendor/eac_cli/eac_cli.gemspec +1 -1
- data/vendor/eac_cli/lib/eac_cli/definition.rb +35 -3
- data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +17 -1
- data/vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb +76 -0
- data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +21 -4
- data/vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb +1 -0
- data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +4 -0
- data/vendor/eac_cli/lib/eac_cli/parser/options_collection.rb +27 -64
- data/vendor/eac_cli/lib/eac_cli/parser/parse_result.rb +17 -0
- data/vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb +47 -19
- data/vendor/eac_cli/lib/eac_cli/patches/object/runner_with.rb +2 -1
- data/vendor/eac_cli/lib/eac_cli/runner.rb +4 -0
- data/vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb +96 -0
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb +25 -0
- data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +48 -40
- data/vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +57 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs.rb +4 -39
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/read_entry_options.rb +41 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb +4 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb +9 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb +14 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb +17 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb +26 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb +32 -0
- metadata +48 -33
- data/lib/avm/git/commit/deploy/appended.rb +0 -37
- data/lib/avm/git/commit/deploy/appended/base.rb +0 -17
- data/lib/avm/git/commit/deploy/appended/directory.rb +0 -32
- data/lib/avm/git/commit/deploy/appended/file_content.rb +0 -28
- data/lib/avm/rails/runners/bundle.rb +0 -35
- data/lib/avm/rails/runners/runner.rb +0 -48
- data/lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb +0 -27
- data/lib/avm/stereotypes/eac_wordpress_base0/deploy.rb +0 -12
- data/lib/avm/stereotypes/eac_wordpress_base0/instance.rb +0 -26
- data/lib/avm/stereotypes/postgresql/instance.rb +0 -65
- data/lib/avm/stereotypes/postgresql/instance/data_unit.rb +0 -41
- data/lib/avm/stereotypes/postgresql/instance_with.rb +0 -20
- data/lib/avm/stereotypes/rails.rb +0 -11
- data/lib/avm/tools/runner/eac_rails_base0/apache_host.rb +0 -16
- data/lib/avm/tools/runner/eac_rails_base0/bundle.rb +0 -14
- data/lib/avm/tools/runner/eac_rails_base0/deploy.rb +0 -15
- data/lib/avm/tools/runner/eac_redmine_base0/bundle.rb +0 -14
- data/lib/avm/tools/runner/eac_redmine_base0/data.rb +0 -27
- data/lib/avm/tools/runner/eac_redmine_base0/data/dump.rb +0 -16
- data/lib/avm/tools/runner/eac_redmine_base0/deploy.rb +0 -15
- data/lib/avm/tools/runner/eac_redmine_base0/runner.rb +0 -14
- data/lib/avm/tools/runner/eac_wordpress_base0/apache_host.rb +0 -17
- data/lib/avm/tools/runner/eac_wordpress_base0/data.rb +0 -15
- data/lib/avm/tools/runner/eac_wordpress_base0/deploy.rb +0 -15
@@ -4,67 +4,75 @@ require 'eac_ruby_utils/console/docopt_runner'
|
|
4
4
|
require 'eac_cli/runner'
|
5
5
|
|
6
6
|
RSpec.describe ::EacCli::Runner do
|
7
|
-
let(:
|
8
|
-
|
7
|
+
let(:runner_class) do
|
8
|
+
the_module = described_class
|
9
|
+
::Class.new do
|
10
|
+
include the_module
|
11
|
+
|
12
|
+
runner_definition do
|
13
|
+
arg_opt '-o', '--opt1', 'A arg option.'
|
14
|
+
bool_opt '-o', '--opt2', 'A boolean option'
|
15
|
+
pos_arg :pos1
|
16
|
+
pos_arg :pos2, repeat: true, optional: true
|
17
|
+
alt do
|
18
|
+
bool_opt '-a', '--opt3', 'A boolean option in a alternative.', required: true
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
9
22
|
def run; end
|
10
23
|
end
|
11
|
-
r.include described_class
|
12
|
-
r.runner_definition do
|
13
|
-
desc 'A stub runner.'
|
14
|
-
arg_opt '-o', '--opt1', 'A argument option'
|
15
|
-
pos_arg 'pos1'
|
16
|
-
end
|
17
|
-
r
|
18
24
|
end
|
19
25
|
|
20
|
-
|
26
|
+
context 'when all args are supplied' do
|
27
|
+
let(:instance) { runner_class.create(%w[--opt1 aaa --opt2 bbb ccc ddd]) }
|
28
|
+
|
29
|
+
it { expect(instance.parsed.opt1).to eq('aaa') }
|
30
|
+
it { expect(instance.parsed.opt2?).to eq(true) }
|
31
|
+
it { expect(instance.parsed.pos1).to eq('bbb') }
|
32
|
+
it { expect(instance.parsed.pos2).to eq(%w[ccc ddd]) }
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'when only required args are supplied' do
|
36
|
+
let(:instance) { runner_class.create(%w[bbb]) }
|
37
|
+
|
38
|
+
it { expect(instance.parsed.opt1).to be_nil }
|
39
|
+
it { expect(instance.parsed.opt2?).to eq(false) }
|
40
|
+
it { expect(instance.parsed.pos1).to eq('bbb') }
|
41
|
+
it { expect(instance.parsed.pos2).to eq([]) }
|
42
|
+
end
|
43
|
+
|
44
|
+
context 'when required args are not supplied' do
|
45
|
+
let(:instance) { runner_class.create(%w[]) }
|
21
46
|
|
22
|
-
|
47
|
+
it do
|
48
|
+
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
context 'when alternative args are supplied' do
|
53
|
+
let(:instance) { runner_class.create(%w[--opt3]) }
|
23
54
|
|
24
|
-
|
25
|
-
|
55
|
+
it { expect(instance.parsed.opt3?).to eq(true) }
|
56
|
+
end
|
26
57
|
|
27
|
-
context '
|
58
|
+
context 'when extra args are not supplied' do
|
28
59
|
let(:runner_class) do
|
29
60
|
the_module = described_class
|
30
61
|
::Class.new do
|
31
62
|
include the_module
|
32
63
|
|
33
64
|
runner_definition do
|
34
|
-
arg_opt '-o', '--opt1', 'A arg option.'
|
35
|
-
bool_opt '-o', '--opt2', 'A boolean option'
|
36
65
|
pos_arg :pos1
|
37
|
-
pos_arg :pos2, repeat: true, optional: true
|
38
66
|
end
|
39
67
|
|
40
68
|
def run; end
|
41
69
|
end
|
42
70
|
end
|
43
71
|
|
44
|
-
|
45
|
-
let(:instance) { runner_class.create(%w[--opt1 aaa --opt2 bbb ccc ddd]) }
|
46
|
-
|
47
|
-
it { expect(instance.parsed.opt1).to eq('aaa') }
|
48
|
-
it { expect(instance.parsed.opt2?).to eq(true) }
|
49
|
-
it { expect(instance.parsed.pos1).to eq('bbb') }
|
50
|
-
it { expect(instance.parsed.pos2).to eq(%w[ccc ddd]) }
|
51
|
-
end
|
72
|
+
let(:instance) { runner_class.create(%w[aaa bbb]) }
|
52
73
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
it { expect(instance.parsed.opt1).to be_nil }
|
57
|
-
it { expect(instance.parsed.opt2?).to eq(false) }
|
58
|
-
it { expect(instance.parsed.pos1).to eq('bbb') }
|
59
|
-
it { expect(instance.parsed.pos2).to eq([]) }
|
60
|
-
end
|
61
|
-
|
62
|
-
context 'when required args are not supplied' do
|
63
|
-
let(:instance) { runner_class.create(%w[]) }
|
64
|
-
|
65
|
-
it do
|
66
|
-
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
67
|
-
end
|
74
|
+
it do
|
75
|
+
expect { instance.parsed }.to raise_error(::EacCli::Parser::Error)
|
68
76
|
end
|
69
77
|
end
|
70
78
|
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner'
|
4
|
+
require 'eac_cli/runner_with/subcommands'
|
5
|
+
|
6
|
+
RSpec.describe ::EacCli::RunnerWith::Subcommands do
|
7
|
+
let(:parent_runner) do
|
8
|
+
the_module = described_class
|
9
|
+
the_child = child_runner
|
10
|
+
Class.new do
|
11
|
+
include ::EacCli::Runner
|
12
|
+
include the_module
|
13
|
+
const_set('ChildCmd', the_child)
|
14
|
+
|
15
|
+
runner_definition do
|
16
|
+
desc 'A stub root runner.'
|
17
|
+
arg_opt '-r', '--root-var', 'A root variable.'
|
18
|
+
subcommands
|
19
|
+
end
|
20
|
+
|
21
|
+
delegate :root_var, to: :parsed
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
let(:child_runner) do
|
26
|
+
::Class.new do
|
27
|
+
include ::EacCli::Runner
|
28
|
+
|
29
|
+
runner_definition do
|
30
|
+
bool_opt '-c', '--child-opt', 'A boolean option.'
|
31
|
+
pos_arg :child_var
|
32
|
+
end
|
33
|
+
|
34
|
+
def run; end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
let(:instance) { parent_runner.create(argv: parent_argv) }
|
39
|
+
|
40
|
+
context 'when subcommand is supplied' do
|
41
|
+
let(:parent_argv) { %w[--root-var 123 child-cmd --child-opt 456] }
|
42
|
+
|
43
|
+
it { expect(instance.parsed.root_var).to eq('123') }
|
44
|
+
it { expect(instance.parsed.subcommand).to eq('child-cmd') }
|
45
|
+
it { expect(instance.parsed.subcommand_args).to eq(%w[--child-opt 456]) }
|
46
|
+
it { expect(instance.subcommand_runner.parsed.child_opt).to eq(true) }
|
47
|
+
it { expect(instance.subcommand_runner.parsed.child_var).to eq('456') }
|
48
|
+
end
|
49
|
+
|
50
|
+
context 'when subcommand is not supplied' do
|
51
|
+
let(:instance) { parent_runner.create(%w[456]) }
|
52
|
+
|
53
|
+
it do
|
54
|
+
expect { instance.run }.to raise_error(::EacCli::Parser::Error)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -1,16 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'eac_ruby_utils/common_constructor'
|
4
3
|
require 'eac_ruby_utils/configs'
|
5
|
-
require 'eac_ruby_utils/
|
6
|
-
require 'eac_ruby_utils/options_consumer'
|
7
|
-
require 'eac_ruby_utils/patches/object/asserts'
|
8
|
-
require 'eac_ruby_utils/simple_cache'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
9
5
|
|
10
6
|
module EacRubyUtils
|
11
7
|
module Console
|
12
8
|
class Configs
|
13
|
-
|
9
|
+
require_sub __FILE__
|
10
|
+
enable_console_speaker
|
14
11
|
|
15
12
|
class << self
|
16
13
|
def entry_key_to_envvar_name(entry_key)
|
@@ -34,7 +31,7 @@ module EacRubyUtils
|
|
34
31
|
end
|
35
32
|
|
36
33
|
def read_password(entry_key, options = {})
|
37
|
-
options = options.merge(noecho: true)
|
34
|
+
options = ReadEntryOptions.new(options.merge(noecho: true))
|
38
35
|
if store_passwords?
|
39
36
|
read_entry(entry_key, options)
|
40
37
|
else
|
@@ -101,38 +98,6 @@ module EacRubyUtils
|
|
101
98
|
warn('Entered value is blank') if entry_value.blank?
|
102
99
|
entry_value
|
103
100
|
end
|
104
|
-
|
105
|
-
class ReadEntryOptions
|
106
|
-
include ::EacRubyUtils::SimpleCache
|
107
|
-
::EacRubyUtils::CommonConstructor.new(:options).setup_class(self)
|
108
|
-
|
109
|
-
DEFAULT_VALUES = {
|
110
|
-
before_input: nil, bool: false, list: false, noecho: false, noenv: false, noinput: false,
|
111
|
-
required: true, validator: nil
|
112
|
-
}.freeze
|
113
|
-
|
114
|
-
def [](key)
|
115
|
-
values.fetch(key.to_sym)
|
116
|
-
end
|
117
|
-
|
118
|
-
def request_input_options
|
119
|
-
values.slice(:bool, :list, :noecho)
|
120
|
-
end
|
121
|
-
|
122
|
-
private
|
123
|
-
|
124
|
-
def values_uncached
|
125
|
-
consumer = ::EacRubyUtils::OptionsConsumer.new(options)
|
126
|
-
r = {}
|
127
|
-
DEFAULT_VALUES.each do |key, default_value|
|
128
|
-
value = consumer.consume(key)
|
129
|
-
value = default_value if value.nil?
|
130
|
-
r[key] = value
|
131
|
-
end
|
132
|
-
consumer.validate
|
133
|
-
r
|
134
|
-
end
|
135
|
-
end
|
136
101
|
end
|
137
102
|
end
|
138
103
|
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module EacRubyUtils
|
6
|
+
module Console
|
7
|
+
class Configs
|
8
|
+
class ReadEntryOptions
|
9
|
+
enable_simple_cache
|
10
|
+
common_constructor :options
|
11
|
+
|
12
|
+
DEFAULT_VALUES = {
|
13
|
+
before_input: nil, bool: false, list: false, noecho: false, noenv: false, noinput: false,
|
14
|
+
required: true, validator: nil
|
15
|
+
}.freeze
|
16
|
+
|
17
|
+
def [](key)
|
18
|
+
values.fetch(key.to_sym)
|
19
|
+
end
|
20
|
+
|
21
|
+
def request_input_options
|
22
|
+
values.slice(:bool, :list, :noecho)
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def values_uncached
|
28
|
+
consumer = options.to_options_consumer
|
29
|
+
r = {}
|
30
|
+
DEFAULT_VALUES.each do |key, default_value|
|
31
|
+
value = consumer.consume(key)
|
32
|
+
value = default_value if value.nil?
|
33
|
+
r[key] = value
|
34
|
+
end
|
35
|
+
consumer.validate
|
36
|
+
r
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/patches/enumerator/current'
|
4
|
+
|
5
|
+
RSpec.describe ::Enumerator do
|
6
|
+
let(:list) { %w[a b] }
|
7
|
+
let(:instance) { list.each }
|
8
|
+
|
9
|
+
it { expect(instance).to be_a(described_class) }
|
10
|
+
it { expect(instance.current).to eq('a') }
|
11
|
+
|
12
|
+
context 'with first next' do
|
13
|
+
before { instance.next }
|
14
|
+
|
15
|
+
it { expect(instance.current).to eq('b') }
|
16
|
+
end
|
17
|
+
|
18
|
+
context 'with last next' do
|
19
|
+
before do
|
20
|
+
instance.next
|
21
|
+
instance.next
|
22
|
+
end
|
23
|
+
|
24
|
+
it { expect(instance.current).to eq(nil) }
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/patches/enumerator/stopped'
|
4
|
+
|
5
|
+
RSpec.describe ::Enumerator do
|
6
|
+
let(:list) { %w[a b] }
|
7
|
+
let(:instance) { list.each }
|
8
|
+
|
9
|
+
it { expect(instance).to be_a(described_class) }
|
10
|
+
it { expect(instance.peek).to eq('a') }
|
11
|
+
it { expect(instance).to be_ongoing }
|
12
|
+
it { expect(instance).not_to be_stopped }
|
13
|
+
|
14
|
+
context 'with first next' do
|
15
|
+
before { instance.next }
|
16
|
+
|
17
|
+
it { expect(instance.peek).to eq('b') }
|
18
|
+
it { expect(instance).to be_ongoing }
|
19
|
+
it { expect(instance).not_to be_stopped }
|
20
|
+
end
|
21
|
+
|
22
|
+
context 'with last next' do
|
23
|
+
before do
|
24
|
+
instance.next
|
25
|
+
instance.next
|
26
|
+
end
|
27
|
+
|
28
|
+
it { expect { instance.peek }.to raise_error(::StopIteration) }
|
29
|
+
it { expect(instance).not_to be_ongoing }
|
30
|
+
it { expect(instance).to be_stopped }
|
31
|
+
end
|
32
|
+
end
|
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.
|
4
|
+
version: 0.76.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: 2020-
|
11
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -295,11 +295,18 @@ files:
|
|
295
295
|
- lib/avm/eac_rails_base0/apache_path.rb
|
296
296
|
- lib/avm/eac_rails_base0/deploy.rb
|
297
297
|
- lib/avm/eac_rails_base0/instance.rb
|
298
|
+
- lib/avm/eac_rails_base1.rb
|
299
|
+
- lib/avm/eac_rails_base1/instance.rb
|
300
|
+
- lib/avm/eac_rails_base1/runner.rb
|
301
|
+
- lib/avm/eac_rails_base1/runner/bundle.rb
|
302
|
+
- lib/avm/eac_rails_base1/runner/code_runner.rb
|
303
|
+
- lib/avm/eac_rails_base1/runner_with/bundle.rb
|
298
304
|
- lib/avm/eac_redmine_base0.rb
|
299
305
|
- lib/avm/eac_redmine_base0/core_update.rb
|
300
306
|
- lib/avm/eac_redmine_base0/data_unit.rb
|
301
307
|
- lib/avm/eac_redmine_base0/deploy.rb
|
302
308
|
- lib/avm/eac_redmine_base0/instance.rb
|
309
|
+
- lib/avm/eac_ubuntu_base0.rb
|
303
310
|
- lib/avm/eac_ubuntu_base0/apache.rb
|
304
311
|
- lib/avm/eac_ubuntu_base0/apache/resource.rb
|
305
312
|
- lib/avm/eac_ubuntu_base0/docker_image.rb
|
@@ -307,27 +314,45 @@ files:
|
|
307
314
|
- lib/avm/eac_webapp_base0/apache_host.rb
|
308
315
|
- lib/avm/eac_webapp_base0/deploy.rb
|
309
316
|
- lib/avm/eac_webapp_base0/deploy/appended_directories.rb
|
317
|
+
- lib/avm/eac_webapp_base0/deploy/build.rb
|
310
318
|
- lib/avm/eac_webapp_base0/deploy/file_unit.rb
|
311
319
|
- lib/avm/eac_webapp_base0/deploy/git_info.rb
|
312
320
|
- lib/avm/eac_webapp_base0/deploy/version.rb
|
321
|
+
- lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
313
322
|
- lib/avm/eac_webapp_base0/instance.rb
|
323
|
+
- lib/avm/eac_webapp_base0/runner.rb
|
314
324
|
- lib/avm/eac_webapp_base0/runner/apache_host.rb
|
315
325
|
- lib/avm/eac_webapp_base0/runner/data.rb
|
316
326
|
- lib/avm/eac_webapp_base0/runner/data/dump.rb
|
317
327
|
- lib/avm/eac_webapp_base0/runner/data/load.rb
|
318
328
|
- lib/avm/eac_webapp_base0/runner/deploy.rb
|
329
|
+
- lib/avm/eac_wordpress_base0.rb
|
330
|
+
- lib/avm/eac_wordpress_base0/apache_host.rb
|
331
|
+
- lib/avm/eac_wordpress_base0/deploy.rb
|
332
|
+
- lib/avm/eac_wordpress_base0/instance.rb
|
319
333
|
- lib/avm/eac_writings_base0.rb
|
334
|
+
- lib/avm/eac_writings_base0/apache_host.rb
|
320
335
|
- lib/avm/eac_writings_base0/commons.rb
|
336
|
+
- lib/avm/eac_writings_base0/deploy.rb
|
321
337
|
- lib/avm/eac_writings_base0/file_build.rb
|
322
338
|
- lib/avm/eac_writings_base0/file_build/base_stereotype.rb
|
323
339
|
- lib/avm/eac_writings_base0/file_build/chapter_index.rb
|
324
340
|
- lib/avm/eac_writings_base0/file_build/tex_source.rb
|
341
|
+
- lib/avm/eac_writings_base0/instance.rb
|
325
342
|
- lib/avm/eac_writings_base0/project.rb
|
326
343
|
- lib/avm/eac_writings_base0/project_build.rb
|
327
344
|
- lib/avm/eac_writings_base0/project_build/chapters_content.rb
|
328
345
|
- lib/avm/eac_writings_base0/project_build/copy_files.rb
|
329
346
|
- lib/avm/executables.rb
|
330
347
|
- lib/avm/files.rb
|
348
|
+
- lib/avm/files/appendable.rb
|
349
|
+
- lib/avm/files/appendable/file_content.rb
|
350
|
+
- lib/avm/files/appendable/plain_directory.rb
|
351
|
+
- lib/avm/files/appendable/resource_base.rb
|
352
|
+
- lib/avm/files/appendable/tar_output_command.rb
|
353
|
+
- lib/avm/files/appendable/templatized_directory.rb
|
354
|
+
- lib/avm/files/appender.rb
|
355
|
+
- lib/avm/files/deploy.rb
|
331
356
|
- lib/avm/files/formatter.rb
|
332
357
|
- lib/avm/files/formatter/formats.rb
|
333
358
|
- lib/avm/files/formatter/formats/base.rb
|
@@ -344,13 +369,10 @@ files:
|
|
344
369
|
- lib/avm/fs_cache.rb
|
345
370
|
- lib/avm/git.rb
|
346
371
|
- lib/avm/git/auto_commit_path.rb
|
372
|
+
- lib/avm/git/auto_commit_path/ruby.rb
|
347
373
|
- lib/avm/git/commit.rb
|
348
374
|
- lib/avm/git/commit/class_methods.rb
|
349
375
|
- lib/avm/git/commit/deploy.rb
|
350
|
-
- lib/avm/git/commit/deploy/appended.rb
|
351
|
-
- lib/avm/git/commit/deploy/appended/base.rb
|
352
|
-
- lib/avm/git/commit/deploy/appended/directory.rb
|
353
|
-
- lib/avm/git/commit/deploy/appended/file_content.rb
|
354
376
|
- lib/avm/git/commit/deploy_methods.rb
|
355
377
|
- lib/avm/git/commit/diff_tree_line.rb
|
356
378
|
- lib/avm/git/commit/file.rb
|
@@ -400,6 +422,7 @@ files:
|
|
400
422
|
- lib/avm/instances/entries.rb
|
401
423
|
- lib/avm/instances/entry.rb
|
402
424
|
- lib/avm/instances/entry_keys.rb
|
425
|
+
- lib/avm/instances/runner.rb
|
403
426
|
- lib/avm/launcher/context/instance_manager.rb
|
404
427
|
- lib/avm/launcher/context/instance_manager/cached_instance.rb
|
405
428
|
- lib/avm/launcher/context/instance_manager/cached_instances.rb
|
@@ -416,6 +439,10 @@ files:
|
|
416
439
|
- lib/avm/patches/object/i18n.rb
|
417
440
|
- lib/avm/patches/object/template.rb
|
418
441
|
- lib/avm/path_string.rb
|
442
|
+
- lib/avm/postgresql.rb
|
443
|
+
- lib/avm/postgresql/instance.rb
|
444
|
+
- lib/avm/postgresql/instance/data_unit.rb
|
445
|
+
- lib/avm/postgresql/instance_with.rb
|
419
446
|
- lib/avm/projects.rb
|
420
447
|
- lib/avm/projects/stereotype.rb
|
421
448
|
- lib/avm/projects/stereotypes.rb
|
@@ -439,10 +466,6 @@ files:
|
|
439
466
|
- lib/avm/projects/stereotypes/ruby_gem/update.rb
|
440
467
|
- lib/avm/projects/stereotypes/ruby_gem/version_bump.rb
|
441
468
|
- lib/avm/rails.rb
|
442
|
-
- lib/avm/rails/instance.rb
|
443
|
-
- lib/avm/rails/runners.rb
|
444
|
-
- lib/avm/rails/runners/bundle.rb
|
445
|
-
- lib/avm/rails/runners/runner.rb
|
446
469
|
- lib/avm/result.rb
|
447
470
|
- lib/avm/ruby.rb
|
448
471
|
- lib/avm/ruby/gems.rb
|
@@ -457,39 +480,19 @@ files:
|
|
457
480
|
- lib/avm/self/instance/entry_keys.rb
|
458
481
|
- lib/avm/self/root.rb
|
459
482
|
- lib/avm/stereotypes.rb
|
460
|
-
- lib/avm/stereotypes/eac_ubuntu_base0.rb
|
461
|
-
- lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
|
462
|
-
- lib/avm/stereotypes/eac_wordpress_base0/deploy.rb
|
463
|
-
- lib/avm/stereotypes/eac_wordpress_base0/instance.rb
|
464
|
-
- lib/avm/stereotypes/postgresql.rb
|
465
|
-
- lib/avm/stereotypes/postgresql/instance.rb
|
466
|
-
- lib/avm/stereotypes/postgresql/instance/data_unit.rb
|
467
|
-
- lib/avm/stereotypes/postgresql/instance_with.rb
|
468
|
-
- lib/avm/stereotypes/rails.rb
|
469
483
|
- lib/avm/sync.rb
|
470
484
|
- lib/avm/tools.rb
|
471
485
|
- lib/avm/tools/runner.rb
|
472
486
|
- lib/avm/tools/runner/eac_rails_base0.rb
|
473
|
-
- lib/avm/tools/runner/eac_rails_base0/apache_host.rb
|
474
487
|
- lib/avm/tools/runner/eac_rails_base0/apache_path.rb
|
475
|
-
- lib/avm/tools/runner/eac_rails_base0/bundle.rb
|
476
|
-
- lib/avm/tools/runner/eac_rails_base0/data.rb
|
477
|
-
- lib/avm/tools/runner/eac_rails_base0/deploy.rb
|
478
488
|
- lib/avm/tools/runner/eac_rails_base0/rails_server.rb
|
479
489
|
- lib/avm/tools/runner/eac_rails_base0/runner.rb
|
480
490
|
- lib/avm/tools/runner/eac_redmine_base0.rb
|
481
|
-
- lib/avm/tools/runner/eac_redmine_base0/bundle.rb
|
482
491
|
- lib/avm/tools/runner/eac_redmine_base0/core_update.rb
|
483
|
-
- lib/avm/tools/runner/eac_redmine_base0/data.rb
|
484
|
-
- lib/avm/tools/runner/eac_redmine_base0/data/dump.rb
|
485
|
-
- lib/avm/tools/runner/eac_redmine_base0/deploy.rb
|
486
492
|
- lib/avm/tools/runner/eac_redmine_base0/docker.rb
|
487
493
|
- lib/avm/tools/runner/eac_redmine_base0/project_rename.rb
|
488
|
-
- lib/avm/tools/runner/eac_redmine_base0/runner.rb
|
489
494
|
- lib/avm/tools/runner/eac_wordpress_base0.rb
|
490
|
-
- lib/avm/tools/runner/
|
491
|
-
- lib/avm/tools/runner/eac_wordpress_base0/data.rb
|
492
|
-
- lib/avm/tools/runner/eac_wordpress_base0/deploy.rb
|
495
|
+
- lib/avm/tools/runner/eac_writings_base0.rb
|
493
496
|
- lib/avm/tools/runner/files.rb
|
494
497
|
- lib/avm/tools/runner/files/format.rb
|
495
498
|
- lib/avm/tools/runner/files/rotate.rb
|
@@ -569,7 +572,9 @@ files:
|
|
569
572
|
- template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
570
573
|
- template/avm/eac_redmine_base0/deploy/config/install.sh.template
|
571
574
|
- template/avm/eac_redmine_base0/deploy/config/secrets.yml
|
575
|
+
- template/avm/eac_ubuntu_base0/docker_image/Dockerfile
|
572
576
|
- template/avm/eac_webapp_base0/apache_host/no_ssl.conf
|
577
|
+
- template/avm/eac_wordpress_base0/deploy/wp-config.php.template
|
573
578
|
- template/avm/eac_writings_base0/commons/all.tex
|
574
579
|
- template/avm/eac_writings_base0/commons/ebook.tex
|
575
580
|
- template/avm/eac_writings_base0/commons/images.tex
|
@@ -578,6 +583,7 @@ files:
|
|
578
583
|
- template/avm/eac_writings_base0/commons/source_code.tex
|
579
584
|
- template/avm/eac_writings_base0/commons/source_code/java.tex
|
580
585
|
- template/avm/eac_writings_base0/commons/utils.tex
|
586
|
+
- template/avm/eac_writings_base0/deploy/index.html.template
|
581
587
|
- template/avm/ruby/gems/generator/gemspec.template
|
582
588
|
- template/avm/ruby/gems/generator/root_lib.template
|
583
589
|
- template/avm/ruby/gems/generator/static/Gemfile
|
@@ -586,8 +592,6 @@ files:
|
|
586
592
|
- template/avm/ruby/gems/generator/version.template
|
587
593
|
- template/avm/self/docker_image/Dockerfile
|
588
594
|
- template/avm/self/docker_image/entrypoint.sh
|
589
|
-
- template/avm/stereotypes/eac_ubuntu_base0/docker_image/Dockerfile
|
590
|
-
- template/avm/stereotypes/eac_wordpress_base0/deploy/wp-config.php.template
|
591
595
|
- vendor/eac_cli/Gemfile
|
592
596
|
- vendor/eac_cli/eac_cli.gemspec
|
593
597
|
- vendor/eac_cli/lib/eac_cli.rb
|
@@ -597,6 +601,7 @@ files:
|
|
597
601
|
- vendor/eac_cli/lib/eac_cli/definition/argument_option.rb
|
598
602
|
- vendor/eac_cli/lib/eac_cli/definition/base_option.rb
|
599
603
|
- vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb
|
604
|
+
- vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb
|
600
605
|
- vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb
|
601
606
|
- vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb
|
602
607
|
- vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb
|
@@ -614,8 +619,11 @@ files:
|
|
614
619
|
- vendor/eac_cli/lib/eac_cli/runner_with.rb
|
615
620
|
- vendor/eac_cli/lib/eac_cli/runner_with/help.rb
|
616
621
|
- vendor/eac_cli/lib/eac_cli/runner_with/output_file.rb
|
622
|
+
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
617
623
|
- vendor/eac_cli/lib/eac_cli/version.rb
|
624
|
+
- vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb
|
618
625
|
- vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
626
|
+
- vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
619
627
|
- vendor/eac_cli/spec/rubocop_spec.rb
|
620
628
|
- vendor/eac_cli/spec/spec_helper.rb
|
621
629
|
- vendor/eac_docker/Gemfile
|
@@ -891,6 +899,7 @@ files:
|
|
891
899
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/configs/file.rb
|
892
900
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console.rb
|
893
901
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs.rb
|
902
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/configs/read_entry_options.rb
|
894
903
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner.rb
|
895
904
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb
|
896
905
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_doc.rb
|
@@ -954,6 +963,9 @@ files:
|
|
954
963
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/class/common_constructor.rb
|
955
964
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable.rb
|
956
965
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb
|
966
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator.rb
|
967
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/current.rb
|
968
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/enumerator/stopped.rb
|
957
969
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb
|
958
970
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb
|
959
971
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb
|
@@ -967,6 +979,7 @@ files:
|
|
967
979
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb
|
968
980
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
|
969
981
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
|
982
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
|
970
983
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
|
971
984
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
|
972
985
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/template.rb
|
@@ -1025,6 +1038,8 @@ files:
|
|
1025
1038
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
|
1026
1039
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
|
1027
1040
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
|
1041
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/current_spec.rb
|
1042
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerator/stopped_spec.rb
|
1028
1043
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/options_consumer_spec.rb
|
1029
1044
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb
|
1030
1045
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/console_speaker_spec.rb
|