avm-tools 0.65.0 → 0.69.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/eac_rails_base0/apache_host.rb +17 -0
  3. data/lib/avm/eac_rails_base0/deploy.rb +50 -0
  4. data/lib/avm/eac_rails_base0/instance.rb +14 -0
  5. data/lib/avm/eac_redmine_base0/deploy.rb +2 -2
  6. data/lib/avm/eac_redmine_base0/instance.rb +2 -2
  7. data/lib/avm/eac_webapp_base0/apache_host.rb +103 -0
  8. data/lib/avm/eac_webapp_base0/deploy.rb +102 -0
  9. data/lib/avm/eac_webapp_base0/deploy/appended_directories.rb +25 -0
  10. data/lib/avm/eac_webapp_base0/deploy/file_unit.rb +41 -0
  11. data/lib/avm/eac_webapp_base0/deploy/git_info.rb +49 -0
  12. data/lib/avm/eac_webapp_base0/deploy/version.rb +20 -0
  13. data/lib/avm/eac_webapp_base0/instance.rb +50 -0
  14. data/lib/avm/eac_webapp_base0/runner/apache_host.rb +39 -0
  15. data/lib/avm/eac_webapp_base0/runner/data.rb +25 -0
  16. data/lib/avm/eac_webapp_base0/runner/data/dump.rb +69 -0
  17. data/lib/avm/eac_webapp_base0/runner/data/load.rb +66 -0
  18. data/lib/avm/eac_webapp_base0/runner/deploy.rb +59 -0
  19. data/lib/avm/instances/configuration/_locale.rb +16 -0
  20. data/lib/avm/local_projects/instance.rb +20 -1
  21. data/lib/avm/patches/i18n.rb +22 -0
  22. data/lib/avm/patches/object/i18n.rb +17 -0
  23. data/lib/avm/projects/stereotype.rb +1 -0
  24. data/lib/avm/projects/stereotypes/git_subrepo/warp.rb +2 -2
  25. data/lib/avm/projects/stereotypes/rails_application.rb +2 -0
  26. data/lib/avm/projects/stereotypes/rails_application/local_project_mixin.rb +18 -0
  27. data/lib/avm/projects/stereotypes/rails_application/update.rb +14 -0
  28. data/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb +9 -0
  29. data/lib/avm/projects/stereotypes/ruby_gem/version_bump.rb +61 -0
  30. data/lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb +2 -2
  31. data/lib/avm/stereotypes/eac_wordpress_base0/deploy.rb +2 -2
  32. data/lib/avm/stereotypes/eac_wordpress_base0/instance.rb +2 -2
  33. data/lib/avm/tools/runner/eac_rails_base0.rb +2 -2
  34. data/lib/avm/tools/runner/eac_rails_base0/apache_host.rb +3 -26
  35. data/lib/avm/tools/runner/eac_rails_base0/data.rb +2 -2
  36. data/lib/avm/tools/runner/eac_rails_base0/deploy.rb +3 -3
  37. data/lib/avm/tools/runner/eac_redmine_base0/data.rb +1 -1
  38. data/lib/avm/tools/runner/eac_redmine_base0/data/dump.rb +2 -2
  39. data/lib/avm/tools/runner/eac_redmine_base0/deploy.rb +2 -2
  40. data/lib/avm/tools/runner/eac_redmine_base0/project_rename.rb +1 -0
  41. data/lib/avm/tools/runner/eac_wordpress_base0/apache_host.rb +3 -25
  42. data/lib/avm/tools/runner/eac_wordpress_base0/data.rb +2 -2
  43. data/lib/avm/tools/runner/eac_wordpress_base0/deploy.rb +2 -2
  44. data/lib/avm/tools/runner/local_project/ruby.rb +24 -0
  45. data/lib/avm/tools/runner/local_project/ruby/bundler.rb +25 -0
  46. data/lib/avm/tools/runner/local_project/ruby/bundler/gemfile_lock.rb +138 -0
  47. data/lib/avm/tools/runner/local_project/update.rb +1 -2
  48. data/lib/avm/tools/runner/local_project/version_bump.rb +89 -0
  49. data/lib/avm/tools/version.rb +1 -1
  50. data/lib/avm/version.rb +45 -0
  51. data/lib/eac_launcher/git/sub_warp_base.rb +1 -1
  52. data/lib/eac_launcher/publish/base.rb +1 -1
  53. data/template/avm/{stereotypes/eac_rails_base0 → eac_rails_base0}/deploy/config/database.yml.template +0 -0
  54. data/template/avm/{stereotypes/eac_webapp_base0 → eac_webapp_base0}/apache_host/no_ssl.conf +0 -0
  55. data/template/avm/self/docker_image/Dockerfile +1 -1
  56. data/vendor/eac_cli/Gemfile +5 -0
  57. data/vendor/eac_cli/eac_cli.gemspec +18 -0
  58. data/vendor/eac_cli/lib/eac_cli.rb +7 -0
  59. data/vendor/eac_cli/lib/eac_cli/default_runner.rb +22 -0
  60. data/vendor/eac_cli/lib/eac_cli/definition.rb +72 -0
  61. data/vendor/eac_cli/lib/eac_cli/definition/argument_option.rb +13 -0
  62. data/vendor/eac_cli/lib/eac_cli/definition/base_option.rb +26 -0
  63. data/vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb +13 -0
  64. data/vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb +27 -0
  65. data/vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb +77 -0
  66. data/vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb +45 -0
  67. data/vendor/eac_cli/lib/eac_cli/parser.rb +14 -0
  68. data/vendor/eac_cli/lib/eac_cli/parser/collector.rb +56 -0
  69. data/vendor/eac_cli/lib/eac_cli/parser/error.rb +15 -0
  70. data/vendor/eac_cli/lib/eac_cli/parser/options_collection.rb +105 -0
  71. data/vendor/eac_cli/lib/eac_cli/parser/parse_result.rb +21 -0
  72. data/vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb +49 -0
  73. data/vendor/eac_cli/lib/eac_cli/runner.rb +87 -0
  74. data/vendor/eac_cli/lib/eac_cli/runner/context.rb +18 -0
  75. data/vendor/eac_cli/lib/eac_cli/version.rb +5 -0
  76. data/vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb +70 -0
  77. data/vendor/eac_cli/spec/rubocop_spec.rb +7 -0
  78. data/vendor/eac_cli/spec/spec_helper.rb +100 -0
  79. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb +15 -1
  80. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb +40 -0
  81. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb +5 -34
  82. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb +42 -0
  83. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb +25 -0
  84. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
  85. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/common_concern.rb +4 -4
  86. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner.rb +6 -0
  87. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_class_methods.rb +1 -1
  88. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/console/docopt_runner/_subcommands.rb +8 -2
  89. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb +18 -0
  90. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/value.rb +3 -2
  91. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb +22 -0
  92. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb +4 -0
  93. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb +9 -0
  94. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb +47 -0
  95. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  96. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb +15 -0
  97. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb +46 -0
  98. metadata +63 -19
  99. data/lib/avm/local_projects/jobs/update.rb +0 -29
  100. data/lib/avm/stereotypes/eac_rails_base0/apache_host.rb +0 -19
  101. data/lib/avm/stereotypes/eac_rails_base0/deploy.rb +0 -52
  102. data/lib/avm/stereotypes/eac_rails_base0/instance.rb +0 -16
  103. data/lib/avm/stereotypes/eac_webapp_base0/apache_host.rb +0 -97
  104. data/lib/avm/stereotypes/eac_webapp_base0/deploy.rb +0 -104
  105. data/lib/avm/stereotypes/eac_webapp_base0/deploy/appended_directories.rb +0 -27
  106. data/lib/avm/stereotypes/eac_webapp_base0/deploy/file_unit.rb +0 -43
  107. data/lib/avm/stereotypes/eac_webapp_base0/deploy/git_info.rb +0 -51
  108. data/lib/avm/stereotypes/eac_webapp_base0/deploy/version.rb +0 -22
  109. data/lib/avm/stereotypes/eac_webapp_base0/instance.rb +0 -52
  110. data/lib/avm/stereotypes/eac_webapp_base0/runner/data.rb +0 -27
  111. data/lib/avm/stereotypes/eac_webapp_base0/runner/data/dump.rb +0 -71
  112. data/lib/avm/stereotypes/eac_webapp_base0/runner/data/load.rb +0 -68
  113. data/lib/avm/stereotypes/eac_webapp_base0/runner/deploy.rb +0 -61
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EacRubyGemsUtils
4
+ module Tests
5
+ class Multiple
6
+ class DecoratedGem < ::SimpleDelegator
7
+ enable_console_speaker
8
+
9
+ def prepare
10
+ return unless gemfile_path.exist?
11
+
12
+ log('running "bundle install"...')
13
+ return if bundle('install').execute.fetch(:exit_code).zero?
14
+
15
+ if can_remove_gemfile_lock?
16
+ log('"bundle install" failed, removing Gemfile.lock and trying again...')
17
+ gemfile_lock_path.unlink if gemfile_lock_path.exist?
18
+ bundle('install').execute!
19
+ else
20
+ raise '"bundle install" failed and the Gemfile.lock is part of gem' \
21
+ '(Should be changed by developer)'
22
+ end
23
+ end
24
+
25
+ def tests
26
+ [::EacRubyGemsUtils::Tests::Minitest.new(__getobj__),
27
+ ::EacRubyGemsUtils::Tests::Rspec.new(__getobj__)]
28
+ end
29
+
30
+ private
31
+
32
+ def log(message)
33
+ infov self, message
34
+ end
35
+
36
+ def can_remove_gemfile_lock?
37
+ !files.include?(gemfile_lock_path.relative_path_from(root))
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EacRubyGemsUtils
4
+ module Tests
5
+ class Multiple
6
+ class Result
7
+ common_constructor :result
8
+
9
+ COLORS = {
10
+ ::EacRubyGemsUtils::Tests::Base::RESULT_FAILED => :red,
11
+ ::EacRubyGemsUtils::Tests::Base::RESULT_NONEXISTENT => :white,
12
+ ::EacRubyGemsUtils::Tests::Base::RESULT_SUCCESSFUL => :green
13
+ }.freeze
14
+
15
+ def tag
16
+ result.to_s.send(color)
17
+ end
18
+
19
+ def color
20
+ COLORS.fetch(result)
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyGemsUtils
4
- VERSION = '0.6.2'
4
+ VERSION = '0.7.1'
5
5
  end
