avm-tools 0.113.3 → 0.114.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/launcher/context.rb +19 -8
- data/lib/avm/tools/runner/app_src/ruby/bundler/incompatible.rb +2 -2
- data/lib/avm/tools/runner/self.rb +2 -2
- data/lib/avm/tools/self.rb +0 -13
- data/lib/avm/tools/version.rb +1 -1
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +2 -2
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +6 -8
- data/sub/avm/lib/avm/instances/entry.rb +10 -4
- data/sub/avm/lib/avm/instances/entry_keys.rb +1 -1
- data/sub/avm/lib/avm/self/instance.rb +8 -0
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +0 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb +2 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/spec_helper.rb +1 -5
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
- data/sub/avm-files/lib/avm/files/version.rb +1 -1
- data/sub/avm-git/avm-git.gemspec +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +3 -3
- data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +13 -6
- data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +3 -3
- data/sub/avm-git/lib/avm/git/issue/complete/push.rb +15 -9
- data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +2 -2
- data/sub/avm-git/lib/avm/git/issue/complete/test.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +13 -5
- data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete.rb +22 -7
- data/sub/avm-git/lib/avm/git/revision_test.rb +1 -1
- data/sub/avm-git/lib/avm/git/version.rb +1 -1
- data/sub/eac_cli/eac_cli.gemspec +2 -2
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +1 -1
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +1 -1
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +5 -1
- data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/rspec.rb +9 -0
- data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
- data/sub/eac_config/eac_config.gemspec +1 -1
- data/sub/eac_config/lib/eac_config/entry.rb +4 -0
- data/sub/eac_config/lib/eac_config/node_entry.rb +4 -0
- data/sub/eac_config/lib/eac_config/rspec/setup.rb +19 -3
- data/sub/eac_config/lib/eac_config/version.rb +1 -1
- data/sub/eac_fs/lib/eac_fs/cached_download.rb +1 -1
- data/sub/eac_fs/lib/eac_fs/contexts.rb +21 -0
- data/sub/eac_fs/lib/eac_fs/logs/file.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/logs.rb +5 -0
- data/sub/eac_fs/lib/eac_fs/patches/module/fs_cache.rb +9 -4
- data/sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +16 -6
- data/sub/eac_fs/lib/eac_fs/{cache.rb → storage_tree.rb} +6 -8
- data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
- data/sub/eac_fs/spec/lib/eac_fs/{cache_spec.rb → storage_tree_spec.rb} +5 -5
- data/sub/eac_git/eac_git.gemspec +1 -1
- data/sub/eac_git/lib/eac_git/local/branch.rb +27 -0
- data/sub/eac_git/lib/eac_git/local/commit.rb +1 -0
- data/sub/eac_git/lib/eac_git/local/remotes.rb +20 -0
- data/sub/eac_git/lib/eac_git/local.rb +18 -0
- data/sub/eac_git/lib/eac_git/version.rb +1 -1
- data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +2 -2
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/application.rb +9 -5
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +14 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +9 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +28 -9
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/context.rb +2 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb +11 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb +39 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/speaker/receiver.rb +7 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- metadata +28 -19
- data/sub/eac_cli/lib/eac_cli/old_configs_bridge.rb +0 -39
- data/sub/eac_cli/lib/eac_cli/speaker/_constants.rb +0 -12
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb +0 -22
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/speaker/receiver'
|
4
|
+
|
5
|
+
module EacRubyUtils
|
6
|
+
module Rspec
|
7
|
+
class StubSpeaker
|
8
|
+
include ::EacRubyUtils::Speaker::Receiver
|
9
|
+
|
10
|
+
def error(_string); end
|
11
|
+
|
12
|
+
def fatal_error(string)
|
13
|
+
error(string)
|
14
|
+
raise('Fatal error')
|
15
|
+
end
|
16
|
+
|
17
|
+
# @see EacRubyUtils::Speaker::Sender.input
|
18
|
+
def input(_question, _options = {})
|
19
|
+
raise 'Input requested'
|
20
|
+
end
|
21
|
+
|
22
|
+
def info(_string); end
|
23
|
+
|
24
|
+
def infom(_string); end
|
25
|
+
|
26
|
+
def infov(*_args); end
|
27
|
+
|
28
|
+
def out(_string = ''); end
|
29
|
+
|
30
|
+
def puts(_string = ''); end
|
31
|
+
|
32
|
+
def success(_string); end
|
33
|
+
|
34
|
+
def title(_string); end
|
35
|
+
|
36
|
+
def warn(_string); end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -5,8 +5,15 @@ require 'eac_ruby_utils/abstract_methods'
|
|
5
5
|
module EacRubyUtils
|
6
6
|
module Speaker
|
7
7
|
module Receiver
|
8
|
+
extend ::ActiveSupport::Concern
|
8
9
|
extend ::EacRubyUtils::AbstractMethods
|
9
10
|
|
11
|
+
module ClassMethods
|
12
|
+
def on(*args, &block)
|
13
|
+
::EacRubyUtils::Speaker.context.on(new(*args), &block)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
10
17
|
def error(_string)
|
11
18
|
raise_abstract_method(__method__)
|
12
19
|
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.114.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:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.13'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_asciidoctor_base0
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,20 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
131
|
+
version: '0.3'
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 0.3.1
|
132
135
|
type: :runtime
|
133
136
|
prerelease: false
|
134
137
|
version_requirements: !ruby/object:Gem::Requirement
|
135
138
|
requirements:
|
136
139
|
- - "~>"
|
137
140
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
141
|
+
version: '0.3'
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.3.1
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: clipboard
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,20 +182,14 @@ dependencies:
|
|
176
182
|
requirements:
|
177
183
|
- - "~>"
|
178
184
|
- !ruby/object:Gem::Version
|
179
|
-
version: '0.
|
180
|
-
- - ">="
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: 0.13.2
|
185
|
+
version: '0.14'
|
183
186
|
type: :runtime
|
184
187
|
prerelease: false
|
185
188
|
version_requirements: !ruby/object:Gem::Requirement
|
186
189
|
requirements:
|
187
190
|
- - "~>"
|
188
191
|
- !ruby/object:Gem::Version
|
189
|
-
version: '0.
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 0.13.2
|
192
|
+
version: '0.14'
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: eac_ruby_gems_utils
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
@@ -780,7 +780,6 @@ files:
|
|
780
780
|
- sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb
|
781
781
|
- sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb
|
782
782
|
- sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb
|
783
|
-
- sub/eac_cli/lib/eac_cli/old_configs_bridge.rb
|
784
783
|
- sub/eac_cli/lib/eac_cli/parser.rb
|
785
784
|
- sub/eac_cli/lib/eac_cli/parser/alternative.rb
|
786
785
|
- sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb
|
@@ -795,6 +794,8 @@ files:
|
|
795
794
|
- sub/eac_cli/lib/eac_cli/patches.rb
|
796
795
|
- sub/eac_cli/lib/eac_cli/patches/object.rb
|
797
796
|
- sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb
|
797
|
+
- sub/eac_cli/lib/eac_cli/rspec.rb
|
798
|
+
- sub/eac_cli/lib/eac_cli/rspec/setup.rb
|
798
799
|
- sub/eac_cli/lib/eac_cli/runner.rb
|
799
800
|
- sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb
|
800
801
|
- sub/eac_cli/lib/eac_cli/runner/context.rb
|
@@ -808,7 +809,7 @@ files:
|
|
808
809
|
- sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb
|
809
810
|
- sub/eac_cli/lib/eac_cli/runner_with_set.rb
|
810
811
|
- sub/eac_cli/lib/eac_cli/speaker.rb
|
811
|
-
- sub/eac_cli/lib/eac_cli/speaker/
|
812
|
+
- sub/eac_cli/lib/eac_cli/speaker/constants.rb
|
812
813
|
- sub/eac_cli/lib/eac_cli/speaker/list.rb
|
813
814
|
- sub/eac_cli/lib/eac_cli/speaker/options.rb
|
814
815
|
- sub/eac_cli/lib/eac_cli/version.rb
|
@@ -882,8 +883,8 @@ files:
|
|
882
883
|
- sub/eac_fs/Gemfile
|
883
884
|
- sub/eac_fs/eac_fs.gemspec
|
884
885
|
- sub/eac_fs/lib/eac_fs.rb
|
885
|
-
- sub/eac_fs/lib/eac_fs/cache.rb
|
886
886
|
- sub/eac_fs/lib/eac_fs/cached_download.rb
|
887
|
+
- sub/eac_fs/lib/eac_fs/contexts.rb
|
887
888
|
- sub/eac_fs/lib/eac_fs/file_info.rb
|
888
889
|
- sub/eac_fs/lib/eac_fs/logs.rb
|
889
890
|
- sub/eac_fs/lib/eac_fs/logs/file.rb
|
@@ -894,10 +895,11 @@ files:
|
|
894
895
|
- sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb
|
895
896
|
- sub/eac_fs/lib/eac_fs/patches/pathname.rb
|
896
897
|
- sub/eac_fs/lib/eac_fs/patches/pathname/info.rb
|
898
|
+
- sub/eac_fs/lib/eac_fs/storage_tree.rb
|
897
899
|
- sub/eac_fs/lib/eac_fs/traversable.rb
|
898
900
|
- sub/eac_fs/lib/eac_fs/traverser.rb
|
899
901
|
- sub/eac_fs/lib/eac_fs/version.rb
|
900
|
-
- sub/eac_fs/spec/lib/eac_fs/
|
902
|
+
- sub/eac_fs/spec/lib/eac_fs/storage_tree_spec.rb
|
901
903
|
- sub/eac_fs/spec/rubocop_spec.rb
|
902
904
|
- sub/eac_fs/spec/spec_helper.rb
|
903
905
|
- sub/eac_git/Gemfile
|
@@ -905,6 +907,7 @@ files:
|
|
905
907
|
- sub/eac_git/lib/eac_git.rb
|
906
908
|
- sub/eac_git/lib/eac_git/executables.rb
|
907
909
|
- sub/eac_git/lib/eac_git/local.rb
|
910
|
+
- sub/eac_git/lib/eac_git/local/branch.rb
|
908
911
|
- sub/eac_git/lib/eac_git/local/commit.rb
|
909
912
|
- sub/eac_git/lib/eac_git/local/commit/archive.rb
|
910
913
|
- sub/eac_git/lib/eac_git/local/commit/changed_file.rb
|
@@ -912,6 +915,7 @@ files:
|
|
912
915
|
- sub/eac_git/lib/eac_git/local/dirty_files.rb
|
913
916
|
- sub/eac_git/lib/eac_git/local/log.rb
|
914
917
|
- sub/eac_git/lib/eac_git/local/remote.rb
|
918
|
+
- sub/eac_git/lib/eac_git/local/remotes.rb
|
915
919
|
- sub/eac_git/lib/eac_git/local/subrepo.rb
|
916
920
|
- sub/eac_git/lib/eac_git/local/subrepo/config.rb
|
917
921
|
- sub/eac_git/lib/eac_git/remote.rb
|
@@ -1132,8 +1136,9 @@ files:
|
|
1132
1136
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/class/jobs_runner.rb
|
1133
1137
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object.rb
|
1134
1138
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/patches/object/runner_with.rb
|
1139
|
+
- sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb
|
1140
|
+
- sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb
|
1135
1141
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb
|
1136
|
-
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb
|
1137
1142
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with.rb
|
1138
1143
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/confirmation.rb
|
1139
1144
|
- sub/eac_ruby_base0/lib/eac_ruby_base0/runner_with/filesystem_traverser.rb
|
@@ -1255,6 +1260,7 @@ files:
|
|
1255
1260
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash.rb
|
1256
1261
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/options_consumer.rb
|
1257
1262
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb
|
1263
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb
|
1258
1264
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel.rb
|
1259
1265
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/kernel/nyi.rb
|
1260
1266
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/module.rb
|
@@ -1281,8 +1287,10 @@ files:
|
|
1281
1287
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/object/to_pathname.rb
|
1282
1288
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname.rb
|
1283
1289
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/basename_sub.rb
|
1290
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/if_exist.rb
|
1284
1291
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb
|
1285
1292
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/parent_n.rb
|
1293
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/readlink_r.rb
|
1286
1294
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp.rb
|
1287
1295
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/if_match.rb
|
1288
1296
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/patches/regexp/to_parser.rb
|
@@ -1299,6 +1307,7 @@ files:
|
|
1299
1307
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup.rb
|
1300
1308
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup/conditionals.rb
|
1301
1309
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/setup_manager.rb
|
1310
|
+
- sub/eac_ruby_utils/lib/eac_ruby_utils/rspec/stub_speaker.rb
|
1302
1311
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby.rb
|
1303
1312
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/command.rb
|
1304
1313
|
- sub/eac_ruby_utils/lib/eac_ruby_utils/ruby/on_clean_environment.rb
|
@@ -1,39 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/config'
|
4
|
-
require 'eac_config/envvars_node'
|
5
|
-
require 'eac_config/yaml_file_node'
|
6
|
-
require 'eac_ruby_utils/core_ext'
|
7
|
-
|
8
|
-
module EacCli
|
9
|
-
class OldConfigsBridge < ::EacCli::Config
|
10
|
-
ENTRY_KEY = 'core.store_passwords'
|
11
|
-
|
12
|
-
class << self
|
13
|
-
def new_configs_path(configs_key, options)
|
14
|
-
options[:storage_path] || ::File.join(ENV['HOME'], '.config', configs_key, 'settings.yml')
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
def initialize(configs_key, options = {})
|
19
|
-
options.assert_argument(::Hash, 'options')
|
20
|
-
envvar_node = ::EacConfig::EnvvarsNode.new
|
21
|
-
file_node = ::EacConfig::YamlFileNode.new(self.class.new_configs_path(configs_key, options))
|
22
|
-
envvar_node.load_path.push(file_node.url)
|
23
|
-
envvar_node.write_node = file_node
|
24
|
-
super(envvar_node)
|
25
|
-
end
|
26
|
-
|
27
|
-
def read_entry(entry_key, options = {})
|
28
|
-
entry(entry_key, options).value
|
29
|
-
end
|
30
|
-
|
31
|
-
def read_password(entry_key, options = {})
|
32
|
-
entry(entry_key, options.merge(noecho: true, store: store_passwords?)).value
|
33
|
-
end
|
34
|
-
|
35
|
-
def store_passwords?
|
36
|
-
read_entry(ENTRY_KEY, bool: true)
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_ruby_utils/by_reference'
|
4
|
-
|
5
|
-
module EacCli
|
6
|
-
# https://github.com/fazibear/colorize
|
7
|
-
class Speaker
|
8
|
-
STDERR = ::EacRubyUtils::ByReference.new { $stderr }
|
9
|
-
STDIN = ::EacRubyUtils::ByReference.new { $stdin }
|
10
|
-
STDOUT = ::EacRubyUtils::ByReference.new { $stdout }
|
11
|
-
end
|
12
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'eac_cli/core_ext'
|
4
|
-
require 'eac_ruby_gems_utils/tests/multiple'
|
5
|
-
|
6
|
-
module EacRubyBase0
|
7
|
-
module Runner
|
8
|
-
class TestAll
|
9
|
-
runner_with :help do
|
10
|
-
desc 'Test core and local gems.'
|
11
|
-
end
|
12
|
-
|
13
|
-
def run
|
14
|
-
fatal_error 'Some test did not pass' unless tests.ok?
|
15
|
-
end
|
16
|
-
|
17
|
-
def tests_uncached
|
18
|
-
::EacRubyGemsUtils::Tests::Multiple.new(runner_context.call(:application).all_gems)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|