eac_tools 0.43.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -21
- 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_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb +51 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_macro_value.rb +1 -4
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb +3 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb +3 -2
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb +1 -2
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb +45 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb +5 -0
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/instances/build/document_spec_files/pre_processed_root_body.adoc +3 -0
- data/sub/avm-eac_asciidoctor_base0/spec/lib/avm/eac_asciidoctor_base0/source_generators/base_spec_files/no_options/content/body.adoc +4 -0
- data/sub/avm-eac_asciidoctor_base0/template/avm/eac_asciidoctor_base0/source_generators/base/content/body.adoc +4 -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 +3 -3
- 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_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_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 +36 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 964b726ccd6fbbfe8a4ef55261f839acde321207e1234066f18d889a90faa7e9
|
4
|
+
data.tar.gz: aa665607427b10b5ce0f87b8c1880259ebc45744b752f440abd7e5c8f2d61da8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 729da0dbe20389bf2503beab62c9d72ac4dfbd3c8adfd6eebfc92cff9cc9e4d33d15079b23cf71a37c34e6e9f027d7a9b385653ff5cdbb8d1d1be5defcfe6d23
|
7
|
+
data.tar.gz: da1901c9536653a7c30bfe8e110a485fc19fc68046455d09f1bdb7c3ce367faa085901a81ede3a85dd319b9416d426f8362da0dc956980d33658032003935d19
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eac_tools (0.
|
5
|
-
avm (~> 0.
|
6
|
-
avm-eac_asciidoctor_base0 (~> 0.
|
4
|
+
eac_tools (0.45.0)
|
5
|
+
avm (~> 0.56)
|
6
|
+
avm-eac_asciidoctor_base0 (~> 0.12)
|
7
7
|
avm-eac_generic_base0 (~> 0.8)
|
8
8
|
avm-eac_latex_base0 (~> 0.3)
|
9
9
|
avm-eac_php_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.5)
|
18
|
+
eac_ruby_utils (~> 0.107, >= 0.107.1)
|
19
19
|
|
20
20
|
PATH
|
21
21
|
remote: sub/aranha-parsers
|
@@ -33,7 +33,7 @@ PATH
|
|
33
33
|
PATH
|
34
34
|
remote: sub/avm-eac_asciidoctor_base0
|
35
35
|
specs:
|
36
|
-
avm-eac_asciidoctor_base0 (0.
|
36
|
+
avm-eac_asciidoctor_base0 (0.12.0)
|
37
37
|
asciidoctor (~> 2.0, >= 2.0.18)
|
38
38
|
avm-eac_webapp_base0 (~> 0.12, >= 0.12.2)
|
39
39
|
eac_ruby_utils (~> 0.107)
|
@@ -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,13 +155,13 @@ PATH
|
|
155
155
|
PATH
|
156
156
|
remote: sub/avm-tools
|
157
157
|
specs:
|
158
|
-
avm-tools (0.142.
|
158
|
+
avm-tools (0.142.5)
|
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
167
|
eac_git (~> 0.13)
|
@@ -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)
|
@@ -211,9 +211,9 @@ 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
|
@@ -235,7 +235,7 @@ PATH
|
|
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
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module EacAsciidoctorBase0
|
7
|
+
module Instances
|
8
|
+
class Build
|
9
|
+
class Document
|
10
|
+
class ChildDocsMacroValue
|
11
|
+
enable_method_class
|
12
|
+
common_constructor :document
|
13
|
+
|
14
|
+
# @return [Array<String>]
|
15
|
+
def result
|
16
|
+
document.children.map { |child_doc| ChildDocLine.new(document, child_doc) }.sort
|
17
|
+
.map(&:result)
|
18
|
+
end
|
19
|
+
|
20
|
+
class ChildDocLine
|
21
|
+
common_constructor :document, :child
|
22
|
+
compare_by :title, :address
|
23
|
+
|
24
|
+
# @return [Pathname]
|
25
|
+
def address
|
26
|
+
child.body_target_path.relative_path_from(
|
27
|
+
document.body_target_path.dirname
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
# @return [String]
|
32
|
+
def link
|
33
|
+
"link:#{address}[#{title}]"
|
34
|
+
end
|
35
|
+
|
36
|
+
# @return [String]
|
37
|
+
def result
|
38
|
+
"* #{link}"
|
39
|
+
end
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
def title
|
43
|
+
child.source_document.title
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -17,11 +17,12 @@ module Avm
|
|
17
17
|
|
18
18
|
common_constructor :document, :line
|
19
19
|
|
20
|
+
# @return [Array<String>]
|
20
21
|
def result
|
21
22
|
if macro?
|
22
23
|
macro_value
|
23
24
|
else
|
24
|
-
line
|
25
|
+
[line]
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
@@ -33,6 +34,7 @@ module Avm
|
|
33
34
|
MACRO_PARSER
|
34
35
|
end
|
35
36
|
|
37
|
+
# @return [Array<String>]
|
36
38
|
def macro_value
|
37
39
|
document.send("#{macro_name}_macro_value")
|
38
40
|
end
|
data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
CHANGED
@@ -36,7 +36,7 @@ module Avm
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def perform_self
|
39
|
-
infov 'Building', source_document.
|
39
|
+
infov 'Building', source_document.subpath
|
40
40
|
::Asciidoctor.convert(
|
41
41
|
pre_processed_body_source_content,
|
42
42
|
base_dir: convert_base_dir,
|
@@ -51,7 +51,8 @@ module Avm
|
|
51
51
|
# @return [String]
|
52
52
|
def pre_processed_body_source_content
|
53
53
|
source_document.body_path.read.each_line
|
54
|
-
.
|
54
|
+
.flat_map { |line| pre_process_line(line.rstrip) }
|
55
|
+
.map { |line| "#{line.rstrip}\n" }.join
|
55
56
|
end
|
56
57
|
|
57
58
|
def tree_documents_count
|
@@ -13,14 +13,13 @@ module Avm
|
|
13
13
|
enable_listable
|
14
14
|
lists.add_symbol :option, :target_directory
|
15
15
|
common_constructor :instance, :options, default: [{}] do
|
16
|
-
instance.assert_argument(::Avm::EacAsciidoctorBase0::Instances::Base, 'instance')
|
17
16
|
self.options = self.class.lists.option.hash_keys_validate!(options.symbolize_keys)
|
18
17
|
end
|
19
18
|
|
20
19
|
SOURCE_EXTNAMES = %w[.adoc .asc].freeze
|
21
20
|
|
22
21
|
def perform
|
23
|
-
infov '
|
22
|
+
infov 'Documents to build', root_document.tree_documents_count
|
24
23
|
target_directory.clear
|
25
24
|
root_document.perform
|
26
25
|
end
|
data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'asciidoctor'
|
4
|
+
require 'eac_ruby_utils/core_ext'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacAsciidoctorBase0
|
8
|
+
module Sources
|
9
|
+
class Base
|
10
|
+
class InstanceToBuild
|
11
|
+
AUTHOR_EMAIL = 'author@local.net'
|
12
|
+
AUTHOR_NAME = 'Local Author'
|
13
|
+
AUTHOR_NAME_INITIALS = 'L.A.'
|
14
|
+
|
15
|
+
common_constructor :source
|
16
|
+
|
17
|
+
# @return [Struct]
|
18
|
+
def application
|
19
|
+
::Struct.new(:local_source).new(source)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def author_email
|
24
|
+
AUTHOR_EMAIL
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def author_name
|
29
|
+
AUTHOR_NAME
|
30
|
+
end
|
31
|
+
|
32
|
+
# @return [String]
|
33
|
+
def author_name_initials
|
34
|
+
AUTHOR_NAME_INITIALS
|
35
|
+
end
|
36
|
+
|
37
|
+
# @return [String]
|
38
|
+
def web_url
|
39
|
+
"file://#{source.path.expand_path.join('build', 'index.html')}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -18,6 +18,11 @@ module Avm
|
|
18
18
|
path.join(CONTENT_DIRECTORY_SUBPATH)
|
19
19
|
end
|
20
20
|
|
21
|
+
# @return [Avm::EacAsciidoctorBase0::Sources::Base::InstanceToBuild]
|
22
|
+
def instance_to_build
|
23
|
+
::Avm::EacAsciidoctorBase0::Sources::Base::InstanceToBuild.new(self)
|
24
|
+
end
|
25
|
+
|
21
26
|
# @return [Avm::EacAsciidoctorBase0::Sources::Base::Document
|
22
27
|
def root_document
|
23
28
|
::Avm::EacAsciidoctorBase0::Sources::Base::Document.new(self, nil, nil)
|
@@ -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,11 +15,11 @@ 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
25
|
s.add_dependency 'eac_git', '~> 0.13'
|
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
|
@@ -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.0
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,28 +16,28 @@ 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
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.12'
|
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.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: avm-eac_generic_base0
|
43
43
|
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.5
|
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.5
|
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
|
@@ -307,6 +319,7 @@ files:
|
|
307
319
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/base.rb
|
308
320
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build.rb
|
309
321
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document.rb
|
322
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/child_docs_macro_value.rb
|
310
323
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/header_macro_value.rb
|
311
324
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/build/document/pre_process_line.rb
|
312
325
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/instances/deploy.rb
|
@@ -318,6 +331,7 @@ files:
|
|
318
331
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base.rb
|
319
332
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document.rb
|
320
333
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/document/title.rb
|
334
|
+
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/instance_to_build.rb
|
321
335
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/base/theme.rb
|
322
336
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners.rb
|
323
337
|
- sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/sources/runners/build.rb
|
@@ -924,7 +938,6 @@ files:
|
|
924
938
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
925
939
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
|
926
940
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
|
927
|
-
- sub/avm-tools/spec/lib/avm/launcher/instances/base_spec.rb
|
928
941
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb
|
929
942
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml
|
930
943
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb
|
@@ -955,6 +968,7 @@ files:
|
|
955
968
|
- sub/avm/lib/avm/application_stereotypes/base.rb
|
956
969
|
- sub/avm/lib/avm/applications.rb
|
957
970
|
- sub/avm/lib/avm/applications/base.rb
|
971
|
+
- sub/avm/lib/avm/applications/base/publishing.rb
|
958
972
|
- sub/avm/lib/avm/applications/base/stereotype.rb
|
959
973
|
- sub/avm/lib/avm/data/instance.rb
|
960
974
|
- sub/avm/lib/avm/data/instance/files_unit.rb
|
@@ -1027,6 +1041,7 @@ files:
|
|
1027
1041
|
- sub/avm/lib/avm/launcher/instances.rb
|
1028
1042
|
- sub/avm/lib/avm/launcher/instances/base.rb
|
1029
1043
|
- sub/avm/lib/avm/launcher/instances/base/cache.rb
|
1044
|
+
- sub/avm/lib/avm/launcher/instances/base/publishing.rb
|
1030
1045
|
- sub/avm/lib/avm/launcher/instances/error.rb
|
1031
1046
|
- sub/avm/lib/avm/launcher/instances/runner_helper.rb
|
1032
1047
|
- sub/avm/lib/avm/launcher/instances/settings.rb
|
@@ -1044,6 +1059,7 @@ files:
|
|
1044
1059
|
- sub/avm/lib/avm/registry/application_stereotypes.rb
|
1045
1060
|
- sub/avm/lib/avm/registry/application_stereotypes/build_available.rb
|
1046
1061
|
- sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb
|
1062
|
+
- sub/avm/lib/avm/registry/applications.rb
|
1047
1063
|
- sub/avm/lib/avm/registry/file_formats.rb
|
1048
1064
|
- sub/avm/lib/avm/registry/from_gems.rb
|
1049
1065
|
- sub/avm/lib/avm/registry/instances.rb
|
@@ -1104,6 +1120,14 @@ files:
|
|
1104
1120
|
- sub/avm/spec/lib/avm/applications/base_spec_fixture.yml
|
1105
1121
|
- sub/avm/spec/lib/avm/instances/base_spec.rb
|
1106
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
|
1107
1131
|
- sub/avm/spec/lib/avm/scms/base_spec.rb
|
1108
1132
|
- sub/avm/spec/lib/avm/sources/base_spec.rb
|
1109
1133
|
- sub/avm/spec/lib/avm/sources/runner_spec.rb
|
@@ -1243,6 +1267,7 @@ files:
|
|
1243
1267
|
- sub/eac_fs/lib/eac_fs/comparator/build.rb
|
1244
1268
|
- sub/eac_fs/lib/eac_fs/comparator/rename_file.rb
|
1245
1269
|
- sub/eac_fs/lib/eac_fs/contexts.rb
|
1270
|
+
- sub/eac_fs/lib/eac_fs/core_ext.rb
|
1246
1271
|
- sub/eac_fs/lib/eac_fs/file_info.rb
|
1247
1272
|
- sub/eac_fs/lib/eac_fs/logs.rb
|
1248
1273
|
- sub/eac_fs/lib/eac_fs/logs/file.rb
|
@@ -1253,6 +1278,8 @@ files:
|
|
1253
1278
|
- sub/eac_fs/lib/eac_fs/patches/object/fs_cache.rb
|
1254
1279
|
- sub/eac_fs/lib/eac_fs/patches/pathname.rb
|
1255
1280
|
- sub/eac_fs/lib/eac_fs/patches/pathname/info.rb
|
1281
|
+
- sub/eac_fs/lib/eac_fs/rspec.rb
|
1282
|
+
- sub/eac_fs/lib/eac_fs/rspec/setup.rb
|
1256
1283
|
- sub/eac_fs/lib/eac_fs/storage_tree.rb
|
1257
1284
|
- sub/eac_fs/lib/eac_fs/traversable.rb
|
1258
1285
|
- sub/eac_fs/lib/eac_fs/traverser.rb
|