@@ -21,10 +21,10 @@ module EacRubyUtils
21
21
 
22
22
  class Setup
23
23
  include ::EacRubyUtils::SimpleCache
24
- attr_reader :a_module, :common_constructor
24
+ attr_reader :a_module, :common_concern
25
25
 
26
- def initialize(common_constructor, a_module)
27
- @common_constructor = common_constructor
26
+ def initialize(common_concern, a_module)
27
+ @common_concern = common_concern
28
28
  @a_module = a_module
29
29
  end
30
30
 
@@ -47,7 +47,7 @@ module EacRubyUtils
47
47
  end
48
48
 
49
49
  def setup_after_callback(base)
50
- common_constructor.after_callback.if_present do |v|
50
+ common_concern.after_callback.if_present do |v|
51
51
  base.instance_eval(&v)
52
52
  end
53
53
  end
@@ -14,6 +14,12 @@ module EacRubyUtils
14
14
  class DocoptRunner
15
15
  include ::EacRubyUtils::Contextualizable
16
16
 
17
+ class << self
18
+ def create(settings = {})
19
+ new(settings)
20
+ end
21
+ end
22
+
17
23
  attr_reader :settings
18
24
 
19
25
  def initialize(settings = {})
@@ -7,7 +7,7 @@ module EacRubyUtils
7
7
 
