avm-tools 0.100.0 → 0.103.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/app_src.rb +8 -7
- data/lib/avm/eac_redmine_base0/docker_image.rb +52 -0
- data/lib/avm/eac_redmine_base0/instance.rb +2 -2
- data/lib/avm/git/auto_commit/rules/manual.rb +1 -1
- data/lib/avm/git/issue/complete.rb +4 -8
- data/lib/avm/git/issue/complete/commits.rb +42 -0
- data/lib/avm/git/issue/complete/git_subrepos.rb +23 -0
- data/lib/avm/git/issue/complete/local_branch.rb +54 -0
- data/lib/avm/git/issue/complete/local_tag.rb +39 -0
- data/lib/avm/git/issue/complete/push.rb +54 -0
- data/lib/avm/git/issue/complete/remote.rb +33 -0
- data/lib/avm/git/issue/complete/test.rb +45 -0
- data/lib/avm/git/issue/complete/tracker.rb +28 -0
- data/lib/avm/git/issue/complete/validations.rb +53 -0
- data/lib/avm/git/issue/complete/working_tree.rb +19 -0
- data/lib/avm/git/revision_test.rb +9 -6
- data/lib/avm/instances/base/dockerizable.rb +1 -0
- data/lib/avm/instances/base/entry_keys.rb +6 -1
- data/lib/avm/instances/docker_image.rb +15 -0
- data/lib/avm/instances/entries.rb +0 -1
- data/lib/avm/instances/entry.rb +3 -2
- data/lib/avm/instances/entry_keys.rb +1 -0
- data/lib/avm/launcher/context.rb +1 -1
- data/lib/avm/launcher/git/publish_base.rb +3 -1
- data/lib/avm/launcher/git/warp_base.rb +11 -0
- data/lib/avm/launcher/instances/base.rb +2 -1
- data/lib/avm/launcher/instances/error.rb +1 -3
- data/lib/avm/launcher/ruby/gem/build.rb +1 -1
- data/lib/avm/projects/stereotype/job_comparator.rb +32 -0
- data/lib/avm/projects/stereotypes/git/update.rb +1 -2
- data/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +2 -2
- data/lib/avm/projects/stereotypes/ruby_gem/publish.rb +1 -1
- data/lib/avm/projects/stereotypes/ruby_gem/update.rb +4 -0
- data/lib/avm/self.rb +9 -0
- data/lib/avm/self/instance.rb +4 -0
- data/lib/avm/tools/runner.rb +4 -0
- data/lib/avm/tools/runner/app_src/version_bump.rb +3 -3
- data/lib/avm/tools/runner/config/load_path.rb +4 -3
- data/lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb +17 -0
- data/lib/avm/tools/runner/eac_redmine_base0/docker.rb +3 -0
- data/lib/avm/tools/runner/git/auto_commit.rb +1 -0
- data/lib/avm/tools/runner/git/deploy.rb +2 -1
- data/lib/avm/tools/runner/git/issue.rb +4 -75
- data/lib/avm/tools/runner/git/issue/complete.rb +79 -0
- data/lib/avm/tools/runner/git/issue/deliver.rb +35 -0
- data/lib/avm/tools/runner/git/organize.rb +1 -1
- data/lib/avm/tools/version.rb +1 -1
- data/template/avm/eac_redmine_base0/docker_image/Dockerfile.template +47 -0
- data/template/avm/eac_redmine_base0/docker_image/apache_http_virtualhost.conf.template +10 -0
- data/template/avm/eac_redmine_base0/docker_image/apache_https_virtualhost.conf.template +16 -0
- data/template/avm/eac_redmine_base0/docker_image/install_settings.sh.template +29 -0
- data/template/avm/eac_redmine_base0/docker_image/start.sh.template +25 -0
- data/template/avm/eac_ubuntu_base0/docker_image/Dockerfile +1 -1
- data/vendor/avm-apps/avm-apps.gemspec +1 -1
- data/vendor/avm-apps/lib/avm/apps/config.rb +19 -0
- data/vendor/avm-apps/lib/avm/apps/jobs/base.rb +1 -1
- data/vendor/avm-apps/lib/avm/apps/version.rb +1 -1
- data/vendor/avm-eac_rails_base1/Gemfile +5 -0
- data/vendor/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +19 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/apache_host.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/instance.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner/bundle.rb +1 -2
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner/code_runner.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner/log.rb +0 -0
- data/vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb +18 -0
- data/vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb +26 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner/rails_server.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner_with/bundle.rb +0 -0
- data/{lib → vendor/avm-eac_rails_base1/lib}/avm/eac_rails_base1/runner_with/rails_environment.rb +0 -0
- data/vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +7 -0
- data/vendor/avm-eac_rails_base1/spec/rubocop_spec.rb +3 -0
- data/vendor/avm-eac_rails_base1/spec/spec_helper.rb +102 -0
- data/vendor/avm-eac_webapp_base0/Gemfile +5 -0
- data/vendor/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +19 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0.rb +2 -2
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/apache_host.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/apache_path.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/appended_directories.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/build.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/file_unit.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/git_info.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/version.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/deploy/write_on_target.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/instance.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/instance/subcommand_parent.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/apache_host.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/apache_path.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/data.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/data/dump.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/data/load.rb +0 -0
- data/{lib → vendor/avm-eac_webapp_base0/lib}/avm/eac_webapp_base0/runner/deploy.rb +0 -0
- data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +7 -0
- data/vendor/avm-eac_webapp_base0/spec/rubocop_spec.rb +3 -0
- data/vendor/avm-eac_webapp_base0/spec/spec_helper.rb +102 -0
- data/vendor/avm/Gemfile +5 -0
- data/vendor/avm/avm.gemspec +19 -0
- data/vendor/avm/lib/avm.rb +7 -0
- data/vendor/avm/lib/avm/docker.rb +9 -0
- data/{lib → vendor/avm/lib}/avm/docker/container.rb +5 -5
- data/{lib → vendor/avm/lib}/avm/docker/image.rb +10 -27
- data/{lib → vendor/avm/lib}/avm/docker/runner.rb +34 -8
- data/vendor/avm/lib/avm/version.rb +5 -0
- data/{lib/avm/version.rb → vendor/avm/lib/avm/version_number.rb} +1 -1
- data/vendor/avm/spec/rubocop_spec.rb +3 -0
- data/vendor/avm/spec/spec_helper.rb +102 -0
- data/vendor/eac_cli/eac_cli.gemspec +1 -2
- data/vendor/eac_cli/lib/eac_cli/config.rb +1 -2
- data/vendor/eac_cli/lib/eac_cli/config/entry.rb +3 -1
- data/vendor/eac_cli/lib/eac_cli/config/entry/undefined.rb +1 -1
- data/vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb +3 -2
- data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +6 -1
- data/vendor/eac_cli/lib/eac_cli/old_configs.rb +0 -1
- data/vendor/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +2 -2
- data/vendor/eac_cli/lib/eac_cli/old_configs_bridge.rb +2 -0
- data/vendor/eac_cli/lib/eac_cli/runner.rb +0 -2
- data/vendor/eac_cli/lib/eac_cli/runner/after_class_methods.rb +20 -3
- data/vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb +5 -1
- data/vendor/eac_cli/lib/eac_cli/runner_with/help.rb +9 -4
- data/vendor/eac_cli/lib/eac_cli/runner_with/help/builder.rb +73 -0
- data/vendor/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +56 -0
- data/vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb +6 -4
- data/vendor/eac_cli/lib/eac_cli/speaker.rb +15 -19
- data/vendor/eac_cli/lib/eac_cli/speaker/_constants.rb +1 -1
- data/vendor/eac_cli/lib/eac_cli/speaker/list.rb +1 -1
- data/vendor/eac_cli/lib/eac_cli/speaker/options.rb +38 -0
- data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
- data/vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +1 -1
- data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +0 -1
- data/vendor/eac_cli/spec/lib/eac_cli/speaker_spec.rb +5 -9
- data/vendor/eac_config/lib/eac_config/node.rb +7 -0
- data/vendor/eac_config/lib/eac_config/version.rb +1 -1
- data/vendor/eac_git/lib/eac_git/executables.rb +4 -0
- data/vendor/eac_git/lib/eac_git/local.rb +5 -1
- data/vendor/eac_git/lib/eac_git/local/commit/archive.rb +19 -0
- data/vendor/eac_git/lib/eac_git/local/subrepo.rb +2 -1
- data/vendor/eac_git/lib/eac_git/version.rb +1 -1
- data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +2 -2
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb +23 -9
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb +34 -0
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb +2 -2
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +19 -7
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb +8 -1
- data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +1 -1
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +2 -0
- data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/context.rb +31 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb +21 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb +11 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb +9 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb +11 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb +10 -2
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb +16 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +57 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb +32 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/vendor/{eac_cli/spec/lib → eac_ruby_utils/spec/lib/eac_ruby_utils/patches}/module/speaker_spec.rb +2 -2
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb +33 -0
- data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb +18 -0
- data/vendor/eac_templates/eac_templates.gemspec +1 -1
- data/vendor/eac_templates/lib/eac_templates/variable_providers.rb +1 -1
- data/vendor/eac_templates/lib/eac_templates/variable_providers/config_reader.rb +27 -0
- data/vendor/eac_templates/lib/eac_templates/version.rb +1 -1
- metadata +106 -65
- data/lib/avm/configs.rb +0 -26
- data/lib/avm/docker.rb +0 -9
- data/lib/avm/docker/registry.rb +0 -28
- data/lib/avm/git/issue/complete/_commits.rb +0 -40
- data/lib/avm/git/issue/complete/_git_subrepos.rb +0 -21
- data/lib/avm/git/issue/complete/_local_branch.rb +0 -52
- data/lib/avm/git/issue/complete/_local_tag.rb +0 -37
- data/lib/avm/git/issue/complete/_push.rb +0 -52
- data/lib/avm/git/issue/complete/_remote.rb +0 -31
- data/lib/avm/git/issue/complete/_test.rb +0 -43
- data/lib/avm/git/issue/complete/_tracker.rb +0 -26
- data/lib/avm/git/issue/complete/_validations.rb +0 -51
- data/lib/avm/git/issue/complete/_working_tree.rb +0 -17
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +0 -71
- data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder/alternative.rb +0 -50
- data/vendor/eac_cli/lib/eac_cli/docopt/runner_context_replacement.rb +0 -15
- data/vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb +0 -51
- data/vendor/eac_cli/lib/eac_cli/docopt_runner.rb +0 -38
- data/vendor/eac_cli/lib/eac_cli/docopt_runner/_class_methods.rb +0 -16
- data/vendor/eac_cli/lib/eac_cli/docopt_runner/_doc.rb +0 -23
- data/vendor/eac_cli/lib/eac_cli/docopt_runner/_settings.rb +0 -17
- data/vendor/eac_cli/lib/eac_cli/docopt_runner/_subcommands.rb +0 -152
- data/vendor/eac_cli/lib/eac_cli/docopt_runner/context.rb +0 -18
- data/vendor/eac_cli/lib/eac_cli/patches/module.rb +0 -4
- data/vendor/eac_cli/lib/eac_cli/patches/module/speaker.rb +0 -10
- data/vendor/eac_cli/lib/eac_cli/speaker/_class_methods.rb +0 -37
- data/vendor/eac_cli/lib/eac_cli/speaker/node.rb +0 -24
- data/vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb +0 -35
- data/vendor/eac_cli/spec/lib/eac_cli/docopt_runner_spec.rb +0 -136
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/patch'
|
4
|
+
require 'eac_ruby_utils/contextualizable'
|
5
|
+
|
6
|
+
class Module
|
7
|
+
# Patches module with [EacRubyUtils::Contextualizable].
|
8
|
+
def enable_context
|
9
|
+
::EacRubyUtils.patch(self, ::EacRubyUtils::Contextualizable)
|
10
|
+
end
|
11
|
+
end
|
@@ -3,11 +3,19 @@
|
|
3
3
|
module EacRubyUtils
|
4
4
|
module SimpleCache
|
5
5
|
UNCACHED_METHOD_NAME_SUFFIX = '_uncached'
|
6
|
-
UNCACHED_METHOD_PATTERN =
|
6
|
+
UNCACHED_METHOD_PATTERN = /
|
7
|
+
\A(\s+)_#{::Regexp.quote(UNCACHED_METHOD_NAME_SUFFIX)}([\!\?]?)\z
|
8
|
+
/x.freeze
|
7
9
|
|
8
10
|
class << self
|
9
11
|
def uncached_method_name(method_name)
|
10
|
-
|
12
|
+
method_name = method_name.to_s
|
13
|
+
end_mark = nil
|
14
|
+
if %w[! ?].any? { |mark| method_name.end_with?(mark) }
|
15
|
+
end_mark = method_name[-1]
|
16
|
+
method_name = method_name[0..-2]
|
17
|
+
end
|
18
|
+
"#{method_name}#{UNCACHED_METHOD_NAME_SUFFIX}#{end_mark}"
|
11
19
|
end
|
12
20
|
end
|
13
21
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/contextualizable'
|
4
|
+
|
5
|
+
module EacRubyUtils
|
6
|
+
module Speaker
|
7
|
+
include ::EacRubyUtils::Contextualizable
|
8
|
+
|
9
|
+
class << self
|
10
|
+
# @return [EacRubyUtils::Speaker::Receiver]
|
11
|
+
def current_receiver
|
12
|
+
context.current
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/abstract_methods'
|
4
|
+
|
5
|
+
module EacRubyUtils
|
6
|
+
module Speaker
|
7
|
+
module Receiver
|
8
|
+
extend ::EacRubyUtils::AbstractMethods
|
9
|
+
|
10
|
+
def error(_string)
|
11
|
+
raise_abstract_method(__FILE__)
|
12
|
+
end
|
13
|
+
|
14
|
+
def fatal_error(string)
|
15
|
+
error(string)
|
16
|
+
::Kernel.exit 1 # rubocop:disable Rails/Exit
|
17
|
+
end
|
18
|
+
|
19
|
+
# @see EacRubyUtils::Speaker::Sender.input
|
20
|
+
def input(_question, _options = {})
|
21
|
+
raise_abstract_method(__FILE__)
|
22
|
+
end
|
23
|
+
|
24
|
+
def info(_string)
|
25
|
+
raise_abstract_method(__FILE__)
|
26
|
+
end
|
27
|
+
|
28
|
+
def infom(_string)
|
29
|
+
raise_abstract_method(__FILE__)
|
30
|
+
end
|
31
|
+
|
32
|
+
def infov(*_args)
|
33
|
+
raise_abstract_method(__FILE__)
|
34
|
+
end
|
35
|
+
|
36
|
+
def out(_string = '')
|
37
|
+
raise_abstract_method(__FILE__)
|
38
|
+
end
|
39
|
+
|
40
|
+
def puts(_string = '')
|
41
|
+
raise_abstract_method(__FILE__)
|
42
|
+
end
|
43
|
+
|
44
|
+
def success(_string)
|
45
|
+
raise_abstract_method(__FILE__)
|
46
|
+
end
|
47
|
+
|
48
|
+
def title(_string)
|
49
|
+
raise_abstract_method(__FILE__)
|
50
|
+
end
|
51
|
+
|
52
|
+
def warn(_string)
|
53
|
+
raise_abstract_method(__FILE__)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module EacRubyUtils
|
4
|
+
module Speaker
|
5
|
+
module Sender
|
6
|
+
delegate :error, :fatal_error, :info, :infom, :title, :success, :warn, to: :speaker_receiver
|
7
|
+
|
8
|
+
def infov(*args)
|
9
|
+
speaker_receiver.infov(*args)
|
10
|
+
end
|
11
|
+
|
12
|
+
delegate :out, to: :speaker_receiver
|
13
|
+
|
14
|
+
delegate :puts, to: :speaker_receiver
|
15
|
+
|
16
|
+
# Shortcut to [EacRubyUtils::Speaker.current_receiver].
|
17
|
+
#
|
18
|
+
# @return [EacRubyUtils::Speaker::Receiver]
|
19
|
+
def speaker_receiver
|
20
|
+
::EacRubyUtils::Speaker.current_receiver
|
21
|
+
end
|
22
|
+
|
23
|
+
# Options:
|
24
|
+
# +bool+ ([Boolean], default: +false+): requires a answer "yes" or "no".
|
25
|
+
# +list+ ([Hash] or [Array], default: +nil+): requires a answer from a list.
|
26
|
+
# +noecho+ ([Boolean], default: +false+): does not output answer.
|
27
|
+
def input(question, options = {})
|
28
|
+
speaker_receiver.input(question, options)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'eac_ruby_utils/patches/module/speaker'
|
4
4
|
|
5
5
|
RSpec.describe ::Module do
|
6
6
|
class StubClass # rubocop:disable RSpec/LeakyConstantDeclaration
|
@@ -8,6 +8,6 @@ RSpec.describe ::Module do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
describe '#enable_speaker' do
|
11
|
-
it { expect(StubClass.included_modules).to include(::
|
11
|
+
it { expect(StubClass.included_modules).to include(::EacRubyUtils::Speaker::Sender) }
|
12
12
|
end
|
13
13
|
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/patches/pathname/parent_n'
|
4
|
+
|
5
|
+
RSpec.describe ::Pathname do
|
6
|
+
[
|
7
|
+
['/absolute/path/to/file', 0, '/absolute/path/to/file'],
|
8
|
+
['/absolute/path/to/file', 1, '/absolute/path/to'],
|
9
|
+
['/absolute/path/to/file', 2, '/absolute/path'],
|
10
|
+
['/absolute/path/to/file', 3, '/absolute'],
|
11
|
+
['/absolute/path/to/file', 4, '/'],
|
12
|
+
['/absolute/path/to/file', 5, '/'],
|
13
|
+
['relative/path/to/file', 0, 'relative/path/to/file'],
|
14
|
+
['relative/path/to/file', 1, 'relative/path/to'],
|
15
|
+
['relative/path/to/file', 2, 'relative/path'],
|
16
|
+
['relative/path/to/file', 3, 'relative'],
|
17
|
+
['relative/path/to/file', 4, '.'],
|
18
|
+
['relative/path/to/file', 5, '..'],
|
19
|
+
['relative/path/to/file', 6, '../..']
|
20
|
+
].each do |test_data|
|
21
|
+
input_path = test_data[0]
|
22
|
+
context "when path is \"#{input_path}\"" do
|
23
|
+
let(:n) { test_data[1] }
|
24
|
+
let(:expected_path) { test_data[2] }
|
25
|
+
|
26
|
+
it do
|
27
|
+
expect(described_class.new(input_path).parent_n(n)).to(
|
28
|
+
eq(described_class.new(expected_path))
|
29
|
+
)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -10,6 +10,14 @@ class CacheableObject
|
|
10
10
|
@counter += 1
|
11
11
|
end
|
12
12
|
|
13
|
+
def method_with_question_uncached?
|
14
|
+
'question'
|
15
|
+
end
|
16
|
+
|
17
|
+
def method_with_exclamation_uncached!
|
18
|
+
'exclamation'
|
19
|
+
end
|
20
|
+
|
13
21
|
def method_with_args_uncached(arg1)
|
14
22
|
@counter2 ||= 0
|
15
23
|
@counter2 += 1
|
@@ -74,6 +82,16 @@ RSpec.describe ::EacRubyUtils::SimpleCache do
|
|
74
82
|
end
|
75
83
|
end
|
76
84
|
|
85
|
+
describe 'method with marks' do
|
86
|
+
it 'found uncached method with exclamation mark' do
|
87
|
+
expect(instance.method_with_exclamation!).to eq('exclamation')
|
88
|
+
end
|
89
|
+
|
90
|
+
it 'found uncached method with question mark' do
|
91
|
+
expect(instance.method_with_question?).to eq('question')
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
77
95
|
describe '#respond_to?' do
|
78
96
|
it 'responds to cached method without args' do
|
79
97
|
expect(instance.respond_to?(:my_method)).to be(true)
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'eac_config', '~> 0.
|
15
|
+
s.add_dependency 'eac_config', '~> 0.5'
|
16
16
|
s.add_dependency 'eac_ruby_utils', '~> 0.64'
|
17
17
|
|
18
18
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
@@ -6,7 +6,7 @@ module EacTemplates
|
|
6
6
|
module VariableProviders
|
7
7
|
require_sub __FILE__
|
8
8
|
|
9
|
-
PROVIDERS = %w[entries_reader hash generic].map do |name|
|
9
|
+
PROVIDERS = %w[config_reader entries_reader hash generic].map do |name|
|
10
10
|
"eac_templates/variable_providers/#{name}".camelize.constantize
|
11
11
|
end
|
12
12
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_config/node'
|
4
|
+
require 'eac_templates/variable_providers/base'
|
5
|
+
|
6
|
+
module EacTemplates
|
7
|
+
module VariableProviders
|
8
|
+
class ConfigReader < ::EacTemplates::VariableProviders::Base
|
9
|
+
class << self
|
10
|
+
def accept?(variables_source)
|
11
|
+
return false unless variables_source.respond_to?(:entry)
|
12
|
+
|
13
|
+
entry = variables_source.entry(:any_value)
|
14
|
+
entry.respond_to?(:value) && entry.respond_to?(:found?)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def variable_exist?(name)
|
19
|
+
source.entry(name).found?
|
20
|
+
end
|
21
|
+
|
22
|
+
def variable_fetch(name)
|
23
|
+
source.entry(name).value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
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.103.0
|
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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 2.0.12
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: avm
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.1'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.1'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: avm-apps
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -324,7 +338,6 @@ files:
|
|
324
338
|
- lib/avm.rb
|
325
339
|
- lib/avm/app_src.rb
|
326
340
|
- lib/avm/cached_download.rb
|
327
|
-
- lib/avm/configs.rb
|
328
341
|
- lib/avm/core_ext.rb
|
329
342
|
- lib/avm/data.rb
|
330
343
|
- lib/avm/data/instance.rb
|
@@ -335,11 +348,6 @@ files:
|
|
335
348
|
- lib/avm/data/package/dump.rb
|
336
349
|
- lib/avm/data/package/load.rb
|
337
350
|
- lib/avm/data/unit.rb
|
338
|
-
- lib/avm/docker.rb
|
339
|
-
- lib/avm/docker/container.rb
|
340
|
-
- lib/avm/docker/image.rb
|
341
|
-
- lib/avm/docker/registry.rb
|
342
|
-
- lib/avm/docker/runner.rb
|
343
351
|
- lib/avm/eac_asciidoctor_base0.rb
|
344
352
|
- lib/avm/eac_asciidoctor_base0/apache_host.rb
|
345
353
|
- lib/avm/eac_asciidoctor_base0/apache_path.rb
|
@@ -350,45 +358,17 @@ files:
|
|
350
358
|
- lib/avm/eac_rails_base0/apache_path.rb
|
351
359
|
- lib/avm/eac_rails_base0/deploy.rb
|
352
360
|
- lib/avm/eac_rails_base0/instance.rb
|
353
|
-
- lib/avm/eac_rails_base1.rb
|
354
|
-
- lib/avm/eac_rails_base1/apache_host.rb
|
355
|
-
- lib/avm/eac_rails_base1/instance.rb
|
356
|
-
- lib/avm/eac_rails_base1/runner.rb
|
357
|
-
- lib/avm/eac_rails_base1/runner/bundle.rb
|
358
|
-
- lib/avm/eac_rails_base1/runner/code_runner.rb
|
359
|
-
- lib/avm/eac_rails_base1/runner/log.rb
|
360
|
-
- lib/avm/eac_rails_base1/runner/rails_server.rb
|
361
|
-
- lib/avm/eac_rails_base1/runner_with/bundle.rb
|
362
|
-
- lib/avm/eac_rails_base1/runner_with/rails_environment.rb
|
363
361
|
- lib/avm/eac_redmine_base0.rb
|
364
362
|
- lib/avm/eac_redmine_base0/apache_host.rb
|
365
363
|
- lib/avm/eac_redmine_base0/core_update.rb
|
366
364
|
- lib/avm/eac_redmine_base0/data_unit.rb
|
367
365
|
- lib/avm/eac_redmine_base0/deploy.rb
|
366
|
+
- lib/avm/eac_redmine_base0/docker_image.rb
|
368
367
|
- lib/avm/eac_redmine_base0/instance.rb
|
369
368
|
- lib/avm/eac_ubuntu_base0.rb
|
370
369
|
- lib/avm/eac_ubuntu_base0/apache.rb
|
371
370
|
- lib/avm/eac_ubuntu_base0/apache/resource.rb
|
372
371
|
- lib/avm/eac_ubuntu_base0/docker_image.rb
|
373
|
-
- lib/avm/eac_webapp_base0.rb
|
374
|
-
- lib/avm/eac_webapp_base0/apache_host.rb
|
375
|
-
- lib/avm/eac_webapp_base0/apache_path.rb
|
376
|
-
- lib/avm/eac_webapp_base0/deploy.rb
|
377
|
-
- lib/avm/eac_webapp_base0/deploy/appended_directories.rb
|
378
|
-
- lib/avm/eac_webapp_base0/deploy/build.rb
|
379
|
-
- lib/avm/eac_webapp_base0/deploy/file_unit.rb
|
380
|
-
- lib/avm/eac_webapp_base0/deploy/git_info.rb
|
381
|
-
- lib/avm/eac_webapp_base0/deploy/version.rb
|
382
|
-
- lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
383
|
-
- lib/avm/eac_webapp_base0/instance.rb
|
384
|
-
- lib/avm/eac_webapp_base0/instance/subcommand_parent.rb
|
385
|
-
- lib/avm/eac_webapp_base0/runner.rb
|
386
|
-
- lib/avm/eac_webapp_base0/runner/apache_host.rb
|
387
|
-
- lib/avm/eac_webapp_base0/runner/apache_path.rb
|
388
|
-
- lib/avm/eac_webapp_base0/runner/data.rb
|
389
|
-
- lib/avm/eac_webapp_base0/runner/data/dump.rb
|
390
|
-
- lib/avm/eac_webapp_base0/runner/data/load.rb
|
391
|
-
- lib/avm/eac_webapp_base0/runner/deploy.rb
|
392
372
|
- lib/avm/eac_wordpress_base0.rb
|
393
373
|
- lib/avm/eac_wordpress_base0/apache_host.rb
|
394
374
|
- lib/avm/eac_wordpress_base0/deploy.rb
|
@@ -450,17 +430,17 @@ files:
|
|
450
430
|
- lib/avm/git/file_auto_fixup.rb
|
451
431
|
- lib/avm/git/issue.rb
|
452
432
|
- lib/avm/git/issue/complete.rb
|
453
|
-
- lib/avm/git/issue/complete/
|
454
|
-
- lib/avm/git/issue/complete/
|
455
|
-
- lib/avm/git/issue/complete/
|
456
|
-
- lib/avm/git/issue/complete/
|
457
|
-
- lib/avm/git/issue/complete/
|
458
|
-
- lib/avm/git/issue/complete/
|
459
|
-
- lib/avm/git/issue/complete/
|
460
|
-
- lib/avm/git/issue/complete/
|
461
|
-
- lib/avm/git/issue/complete/_validations.rb
|
462
|
-
- lib/avm/git/issue/complete/_working_tree.rb
|
433
|
+
- lib/avm/git/issue/complete/commits.rb
|
434
|
+
- lib/avm/git/issue/complete/git_subrepos.rb
|
435
|
+
- lib/avm/git/issue/complete/local_branch.rb
|
436
|
+
- lib/avm/git/issue/complete/local_tag.rb
|
437
|
+
- lib/avm/git/issue/complete/push.rb
|
438
|
+
- lib/avm/git/issue/complete/remote.rb
|
439
|
+
- lib/avm/git/issue/complete/test.rb
|
440
|
+
- lib/avm/git/issue/complete/tracker.rb
|
463
441
|
- lib/avm/git/issue/complete/validation.rb
|
442
|
+
- lib/avm/git/issue/complete/validations.rb
|
443
|
+
- lib/avm/git/issue/complete/working_tree.rb
|
464
444
|
- lib/avm/git/issue/deliver.rb
|
465
445
|
- lib/avm/git/organize.rb
|
466
446
|
- lib/avm/git/organize/reference_update.rb
|
@@ -487,6 +467,7 @@ files:
|
|
487
467
|
- lib/avm/instances/base/auto_values/web.rb
|
488
468
|
- lib/avm/instances/base/dockerizable.rb
|
489
469
|
- lib/avm/instances/base/entry_keys.rb
|
470
|
+
- lib/avm/instances/docker_image.rb
|
490
471
|
- lib/avm/instances/entries.rb
|
491
472
|
- lib/avm/instances/entry.rb
|
492
473
|
- lib/avm/instances/entry_keys.rb
|
@@ -548,6 +529,7 @@ files:
|
|
548
529
|
- lib/avm/postgresql/instance_with.rb
|
549
530
|
- lib/avm/projects.rb
|
550
531
|
- lib/avm/projects/stereotype.rb
|
532
|
+
- lib/avm/projects/stereotype/job_comparator.rb
|
551
533
|
- lib/avm/projects/stereotypes.rb
|
552
534
|
- lib/avm/projects/stereotypes/git.rb
|
553
535
|
- lib/avm/projects/stereotypes/git/local_project_mixin.rb
|
@@ -618,6 +600,7 @@ files:
|
|
618
600
|
- lib/avm/tools/runner/eac_rails_base0.rb
|
619
601
|
- lib/avm/tools/runner/eac_redmine_base0.rb
|
620
602
|
- lib/avm/tools/runner/eac_redmine_base0/core_update.rb
|
603
|
+
- lib/avm/tools/runner/eac_redmine_base0/dev_docker.rb
|
621
604
|
- lib/avm/tools/runner/eac_redmine_base0/docker.rb
|
622
605
|
- lib/avm/tools/runner/eac_redmine_base0/project_rename.rb
|
623
606
|
- lib/avm/tools/runner/eac_webapp_base0.rb
|
@@ -632,6 +615,8 @@ files:
|
|
632
615
|
- lib/avm/tools/runner/git/deploy.rb
|
633
616
|
- lib/avm/tools/runner/git/dirty_files.rb
|
634
617
|
- lib/avm/tools/runner/git/issue.rb
|
618
|
+
- lib/avm/tools/runner/git/issue/complete.rb
|
619
|
+
- lib/avm/tools/runner/git/issue/deliver.rb
|
635
620
|
- lib/avm/tools/runner/git/organize.rb
|
636
621
|
- lib/avm/tools/runner/git/revisions_test.rb
|
637
622
|
- lib/avm/tools/runner/git/subrepo.rb
|
@@ -651,12 +636,16 @@ files:
|
|
651
636
|
- lib/avm/tools/runner/self.rb
|
652
637
|
- lib/avm/tools/runner/self/docker.rb
|
653
638
|
- lib/avm/tools/version.rb
|
654
|
-
- lib/avm/version.rb
|
655
639
|
- template/avm/eac_rails_base0/apache_path/extra_content.conf
|
656
640
|
- template/avm/eac_rails_base0/deploy/config/database.yml.template
|
657
641
|
- template/avm/eac_rails_base0/deploy/config/envvars.d/email.yml.template
|
658
642
|
- template/avm/eac_redmine_base0/deploy/config/install.sh.template
|
659
643
|
- template/avm/eac_redmine_base0/deploy/config/secrets.yml
|
644
|
+
- template/avm/eac_redmine_base0/docker_image/Dockerfile.template
|
645
|
+
- template/avm/eac_redmine_base0/docker_image/apache_http_virtualhost.conf.template
|
646
|
+
- template/avm/eac_redmine_base0/docker_image/apache_https_virtualhost.conf.template
|
647
|
+
- template/avm/eac_redmine_base0/docker_image/install_settings.sh.template
|
648
|
+
- template/avm/eac_redmine_base0/docker_image/start.sh.template
|
660
649
|
- template/avm/eac_ubuntu_base0/docker_image/Dockerfile
|
661
650
|
- template/avm/eac_webapp_base0/apache_host/no_ssl.conf
|
662
651
|
- template/avm/eac_webapp_base0/apache_path/default.conf
|
@@ -681,6 +670,7 @@ files:
|
|
681
670
|
- vendor/avm-apps/Gemfile
|
682
671
|
- vendor/avm-apps/avm-apps.gemspec
|
683
672
|
- vendor/avm-apps/lib/avm/apps.rb
|
673
|
+
- vendor/avm-apps/lib/avm/apps/config.rb
|
684
674
|
- vendor/avm-apps/lib/avm/apps/jobs.rb
|
685
675
|
- vendor/avm-apps/lib/avm/apps/jobs/base.rb
|
686
676
|
- vendor/avm-apps/lib/avm/apps/jobs/variables_source.rb
|
@@ -703,6 +693,58 @@ files:
|
|
703
693
|
- vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb
|
704
694
|
- vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb
|
705
695
|
- vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb
|
696
|
+
- vendor/avm-eac_rails_base1/Gemfile
|
697
|
+
- vendor/avm-eac_rails_base1/avm-eac_rails_base1.gemspec
|
698
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1.rb
|
699
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/apache_host.rb
|
700
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/instance.rb
|
701
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner.rb
|
702
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/bundle.rb
|
703
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/code_runner.rb
|
704
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/log.rb
|
705
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs.rb
|
706
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/logs/clear.rb
|
707
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner/rails_server.rb
|
708
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/bundle.rb
|
709
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/runner_with/rails_environment.rb
|
710
|
+
- vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb
|
711
|
+
- vendor/avm-eac_rails_base1/spec/rubocop_spec.rb
|
712
|
+
- vendor/avm-eac_rails_base1/spec/spec_helper.rb
|
713
|
+
- vendor/avm-eac_webapp_base0/Gemfile
|
714
|
+
- vendor/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec
|
715
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0.rb
|
716
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_host.rb
|
717
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_path.rb
|
718
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy.rb
|
719
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/appended_directories.rb
|
720
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/build.rb
|
721
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/file_unit.rb
|
722
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/git_info.rb
|
723
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/version.rb
|
724
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy/write_on_target.rb
|
725
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb
|
726
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance/subcommand_parent.rb
|
727
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner.rb
|
728
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_host.rb
|
729
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/apache_path.rb
|
730
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data.rb
|
731
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/dump.rb
|
732
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/data/load.rb
|
733
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/runner/deploy.rb
|
734
|
+
- vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb
|
735
|
+
- vendor/avm-eac_webapp_base0/spec/rubocop_spec.rb
|
736
|
+
- vendor/avm-eac_webapp_base0/spec/spec_helper.rb
|
737
|
+
- vendor/avm/Gemfile
|
738
|
+
- vendor/avm/avm.gemspec
|
739
|
+
- vendor/avm/lib/avm.rb
|
740
|
+
- vendor/avm/lib/avm/docker.rb
|
741
|
+
- vendor/avm/lib/avm/docker/container.rb
|
742
|
+
- vendor/avm/lib/avm/docker/image.rb
|
743
|
+
- vendor/avm/lib/avm/docker/runner.rb
|
744
|
+
- vendor/avm/lib/avm/version.rb
|
745
|
+
- vendor/avm/lib/avm/version_number.rb
|
746
|
+
- vendor/avm/spec/rubocop_spec.rb
|
747
|
+
- vendor/avm/spec/spec_helper.rb
|
706
748
|
- vendor/eac_cli/Gemfile
|
707
749
|
- vendor/eac_cli/eac_cli.gemspec
|
708
750
|
- vendor/eac_cli/lib/eac_cli.rb
|
@@ -720,16 +762,6 @@ files:
|
|
720
762
|
- vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb
|
721
763
|
- vendor/eac_cli/lib/eac_cli/definition/help_formatter.rb
|
722
764
|
- vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb
|
723
|
-
- vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb
|
724
|
-
- vendor/eac_cli/lib/eac_cli/docopt/doc_builder/alternative.rb
|
725
|
-
- vendor/eac_cli/lib/eac_cli/docopt/runner_context_replacement.rb
|
726
|
-
- vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb
|
727
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner.rb
|
728
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner/_class_methods.rb
|
729
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner/_doc.rb
|
730
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner/_settings.rb
|
731
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner/_subcommands.rb
|
732
|
-
- vendor/eac_cli/lib/eac_cli/docopt_runner/context.rb
|
733
765
|
- vendor/eac_cli/lib/eac_cli/old_configs.rb
|
734
766
|
- vendor/eac_cli/lib/eac_cli/old_configs/entry_reader.rb
|
735
767
|
- vendor/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb
|
@@ -748,8 +780,6 @@ files:
|
|
748
780
|
- vendor/eac_cli/lib/eac_cli/parser/collector.rb
|
749
781
|
- vendor/eac_cli/lib/eac_cli/parser/error.rb
|
750
782
|
- vendor/eac_cli/lib/eac_cli/patches.rb
|
751
|
-
- vendor/eac_cli/lib/eac_cli/patches/module.rb
|
752
|
-
- vendor/eac_cli/lib/eac_cli/patches/module/speaker.rb
|
753
783
|
- vendor/eac_cli/lib/eac_cli/patches/object.rb
|
754
784
|
- vendor/eac_cli/lib/eac_cli/patches/object/runner_with.rb
|
755
785
|
- vendor/eac_cli/lib/eac_cli/runner.rb
|
@@ -759,25 +789,23 @@ files:
|
|
759
789
|
- vendor/eac_cli/lib/eac_cli/runner/instance_methods.rb
|
760
790
|
- vendor/eac_cli/lib/eac_cli/runner_with.rb
|
761
791
|
- vendor/eac_cli/lib/eac_cli/runner_with/help.rb
|
792
|
+
- vendor/eac_cli/lib/eac_cli/runner_with/help/builder.rb
|
793
|
+
- vendor/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb
|
762
794
|
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
763
795
|
- vendor/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb
|
764
796
|
- vendor/eac_cli/lib/eac_cli/runner_with_set.rb
|
765
797
|
- vendor/eac_cli/lib/eac_cli/speaker.rb
|
766
|
-
- vendor/eac_cli/lib/eac_cli/speaker/_class_methods.rb
|
767
798
|
- vendor/eac_cli/lib/eac_cli/speaker/_constants.rb
|
768
799
|
- vendor/eac_cli/lib/eac_cli/speaker/list.rb
|
769
|
-
- vendor/eac_cli/lib/eac_cli/speaker/
|
800
|
+
- vendor/eac_cli/lib/eac_cli/speaker/options.rb
|
770
801
|
- vendor/eac_cli/lib/eac_cli/version.rb
|
771
802
|
- vendor/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb
|
772
|
-
- vendor/eac_cli/spec/lib/eac_cli/docopt/runner_extension_spec.rb
|
773
|
-
- vendor/eac_cli/spec/lib/eac_cli/docopt_runner_spec.rb
|
774
803
|
- vendor/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
|
775
804
|
- vendor/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
|
776
805
|
- vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
777
806
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
|
778
807
|
- vendor/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
779
808
|
- vendor/eac_cli/spec/lib/eac_cli/speaker_spec.rb
|
780
|
-
- vendor/eac_cli/spec/lib/module/speaker_spec.rb
|
781
809
|
- vendor/eac_cli/spec/rubocop_spec.rb
|
782
810
|
- vendor/eac_cli/spec/spec_helper.rb
|
783
811
|
- vendor/eac_config/Gemfile
|
@@ -840,6 +868,7 @@ files:
|
|
840
868
|
- vendor/eac_git/lib/eac_git/executables.rb
|
841
869
|
- vendor/eac_git/lib/eac_git/local.rb
|
842
870
|
- vendor/eac_git/lib/eac_git/local/commit.rb
|
871
|
+
- vendor/eac_git/lib/eac_git/local/commit/archive.rb
|
843
872
|
- vendor/eac_git/lib/eac_git/local/commit/changed_file.rb
|
844
873
|
- vendor/eac_git/lib/eac_git/local/commit/diff_tree_line.rb
|
845
874
|
- vendor/eac_git/lib/eac_git/local/dirty_files.rb
|
@@ -1054,6 +1083,7 @@ files:
|
|
1054
1083
|
- vendor/eac_ruby_base0/eac_ruby_base0.gemspec
|
1055
1084
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0.rb
|
1056
1085
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/application.rb
|
1086
|
+
- vendor/eac_ruby_base0/lib/eac_ruby_base0/application_xdg.rb
|
1057
1087
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/core_ext.rb
|
1058
1088
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/jobs_runner.rb
|
1059
1089
|
- vendor/eac_ruby_base0/lib/eac_ruby_base0/patches.rb
|
@@ -1118,6 +1148,8 @@ files:
|
|
1118
1148
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/class_initialize.rb
|
1119
1149
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/instance_initialize.rb
|
1120
1150
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/common_constructor/super_args.rb
|
1151
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/context.rb
|
1152
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/contextualizable.rb
|
1121
1153
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/core_ext.rb
|
1122
1154
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/custom_format.rb
|
1123
1155
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/envs.rb
|
@@ -1186,11 +1218,13 @@ files:
|
|
1186
1218
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb
|
1187
1219
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/abstract_methods.rb
|
1188
1220
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/common_concern.rb
|
1221
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/context.rb
|
1189
1222
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/immutable.rb
|
1190
1223
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/listable.rb
|
1191
1224
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/patch.rb
|
1192
1225
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/require_sub.rb
|
1193
1226
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/simple_cache.rb
|
1227
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/module/speaker.rb
|
1194
1228
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
|
1195
1229
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
|
1196
1230
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/debug.rb
|
@@ -1200,6 +1234,7 @@ files:
|
|
1200
1234
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
|
1201
1235
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
|
1202
1236
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
|
1237
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb
|
1203
1238
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
|
1204
1239
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
|
1205
1240
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
|
@@ -1218,6 +1253,9 @@ files:
|
|
1218
1253
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
|
1219
1254
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider/setting_value.rb
|
1220
1255
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
|
1256
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker.rb
|
1257
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb
|
1258
|
+
- vendor/eac_ruby_utils/lib/eac_ruby_utils/speaker/sender.rb
|
1221
1259
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
|
1222
1260
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb
|
1223
1261
|
- vendor/eac_ruby_utils/lib/eac_ruby_utils/yaml.rb
|
@@ -1244,9 +1282,11 @@ files:
|
|
1244
1282
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/hash/sym_keys_hash_spec.rb
|
1245
1283
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/listable_spec.rb
|
1246
1284
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/simple_cache_spec.rb
|
1285
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/module/speaker_spec.rb
|
1247
1286
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/if_present_spec.rb
|
1248
1287
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
|
1249
1288
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb
|
1289
|
+
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
|
1250
1290
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
|
1251
1291
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb
|
1252
1292
|
- vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb
|
@@ -1269,6 +1309,7 @@ files:
|
|
1269
1309
|
- vendor/eac_templates/lib/eac_templates/variable_not_found_error.rb
|
1270
1310
|
- vendor/eac_templates/lib/eac_templates/variable_providers.rb
|
1271
1311
|
- vendor/eac_templates/lib/eac_templates/variable_providers/base.rb
|
1312
|
+
- vendor/eac_templates/lib/eac_templates/variable_providers/config_reader.rb
|
1272
1313
|
- vendor/eac_templates/lib/eac_templates/variable_providers/entries_reader.rb
|
1273
1314
|
- vendor/eac_templates/lib/eac_templates/variable_providers/generic.rb
|
1274
1315
|
- vendor/eac_templates/lib/eac_templates/variable_providers/hash.rb
|