avm-tools 0.104.0 → 0.105.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/lib/avm/launcher/context/instance_collector.rb +46 -0
  3. data/lib/avm/launcher/instances/runner_helper.rb +21 -15
  4. data/lib/avm/launcher/paths/logical.rb +5 -0
  5. data/lib/avm/tools/runner/launcher/instances.rb +7 -5
  6. data/lib/avm/tools/runner/launcher/projects.rb +2 -4
  7. data/lib/avm/tools/runner/launcher/publish.rb +2 -6
  8. data/lib/avm/tools/version.rb +1 -1
  9. data/vendor/avm/lib/avm/version.rb +1 -1
  10. data/vendor/avm/spec/lib/avm/git/commit/diff_tree_line_spec.rb +0 -1
  11. data/vendor/avm/spec/rubocop_spec.rb +1 -1
  12. data/vendor/avm/spec/spec_helper.rb +2 -17
  13. data/vendor/avm-apps/lib/avm/apps/version.rb +1 -1
  14. data/vendor/avm-apps/spec/rubocop_spec.rb +1 -1
  15. data/vendor/avm-apps/spec/spec_helper.rb +2 -101
  16. data/vendor/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
  17. data/vendor/avm-eac_asciidoctor_base0/spec/rubocop_spec.rb +1 -1
  18. data/vendor/avm-eac_asciidoctor_base0/spec/spec_helper.rb +2 -100
  19. data/vendor/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
  20. data/vendor/avm-eac_rails_base1/spec/rubocop_spec.rb +1 -1
  21. data/vendor/avm-eac_rails_base1/spec/spec_helper.rb +2 -100
  22. data/vendor/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
  23. data/vendor/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
  24. data/vendor/avm-eac_redmine_base0/spec/rubocop_spec.rb +1 -1
  25. data/vendor/avm-eac_redmine_base0/spec/spec_helper.rb +2 -100
  26. data/vendor/avm-eac_redmine_base0/template/avm/eac_redmine_base0/deploy/config/install.sh.template +1 -0
  27. data/vendor/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
  28. data/vendor/avm-eac_webapp_base0/spec/rubocop_spec.rb +1 -1
  29. data/vendor/avm-eac_webapp_base0/spec/spec_helper.rb +2 -100
  30. data/vendor/eac_cli/eac_cli.gemspec +3 -3
  31. data/vendor/eac_cli/lib/eac_cli/version.rb +1 -1
  32. data/vendor/eac_cli/spec/rubocop_spec.rb +1 -1
  33. data/vendor/eac_cli/spec/spec_helper.rb +2 -101
  34. data/vendor/eac_config/eac_config.gemspec +2 -2
  35. data/vendor/eac_config/lib/eac_config/version.rb +1 -1
  36. data/vendor/eac_config/spec/rubocop_spec.rb +1 -1
  37. data/vendor/eac_config/spec/spec_helper.rb +2 -15
  38. data/vendor/eac_docker/eac_docker.gemspec +2 -2
  39. data/vendor/eac_docker/lib/eac_docker/container.rb +7 -3
  40. data/vendor/eac_docker/lib/eac_docker/images/templatized.rb +4 -0
  41. data/vendor/eac_docker/lib/eac_docker/rspec/setup.rb +17 -0
  42. data/vendor/eac_docker/lib/eac_docker/rspec.rb +2 -10
  43. data/vendor/eac_docker/lib/eac_docker/version.rb +1 -1
  44. data/vendor/eac_docker/spec/rubocop_spec.rb +1 -1
  45. data/vendor/eac_docker/spec/spec_helper.rb +2 -104
  46. data/vendor/eac_git/eac_git.gemspec +3 -3
  47. data/vendor/eac_git/lib/eac_git/rspec/setup.rb +23 -0
  48. data/vendor/eac_git/lib/eac_git/rspec.rb +1 -14
  49. data/vendor/eac_git/lib/eac_git/version.rb +1 -1
  50. data/vendor/eac_git/spec/rubocop_spec.rb +1 -1
  51. data/vendor/eac_git/spec/spec_helper.rb +2 -104
  52. data/vendor/eac_ruby_base0/eac_ruby_base0.gemspec +4 -4
  53. data/vendor/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
  54. data/vendor/eac_ruby_base0/spec/rubocop_spec.rb +1 -1
  55. data/vendor/eac_ruby_base0/spec/spec_helper.rb +2 -101
  56. data/vendor/eac_ruby_gems_utils/eac_ruby_gems_utils.gemspec +2 -2
  57. data/vendor/eac_ruby_gems_utils/lib/eac_ruby_gems_utils/version.rb +1 -1
  58. data/vendor/eac_ruby_gems_utils/spec/code/rubocop_check_spec.rb +1 -1
  59. data/vendor/eac_ruby_gems_utils/spec/spec_helper.rb +2 -101
  60. data/vendor/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
  61. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/envs/executable.rb +15 -3
  62. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +75 -0
  63. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +35 -0
  64. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb +51 -0
  65. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb +20 -0
  66. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb +17 -0
  67. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb +12 -0
  68. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb +49 -0
  69. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
  70. data/vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb +65 -0
  71. data/vendor/eac_ruby_utils/spec/rubocop_check_spec.rb +1 -1
  72. data/vendor/eac_ruby_utils/spec/spec_helper.rb +6 -6
  73. data/vendor/eac_templates/lib/eac_templates/version.rb +1 -1
  74. data/vendor/eac_templates/spec/rubocop_spec.rb +1 -1
  75. data/vendor/eac_templates/spec/spec_helper.rb +2 -100
  76. metadata +13 -5
  77. data/lib/avm/eac_asciidoctor_base0.rb +0 -9
  78. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb +0 -35
  79. data/vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/stubbed_ssh.rb +0 -44
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/rspec/setup_manager'
4
+
5
+ module EacRubyUtils
6
+ module Rspec
7
+ class << self
8
+ # @return [EacRubyUtils::Rspec::SetupManager]
9
+ def default_setup
10
+ @default_setup ||
11
+ raise("Default instance was not set. Use #{self.class.name}.default_setup_create")
12
+ end
13
+
14
+ # @return [EacRubyUtils::Rspec::SetupManager]
15
+ def default_setup_create(app_root_path, rspec_config = nil)
16
+ @default_setup = ::EacRubyUtils::Rspec::SetupManager.create(app_root_path, rspec_config)
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EacRubyUtils
4
+ module Rspec
5
+ module Setup
6
+ module Conditionals
7
+ def conditional(tag, &condition)
8
+ message = condition.call
9
+ return if message.blank?
10
+
11
+ puts("[WARN] Excluded tag: #{tag}: #{message}")
12
+ rspec_config.filter_run_excluding tag
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module EacRubyUtils
6
+ module Rspec
7
+ module Setup
8
+ extend ::ActiveSupport::Concern
9
+ require_sub __FILE__, include_modules: true
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/gems_registry'
4
+ require 'eac_ruby_utils/patches/object/if_respond'
5
+ require 'eac_ruby_utils/patches/object/to_pathname'
6
+
7
+ module EacRubyUtils
8
+ module Rspec
9
+ class SetupManager
10
+ GEMS_REGISTRY_SUFFIX = 'Rspec::Setup'
11
+
12
+ class << self
13
+ def create(app_root_path, rspec_config = nil)
14
+ if rspec_config
15
+ new(app_root_path, rspec_config)
16
+ else
17
+ ::RSpec.configure { |new_rspec_config| new(app_root_path, new_rspec_config) }
18
+ end
19
+ end
20
+ end
21
+
22
+ attr_reader :app_root_path, :rspec_config
23
+
24
+ def initialize(app_root_path, rspec_config)
25
+ @app_root_path = app_root_path.to_pathname
26
+ @rspec_config = rspec_config
27
+ include_registry
28
+ end
29
+
30
+ # @return [EacRubyUtils::GemsRegistry]
31
+ def gems_registry
32
+ @gems_registry ||= ::EacRubyUtils::GemsRegistry.new(GEMS_REGISTRY_SUFFIX)
33
+ end
34
+
35
+ protected
36
+
37
+ def include_registry
38
+ gems_registry.registered.each do |gem|
39
+ include_gem_registered(gem.registered_module)
40
+ end
41
+ end
42
+
43
+ # @param gem [EacRubyUtils::GemsRegistry::Gem]
44
+ def include_gem_registered(registered_module)
45
+ extend(registered_module)
46
+ end
47
+ end
48
+ end
49
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.69.1'
4
+ VERSION = '0.74.0'
5
5
  end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/recursive_builder'
