eac_tools 0.44.0 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +30 -30
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/avm.gemspec +2 -2
- data/sub/avm/lib/avm/applications/base/publishing.rb +43 -0
- data/sub/avm/lib/avm/launcher/context/instance_manager.rb +1 -0
- data/sub/avm/lib/avm/launcher/context.rb +4 -1
- data/sub/avm/lib/avm/launcher/instances/base/publishing.rb +53 -0
- data/sub/avm/lib/avm/launcher/instances/base.rb +9 -27
- data/sub/avm/lib/avm/launcher/instances/settings.rb +0 -29
- data/sub/avm/lib/avm/registry/applications.rb +31 -0
- data/sub/avm/lib/avm/registry.rb +1 -1
- data/sub/avm/lib/avm/rspec/setup.rb +1 -0
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/{avm-tools → avm}/spec/lib/avm/launcher/instances/base_spec.rb +20 -2
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/avm-tools.gemspec +28 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/lib/avm/tools/version.rb +7 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/lib/avm/tools.rb +6 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/lib/ruby_gem_stub/version.rb +5 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/lib/ruby_gem_stub.rb +3 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/ruby_gem_stub.gemspec +15 -0
- data/sub/avm/spec/lib/avm/launcher/instances/base_spec_files/settings.yaml +5 -0
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +2 -2
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb +7 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-tools/avm-tools.gemspec +5 -5
- data/sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb +1 -1
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/eac_cli/eac_cli.gemspec +1 -1
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +2 -1
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +6 -1
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +8 -3
- data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +6 -20
- data/sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb +16 -0
- data/sub/eac_cli/lib/eac_cli/speaker/input_requested.rb +8 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
- data/sub/eac_fs/eac_fs.gemspec +1 -1
- data/sub/eac_fs/lib/eac_fs/core_ext.rb +4 -0
- data/sub/eac_fs/lib/eac_fs/rspec/setup.rb +25 -0
- data/sub/eac_fs/lib/eac_fs/rspec.rb +9 -0
- data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
- data/sub/eac_git/eac_git.gemspec +1 -1
- data/sub/eac_git/lib/eac_git/local/remote.rb +5 -0
- data/sub/eac_git/lib/eac_git/version.rb +1 -1
- data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +4 -4
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +2 -11
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/listable/lists.rb +0 -8
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- metadata +34 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c529e1c368fe44c68e5bbaafd5258fab08baefca7852a4c5bd2285825352374e
|
4
|
+
data.tar.gz: 464f786052703260b2d4b7364fd3edbeae7403020036108f1faeb6a49df0e426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14972773fe50b2bcb87738798c0608d78557a3c60d1c57bfb36d4590fe024b91a121b360b7f8cd8cbe058d827c90886a62b133127a4d744e2609924fb92ce792
|
7
|
+
data.tar.gz: 98e35772f9f6152c3e7f69b7667bf195e3280fd4ffb7ba1bf25be23968473b3403ecbdbbc37c11c05483cba11e9b43fc8be8099159117b324fdbc83ee5ab114f
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.
|
4
|
+
eac_tools (0.45.1)
|
5
|
+
avm (~> 0.56)
|
6
6
|
avm-eac_asciidoctor_base0 (~> 0.12)
|
7
7
|
avm-eac_generic_base0 (~> 0.8)
|
8
8
|
avm-eac_latex_base0 (~> 0.3)
|
@@ -11,11 +11,11 @@ PATH
|
|
11
11
|
avm-eac_rails_base1 (~> 0.7)
|
12
12
|
avm-eac_redmine_base0 (~> 0.16)
|
13
13
|
avm-eac_redmine_plugin_base0 (~> 0.3)
|
14
|
-
avm-eac_ruby_base1 (~> 0.27)
|
14
|
+
avm-eac_ruby_base1 (~> 0.27, >= 0.27.1)
|
15
15
|
avm-eac_webapp_base0 (~> 0.12, >= 0.12.2)
|
16
16
|
avm-eac_wordpress_base0 (~> 0.2, >= 0.2.1)
|
17
|
-
avm-tools (~> 0.142, >= 0.142.
|
18
|
-
eac_ruby_utils (~> 0.107)
|
17
|
+
avm-tools (~> 0.142, >= 0.142.6)
|
18
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
19
19
|
|
20
20
|
PATH
|
21
21
|
remote: sub/aranha-parsers
|
@@ -108,10 +108,10 @@ PATH
|
|
108
108
|
PATH
|
109
109
|
remote: sub/avm-eac_ruby_base1
|
110
110
|
specs:
|
111
|
-
avm-eac_ruby_base1 (0.27.
|
112
|
-
avm (~> 0.
|
111
|
+
avm-eac_ruby_base1 (0.27.1)
|
112
|
+
avm (~> 0.56)
|
113
113
|
avm-eac_generic_base0 (~> 0.8)
|
114
|
-
eac_ruby_utils (~> 0.107)
|
114
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
115
115
|
|
116
116
|
PATH
|
117
117
|
remote: sub/avm-eac_webapp_base0
|
@@ -155,17 +155,17 @@ PATH
|
|
155
155
|
PATH
|
156
156
|
remote: sub/avm-tools
|
157
157
|
specs:
|
158
|
-
avm-tools (0.142.
|
158
|
+
avm-tools (0.142.6)
|
159
159
|
aranha-parsers (~> 0.14, >= 0.14.4)
|
160
|
-
avm (~> 0.
|
161
|
-
avm-eac_ruby_base1 (~> 0.
|
160
|
+
avm (~> 0.56)
|
161
|
+
avm-eac_ruby_base1 (~> 0.27, >= 0.27.1)
|
162
162
|
avm-eac_ubuntu_base0 (~> 0.3)
|
163
163
|
avm-files (~> 0.6)
|
164
|
-
avm-git (~> 0.
|
164
|
+
avm-git (~> 0.10)
|
165
165
|
clipboard (~> 1.3, >= 1.3.6)
|
166
166
|
curb (~> 0.9, >= 0.9.11)
|
167
|
-
eac_git (~> 0.
|
168
|
-
eac_ruby_base0 (~> 0.17)
|
167
|
+
eac_git (~> 0.14)
|
168
|
+
eac_ruby_base0 (~> 0.17, >= 0.17.1)
|
169
169
|
eac_templates (~> 0.3, >= 0.3.2)
|
170
170
|
git (~> 1.12)
|
171
171
|
ruby-progressbar (~> 1.11)
|
@@ -173,14 +173,14 @@ PATH
|
|
173
173
|
PATH
|
174
174
|
remote: sub/avm
|
175
175
|
specs:
|
176
|
-
avm (0.
|
176
|
+
avm (0.56.0)
|
177
177
|
aranha-parsers (~> 0.14, >= 0.14.4)
|
178
178
|
eac_cli (~> 0.29)
|
179
179
|
eac_config (~> 0.12)
|
180
180
|
eac_docker (~> 0.5)
|
181
|
-
eac_fs (~> 0.
|
181
|
+
eac_fs (~> 0.15)
|
182
182
|
eac_git (~> 0.13)
|
183
|
-
eac_ruby_utils (~> 0.107)
|
183
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
184
184
|
eac_templates (~> 0.3, >= 0.3.2)
|
185
185
|
filesize (~> 0.2)
|
186
186
|
htmlbeautifier (~> 1.4, >= 1.4.2)
|
@@ -189,10 +189,10 @@ PATH
|
|
189
189
|
PATH
|
190
190
|
remote: sub/eac_cli
|
191
191
|
specs:
|
192
|
-
eac_cli (0.
|
192
|
+
eac_cli (0.30.0)
|
193
193
|
colorize (~> 0.8, >= 0.8.1)
|
194
194
|
eac_config (~> 0.12)
|
195
|
-
eac_ruby_utils (~> 0.107)
|
195
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
196
196
|
|
197
197
|
PATH
|
198
198
|
remote: sub/eac_config
|
@@ -211,31 +211,31 @@ PATH
|
|
211
211
|
PATH
|
212
212
|
remote: sub/eac_fs
|
213
213
|
specs:
|
214
|
-
eac_fs (0.
|
214
|
+
eac_fs (0.15.0)
|
215
215
|
content-type (~> 0.0, >= 0.0.2)
|
216
|
-
eac_ruby_utils (~> 0.
|
216
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
217
217
|
ruby-filemagic (~> 0.7, >= 0.7.3)
|
218
218
|
|
219
219
|
PATH
|
220
220
|
remote: sub/eac_git
|
221
221
|
specs:
|
222
|
-
eac_git (0.
|
223
|
-
eac_ruby_utils (~> 0.
|
222
|
+
eac_git (0.14.0)
|
223
|
+
eac_ruby_utils (~> 0.107)
|
224
224
|
parseconfig (~> 1.1, >= 1.1.2)
|
225
225
|
|
226
226
|
PATH
|
227
227
|
remote: sub/eac_ruby_base0
|
228
228
|
specs:
|
229
|
-
eac_ruby_base0 (0.17.
|
230
|
-
avm-eac_ruby_base1 (~> 0.
|
231
|
-
eac_cli (~> 0.
|
232
|
-
eac_fs (~> 0.
|
233
|
-
eac_ruby_utils (~> 0.
|
229
|
+
eac_ruby_base0 (0.17.1)
|
230
|
+
avm-eac_ruby_base1 (~> 0.27, >= 0.27.1)
|
231
|
+
eac_cli (~> 0.30)
|
232
|
+
eac_fs (~> 0.15)
|
233
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
234
234
|
|
235
235
|
PATH
|
236
236
|
remote: sub/eac_ruby_utils
|
237
237
|
specs:
|
238
|
-
eac_ruby_utils (0.107.
|
238
|
+
eac_ruby_utils (0.107.1)
|
239
239
|
activesupport (>= 4, < 7)
|
240
240
|
addressable (~> 2.8, >= 2.8.1)
|
241
241
|
bundler
|
@@ -370,7 +370,7 @@ GEM
|
|
370
370
|
tzinfo (2.0.5)
|
371
371
|
concurrent-ruby (~> 1.0)
|
372
372
|
unicode-display_width (1.6.1)
|
373
|
-
zeitwerk (2.6.
|
373
|
+
zeitwerk (2.6.6)
|
374
374
|
zlib (2.1.1)
|
375
375
|
|
376
376
|
PLATFORMS
|
data/lib/eac_tools/version.rb
CHANGED
data/sub/avm/avm.gemspec
CHANGED
@@ -16,9 +16,9 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency 'eac_cli', '~> 0.29'
|
17
17
|
s.add_dependency 'eac_config', '~> 0.12'
|
18
18
|
s.add_dependency 'eac_docker', '~> 0.5'
|
19
|
-
s.add_dependency 'eac_fs', '~> 0.
|
19
|
+
s.add_dependency 'eac_fs', '~> 0.15'
|
20
20
|
s.add_dependency 'eac_git', '~> 0.13'
|
21
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.107'
|
21
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107', '>= 0.107.1'
|
22
22
|
s.add_dependency 'eac_templates', '~> 0.3', '>= 0.3.2'
|
23
23
|
s.add_dependency 'filesize', '~> 0.2'
|
24
24
|
s.add_dependency 'htmlbeautifier', '~> 1.4', '>= 1.4.2'
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/registry'
|
4
|
+
require 'eac_ruby_utils/blank_not_blank'
|
5
|
+
require 'eac_ruby_utils/core_ext'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module Applications
|
9
|
+
class Base
|
10
|
+
module Publishing
|
11
|
+
PUBLISHABLE_KEY = 'publishable'
|
12
|
+
|
13
|
+
def publishable?
|
14
|
+
publishable_value ? true : false
|
15
|
+
end
|
16
|
+
|
17
|
+
def stereotype_publishable?(stereotype)
|
18
|
+
return publishable? unless publishable_value.is_a?(::Hash)
|
19
|
+
|
20
|
+
parse_publishable_value(publishable_value[stereotype.stereotype_name], true)
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def publishable_value
|
26
|
+
parse_publishable_value(entry(PUBLISHABLE_KEY).optional_value, false)
|
27
|
+
end
|
28
|
+
|
29
|
+
def parse_publishable_value(value, hash_to_true) # rubocop:disable Metrics/CyclomaticComplexity
|
30
|
+
return value.with_indifferent_access if parse_publishable_value_hash?(value, hash_to_true)
|
31
|
+
return true if value.nil? || value == true
|
32
|
+
return false if value == false || value.is_a?(::EacRubyUtils::BlankNotBlank)
|
33
|
+
|
34
|
+
value ? true : false
|
35
|
+
end
|
36
|
+
|
37
|
+
def parse_publishable_value_hash?(value, hash_to_true)
|
38
|
+
!hash_to_true && value.is_a?(::Hash)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'active_support/core_ext/hash/indifferent_access'
|
4
4
|
require 'avm/launcher/context/instance_manager'
|
5
|
+
require 'eac_fs/contexts'
|
6
|
+
require 'eac_fs/core_ext'
|
5
7
|
require 'eac_ruby_utils/simple_cache'
|
6
8
|
require 'eac_cli/speaker'
|
7
9
|
require 'avm/launcher/context/instance_discovery'
|
@@ -76,8 +78,9 @@ module Avm
|
|
76
78
|
send("default_#{key}".underscore)
|
77
79
|
end
|
78
80
|
|
81
|
+
# @return [String]
|
79
82
|
def default_projects_root
|
80
|
-
'.'
|
83
|
+
'.'.to_pathname.expand_path.to_path
|
81
84
|
end
|
82
85
|
|
83
86
|
def default_settings_file
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module Launcher
|
5
|
+
module Instances
|
6
|
+
module Base
|
7
|
+
module Publishing
|
8
|
+
def publish?(stereotype)
|
9
|
+
publish_by_stereotype?(stereotype) && publish_by_application?(stereotype) &&
|
10
|
+
publish_by_context?(stereotype)
|
11
|
+
end
|
12
|
+
|
13
|
+
# @return [Boolean]
|
14
|
+
def publish_by_application?(stereotype)
|
15
|
+
application.stereotype_publishable?(stereotype)
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Boolean]
|
19
|
+
def publish_by_context?(stereotype)
|
20
|
+
filter = ::Avm::Launcher::Context.current.publish_options[:stereotype]
|
21
|
+
filter.blank? ? true : filter == stereotype.name.demodulize
|
22
|
+
end
|
23
|
+
|
24
|
+
# @return [Boolean]
|
25
|
+
def publish_by_stereotype?(stereotype)
|
26
|
+
stereotype.publish_class.present?
|
27
|
+
end
|
28
|
+
|
29
|
+
# @return [Boolean]
|
30
|
+
delegate :publishable?, to: :application
|
31
|
+
|
32
|
+
def publish_check
|
33
|
+
stereotypes.each do |s|
|
34
|
+
next unless publish?(s)
|
35
|
+
|
36
|
+
puts "#{name.to_s.cyan}|#{s.label}|" \
|
37
|
+
"#{s.publish_class.new(self).check}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def publish_run
|
42
|
+
stereotypes.each do |s|
|
43
|
+
next unless publish?(s)
|
44
|
+
|
45
|
+
infov(name, "publishing #{s.label}")
|
46
|
+
s.publish_class.new(self).run
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative 'base/cache'
|
4
3
|
require 'avm/launcher/errors/non_project'
|
4
|
+
require 'avm/registry'
|
5
5
|
require 'eac_ruby_utils/speaker/sender'
|
6
6
|
|
7
7
|
module Avm
|
@@ -13,6 +13,7 @@ module Avm
|
|
13
13
|
object.extend ::EacRubyUtils::SimpleCache
|
14
14
|
object.extend ::EacRubyUtils::Speaker::Sender
|
15
15
|
object.extend ::Avm::Launcher::Instances::Base::Cache
|
16
|
+
object.extend ::Avm::Launcher::Instances::Base::Publishing
|
16
17
|
super
|
17
18
|
end
|
18
19
|
|
@@ -27,8 +28,15 @@ module Avm
|
|
27
28
|
end
|
28
29
|
end
|
29
30
|
|
31
|
+
require_sub __FILE__
|
32
|
+
|
30
33
|
attr_accessor :parent
|
31
34
|
|
35
|
+
# @return [Avm::Applications::Base]
|
36
|
+
def application
|
37
|
+
@application ||= ::Avm::Registry.applications.detect(project_name)
|
38
|
+
end
|
39
|
+
|
32
40
|
def name
|
33
41
|
logical
|
34
42
|
end
|
@@ -47,24 +55,6 @@ module Avm
|
|
47
55
|
stereotypes.any?
|
48
56
|
end
|
49
57
|
|
50
|
-
def publish_run
|
51
|
-
stereotypes.each do |s|
|
52
|
-
next unless publish?(s)
|
53
|
-
|
54
|
-
infov(name, "publishing #{s.label}")
|
55
|
-
s.publish_class.new(self).run
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
def publish_check
|
60
|
-
stereotypes.each do |s|
|
61
|
-
next unless publish?(s)
|
62
|
-
|
63
|
-
puts "#{name.to_s.cyan}|#{s.label}|" \
|
64
|
-
"#{s.publish_class.new(self).check}"
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
58
|
def project_name
|
69
59
|
::File.basename(logical)
|
70
60
|
end
|
@@ -79,14 +69,6 @@ module Avm
|
|
79
69
|
|
80
70
|
private
|
81
71
|
|
82
|
-
def publish?(stereotype)
|
83
|
-
return false unless stereotype.publish_class
|
84
|
-
return false unless options.stereotype_publishable?(stereotype)
|
85
|
-
|
86
|
-
filter = ::Avm::Launcher::Context.current.publish_options[:stereotype]
|
87
|
-
filter.blank? ? true : filter == stereotype.name.demodulize
|
88
|
-
end
|
89
|
-
|
90
72
|
def options_uncached
|
91
73
|
::Avm::Launcher::Context.current.settings.instance_settings(self)
|
92
74
|
end
|
@@ -8,7 +8,6 @@ module Avm
|
|
8
8
|
class Settings
|
9
9
|
DEFAULT_CURRENT_REVISION = 'origin/master'
|
10
10
|
DEFAULT_PUBLISH_REMOTE = 'publish'
|
11
|
-
PUBLISHABLE_KEY = :publishable
|
12
11
|
|
13
12
|
common_constructor :data do
|
14
13
|
self.data = (data.is_a?(Hash) ? data : {}).with_indifferent_access
|
@@ -21,34 +20,6 @@ module Avm
|
|
21
20
|
def git_publish_remote
|
22
21
|
data[__method__] || DEFAULT_PUBLISH_REMOTE
|
23
22
|
end
|
24
|
-
|
25
|
-
def publishable?
|
26
|
-
publishable_value ? true : false
|
27
|
-
end
|
28
|
-
|
29
|
-
def stereotype_publishable?(stereotype)
|
30
|
-
return publishable? unless publishable_value.is_a?(::Hash)
|
31
|
-
|
32
|
-
parse_publishable_value(publishable_value[stereotype.stereotype_name], true)
|
33
|
-
end
|
34
|
-
|
35
|
-
private
|
36
|
-
|
37
|
-
def publishable_value
|
38
|
-
parse_publishable_value(data[PUBLISHABLE_KEY], false)
|
39
|
-
end
|
40
|
-
|
41
|
-
def parse_publishable_value(value, hash_to_true)
|
42
|
-
return value.with_indifferent_access if parse_publishable_value_hash?(value, hash_to_true)
|
43
|
-
return true if value.nil? || value == true
|
44
|
-
return false if value == false
|
45
|
-
|
46
|
-
value ? true : false
|
47
|
-
end
|
48
|
-
|
49
|
-
def parse_publishable_value_hash?(value, hash_to_true)
|
50
|
-
!hash_to_true && value.is_a?(::Hash)
|
51
|
-
end
|
52
23
|
end
|
53
24
|
end
|
54
25
|
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/applications/base'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module Registry
|
8
|
+
class Applications
|
9
|
+
def initialize(*args); end
|
10
|
+
|
11
|
+
# @return [Array<Avm::Applications::Base>]
|
12
|
+
def available
|
13
|
+
detected.values
|
14
|
+
end
|
15
|
+
|
16
|
+
# @return [Avm::Applications::Base]
|
17
|
+
def detect(id)
|
18
|
+
id = id.to_s
|
19
|
+
detected[id] = ::Avm::Applications::Base.new(id) unless detected.key?(id)
|
20
|
+
detected[id]
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
# @return [Hash<String, Avm::Applications::Base>]
|
26
|
+
def detected
|
27
|
+
@detected ||= {}
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
data/sub/avm/lib/avm/registry.rb
CHANGED
@@ -7,7 +7,7 @@ module Avm
|
|
7
7
|
module Registry
|
8
8
|
require_sub __FILE__
|
9
9
|
enable_listable
|
10
|
-
lists.add_symbol :category, :application_stereotypes, :file_formats, :instances,
|
10
|
+
lists.add_symbol :category, :applications, :application_stereotypes, :file_formats, :instances,
|
11
11
|
:launcher_stereotypes, :runners, :scms, :source_generators, :sources
|
12
12
|
|
13
13
|
class << self
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -4,6 +4,20 @@ require 'avm/launcher/context'
|
|
4
4
|
require 'avm/launcher/instances/base'
|
5
5
|
|
6
6
|
RSpec.describe ::Avm::Launcher::Instances::Base do
|
7
|
+
let(:fixtures_dir) { __dir__.to_pathname.join('base_spec_files') }
|
8
|
+
let(:launcher_context) do
|
9
|
+
::Avm::Launcher::Context.current = ::Avm::Launcher::Context.new(
|
10
|
+
projects_root: fixtures_dir.join('projects').to_path,
|
11
|
+
settings_file: fixtures_dir.join('settings.yaml').to_path,
|
12
|
+
cache_root: ::Dir.mktmpdir
|
13
|
+
)
|
14
|
+
end
|
15
|
+
|
16
|
+
before do
|
17
|
+
allow(::ProgressBar).to receive(:create).and_return(double.as_null_object)
|
18
|
+
::Avm::Launcher::Context.current = launcher_context
|
19
|
+
end
|
20
|
+
|
7
21
|
describe '#options' do
|
8
22
|
context 'when instance is "avm-tools_stub"' do
|
9
23
|
let(:instance) { ::Avm::Launcher::Context.current.instance('/avm-tools_stub') }
|
@@ -11,15 +25,19 @@ RSpec.describe ::Avm::Launcher::Instances::Base do
|
|
11
25
|
it { expect(instance).to be_a(described_class) }
|
12
26
|
it { expect(instance.options.git_current_revision).to eq('origin/master') }
|
13
27
|
it { expect(instance.options.git_publish_remote).to eq('publish') }
|
14
|
-
it { expect(instance.
|
28
|
+
it { expect(instance.publishable?).to eq(true) }
|
15
29
|
end
|
16
30
|
|
17
31
|
context 'when instance is "ruby_gem_stub"' do
|
18
32
|
let(:instance) { ::Avm::Launcher::Context.current.instance('/ruby_gem_stub') }
|
19
33
|
|
34
|
+
before do
|
35
|
+
instance.application.entry('publishable').write(false)
|
36
|
+
end
|
37
|
+
|
20
38
|
it { expect(instance.options.git_current_revision).to eq('git_current_revision_setted') }
|
21
39
|
it { expect(instance.options.git_publish_remote).to eq('git_publish_remote_setted') }
|
22
|
-
it { expect(instance.
|
40
|
+
it { expect(instance.publishable?).to eq(false) }
|
23
41
|
end
|
24
42
|
end
|
25
43
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
# Maintain your gem's version:
|
6
|
+
require 'avm/tools/version'
|
7
|
+
|
8
|
+
# Describe your gem and declare its dependencies:
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
s.name = 'avm/tools'
|
11
|
+
s.version = ::Avm::Tools::VERSION
|
12
|
+
s.authors = ['Esquilo Azul Company']
|
13
|
+
s.summary = 'Utilities to deploy applications and libraries.'
|
14
|
+
s.license = 'MIT'
|
15
|
+
|
16
|
+
s.files = Dir['{exe,lib}/**/*', 'Gemfile', 'MIT-LICENSE', 'README.rdoc']
|
17
|
+
s.bindir = 'exe'
|
18
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
|
20
|
+
s.add_dependency 'activesupport', '~> 4.2', '>= 4.2.10'
|
21
|
+
s.add_dependency 'colorize', '~> 0.8.1'
|
22
|
+
s.add_dependency 'curb', '~> 0.9.4'
|
23
|
+
s.add_dependency 'eac_rails_utils', '~> 0.1', '>= 0.1.14'
|
24
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.1'
|
25
|
+
s.add_dependency 'git', '~> 1.3.0'
|
26
|
+
s.add_development_dependency 'rspec', '~> 3.7'
|
27
|
+
s.add_development_dependency 'rubocop', '~> 0.48.1'
|
28
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
# Maintain your gem's version:
|
6
|
+
require 'ruby_gem_stub/version'
|
7
|
+
|
8
|
+
# Describe your gem and declare its dependencies:
|
9
|
+
Gem::Specification.new do |s|
|
10
|
+
s.name = 'ruby_gem_stub'
|
11
|
+
s.version = ::RubyGemStub::VERSION
|
12
|
+
s.authors = ['Esquilo Azul Company']
|
13
|
+
s.summary = 'Ruby gem stub for tests.'
|
14
|
+
s.files = Dir['{lib}/**/*']
|
15
|
+
end
|
@@ -12,9 +12,9 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,locale,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.56'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.8'
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.107'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107', '>= 0.107.1'
|
18
18
|
|
19
19
|
s.add_development_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.1'
|
20
20
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
@@ -11,6 +11,8 @@ module Avm
|
|
11
11
|
require_sub __FILE__
|
12
12
|
include ::Avm::Launcher::Stereotype
|
13
13
|
|
14
|
+
STEREOTYPE_NAME = 'EacRubyBase1'
|
15
|
+
|
14
16
|
class << self
|
15
17
|
def match?(path)
|
16
18
|
Dir.glob(File.join(path.real, '*.gemspec')).any?
|
@@ -23,6 +25,11 @@ module Avm
|
|
23
25
|
def load_gemspec(gemspec_file)
|
24
26
|
::Avm::EacRubyBase1::Launcher::Gem::Specification.new(gemspec_file)
|
25
27
|
end
|
28
|
+
|
29
|
+
# @return [String]
|
30
|
+
def stereotype_name
|
31
|
+
STEREOTYPE_NAME
|
32
|
+
end
|
26
33
|
end
|
27
34
|
end
|
28
35
|
end
|
@@ -15,15 +15,15 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
16
16
|
|
17
17
|
s.add_dependency 'aranha-parsers', '~> 0.14', '>= 0.14.4'
|
18
|
-
s.add_dependency 'avm', '~> 0.
|
19
|
-
s.add_dependency 'avm-eac_ruby_base1', '~> 0.
|
18
|
+
s.add_dependency 'avm', '~> 0.56'
|
19
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.27', '>= 0.27.1'
|
20
20
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
21
21
|
s.add_dependency 'avm-files', '~> 0.6'
|
22
|
-
s.add_dependency 'avm-git', '~> 0.
|
22
|
+
s.add_dependency 'avm-git', '~> 0.10'
|
23
23
|
s.add_dependency 'clipboard', '~> 1.3', '>= 1.3.6'
|
24
24
|
s.add_dependency 'curb', '~> 0.9', '>= 0.9.11'
|
25
|
-
s.add_dependency 'eac_git', '~> 0.
|
26
|
-
s.add_dependency 'eac_ruby_base0', '~> 0.17'
|
25
|
+
s.add_dependency 'eac_git', '~> 0.14'
|
26
|
+
s.add_dependency 'eac_ruby_base0', '~> 0.17', '>= 0.17.1'
|
27
27
|
s.add_dependency 'eac_templates', '~> 0.3', '>= 0.3.2'
|
28
28
|
s.add_dependency 'git', '~> 1.12'
|
29
29
|
s.add_dependency 'ruby-progressbar', '~> 1.11'
|
data/sub/eac_cli/eac_cli.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.add_dependency 'colorize', '~> 0.8', '>= 0.8.1'
|
16
16
|
s.add_dependency 'eac_config', '~> 0.12'
|
17
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.107'
|
17
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107', '>= 0.107.1'
|
18
18
|
|
19
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
20
20
|
end
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'eac_config/node_entry'
|
3
4
|
require 'eac_ruby_utils/core_ext'
|
4
5
|
|
5
6
|
module EacCli
|
6
7
|
class Config < ::SimpleDelegator
|
7
|
-
class Entry
|
8
|
+
class Entry < ::EacConfig::NodeEntry
|
8
9
|
class Options
|
9
10
|
enable_simple_cache
|
10
11
|
enable_listable
|
@@ -1,10 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'eac_cli/speaker/input_requested'
|
4
|
+
require 'eac_config/entry/not_found_error'
|
5
|
+
require 'eac_config/node_entry'
|
3
6
|
require 'eac_ruby_utils/core_ext'
|
4
7
|
|
5
8
|
module EacCli
|
6
9
|
class Config < ::SimpleDelegator
|
7
|
-
class Entry
|
10
|
+
class Entry < ::EacConfig::NodeEntry
|
8
11
|
module Undefined
|
9
12
|
private
|
10
13
|
|
@@ -19,6 +22,8 @@ module EacCli
|
|
19
22
|
|
20
23
|
def undefined_value_no_loop
|
21
24
|
input("Value for entry \"#{path}\"", options.request_input_options)
|
25
|
+
rescue ::EacCli::Speaker::InputRequested
|
26
|
+
raise ::EacConfig::Entry::NotFoundError, self
|
22
27
|
end
|
23
28
|
end
|
24
29
|
end
|
@@ -2,21 +2,26 @@
|
|
2
2
|
|
3
3
|
require 'eac_cli/speaker'
|
4
4
|
require 'eac_config/entry_path'
|
5
|
+
require 'eac_config/node_entry'
|
5
6
|
require 'eac_ruby_utils/core_ext'
|
6
7
|
|
7
8
|
module EacCli
|
8
9
|
class Config < ::SimpleDelegator
|
9
|
-
class Entry
|
10
|
+
class Entry < ::EacConfig::NodeEntry
|
10
11
|
require_sub __FILE__, include_modules: true
|
11
12
|
enable_listable
|
12
13
|
enable_simple_cache
|
13
14
|
enable_speaker
|
14
15
|
|
15
|
-
common_constructor :
|
16
|
-
self.path = ::EacConfig::EntryPath.assert(path)
|
16
|
+
common_constructor :root_node, :path, :options, super_args: -> { [root_node, path] } do
|
17
17
|
self.options = ::EacCli::Config::Entry::Options.new(options)
|
18
18
|
end
|
19
19
|
|
20
|
+
# @return [EacCli::Config]
|
21
|
+
def config
|
22
|
+
root_node
|
23
|
+
end
|
24
|
+
|
20
25
|
def value
|
21
26
|
value!
|
22
27
|
end
|
@@ -18,33 +18,19 @@ module EacCli
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def run
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
run_parser_error(r, e)
|
27
|
-
end
|
28
|
-
r
|
21
|
+
r = create
|
22
|
+
begin
|
23
|
+
r.run_run
|
24
|
+
rescue ::EacCli::Parser::Error => e
|
25
|
+
run_parser_error(r, e)
|
29
26
|
end
|
27
|
+
r
|
30
28
|
end
|
31
29
|
|
32
30
|
def run_parser_error(runner_instance, error)
|
33
31
|
$stderr.write("#{runner_instance.program_name}: #{error}\n")
|
34
32
|
::Kernel.exit(PARSER_ERROR_EXIT_CODE)
|
35
33
|
end
|
36
|
-
|
37
|
-
private
|
38
|
-
|
39
|
-
def on_asserted_speaker
|
40
|
-
if ::EacRubyUtils::Speaker.context.optional_current
|
41
|
-
yield
|
42
|
-
else
|
43
|
-
::EacRubyUtils::Speaker.context.on(::EacCli::Speaker.new) do
|
44
|
-
yield
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
34
|
end
|
49
35
|
end
|
50
36
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/speaker/input_requested'
|
4
|
+
|
5
|
+
module EacCli
|
6
|
+
class Speaker
|
7
|
+
class InputBlocked
|
8
|
+
%w[gets noecho].each do |method|
|
9
|
+
define_method(method) do
|
10
|
+
raise ::EacCli::Speaker::InputRequested,
|
11
|
+
"Method (\"#{method}\") was requested, but input is blocked"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/sub/eac_fs/eac_fs.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'content-type', '~> 0.0', '>= 0.0.2'
|
16
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
16
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107', '>= 0.107.1'
|
17
17
|
s.add_dependency 'ruby-filemagic', '~> 0.7', '>= 0.7.3'
|
18
18
|
|
19
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_fs/contexts'
|
5
|
+
require 'eac_fs/storage_tree'
|
6
|
+
require 'eac_ruby_utils/fs/temp'
|
7
|
+
|
8
|
+
module EacFs
|
9
|
+
module Rspec
|
10
|
+
module Setup
|
11
|
+
require_sub __FILE__
|
12
|
+
|
13
|
+
# @return [self]
|
14
|
+
def stub_eac_fs_contexts
|
15
|
+
::EacFs::Contexts::TYPES.each do |type|
|
16
|
+
::EacFs::Contexts.send(type).push(
|
17
|
+
::EacFs::StorageTree.new(::EacRubyUtils::Fs::Temp.directory)
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
21
|
+
self
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/sub/eac_git/eac_git.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib,vendor}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107'
|
16
16
|
s.add_dependency 'parseconfig', '~> 1.1', '>= 1.1.2'
|
17
17
|
|
18
18
|
s.add_development_dependency 'aranha-parsers', '~> 0.8', '>= 0.8.2'
|
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm-eac_ruby_base1', '~> 0.
|
16
|
-
s.add_dependency 'eac_cli', '~> 0.
|
17
|
-
s.add_dependency 'eac_fs', '~> 0.
|
18
|
-
s.add_dependency 'eac_ruby_utils', '~> 0.
|
15
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.27', '>= 0.27.1'
|
16
|
+
s.add_dependency 'eac_cli', '~> 0.30'
|
17
|
+
s.add_dependency 'eac_fs', '~> 0.15'
|
18
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.107', '>= 0.107.1'
|
19
19
|
|
20
20
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.5.1'
|
21
21
|
end
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'eac_cli/core_ext'
|
4
4
|
require 'eac_cli/speaker'
|
5
|
+
require 'eac_cli/speaker/input_blocked'
|
5
6
|
require 'eac_config/node'
|
6
7
|
require 'eac_fs/contexts'
|
7
8
|
require 'eac_ruby_utils/speaker'
|
@@ -51,16 +52,6 @@ module EacRubyBase0
|
|
51
52
|
out("#{application_version}\n")
|
52
53
|
end
|
53
54
|
|
54
|
-
class FailIfRequestInput
|
55
|
-
enable_speaker
|
56
|
-
|
57
|
-
%w[gets noecho].each do |method|
|
58
|
-
define_method(method) do
|
59
|
-
raise "Input method requested (\"#{method}\") and option --no-input is set"
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
55
|
private
|
65
56
|
|
66
57
|
# @return [Array<EacRubyUtils::Struct>]
|
@@ -78,7 +69,7 @@ module EacRubyBase0
|
|
78
69
|
def build_speaker
|
79
70
|
options = {}
|
80
71
|
options[:err_out] = ::StringIO.new if parsed.quiet?
|
81
|
-
options[:in_in] =
|
72
|
+
options[:in_in] = ::EacCli::Speaker::InputBlocked.new if parsed.no_input?
|
82
73
|
::EacCli::Speaker.new(options)
|
83
74
|
end
|
84
75
|
|
@@ -37,17 +37,9 @@ module EacRubyUtils
|
|
37
37
|
private
|
38
38
|
|
39
39
|
def add(list_class, item, labels)
|
40
|
-
check_acts_as_listable_new_item(item)
|
41
40
|
acts_as_listable_items[item] = list_class.new(self, item, labels)
|
42
41
|
end
|
43
42
|
|
44
|
-
def check_acts_as_listable_new_item(item)
|
45
|
-
return unless acts_as_listable_items.key?(item)
|
46
|
-
|
47
|
-
raise "Item já adicionado anteriormente: #{item} em #{self} " \
|
48
|
-
"(#{acts_as_listable_items.keys})"
|
49
|
-
end
|
50
|
-
|
51
43
|
def find_list_by_method(method)
|
52
44
|
acts_as_listable_items.each do |item, list|
|
53
45
|
return list if method.to_sym == item.to_sym
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.56'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.56'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm-eac_asciidoctor_base0
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,6 +149,9 @@ dependencies:
|
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0.27'
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 0.27.1
|
152
155
|
type: :runtime
|
153
156
|
prerelease: false
|
154
157
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -156,6 +159,9 @@ dependencies:
|
|
156
159
|
- - "~>"
|
157
160
|
- !ruby/object:Gem::Version
|
158
161
|
version: '0.27'
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.27.1
|
159
165
|
- !ruby/object:Gem::Dependency
|
160
166
|
name: avm-eac_webapp_base0
|
161
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,7 +211,7 @@ dependencies:
|
|
205
211
|
version: '0.142'
|
206
212
|
- - ">="
|
207
213
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.142.
|
214
|
+
version: 0.142.6
|
209
215
|
type: :runtime
|
210
216
|
prerelease: false
|
211
217
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -215,7 +221,7 @@ dependencies:
|
|
215
221
|
version: '0.142'
|
216
222
|
- - ">="
|
217
223
|
- !ruby/object:Gem::Version
|
218
|
-
version: 0.142.
|
224
|
+
version: 0.142.6
|
219
225
|
- !ruby/object:Gem::Dependency
|
220
226
|
name: eac_ruby_utils
|
221
227
|
requirement: !ruby/object:Gem::Requirement
|
@@ -223,6 +229,9 @@ dependencies:
|
|
223
229
|
- - "~>"
|
224
230
|
- !ruby/object:Gem::Version
|
225
231
|
version: '0.107'
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 0.107.1
|
226
235
|
type: :runtime
|
227
236
|
prerelease: false
|
228
237
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -230,6 +239,9 @@ dependencies:
|
|
230
239
|
- - "~>"
|
231
240
|
- !ruby/object:Gem::Version
|
232
241
|
version: '0.107'
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: 0.107.1
|
233
245
|
- !ruby/object:Gem::Dependency
|
234
246
|
name: eac_ruby_gem_support
|
235
247
|
requirement: !ruby/object:Gem::Requirement
|
@@ -926,7 +938,6 @@ files:
|
|
926
938
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
927
939
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
|
928
940
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
|
929
|
-
- sub/avm-tools/spec/lib/avm/launcher/instances/base_spec.rb
|
930
941
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb
|
931
942
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml
|
932
943
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb
|
@@ -957,6 +968,7 @@ files:
|
|
957
968
|
- sub/avm/lib/avm/application_stereotypes/base.rb
|
958
969
|
- sub/avm/lib/avm/applications.rb
|
959
970
|
- sub/avm/lib/avm/applications/base.rb
|
971
|
+
- sub/avm/lib/avm/applications/base/publishing.rb
|
960
972
|
- sub/avm/lib/avm/applications/base/stereotype.rb
|
961
973
|
- sub/avm/lib/avm/data/instance.rb
|
962
974
|
- sub/avm/lib/avm/data/instance/files_unit.rb
|
@@ -1029,6 +1041,7 @@ files:
|
|
1029
1041
|
- sub/avm/lib/avm/launcher/instances.rb
|
1030
1042
|
- sub/avm/lib/avm/launcher/instances/base.rb
|
1031
1043
|
- sub/avm/lib/avm/launcher/instances/base/cache.rb
|
1044
|
+
- sub/avm/lib/avm/launcher/instances/base/publishing.rb
|
1032
1045
|
- sub/avm/lib/avm/launcher/instances/error.rb
|
1033
1046
|
- sub/avm/lib/avm/launcher/instances/runner_helper.rb
|
1034
1047
|
- sub/avm/lib/avm/launcher/instances/settings.rb
|
@@ -1046,6 +1059,7 @@ files:
|
|
1046
1059
|
- sub/avm/lib/avm/registry/application_stereotypes.rb
|
1047
1060
|
- sub/avm/lib/avm/registry/application_stereotypes/build_available.rb
|
1048
1061
|
- sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb
|
1062
|
+
- sub/avm/lib/avm/registry/applications.rb
|
1049
1063
|
- sub/avm/lib/avm/registry/file_formats.rb
|
1050
1064
|
- sub/avm/lib/avm/registry/from_gems.rb
|
1051
1065
|
- sub/avm/lib/avm/registry/instances.rb
|
@@ -1106,6 +1120,14 @@ files:
|
|
1106
1120
|
- sub/avm/spec/lib/avm/applications/base_spec_fixture.yml
|
1107
1121
|
- sub/avm/spec/lib/avm/instances/base_spec.rb
|
1108
1122
|
- sub/avm/spec/lib/avm/instances/base_spec_files/config.yml
|
1123
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec.rb
|
1124
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/avm-tools.gemspec
|
1125
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/lib/avm/tools.rb
|
1126
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/avm-tools_stub/lib/avm/tools/version.rb
|
1127
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/lib/ruby_gem_stub.rb
|
1128
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/lib/ruby_gem_stub/version.rb
|
1129
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/projects/ruby_gem_stub/ruby_gem_stub.gemspec
|
1130
|
+
- sub/avm/spec/lib/avm/launcher/instances/base_spec_files/settings.yaml
|
1109
1131
|
- sub/avm/spec/lib/avm/scms/base_spec.rb
|
1110
1132
|
- sub/avm/spec/lib/avm/sources/base_spec.rb
|
1111
1133
|
- sub/avm/spec/lib/avm/sources/runner_spec.rb
|
@@ -1164,6 +1186,8 @@ files:
|
|
1164
1186
|
- sub/eac_cli/lib/eac_cli/runner_with_set.rb
|
1165
1187
|
- sub/eac_cli/lib/eac_cli/speaker.rb
|
1166
1188
|
- sub/eac_cli/lib/eac_cli/speaker/constants.rb
|
1189
|
+
- sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb
|
1190
|
+
- sub/eac_cli/lib/eac_cli/speaker/input_requested.rb
|
1167
1191
|
- sub/eac_cli/lib/eac_cli/speaker/list.rb
|
1168
1192
|
- sub/eac_cli/lib/eac_cli/speaker/options.rb
|
1169
1193
|
- sub/eac_cli/lib/eac_cli/version.rb
|
@@ -1245,6 +1269,7 @@ files:
|
|
1245
1269
|
- sub/eac_fs/lib/eac_fs/comparator/build.rb
|
1246
1270
|
- sub/eac_fs/lib/eac_fs/comparator/rename_file.rb
|
1247
1271
|
- sub/eac_fs/lib/eac_fs/contexts.rb
|
1272
|
+
- sub/eac_fs/lib/eac_fs/core_ext.rb
|
1248
1273
|
- sub/eac_fs/lib/eac_fs/file_info.rb
|
1249
1274
|
- sub/eac_fs/lib/eac_fs/logs.rb
|
1250
1275
|
- sub/eac_fs/lib/eac_fs/logs/file.rb
|
@@ -1255,6 +1280,8 @@ files:
|
|
1255
1280
|
- sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb
|
1256
1281
|
- sub/eac_fs/lib/eac_fs/patches/pathname.rb
|
1257
1282
|
- sub/eac_fs/lib/eac_fs/patches/pathname/info.rb
|
1283
|
+
- sub/eac_fs/lib/eac_fs/rspec.rb
|
1284
|
+
- sub/eac_fs/lib/eac_fs/rspec/setup.rb
|
1258
1285
|
- sub/eac_fs/lib/eac_fs/storage_tree.rb
|
1259
1286
|
- sub/eac_fs/lib/eac_fs/traversable.rb
|
1260
1287
|
- sub/eac_fs/lib/eac_fs/traverser.rb
|