8
8
  class << self
9
9
  def run(options = {})
10
- new(options).send(:run)
10
+ create(options).send(:run)
11
11
  rescue Docopt::Exit => e
12
12
  STDERR.write(e.message + "\n")
13
13
  ::Kernel.exit(DOCOPT_ERROR_EXIT_CODE) # rubocop:disable Rails/Exit
@@ -25,6 +25,8 @@ module EacRubyUtils
25
25
  end
26
26
 
27
27
  module SubcommandsSupport
28
+ EXTRA_AVAILABLE_SUBCOMMANDS_METHOD_NAME = :extra_available_subcommands
29
+
28
30
  def check_subcommands_arg
29
31
  if subcommand_arg_as_list?
30
32
  singleton_class.include(SubcommandsSupport::SubcommandArgAsList)
@@ -43,7 +45,7 @@ module EacRubyUtils
43
45
  end
44
46
 
45
47
  def subcommand
46
- @subcommand ||= subcommand_class_name(subcommand_name).constantize.new(
48
+ @subcommand ||= subcommand_class_name(subcommand_name).constantize.create(
47
49
  argv: subcommand_args,
48
50
  program_name: subcommand_program,
49
51
  parent: self
@@ -77,7 +79,11 @@ module EacRubyUtils
77
79
  end
78
80
 
79
81
  def available_subcommands
80
- (setting_value(:subcommands, false) || auto_available_subcommands).sort
82
+ r = ::Set.new(setting_value(:subcommands, false) || auto_available_subcommands)
83
+ if respond_to?(EXTRA_AVAILABLE_SUBCOMMANDS_METHOD_NAME, true)
84
+ r += send(EXTRA_AVAILABLE_SUBCOMMANDS_METHOD_NAME)
85
+ end
86
+ r.sort
81
87
  end
82
88
 
83
89
  def auto_available_subcommands
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EacRubyUtils
4
+ class Inflector
5
+ class << self
6
+ VARIABLE_NAME_PATTERN = /[_a-z][_a-z0-9]*/i.freeze
7
+
8
+ def variableize(string)
9
+ r = string.gsub(/[^_a-z0-9]/i, '_').gsub(/_+/, '_').gsub(/_\z/, '').gsub(/\A_/, '').downcase
10
+ m = VARIABLE_NAME_PATTERN.match(r)
11
+ return r if m
12
+
13
+ raise ::ArgumentError, "Invalid variable name \"#{r}\" was generated " \
14
+ "from string \"#{string}\""
15
+ end
16
+ end
17
+ end
18
+ end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'eac_ruby_utils/inflector'
4
+
3
5
  module EacRubyUtils
4
6
  module Listable
5
7
  class Value
@@ -16,8 +18,7 @@ module EacRubyUtils
16
18
  end
17
19
 
18
20
  def constant_name
19
- "#{@list.item}_#{@key}".gsub(/[^a-z0-9_]/, '_').gsub(/_+/, '_')
20
- .gsub(/(?:\A_|_\z)/, '').upcase
21
+ ::EacRubyUtils::Inflector.variableize("#{@list.item}_#{@key}").upcase
21
22
  end
22
23
 
23
24
  def label
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/core_ext/object/blank'
4
+
5
+ class Object
6
+ # @return +block.call(self.method_name)+ if +self+ responds to +method_name+, +default_value+
7
+ # otherwise.
8
+ def if_respond(method_name, default_value = nil)
9
+ return default_value unless respond_to?(method_name)
10
+
11
+ value = send(method_name)
12
+
13
+ block_given? ? yield(value) : value
14
+ end
15
+
16
+ # @return +yield+ if +self+ is blank.
17
+ def if_blank
18
+ return yield if blank? && block_given?
19
+
20
+ self
21
+ end
22
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/require_sub'
4
+ ::EacRubyUtils.require_sub __FILE__
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/inflector'
4
+
5
+ class String
6
+ def variableize
7
+ ::EacRubyUtils::Inflector.variableize(self)
8
+ end
9
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/hash_with_indifferent_access'
4
+ require 'active_support/core_ext/object/blank'
5
+
6
+ module EacRubyUtils
7
+ class Struct
8
+ def initialize(initial_data = {})
9
+ self.data = ::ActiveSupport::HashWithIndifferentAccess.new(initial_data)
10
+ end
11
+
12
+ def [](key)
13
+ key, bool = parse_key(key)
14
+ bool ? self[key].present? : data[key]
15
+ end
16
+
17
+ def fetch(key)
18
+ key, bool = parse_key(key)
19
+ bool ? fetch(key).present? : data.fetch(key)
20
+ end
21
+
22
+ def method_missing(method_name, *arguments, &block)
23
+ property_method?(method_name) ? fetch(method_name) : super
24
+ end
25
+
26
+ def respond_to_missing?(method_name, include_private = false)
27
+ property_method?(method_name) || super
28
+ end
29
+
30
+ private
31
+
32
+ attr_accessor :data
33
+
34
+ def parse_key(key)
35
+ m = /\A(.+)\?\z/.match(key.to_s)
36
+ [(m ? m[1] : key.to_s).to_sym, m ? true : false]
37
+ end
38
+
39
+ def property_method?(key)
40
+ property_methods.include?(key.to_sym)
41
+ end
42
+
43
+ def property_methods
44
+ data.keys.flat_map { |k| [k.to_sym, "#{k}?".to_sym] }
45
+ end
46
+ end
47
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.43.0'
4
+ VERSION = '0.45.2'
5
5
  end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/inflector'
4
+
5
+ RSpec.describe ::EacRubyUtils::Inflector do
6
+ describe '#variableize' do
7
+ {
8
+ '_A_variableName' => 'a_variablename'
9
+ }.each do |source, expected|
10
+ context "when source is \"#{source}\"" do
11
+ it { expect(described_class.variableize(source)).to eq(expected) }
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/struct'
4
+
5
+ RSpec.describe ::EacRubyUtils::Struct do
6
+ let(:instance) { described_class.new(a: 1, b: '') }
7
+
8
+ describe '#[]' do
9
+ it { expect(instance[:a]).to eq(1) }
10
+ it { expect(instance['a']).to eq(1) }
11
+ it { expect(instance[:a?]).to eq(true) }
12
+ it { expect(instance['a?']).to eq(true) }
13
+ it { expect(instance[:b]).to eq('') }
14
+ it { expect(instance['b']).to eq('') }
15
+ it { expect(instance[:b?]).to eq(false) }
16
+ it { expect(instance['b?']).to eq(false) }
17
+ it { expect(instance[:c]).to eq(nil) }
18
+ it { expect(instance['c']).to eq(nil) }
19
+ it { expect(instance[:c?]).to eq(false) }
20
+ it { expect(instance['c?']).to eq(false) }
21
+ end
22
+
23
+ describe '#fetch' do
24
+ it { expect(instance.fetch(:a)).to eq(1) }
25
+ it { expect(instance.fetch('a')).to eq(1) }
26
+ it { expect(instance.fetch(:a?)).to eq(true) }
27
+ it { expect(instance.fetch('a?')).to eq(true) }
28
+ it { expect(instance.fetch(:b)).to eq('') }
29
+ it { expect(instance.fetch('b')).to eq('') }
30
+ it { expect(instance.fetch(:b?)).to eq(false) }
31
+ it { expect(instance.fetch('b?')).to eq(false) }
32
+ it { expect { instance.fetch(:c) }.to raise_error(::KeyError) }
33
+ it { expect { instance.fetch('c') }.to raise_error(::KeyError) }
34
+ it { expect { instance.fetch(:c?) }.to raise_error(::KeyError) }
35
+ it { expect { instance.fetch('c?') }.to raise_error(::KeyError) }
36
+ end
37
+
38
+ describe '#property_method' do
39
+ it { expect(instance.a).to eq(1) }
40
+ it { expect(instance.a?).to eq(true) }
41
+ it { expect(instance.b).to eq('') }
42
+ it { expect(instance.b?).to eq(false) }
43
+ it { expect { instance.c }.to raise_error(::NoMethodError) }
44
+ it { expect { instance.c? }.to raise_error(::NoMethodError) }
45
+ end
46
+ 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.65.0
4
+ version: 0.69.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-09-02 00:00:00.000000000 Z
11
+ date: 2020-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -290,10 +290,25 @@ files:
290
290
  - lib/avm/docker/image.rb
291
291
  - lib/avm/docker/registry.rb
292
292
  - lib/avm/docker/runner.rb
293
+ - lib/avm/eac_rails_base0/apache_host.rb
294
+ - lib/avm/eac_rails_base0/deploy.rb
295
+ - lib/avm/eac_rails_base0/instance.rb
293
296
  - lib/avm/eac_redmine_base0/core_update.rb
294
297
  - lib/avm/eac_redmine_base0/data_unit.rb
295
298
  - lib/avm/eac_redmine_base0/deploy.rb
296
299
  - lib/avm/eac_redmine_base0/instance.rb
300
+ - lib/avm/eac_webapp_base0/apache_host.rb
301
+ - lib/avm/eac_webapp_base0/deploy.rb
302
+ - lib/avm/eac_webapp_base0/deploy/appended_directories.rb
303
+ - lib/avm/eac_webapp_base0/deploy/file_unit.rb
304
+ - lib/avm/eac_webapp_base0/deploy/git_info.rb
305
+ - lib/avm/eac_webapp_base0/deploy/version.rb
306
+ - lib/avm/eac_webapp_base0/instance.rb
307
+ - lib/avm/eac_webapp_base0/runner/apache_host.rb
308
+ - lib/avm/eac_webapp_base0/runner/data.rb
309
+ - lib/avm/eac_webapp_base0/runner/data/dump.rb
310
+ - lib/avm/eac_webapp_base0/runner/data/load.rb
311
+ - lib/avm/eac_webapp_base0/runner/deploy.rb
297
312
  - lib/avm/executables.rb
298
313
  - lib/avm/files.rb
299
314
  - lib/avm/files/formatter.rb
@@ -361,6 +376,7 @@ files:
361
376
  - lib/avm/instances/base/auto_values/web.rb
362
377
  - lib/avm/instances/base/dockerizable.rb
363
378
  - lib/avm/instances/configuration.rb
379
+ - lib/avm/instances/configuration/_locale.rb
364
380
  - lib/avm/instances/configuration/_rubocop.rb
365
381
  - lib/avm/instances/configuration/_tests.rb
366
382
  - lib/avm/instances/entries.rb
@@ -376,9 +392,10 @@ files:
376
392
  - lib/avm/launcher/instances/settings.rb
377
393
  - lib/avm/local_projects.rb
378
394
  - lib/avm/local_projects/instance.rb
379
- - lib/avm/local_projects/jobs/update.rb
380
395
  - lib/avm/patches.rb
381
396
  - lib/avm/patches/eac_ruby_gems_utils/gem.rb
397
+ - lib/avm/patches/i18n.rb
398
+ - lib/avm/patches/object/i18n.rb
382
399
  - lib/avm/patches/object/template.rb
383
400
  - lib/avm/path_string.rb
384
401
  - lib/avm/projects.rb
@@ -395,11 +412,14 @@ files:
395
412
  - lib/avm/projects/stereotypes/git_subtree/publish.rb
396
413
  - lib/avm/projects/stereotypes/git_subtree/warp.rb
397
414
  - lib/avm/projects/stereotypes/rails_application.rb
415
+ - lib/avm/projects/stereotypes/rails_application/local_project_mixin.rb
416
+ - lib/avm/projects/stereotypes/rails_application/update.rb
398
417
  - lib/avm/projects/stereotypes/redmine_plugin.rb
399
418
  - lib/avm/projects/stereotypes/ruby_gem.rb
400
419
  - lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb
401
420
  - lib/avm/projects/stereotypes/ruby_gem/publish.rb
402
421
  - lib/avm/projects/stereotypes/ruby_gem/update.rb
422
+ - lib/avm/projects/stereotypes/ruby_gem/version_bump.rb
403
423
  - lib/avm/rails.rb
404
424
  - lib/avm/rails/runners.rb
405
425
  - lib/avm/rails/runners/bundle.rb
@@ -418,26 +438,12 @@ files:
418
438
  - lib/avm/self/instance/entry_keys.rb
419
439
  - lib/avm/stereotypes.rb
420
440
  - lib/avm/stereotypes/eac_rails_base0.rb
421
- - lib/avm/stereotypes/eac_rails_base0/apache_host.rb
422
- - lib/avm/stereotypes/eac_rails_base0/deploy.rb
423
- - lib/avm/stereotypes/eac_rails_base0/instance.rb
424
441
  - lib/avm/stereotypes/eac_redmine_base0.rb
425
442
  - lib/avm/stereotypes/eac_ubuntu_base0.rb
426
443
  - lib/avm/stereotypes/eac_ubuntu_base0/apache.rb
427
444
  - lib/avm/stereotypes/eac_ubuntu_base0/apache/site.rb
428
445
  - lib/avm/stereotypes/eac_ubuntu_base0/docker_image.rb
429
446
  - lib/avm/stereotypes/eac_webapp_base0.rb
430
- - lib/avm/stereotypes/eac_webapp_base0/apache_host.rb
431
- - lib/avm/stereotypes/eac_webapp_base0/deploy.rb
432
- - lib/avm/stereotypes/eac_webapp_base0/deploy/appended_directories.rb
433
- - lib/avm/stereotypes/eac_webapp_base0/deploy/file_unit.rb
434
- - lib/avm/stereotypes/eac_webapp_base0/deploy/git_info.rb
435
- - lib/avm/stereotypes/eac_webapp_base0/deploy/version.rb
436
- - lib/avm/stereotypes/eac_webapp_base0/instance.rb
437
- - lib/avm/stereotypes/eac_webapp_base0/runner/data.rb
438
- - lib/avm/stereotypes/eac_webapp_base0/runner/data/dump.rb
439
- - lib/avm/stereotypes/eac_webapp_base0/runner/data/load.rb
440
- - lib/avm/stereotypes/eac_webapp_base0/runner/deploy.rb
441
447
  - lib/avm/stereotypes/eac_wordpress_base0/apache_host.rb
442
448
  - lib/avm/stereotypes/eac_wordpress_base0/deploy.rb
443
449
  - lib/avm/stereotypes/eac_wordpress_base0/instance.rb
@@ -489,8 +495,12 @@ files:
489
495
  - lib/avm/tools/runner/launcher/publish.rb
490
496
  - lib/avm/tools/runner/local_project.rb
491
497
  - lib/avm/tools/runner/local_project/info.rb
498
+ - lib/avm/tools/runner/local_project/ruby.rb
499
+ - lib/avm/tools/runner/local_project/ruby/bundler.rb
500
+ - lib/avm/tools/runner/local_project/ruby/bundler/gemfile_lock.rb
492
501
  - lib/avm/tools/runner/local_project/test.rb
493
502
  - lib/avm/tools/runner/local_project/update.rb
503
+ - lib/avm/tools/runner/local_project/version_bump.rb
494
504
  - lib/avm/tools/runner/ruby.rb
495
505
  - lib/avm/tools/runner/ruby/gems.rb
496
506
  - lib/avm/tools/runner/ruby/gems/generate.rb
@@ -498,6 +508,7 @@ files:
498
508
  - lib/avm/tools/runner/self.rb
499
509
  - lib/avm/tools/runner/self/docker.rb
500
510
  - lib/avm/tools/version.rb
511
+ - lib/avm/version.rb
501
512
  - lib/eac_launcher.rb
502
513
  - lib/eac_launcher/context.rb
503
514
  - lib/eac_launcher/context/instance_discovery.rb
@@ -532,8 +543,10 @@ files:
532
543
  - lib/eac_launcher/vendor.rb
533
544
  - lib/eac_launcher/vendor/github.rb
534
545
  - lib/eac_launcher/version.rb
546
+ - template/avm/eac_rails_base0/deploy/config/database.yml.template
535
547
  - template/avm/eac_redmine_base0/deploy/config/install.sh.template
536
548
  - template/avm/eac_redmine_base0/deploy/config/secrets.yml
549
+ - template/avm/eac_webapp_base0/apache_host/no_ssl.conf
537
550
  - template/avm/ruby/gems/generator/gemspec.template
538
551
  - template/avm/ruby/gems/generator/root_lib.template
539
552
  - template/avm/ruby/gems/generator/static/Gemfile
@@ -542,10 +555,31 @@ files:
542
555
  - template/avm/ruby/gems/generator/version.template
543
556
  - template/avm/self/docker_image/Dockerfile
544
557
  - template/avm/self/docker_image/entrypoint.sh
545
- - template/avm/stereotypes/eac_rails_base0/deploy/config/database.yml.template
546
558
  - template/avm/stereotypes/eac_ubuntu_base0/docker_image/Dockerfile
547
- - template/avm/stereotypes/eac_webapp_base0/apache_host/no_ssl.conf
548
559
  - template/avm/stereotypes/eac_wordpress_base0/deploy/wp-config.php.template
560
+ - vendor/eac_cli/Gemfile
561
+ - vendor/eac_cli/eac_cli.gemspec
562
+ - vendor/eac_cli/lib/eac_cli.rb
563
+ - vendor/eac_cli/lib/eac_cli/default_runner.rb
564
+ - vendor/eac_cli/lib/eac_cli/definition.rb
565
+ - vendor/eac_cli/lib/eac_cli/definition/argument_option.rb
566
+ - vendor/eac_cli/lib/eac_cli/definition/base_option.rb
567
+ - vendor/eac_cli/lib/eac_cli/definition/boolean_option.rb
568
+ - vendor/eac_cli/lib/eac_cli/definition/positional_argument.rb
569
+ - vendor/eac_cli/lib/eac_cli/docopt/doc_builder.rb
570
+ - vendor/eac_cli/lib/eac_cli/docopt/runner_extension.rb
571
+ - vendor/eac_cli/lib/eac_cli/parser.rb
572
+ - vendor/eac_cli/lib/eac_cli/parser/collector.rb
573
+ - vendor/eac_cli/lib/eac_cli/parser/error.rb
574
+ - vendor/eac_cli/lib/eac_cli/parser/options_collection.rb
575
+ - vendor/eac_cli/lib/eac_cli/parser/parse_result.rb
576
+ - vendor/eac_cli/lib/eac_cli/parser/positional_collection.rb
577
+ - vendor/eac_cli/lib/eac_cli/runner.rb
578
+ - vendor/eac_cli/lib/eac_cli/runner/context.rb
579
+ - vendor/eac_cli/lib/eac_cli/version.rb
580
+ - vendor/eac_cli/spec/lib/eac_cli/runner_spec.rb
581
+ - vendor/eac_cli/spec/rubocop_spec.rb
582
+ - vendor/eac_cli/spec/spec_helper.rb
549
583
  - vendor/eac_docker/Gemfile
550
584
  - vendor/eac_docker/eac_docker.gemspec
551
585
  - vendor/eac_docker/lib/eac_docker.rb
@@ -782,10 +816,13 @@ files:
782
816
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils.rb
783
817
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem.rb
784
818
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/command.rb
819
+ - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/gem/version_file.rb
785
820
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests.rb
786
821
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/base.rb
787
822
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/minitest.rb
788
823
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple.rb
824
+ - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/decorated_gem.rb
825
+ - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/multiple/result.rb
789
826
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/tests/rspec.rb
790
827
  - vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb
791
828
  - vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
@@ -856,6 +893,7 @@ files:
856
893
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/common_accessor.rb
857
894
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/hash_accessor.rb
858
895
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/instance_methods.rb
896
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/inflector.rb
859
897
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable.rb
860
898
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/class_methods.rb
861
899
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/listable/instance_methods.rb
@@ -887,12 +925,15 @@ files:
887
925
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object.rb
888
926
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/asserts.rb
889
927
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_present.rb
928
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/if_respond.rb
890
929
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/template.rb
891
930
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
892
931
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
893
932
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
894
933
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
895
934
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
935
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string.rb
936
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
896
937
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
897
938
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/default_time_zone_set.rb
898
939
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/local_time_zone.rb
@@ -906,6 +947,7 @@ files:
906
947
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
907
948
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/settings_provider.rb
908
949
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/simple_cache.rb
950
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/struct.rb
909
951
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates.rb
910
952
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates/directory.rb
911
953
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/templates/file.rb
@@ -932,6 +974,7 @@ files:
932
974
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/extname_spec.rb
933
975
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp/temp_spec.rb
934
976
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/fs/temp_spec.rb
977
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/inflector_spec.rb
935
978
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/listable_spec.rb
936
979
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/options_consumer_spec.rb
937
980
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/enumerable/boolean_combinations_spec.rb
@@ -951,6 +994,7 @@ files:
951
994
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/ruby_spec.rb
952
995
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/settings_provider_spec.rb
953
996
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/simple_cache_spec.rb
997
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/struct_spec.rb
954
998
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec.rb
955
999
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec_files/expected_content
956
1000
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/templates/file_spec_files/source.template