4
+
5
+ RSpec.describe ::EacRubyUtils::RecursiveBuilder do
6
+ let(:item_class) do
7
+ ::Class.new do
8
+ class << self
9
+ def create(label, dependencies_keys)
10
+ item = new(label, dependencies_keys)
11
+ registry[item.label] = item
12
+ item
13
+ end
14
+
15
+ def registry
16
+ @registry ||= {}
17
+ end
18
+ end
19
+
20
+ attr_reader :label, :dependencies_keys
21
+
22
+ def initialize(label, dependencies_keys)
23
+ @label = label
24
+ @dependencies_keys = dependencies_keys.freeze
25
+ end
26
+
27
+ def dependencies
28
+ dependencies_keys.map { |key| self.class.registry.fetch(key) }
29
+ end
30
+
31
+ def to_s
32
+ label
33
+ end
34
+ end
35
+ end
36
+
37
+ items = [
38
+ [:a, %w[c], %w[a c]],
39
+ [:b, %w[a], %w[b a c]],
40
+ [:c, [], %w[c]],
41
+ [:d, %w[a b c e], %w[d a b c e]],
42
+ [:e, %w[c b], %w[e c b a]]
43
+ ]
44
+
45
+ items.each do |item|
46
+ let(item[0]) { item_class.create(item[0].to_s, item[1]) }
47
+ before { send(item[0]) }
48
+ end
49
+
50
+ describe '#result' do
51
+ items.each do |item|
52
+ context "when root is \"#{item[0]}\"" do
53
+ let(:root) { send(item[0]) }
54
+ let(:dependencies) { item[2].map { |d| send(d) } }
55
+ let(:builder) do
56
+ described_class.new(root, &:dependencies)
57
+ end
58
+
59
+ it "is #{item[2]}" do
60
+ expect(builder.result).to eq(dependencies)
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ::EacRubyGemSupport::Rspec.default.describe_rubocop
3
+ ::EacRubyUtils::Rspec.default_setup.describe_rubocop
@@ -3,13 +3,13 @@
3
3
  $LOAD_PATH.push File.expand_path('../lib', __dir__)
4
4
  require 'tmpdir'
5
5
 
6
+ require 'i18n'
7
+ ::I18n.load_path << ::File.join(__dir__, 'locales/pt-BR.yml')
8
+ ::I18n.locale = 'pt-BR'
9
+
6
10
  RSpec.configure do |config|
7
11
  config.example_status_persistence_file_path = ::File.join(::Dir.tmpdir, 'eac_ruby_utils_rspec')
8
12
 
9
- require 'eac_ruby_gem_support/rspec'
10
- ::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
13
+ require 'eac_ruby_utils/rspec/default_setup'
14
+ ::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__), config)
11
15
  end
12
-
13
- require 'i18n'
14
- ::I18n.load_path << ::File.join(__dir__, 'locales/pt-BR.yml')
15
- ::I18n.locale = 'pt-BR'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacTemplates
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ::EacRubyGemSupport::Rspec.default.describe_rubocop
3
+ ::EacRubyUtils::Rspec.default_setup.describe_rubocop
@@ -1,102 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # This file was generated by the `rspec --init` command. Conventionally, all
4
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
- # The generated `.rspec` file contains `--require spec_helper` which will cause
6
- # this file to always be loaded, without a need to explicitly require it in any
7
- # files.
8
- #
9
- # Given that it is always loaded, you are encouraged to keep this file as
10
- # light-weight as possible. Requiring heavyweight dependencies from this file
11
- # will add to the boot time of your test suite on EVERY test run, even for an
12
- # individual file that may not need all of that loaded. Instead, consider making
13
- # a separate helper file that requires the additional dependencies and performs
14
- # the additional setup, and require it from the spec files that actually need
15
- # it.
16
- #
17
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
- RSpec.configure do |config|
19
- # rspec-expectations config goes here. You can use an alternate
20
- # assertion/expectation library such as wrong or the stdlib/minitest
21
- # assertions if you prefer.
22
- config.expect_with :rspec do |expectations|
23
- # This option will default to `true` in RSpec 4. It makes the `description`
24
- # and `failure_message` of custom matchers include text for helper methods
25
- # defined using `chain`, e.g.:
26
- # be_bigger_than(2).and_smaller_than(4).description
27
- # # => "be bigger than 2 and smaller than 4"
28
- # ...rather than:
29
- # # => "be bigger than 2"
30
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
31
- end
32
-
33
- # rspec-mocks config goes here. You can use an alternate test double
34
- # library (such as bogus or mocha) by changing the `mock_with` option here.
35
- config.mock_with :rspec do |mocks|
36
- # Prevents you from mocking or stubbing a method that does not exist on
37
- # a real object. This is generally recommended, and will default to
38
- # `true` in RSpec 4.
39
- mocks.verify_partial_doubles = true
40
- end
41
-
42
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
43
- # have no way to turn it off -- the option exists only for backwards
44
- # compatibility in RSpec 3). It causes shared context metadata to be
45
- # inherited by the metadata hash of host groups and examples, rather than
46
- # triggering implicit auto-inclusion in groups with matching metadata.
47
- config.shared_context_metadata_behavior = :apply_to_host_groups
48
-
49
- # The settings below are suggested to provide a good initial experience
50
- # with RSpec, but feel free to customize to your heart's content.
51
- # # This allows you to limit a spec run to individual examples or groups
52
- # # you care about by tagging them with `:focus` metadata. When nothing
53
- # # is tagged with `:focus`, all examples get run. RSpec also provides
54
- # # aliases for `it`, `describe`, and `context` that include `:focus`
55
- # # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
56
- # config.filter_run_when_matching :focus
57
- #
58
- # # Allows RSpec to persist some state between runs in order to support
59
- # # the `--only-failures` and `--next-failure` CLI options. We recommend
60
- # # you configure your source control system to ignore this file.
61
- # config.example_status_persistence_file_path = "spec/examples.txt"
62
- #
63
- # # Limits the available syntax to the non-monkey patched syntax that is
64
- # # recommended. For more details, see:
65
- # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
66
- # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
67
- # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
68
- # config.disable_monkey_patching!
69
- #
70
- # # This setting enables warnings. It's recommended, but in some cases may
71
- # # be too noisy due to issues in dependencies.
72
- # config.warnings = true
73
- #
74
- # # Many RSpec users commonly either run the entire suite or an individual
75
- # # file, and it's useful to allow more verbose output when running an
76
- # # individual spec file.
77
- # if config.files_to_run.one?
78
- # # Use the documentation formatter for detailed output,
79
- # # unless a formatter has already been configured
80
- # # (e.g. via a command-line flag).
81
- # config.default_formatter = "doc"
82
- # end
83
- #
84
- # # Print the 10 slowest examples and example groups at the
85
- # # end of the spec run, to help surface which specs are running
86
- # # particularly slow.
87
- # config.profile_examples = 10
88
- #
89
- # # Run specs in random order to surface order dependencies. If you find an
90
- # # order dependency and want to debug it, you can fix the order by providing
91
- # # the seed, which is printed after each run.
92
- # # --seed 1234
93
- # config.order = :random
94
- #
95
- # # Seed global randomization in this process using the `--seed` CLI option.
96
- # # Setting this allows you to use `--seed` to deterministically reproduce
97
- # # test failures related to randomization by passing the same `--seed` value
98
- # # as the one that triggered the failure.
99
- # Kernel.srand config.seed
100
- require 'eac_ruby_gem_support/rspec'
101
- ::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__))
102
- end
3
+ require 'eac_ruby_utils/rspec/default_setup'
4
+ ::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
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.104.0
4
+ version: 0.105.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-07-23 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -347,7 +347,6 @@ files:
347
347
  - lib/avm/data/package/dump.rb
348
348
  - lib/avm/data/package/load.rb
349
349
  - lib/avm/data/unit.rb
350
- - lib/avm/eac_asciidoctor_base0.rb
351
350
  - lib/avm/eac_rails_base0.rb
352
351
  - lib/avm/eac_rails_base0/apache_host.rb
353
352
  - lib/avm/eac_rails_base0/apache_path.rb
@@ -396,6 +395,7 @@ files:
396
395
  - lib/avm/instances/entry_keys.rb
397
396
  - lib/avm/instances/runner.rb
398
397
  - lib/avm/launcher/context.rb
398
+ - lib/avm/launcher/context/instance_collector.rb
399
399
  - lib/avm/launcher/context/instance_discovery.rb
400
400
  - lib/avm/launcher/context/instance_manager.rb
401
401
  - lib/avm/launcher/context/instance_manager/cached_instance.rb
@@ -876,6 +876,7 @@ files:
876
876
  - vendor/eac_docker/lib/eac_docker/images/templatized.rb
877
877
  - vendor/eac_docker/lib/eac_docker/registry.rb
878
878
  - vendor/eac_docker/lib/eac_docker/rspec.rb
879
+ - vendor/eac_docker/lib/eac_docker/rspec/setup.rb
879
880
  - vendor/eac_docker/lib/eac_docker/version.rb
880
881
  - vendor/eac_docker/spec/lib/eac_docker/executables_spec.rb
881
882
  - vendor/eac_docker/spec/lib/eac_docker/images/coded_spec.rb
@@ -899,6 +900,7 @@ files:
899
900
  - vendor/eac_git/lib/eac_git/remote.rb
900
901
  - vendor/eac_git/lib/eac_git/remote/ls_result.rb
901
902
  - vendor/eac_git/lib/eac_git/rspec.rb
903
+ - vendor/eac_git/lib/eac_git/rspec/setup.rb
902
904
  - vendor/eac_git/lib/eac_git/rspec/stubbed_git_local_repo.rb
903
905
  - vendor/eac_git/lib/eac_git/version.rb
904
906
  - vendor/eac_git/spec/lib/eac_git/executables_spec.rb
@@ -1201,6 +1203,8 @@ files:
1201
1203
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/traversable.rb
1202
1204
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs/traverser.rb
1203
1205
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/fs_cache.rb
1206
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb
1207
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb
1204
1208
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable.rb
1205
1209
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/array_accessor.rb
1206
1210
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/immutable/base_accessor.rb
@@ -1264,11 +1268,14 @@ files:
1264
1268
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/string/inflector.rb
1265
1269
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time.rb
1266
1270
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/patches/time/required_zone.rb
1271
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/recursive_builder.rb
1267
1272
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/regexp_parser.rb
1268
1273
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/require_sub.rb
1269
1274
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec.rb
1270
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/conditional.rb
1271
- - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/stubbed_ssh.rb
1275
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/default_setup.rb
1276
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb
1277
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb
1278
+ - vendor/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb
1272
1279
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb
1273
1280
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
1274
1281
  - vendor/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
@@ -1309,6 +1316,7 @@ files:
1309
1316
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/object/template_spec_files/path/my_stub_with_template
1310
1317
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/basename_sub_spec.rb
1311
1318
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/patches/pathname/parent_n_spec.rb
1319
+ - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/recursive_builder_spec.rb
1312
1320
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec.rb
1313
1321
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_module_a.rb
1314
1322
  - vendor/eac_ruby_utils/spec/lib/eac_ruby_utils/require_sub_spec/stubbed_not_module.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_ruby_utils/core_ext'
4
-
5
- module Avm
6
- module EacAsciidoctorBase0
7
- require_sub __FILE__
8
- end
9
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'active_support/core_ext/object/blank'
4
-
5
- module EacRubyUtils
6
- module Rspec
7
- class Conditional
8
- def self.default
9
- @default ||= new
10
- end
11
-
12
- def initialize
13
- @tags = {}
14
- end
15
-
16
- def add(tag, &condition)
17
- tags[tag] = condition
18
- end
19
-
20
- def configure(rspec_config)
21
- tags.each do |tag, condition|
22
- message = condition.call
23
- if message.present?
24
- puts("[WARN] Excluded tag: #{tag}: #{message}")
25
- rspec_config.filter_run_excluding tag
26
- end
27
- end
28
- end
29
-
30
- private
31
-
32
- attr_reader :tags
33
- end
34
- end
35
- end