eac_tools 0.36.1 → 0.37.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 +14 -13
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm/lib/avm/launcher/publish/base.rb +0 -2
- data/sub/avm/lib/avm/launcher_stereotypes.rb +9 -0
- data/sub/avm/lib/avm/registry/launcher_stereotypes.rb +11 -0
- data/sub/avm/lib/avm/registry.rb +2 -2
- data/sub/avm/lib/avm/rspec/setup.rb +2 -0
- data/sub/avm/lib/avm/rspec/source_generator.rb +16 -0
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
- data/sub/{avm-tools/lib/avm/projects/stereotypes/ruby_gem → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base}/local_project_mixin.rb +3 -3
- data/sub/{avm-tools/lib/avm/projects/stereotypes/ruby_gem → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base}/publish.rb +4 -4
- data/sub/{avm-tools/lib/avm/projects/stereotypes/ruby_gem.rb → avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb} +5 -5
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes.rb +11 -0
- data/sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/sources/base_spec.rb +9 -0
- data/sub/avm-eac_ruby_base1/spec/spec_helper.rb +4 -0
- data/sub/avm-git/avm-git.gemspec +2 -1
- data/sub/avm-git/lib/avm/git/launcher/error.rb +3 -1
- data/sub/avm-git/lib/avm/git/launcher/warp_base.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git/local_project_mixin.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git/publish.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git/warp.rb +3 -3
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subrepo/publish.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subrepo/warp.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subrepo.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subtree/publish.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subtree/warp.rb +2 -2
- data/sub/{avm-tools/lib/avm/projects/stereotypes → avm-git/lib/avm/git/launcher_stereotypes}/git_subtree.rb +6 -6
- data/sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb +22 -0
- data/sub/avm-git/lib/avm/git/launcher_stereotypes.rb +11 -0
- data/sub/avm-git/lib/avm/git/version.rb +1 -1
- data/sub/{avm-tools/spec/lib/avm/launcher/git → avm-git/spec/lib/avm/git/launcher}/base_spec.rb +5 -5
- data/sub/avm-tools/avm-tools.gemspec +3 -3
- data/sub/avm-tools/lib/avm/projects/stereotypes.rb +4 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes/list.rb +42 -0
- data/sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes.rb +16 -0
- data/sub/avm-tools/lib/avm/tools/version.rb +1 -1
- data/sub/avm-tools/spec/lib/avm/{launcher/ruby → eac_ruby_base1/launcher}/gem/build_spec.rb +2 -2
- data/sub/avm-tools/spec/lib/avm/{launcher/ruby → eac_ruby_base1/launcher}/gem/specification_spec.rb +2 -2
- data/sub/avm-tools/spec/lib/avm/{projects/stereotypes/ruby_gem → eac_ruby_base1/launcher_stereotypes/base}/publish_spec.rb +4 -4
- data/sub/avm-tools/spec/lib/avm/{projects/stereotypes/ruby_gem_spec.rb → eac_ruby_base1/launcher_stereotypes/base_spec.rb} +5 -5
- data/sub/avm-tools/spec/lib/avm/launcher/context_spec.rb +3 -3
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb +3 -3
- data/sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb +3 -3
- data/sub/avm-tools/spec/lib/avm/tools/runner/launcher_stereotypes/list_spec.rb +17 -0
- metadata +35 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51afc6cc47066279aecae0a111a60358d765c6cb42bd50b028aa1d01972e051
|
4
|
+
data.tar.gz: 370f9cf00a71393edc5345948f95dc96e438cf00ea3672b6c2f23e7f8d5da285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8114f6308cee0ee687085eb7b2e87419bb55876e9bc4cad9ddee448b6d5e325ac162196ca06eb48af92b72b391b106cb6ee4bce51a5260e28f1e6a611349a8d
|
7
|
+
data.tar.gz: 738c6a8e0a54ead97d5af98a37fb48c95d9befda1743b4de35e50e894868396c9bee734cbf41e56d7421dd84eff60064a1d7fc2ea57c44650d6c9347aaaaf957
|
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.37.0)
|
5
|
+
avm (~> 0.49)
|
6
6
|
avm-eac_asciidoctor_base0 (~> 0.7, >= 0.7.1)
|
7
7
|
avm-eac_generic_base0 (~> 0.5)
|
8
8
|
avm-eac_latex_base0 (~> 0.2, >= 0.2.1)
|
@@ -11,10 +11,10 @@ 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.
|
14
|
+
avm-eac_ruby_base1 (~> 0.24)
|
15
15
|
avm-eac_webapp_base0 (~> 0.9, >= 0.9.2)
|
16
16
|
avm-eac_wordpress_base0 (~> 0.2, >= 0.2.1)
|
17
|
-
avm-tools (~> 0.
|
17
|
+
avm-tools (~> 0.142)
|
18
18
|
eac_ruby_utils (~> 0.104)
|
19
19
|
|
20
20
|
PATH
|
@@ -87,8 +87,8 @@ PATH
|
|
87
87
|
PATH
|
88
88
|
remote: sub/avm-eac_ruby_base1
|
89
89
|
specs:
|
90
|
-
avm-eac_ruby_base1 (0.
|
91
|
-
avm (~> 0.
|
90
|
+
avm-eac_ruby_base1 (0.24.0)
|
91
|
+
avm (~> 0.49)
|
92
92
|
avm-eac_generic_base0 (~> 0.5)
|
93
93
|
eac_ruby_utils (~> 0.104)
|
94
94
|
|
@@ -123,22 +123,23 @@ PATH
|
|
123
123
|
PATH
|
124
124
|
remote: sub/avm-git
|
125
125
|
specs:
|
126
|
-
avm-git (0.
|
127
|
-
avm (~> 0.
|
126
|
+
avm-git (0.7.0)
|
127
|
+
avm (~> 0.49)
|
128
128
|
avm-files (~> 0.4, >= 0.4.1)
|
129
129
|
eac_git (~> 0.12, >= 0.12.3)
|
130
130
|
eac_ruby_utils (~> 0.104)
|
131
|
+
git (~> 1.12)
|
131
132
|
|
132
133
|
PATH
|
133
134
|
remote: sub/avm-tools
|
134
135
|
specs:
|
135
|
-
avm-tools (0.
|
136
|
+
avm-tools (0.142.0)
|
136
137
|
aranha-parsers (~> 0.14, >= 0.14.3)
|
137
|
-
avm (~> 0.
|
138
|
-
avm-eac_ruby_base1 (~> 0.
|
138
|
+
avm (~> 0.49)
|
139
|
+
avm-eac_ruby_base1 (~> 0.24)
|
139
140
|
avm-eac_ubuntu_base0 (~> 0.3)
|
140
141
|
avm-files (~> 0.4, >= 0.4.1)
|
141
|
-
avm-git (~> 0.
|
142
|
+
avm-git (~> 0.7)
|
142
143
|
clipboard (~> 1.3, >= 1.3.6)
|
143
144
|
curb (~> 0.9, >= 0.9.11)
|
144
145
|
eac_git (~> 0.12, >= 0.12.3)
|
@@ -150,7 +151,7 @@ PATH
|
|
150
151
|
PATH
|
151
152
|
remote: sub/avm
|
152
153
|
specs:
|
153
|
-
avm (0.
|
154
|
+
avm (0.49.0)
|
154
155
|
eac_cli (~> 0.28)
|
155
156
|
eac_config (~> 0.11, >= 0.11.1)
|
156
157
|
eac_docker (~> 0.5)
|
data/lib/eac_tools/version.rb
CHANGED
@@ -35,8 +35,6 @@ module Avm
|
|
35
35
|
internal_check
|
36
36
|
rescue ::Avm::Launcher::Errors::Base => e
|
37
37
|
::Avm::Launcher::Publish::CheckResult.blocked("Error: #{e}")
|
38
|
-
rescue ::Avm::Launcher::Git::Error => e
|
39
|
-
::Avm::Launcher::Publish::CheckResult.blocked("Git error: #{e}")
|
40
38
|
end
|
41
39
|
end
|
42
40
|
end
|
data/sub/avm/lib/avm/registry.rb
CHANGED
@@ -7,8 +7,8 @@ module Avm
|
|
7
7
|
module Registry
|
8
8
|
require_sub __FILE__
|
9
9
|
enable_listable
|
10
|
-
lists.add_symbol :category, :application_stereotypes, :instances, :
|
11
|
-
:source_generators, :sources
|
10
|
+
lists.add_symbol :category, :application_stereotypes, :instances, :launcher_stereotypes,
|
11
|
+
:runners, :scms, :source_generators, :sources
|
12
12
|
|
13
13
|
class << self
|
14
14
|
enable_simple_cache
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/rspec/source_generator'
|
3
4
|
require 'eac_ruby_utils/core_ext'
|
4
5
|
|
5
6
|
module Avm
|
@@ -9,6 +10,7 @@ module Avm
|
|
9
10
|
|
10
11
|
def self.extended(obj)
|
11
12
|
obj.setup_examples
|
13
|
+
obj.rspec_config.include(::Avm::Rspec::SourceGenerator)
|
12
14
|
end
|
13
15
|
|
14
16
|
def setup_examples
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
|
5
|
+
module Avm
|
6
|
+
module Rspec
|
7
|
+
module SourceGenerator
|
8
|
+
# @return [Avm::Sources::Base]
|
9
|
+
def avm_source(stereotype_name, target_path = nil)
|
10
|
+
target_path ||= temp_dir.join('generated_app')
|
11
|
+
::Avm::Registry.source_generators.detect(stereotype_name, target_path).perform
|
12
|
+
::Avm::Registry.sources.detect(target_path)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -12,7 +12,7 @@ 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.49'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.5'
|
17
17
|
s.add_dependency 'eac_ruby_utils', '~> 0.104'
|
18
18
|
|
@@ -5,9 +5,9 @@ require 'avm/version_number'
|
|
5
5
|
require 'eac_ruby_utils/core_ext'
|
6
6
|
|
7
7
|
module Avm
|
8
|
-
module
|
9
|
-
module
|
10
|
-
class
|
8
|
+
module EacRubyBase1
|
9
|
+
module LauncherStereotypes
|
10
|
+
class Base
|
11
11
|
module LocalProjectMixin
|
12
12
|
# @return [Avm::EacRubyBase1::Sources::Base]
|
13
13
|
def ruby_gem
|
@@ -10,9 +10,9 @@ require 'avm/launcher/publish/check_result'
|
|
10
10
|
require 'avm/eac_ruby_base1/launcher/gem'
|
11
11
|
|
12
12
|
module Avm
|
13
|
-
module
|
14
|
-
module
|
15
|
-
class
|
13
|
+
module EacRubyBase1
|
14
|
+
module LauncherStereotypes
|
15
|
+
class Base
|
16
16
|
class Publish < ::Avm::Launcher::Publish::Base
|
17
17
|
include ::EacRubyUtils::SimpleCache
|
18
18
|
enable_speaker
|
@@ -67,7 +67,7 @@ module Avm
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def gem_spec_uncached
|
70
|
-
::Avm::
|
70
|
+
::Avm::EacRubyBase1::LauncherStereotypes::Base.load_gemspec(gemspec)
|
71
71
|
end
|
72
72
|
|
73
73
|
def gem_build_uncached
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/eac_ruby_base1/launcher/gem/specification'
|
4
3
|
require 'avm/launcher/stereotype'
|
4
|
+
require 'avm/eac_ruby_base1/launcher/gem/specification'
|
5
5
|
require 'eac_ruby_utils/core_ext'
|
6
6
|
|
7
7
|
module Avm
|
8
|
-
module
|
9
|
-
module
|
10
|
-
class
|
8
|
+
module EacRubyBase1
|
9
|
+
module LauncherStereotypes
|
10
|
+
class Base
|
11
11
|
require_sub __FILE__
|
12
|
-
include Avm::Launcher::Stereotype
|
12
|
+
include ::Avm::Launcher::Stereotype
|
13
13
|
|
14
14
|
class << self
|
15
15
|
def match?(path)
|
@@ -1,7 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/eac_ruby_base1/sources/base'
|
4
|
+
require 'avm/version_number'
|
4
5
|
|
5
6
|
::RSpec.describe ::Avm::EacRubyBase1::Sources::Base do
|
7
|
+
let(:instance) { avm_source('EacRubyBase1') }
|
8
|
+
|
6
9
|
include_examples 'in_avm_registry', 'sources'
|
10
|
+
|
11
|
+
it { expect(instance).to be_a(described_class) }
|
12
|
+
|
13
|
+
it do
|
14
|
+
expect(instance.version).to eq(::Avm::VersionNumber.new('0.0.0'))
|
15
|
+
end
|
7
16
|
end
|
@@ -2,3 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'eac_ruby_utils/rspec/default_setup'
|
4
4
|
::EacRubyUtils::Rspec.default_setup_create(::File.expand_path('..', __dir__))
|
5
|
+
|
6
|
+
require 'eac_ruby_utils/speaker'
|
7
|
+
require 'eac_ruby_utils/rspec/stub_speaker'
|
8
|
+
::EacRubyUtils::Speaker.context.push(::EacRubyUtils::Rspec::StubSpeaker.new)
|
data/sub/avm-git/avm-git.gemspec
CHANGED
@@ -12,10 +12,11 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm', '~> 0.
|
15
|
+
s.add_dependency 'avm', '~> 0.49'
|
16
16
|
s.add_dependency 'avm-files', '~> 0.4', '>= 0.4.1'
|
17
17
|
s.add_dependency 'eac_git', '~> 0.12', '>= 0.12.3'
|
18
18
|
s.add_dependency 'eac_ruby_utils', '~> 0.104'
|
19
|
+
s.add_dependency 'git', '~> 1.12'
|
19
20
|
|
20
21
|
s.add_development_dependency 'aranha-parsers', '~> 0.8', '>= 0.8.5'
|
21
22
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.4'
|
@@ -1,9 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/launcher/errors/base'
|
4
|
+
|
3
5
|
module Avm
|
4
6
|
module Git
|
5
7
|
module Launcher
|
6
|
-
class Error <
|
8
|
+
class Error < ::Avm::Launcher::Errors::Base
|
7
9
|
def initialize(git_instance, message)
|
8
10
|
super("#{message} (Repository: #{git_instance})")
|
9
11
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'avm/git/launcher/mirror_update'
|
4
4
|
require 'avm/launcher/instances/error'
|
5
5
|
require 'avm/git/vendor/github'
|
6
|
-
require 'avm/
|
6
|
+
require 'avm/git/launcher_stereotypes/git/publish'
|
7
7
|
|
8
8
|
module Avm
|
9
9
|
module Git
|
@@ -15,7 +15,7 @@ module Avm
|
|
15
15
|
class WarpBase < ::Avm::Launcher::Paths::Real
|
16
16
|
include ::EacRubyUtils::SimpleCache
|
17
17
|
|
18
|
-
TARGET_REMOTE = ::Avm::
|
18
|
+
TARGET_REMOTE = ::Avm::Git::LauncherStereotypes::Git::Publish::PUBLISH_GIT_REMOTE_NAME
|
19
19
|
|
20
20
|
def initialize(instance)
|
21
21
|
@instance = instance
|
@@ -3,8 +3,8 @@
|
|
3
3
|
require 'avm/git/launcher/warp_base'
|
4
4
|
|
5
5
|
module Avm
|
6
|
-
module
|
7
|
-
module
|
6
|
+
module Git
|
7
|
+
module LauncherStereotypes
|
8
8
|
class Git
|
9
9
|
class Warp < ::Avm::Git::Launcher::WarpBase
|
10
10
|
private
|
@@ -18,7 +18,7 @@ module Avm
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def source_remote_name
|
21
|
-
::Avm::
|
21
|
+
::Avm::Git::LauncherStereotypes::Git::Publish::PUBLISH_GIT_REMOTE_NAME
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -7,8 +7,8 @@ require 'avm/launcher/paths/real'
|
|
7
7
|
require 'avm/git/vendor/github'
|
8
8
|
|
9
9
|
module Avm
|
10
|
-
module
|
11
|
-
module
|
10
|
+
module Git
|
11
|
+
module LauncherStereotypes
|
12
12
|
class GitSubrepo
|
13
13
|
class Warp < ::Avm::Launcher::Paths::Real
|
14
14
|
include ::Avm::Git::Launcher::SubWarpBase
|
@@ -4,8 +4,8 @@ require 'avm/git/launcher/warp_base'
|
|
4
4
|
require 'avm/git/launcher/sub_warp_base'
|
5
5
|
|
6
6
|
module Avm
|
7
|
-
module
|
8
|
-
module
|
7
|
+
module Git
|
8
|
+
module LauncherStereotypes
|
9
9
|
class GitSubtree
|
10
10
|
class Warp < ::Avm::Git::Launcher::WarpBase
|
11
11
|
include ::Avm::Git::Launcher::SubWarpBase
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/launcher/stereotype'
|
4
|
-
require 'avm/
|
4
|
+
require 'avm/git/launcher_stereotypes/git'
|
5
5
|
require 'eac_ruby_utils/core_ext'
|
6
6
|
|
7
7
|
module Avm
|
8
|
-
module
|
9
|
-
module
|
8
|
+
module Git
|
9
|
+
module LauncherStereotypes
|
10
10
|
class GitSubtree
|
11
11
|
require_sub __FILE__
|
12
12
|
include Avm::Launcher::Stereotype
|
@@ -29,7 +29,7 @@ module Avm
|
|
29
29
|
def parent_git(parent_path)
|
30
30
|
return nil unless parent_path
|
31
31
|
|
32
|
-
if ::Avm::
|
32
|
+
if ::Avm::Git::LauncherStereotypes::Git.match?(parent_path)
|
33
33
|
parent_path
|
34
34
|
else
|
35
35
|
parent_git(parent_path.parent_path)
|
@@ -37,8 +37,8 @@ module Avm
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def other_git_stereotype?(path)
|
40
|
-
::Avm::
|
41
|
-
::Avm::
|
40
|
+
::Avm::Git::LauncherStereotypes::Git.match?(path) ||
|
41
|
+
::Avm::Git::LauncherStereotypes::GitSubrepo.match?(path)
|
42
42
|
end
|
43
43
|
|
44
44
|
def other_nogit_stereotype?(path)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/git/launcher_stereotypes/git'
|
4
|
+
require 'avm/git/launcher_stereotypes/git_subrepo'
|
5
|
+
require 'avm/git/launcher_stereotypes/git_subtree'
|
6
|
+
require 'eac_ruby_utils/core_ext'
|
7
|
+
|
8
|
+
module Avm
|
9
|
+
module Git
|
10
|
+
module LauncherStereotypes
|
11
|
+
class Provider
|
12
|
+
STEREOTYPES = [::Avm::Git::LauncherStereotypes::Git,
|
13
|
+
::Avm::Git::LauncherStereotypes::GitSubrepo,
|
14
|
+
::Avm::Git::LauncherStereotypes::GitSubtree].freeze
|
15
|
+
|
16
|
+
def all
|
17
|
+
STEREOTYPES
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/sub/{avm-tools/spec/lib/avm/launcher/git → avm-git/spec/lib/avm/git/launcher}/base_spec.rb
RENAMED
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'avm/git/launcher/base'
|
4
4
|
|
5
5
|
RSpec.describe ::Avm::Git::Launcher::Base do
|
6
|
-
context 'new non-bare repository' do
|
6
|
+
context 'new non-bare repository' do # rubocop:disable RSpec/ContextWording
|
7
7
|
let(:repo) do
|
8
8
|
r = described_class.new(::Dir.mktmpdir)
|
9
9
|
r.git
|
@@ -13,12 +13,12 @@ RSpec.describe ::Avm::Git::Launcher::Base do
|
|
13
13
|
describe '#remote_exist?' do
|
14
14
|
it { expect(repo.remote_exist?('origin')).to eq(false) }
|
15
15
|
|
16
|
-
context 'after remote added' do
|
16
|
+
context 'after remote added' do # rubocop:disable RSpec/ContextWording, RSpec/NestedGroups:
|
17
17
|
before { repo.execute!('remote', 'add', 'origin', 'file:///path/to/remote') }
|
18
18
|
|
19
19
|
it { expect(repo.remote_exist?('origin')).to eq(true) }
|
20
20
|
|
21
|
-
context 'after remote removed' do
|
21
|
+
context 'after remote removed' do # rubocop:disable RSpec/ContextWording, RSpec/NestedGroups:
|
22
22
|
before { repo.execute!('remote', 'remove', 'origin') }
|
23
23
|
|
24
24
|
it { expect(repo.remote_exist?('origin')).to eq(false) }
|
@@ -29,12 +29,12 @@ RSpec.describe ::Avm::Git::Launcher::Base do
|
|
29
29
|
describe '#assert_remote_url' do
|
30
30
|
it { expect(repo.remote_exist?('origin')).to eq(false) }
|
31
31
|
|
32
|
-
context 'after asserted remote URL "/remote1"' do
|
32
|
+
context 'after asserted remote URL "/remote1"' do # rubocop:disable RSpec/ContextWording, RSpec/NestedGroups:
|
33
33
|
before { repo.assert_remote_url('origin', '/remote1') }
|
34
34
|
|
35
35
|
it { expect(repo.git.remote('origin').url).to eq('/remote1') }
|
36
36
|
|
37
|
-
context 'after asserted remote URL "/remote2"' do
|
37
|
+
context 'after asserted remote URL "/remote2"' do # rubocop:disable RSpec/ContextWording, RSpec/NestedGroups:
|
38
38
|
before { repo.assert_remote_url('origin', '/remote2') }
|
39
39
|
|
40
40
|
it { expect(repo.git.remote('origin').url).to eq('/remote2') }
|
@@ -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.3'
|
18
|
-
s.add_dependency 'avm', '~> 0.
|
19
|
-
s.add_dependency 'avm-eac_ruby_base1', '~> 0.
|
18
|
+
s.add_dependency 'avm', '~> 0.49'
|
19
|
+
s.add_dependency 'avm-eac_ruby_base1', '~> 0.24'
|
20
20
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.3'
|
21
21
|
s.add_dependency 'avm-files', '~> 0.4', '>= 0.4.1'
|
22
|
-
s.add_dependency 'avm-git', '~> 0.
|
22
|
+
s.add_dependency 'avm-git', '~> 0.7'
|
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.12', '>= 0.12.3'
|
@@ -1,5 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/git/launcher_stereotypes/git'
|
4
|
+
require 'avm/git/launcher_stereotypes/git_subrepo'
|
5
|
+
require 'avm/git/launcher_stereotypes/git_subtree'
|
6
|
+
require 'avm/eac_ruby_base1/launcher_stereotypes/base'
|
3
7
|
require 'eac_ruby_utils/core_ext'
|
4
8
|
|
5
9
|
module Avm
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/launcher/stereotype'
|
4
|
+
require 'avm/projects/stereotypes'
|
5
|
+
require 'avm/tools/core_ext'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module Tools
|
9
|
+
class Runner
|
10
|
+
class LauncherStereotypes
|
11
|
+
class List
|
12
|
+
runner_with :help, :output do
|
13
|
+
bool_opt '-d', '--deprecated'
|
14
|
+
end
|
15
|
+
|
16
|
+
def run
|
17
|
+
infov 'Found', stereotypes.count
|
18
|
+
run_output
|
19
|
+
end
|
20
|
+
|
21
|
+
def output_content
|
22
|
+
stereotypes.map { |s| "#{s}\n" }.join
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def stereotypes
|
28
|
+
(parsed.deprecated? ? deprecated_stereotypes : registry_stereotypes)
|
29
|
+
end
|
30
|
+
|
31
|
+
def registry_stereotypes
|
32
|
+
::Avm::Registry.launcher_stereotypes.available.sort_by { |s| [s.name] }
|
33
|
+
end
|
34
|
+
|
35
|
+
def deprecated_stereotypes
|
36
|
+
::Avm::Launcher::Stereotype.stereotypes.sort_by { |s| [s.stereotype_name] }
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -7,7 +7,7 @@ RSpec.describe ::Avm::EacRubyBase1::Launcher::Gem::Build do
|
|
7
7
|
describe '#output_file' do
|
8
8
|
let(:gem_dir) { ::File.join(DUMMY_DIR, 'ruby_gem_stub') }
|
9
9
|
|
10
|
-
it 'builds .gem file' do
|
10
|
+
it 'builds .gem file' do # rubocop:disable RSpec/ExampleLength
|
11
11
|
expect(::File.directory?(gem_dir)).to eq true
|
12
12
|
build = described_class.new(gem_dir)
|
13
13
|
|
@@ -32,7 +32,7 @@ RSpec.describe ::Avm::EacRubyBase1::Launcher::Gem::Build do
|
|
32
32
|
expect(build.builded?).to eq false
|
33
33
|
end
|
34
34
|
|
35
|
-
def assert_open(build)
|
35
|
+
def assert_open(build) # rubocop:disable Metrics/AbcSize
|
36
36
|
expect(build.output_file.present?).to eq true
|
37
37
|
expect(build.builded?).to eq true
|
38
38
|
expect(::File.exist?(build.output_file)).to eq true
|
data/sub/avm-tools/spec/lib/avm/{launcher/ruby → eac_ruby_base1/launcher}/gem/specification_spec.rb
RENAMED
@@ -5,14 +5,14 @@ RSpec.describe ::Avm::EacRubyBase1::Launcher::Gem::Specification do
|
|
5
5
|
let(:instance) { described_class.new(gemspec_file) }
|
6
6
|
|
7
7
|
describe '#parse_version_file' do
|
8
|
-
it 'parses valid version file' do
|
8
|
+
it 'parses valid version file' do # rubocop:disable RSpec/MultipleExpectations
|
9
9
|
file = ::File.join(DUMMY_DIR, 'ruby_gem_stub', 'lib', 'ruby_gem_stub', 'version.rb')
|
10
10
|
expect(::File.exist?(file)).to eq true
|
11
11
|
version = described_class.parse_version_file(file)
|
12
12
|
expect(version).to eq('1.0.0.pre.stub')
|
13
13
|
end
|
14
14
|
|
15
|
-
it 'does not parse invalid version file' do
|
15
|
+
it 'does not parse invalid version file' do # rubocop:disable RSpec/MultipleExpectations
|
16
16
|
file = __FILE__
|
17
17
|
expect(::File.exist?(file)).to eq true
|
18
18
|
version = described_class.parse_version_file(file)
|
@@ -3,17 +3,17 @@
|
|
3
3
|
require 'avm/projects/stereotypes'
|
4
4
|
require 'avm/launcher/context'
|
5
5
|
|
6
|
-
RSpec.describe ::Avm::
|
6
|
+
RSpec.describe ::Avm::EacRubyBase1::LauncherStereotypes::Base::Publish do
|
7
7
|
describe '#publish' do
|
8
8
|
let(:instance) { ::Avm::Launcher::Context.current.instance('/ruby_gem_stub') }
|
9
9
|
|
10
|
-
it 'dries run publish for Ruby Gems' do
|
11
|
-
allow_any_instance_of(described_class).to receive(:gem_versions_uncached).and_return([])
|
10
|
+
it 'dries run publish for Ruby Gems' do # rubocop:disable RSpec/ExampleLength
|
11
|
+
allow_any_instance_of(described_class).to receive(:gem_versions_uncached).and_return([]) # rubocop:disable RSpec/AnyInstance
|
12
12
|
expect(instance).to be_a ::Avm::Launcher::Instances::Base
|
13
13
|
::Avm::Launcher::Context.current.publish_options = {
|
14
14
|
confirm: false, new: true, stereotype: 'RubyGem'
|
15
15
|
}
|
16
|
-
|
16
|
+
described_class.new(instance).run
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -1,20 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/eac_ruby_base1/launcher_stereotypes/base'
|
4
4
|
|
5
|
-
RSpec.describe ::Avm::
|
5
|
+
RSpec.describe ::Avm::EacRubyBase1::LauncherStereotypes::Base do
|
6
6
|
describe '#load_gemspec' do
|
7
7
|
let(:gemname) { 'avm-tools' }
|
8
8
|
let(:self_gemspec) { ::File.join(ROOT_DIR, "#{gemname}.gemspec") }
|
9
9
|
let(:stub_gemspec) { ::File.join(DUMMY_DIR, "#{gemname}_stub", "#{gemname}.gemspec") }
|
10
10
|
let(:stub_expected_version) { '1.0.0.pre.stub' }
|
11
11
|
|
12
|
-
it 'does not return same version for different gemspecs with same name' do
|
13
|
-
stub_spec =
|
12
|
+
it 'does not return same version for different gemspecs with same name' do # rubocop:disable RSpec/ExampleLength, RSpec/MultipleExpectations
|
13
|
+
stub_spec = described_class.load_gemspec(stub_gemspec)
|
14
14
|
expect(stub_spec.version).to eq(stub_expected_version)
|
15
15
|
expect(stub_spec.name).to eq(gemname)
|
16
16
|
|
17
|
-
self_spec =
|
17
|
+
self_spec = described_class.load_gemspec(self_gemspec)
|
18
18
|
expect(self_spec.version).not_to eq(stub_expected_version)
|
19
19
|
expect(self_spec.name).to eq(gemname)
|
20
20
|
end
|
@@ -48,7 +48,7 @@ RSpec.describe ::Avm::Launcher::Context do
|
|
48
48
|
.each { |s| expect(sub.stereotypes).not_to include(s) }
|
49
49
|
end
|
50
50
|
it { expect(instance).to be_a(::Avm::Launcher::Instances::Base) }
|
51
|
-
it { expect(instance.stereotypes).to include(::Avm::
|
51
|
+
it { expect(instance.stereotypes).to include(::Avm::Git::LauncherStereotypes::GitSubrepo) }
|
52
52
|
end
|
53
53
|
|
54
54
|
context 'when sub is a GitSubtree' do
|
@@ -68,7 +68,7 @@ RSpec.describe ::Avm::Launcher::Context do
|
|
68
68
|
.each { |s| expect(sub.stereotypes).not_to include(s) }
|
69
69
|
end
|
70
70
|
it { expect(instance).to be_a(::Avm::Launcher::Instances::Base) }
|
71
|
-
it { expect(instance.stereotypes).to include(::Avm::
|
71
|
+
it { expect(instance.stereotypes).to include(::Avm::Git::LauncherStereotypes::GitSubtree) }
|
72
72
|
end
|
73
73
|
|
74
74
|
context 'subtree present' do
|
@@ -82,7 +82,7 @@ RSpec.describe ::Avm::Launcher::Context do
|
|
82
82
|
it 'recognizes subtree instance' do
|
83
83
|
i = described_class.current.instance('/subtree_main_app/mylib')
|
84
84
|
expect(i).to be_a(::Avm::Launcher::Instances::Base)
|
85
|
-
expect(i.stereotypes).to include(::Avm::
|
85
|
+
expect(i.stereotypes).to include(::Avm::Git::LauncherStereotypes::GitSubtree)
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/git/launcher_stereotypes/git_subrepo/publish'
|
4
4
|
require 'avm/launcher/publish/check_result'
|
5
5
|
|
6
|
-
RSpec.describe Avm::
|
6
|
+
RSpec.describe Avm::Git::LauncherStereotypes::GitSubrepo::Publish do
|
7
7
|
describe '#check' do
|
8
8
|
context 'on clean context' do
|
9
9
|
let(:settings_path) { ::File.join(__dir__, 'publish_spec_settings.yml') }
|
@@ -63,7 +63,7 @@ RSpec.describe Avm::Projects::Stereotypes::GitSubrepo::Publish do
|
|
63
63
|
def check_publish_status(status_key)
|
64
64
|
instance = app_mylib_instance
|
65
65
|
expect(instance).to be_a(::Avm::Launcher::Instances::Base)
|
66
|
-
expect(instance.stereotypes).to include(::Avm::
|
66
|
+
expect(instance.stereotypes).to include(::Avm::Git::LauncherStereotypes::GitSubrepo)
|
67
67
|
|
68
68
|
status = ::Avm::Launcher::Publish::CheckResult.const_get("STATUS_#{status_key}".upcase)
|
69
69
|
publish = described_class.new(instance)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/git/launcher_stereotypes/git_subrepo/warp'
|
4
4
|
|
5
|
-
RSpec.describe Avm::
|
5
|
+
RSpec.describe Avm::Git::LauncherStereotypes::GitSubrepo::Warp do
|
6
6
|
describe '#unknown' do
|
7
7
|
before do
|
8
8
|
temp_context(::File.join(__dir__, 'warp_spec_settings.yml'))
|
@@ -41,7 +41,7 @@ RSpec.describe Avm::Projects::Stereotypes::GitSubrepo::Warp do
|
|
41
41
|
instance = ::Avm::Launcher::Context.current.instance('/app1/mylib')
|
42
42
|
expect(instance).to be_a ::Avm::Launcher::Instances::Base
|
43
43
|
warp = instance.warped
|
44
|
-
expect(warp).to be_a ::Avm::
|
44
|
+
expect(warp).to be_a ::Avm::Git::LauncherStereotypes::GitSubrepo::Warp
|
45
45
|
wgit = ::Avm::Git::Launcher::Base.new(warp)
|
46
46
|
expect(wgit.rev_parse('HEAD')).to eq master_ref_previous
|
47
47
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/tools/runner'
|
4
|
+
|
5
|
+
::RSpec.describe ::Avm::Tools::Runner::LauncherStereotypes::List do
|
6
|
+
def avm_tools_runner_args_prefix
|
7
|
+
%w[launcher-stereotypes list]
|
8
|
+
end
|
9
|
+
|
10
|
+
it do
|
11
|
+
expect { avm_tools_runner_run }.not_to raise_error
|
12
|
+
end
|
13
|
+
|
14
|
+
it do
|
15
|
+
expect { avm_tools_runner_run('--deprecated') }.not_to raise_error
|
16
|
+
end
|
17
|
+
end
|
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.37.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-10-
|
11
|
+
date: 2022-10-13 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.49'
|
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.49'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: avm-eac_asciidoctor_base0
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,14 +160,14 @@ dependencies:
|
|
160
160
|
requirements:
|
161
161
|
- - "~>"
|
162
162
|
- !ruby/object:Gem::Version
|
163
|
-
version: '0.
|
163
|
+
version: '0.24'
|
164
164
|
type: :runtime
|
165
165
|
prerelease: false
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
168
|
- - "~>"
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version: '0.
|
170
|
+
version: '0.24'
|
171
171
|
- !ruby/object:Gem::Dependency
|
172
172
|
name: avm-eac_webapp_base0
|
173
173
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,14 +214,14 @@ dependencies:
|
|
214
214
|
requirements:
|
215
215
|
- - "~>"
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
version: '0.
|
217
|
+
version: '0.142'
|
218
218
|
type: :runtime
|
219
219
|
prerelease: false
|
220
220
|
version_requirements: !ruby/object:Gem::Requirement
|
221
221
|
requirements:
|
222
222
|
- - "~>"
|
223
223
|
- !ruby/object:Gem::Version
|
224
|
-
version: '0.
|
224
|
+
version: '0.142'
|
225
225
|
- !ruby/object:Gem::Dependency
|
226
226
|
name: eac_ruby_utils
|
227
227
|
requirement: !ruby/object:Gem::Requirement
|
@@ -477,6 +477,10 @@ files:
|
|
477
477
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem.rb
|
478
478
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/build.rb
|
479
479
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher/gem/specification.rb
|
480
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes.rb
|
481
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb
|
482
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
|
483
|
+
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb
|
480
484
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/preferred_version_requirements.rb
|
481
485
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop.rb
|
482
486
|
- sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/configured.rb
|
@@ -690,6 +694,18 @@ files:
|
|
690
694
|
- sub/avm-git/lib/avm/git/launcher/remote.rb
|
691
695
|
- sub/avm-git/lib/avm/git/launcher/sub_warp_base.rb
|
692
696
|
- sub/avm-git/lib/avm/git/launcher/warp_base.rb
|
697
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes.rb
|
698
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git.rb
|
699
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb
|
700
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/publish.rb
|
701
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git/warp.rb
|
702
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo.rb
|
703
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/publish.rb
|
704
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subrepo/warp.rb
|
705
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree.rb
|
706
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/publish.rb
|
707
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/git_subtree/warp.rb
|
708
|
+
- sub/avm-git/lib/avm/git/launcher_stereotypes/provider.rb
|
693
709
|
- sub/avm-git/lib/avm/git/organize.rb
|
694
710
|
- sub/avm-git/lib/avm/git/organize/reference_update.rb
|
695
711
|
- sub/avm-git/lib/avm/git/organize/repository.rb
|
@@ -722,6 +738,7 @@ files:
|
|
722
738
|
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.source.out
|
723
739
|
- sub/avm-git/spec/lib/avm/git/commit/diff_tree_line_spec_files/rename_modify.target.yaml
|
724
740
|
- sub/avm-git/spec/lib/avm/git/commit_spec.rb
|
741
|
+
- sub/avm-git/spec/lib/avm/git/launcher/base_spec.rb
|
725
742
|
- sub/avm-git/spec/lib/avm/git/scms/git_spec.rb
|
726
743
|
- sub/avm-git/spec/lib/avm/git/scms/git_subrepo_spec.rb
|
727
744
|
- sub/avm-git/spec/lib/avm/git/vendor/github_spec.rb
|
@@ -734,19 +751,6 @@ files:
|
|
734
751
|
- sub/avm-tools/lib/avm.rb
|
735
752
|
- sub/avm-tools/lib/avm/projects.rb
|
736
753
|
- sub/avm-tools/lib/avm/projects/stereotypes.rb
|
737
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git.rb
|
738
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git/local_project_mixin.rb
|
739
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git/publish.rb
|
740
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git/warp.rb
|
741
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo.rb
|
742
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/publish.rb
|
743
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subrepo/warp.rb
|
744
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subtree.rb
|
745
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/publish.rb
|
746
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/git_subtree/warp.rb
|
747
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem.rb
|
748
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/local_project_mixin.rb
|
749
|
-
- sub/avm-tools/lib/avm/projects/stereotypes/ruby_gem/publish.rb
|
750
754
|
- sub/avm-tools/lib/avm/tools.rb
|
751
755
|
- sub/avm-tools/lib/avm/tools/core_ext.rb
|
752
756
|
- sub/avm-tools/lib/avm/tools/runner.rb
|
@@ -774,6 +778,8 @@ files:
|
|
774
778
|
- sub/avm-tools/lib/avm/tools/runner/launcher/instances.rb
|
775
779
|
- sub/avm-tools/lib/avm/tools/runner/launcher/projects.rb
|
776
780
|
- sub/avm-tools/lib/avm/tools/runner/launcher/publish.rb
|
781
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes.rb
|
782
|
+
- sub/avm-tools/lib/avm/tools/runner/launcher_stereotypes/list.rb
|
777
783
|
- sub/avm-tools/lib/avm/tools/runner/self.rb
|
778
784
|
- sub/avm-tools/lib/avm/tools/runner/self/docker.rb
|
779
785
|
- sub/avm-tools/lib/avm/tools/runner/self/registry.rb
|
@@ -795,18 +801,17 @@ files:
|
|
795
801
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub.rb
|
796
802
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/lib/ruby_gem_stub/version.rb
|
797
803
|
- sub/avm-tools/spec/dummy/ruby_gem_stub/ruby_gem_stub.gemspec
|
804
|
+
- sub/avm-tools/spec/lib/avm/eac_ruby_base1/launcher/gem/build_spec.rb
|
805
|
+
- sub/avm-tools/spec/lib/avm/eac_ruby_base1/launcher/gem/specification_spec.rb
|
806
|
+
- sub/avm-tools/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish_spec.rb
|
807
|
+
- sub/avm-tools/spec/lib/avm/eac_ruby_base1/launcher_stereotypes/base_spec.rb
|
798
808
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.rb
|
799
809
|
- sub/avm-tools/spec/lib/avm/launcher/context_spec.yml
|
800
|
-
- sub/avm-tools/spec/lib/avm/launcher/git/base_spec.rb
|
801
810
|
- sub/avm-tools/spec/lib/avm/launcher/instances/base_spec.rb
|
802
|
-
- sub/avm-tools/spec/lib/avm/launcher/ruby/gem/build_spec.rb
|
803
|
-
- sub/avm-tools/spec/lib/avm/launcher/ruby/gem/specification_spec.rb
|
804
811
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec.rb
|
805
812
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/publish_spec_settings.yml
|
806
813
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec.rb
|
807
814
|
- sub/avm-tools/spec/lib/avm/projects/stereotypes/git_subrepo/warp_spec_settings.yml
|
808
|
-
- sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem/publish_spec.rb
|
809
|
-
- sub/avm-tools/spec/lib/avm/projects/stereotypes/ruby_gem_spec.rb
|
810
815
|
- sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec.rb
|
811
816
|
- sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.source
|
812
817
|
- sub/avm-tools/spec/lib/avm/tools/runner/files/format_spec_files/Gemfile.target
|
@@ -838,6 +843,7 @@ files:
|
|
838
843
|
- sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec.rb
|
839
844
|
- sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append1/stub3.txt.template
|
840
845
|
- sub/avm-tools/spec/lib/avm/tools/runner/git/deploy_spec_files/append2/stub4.txt
|
846
|
+
- sub/avm-tools/spec/lib/avm/tools/runner/launcher_stereotypes/list_spec.rb
|
841
847
|
- sub/avm-tools/spec/lib/avm/tools/runner/source/issue/complete_spec.rb
|
842
848
|
- sub/avm-tools/spec/lib/avm/tools/runner_spec.rb
|
843
849
|
- sub/avm-tools/spec/rubocop_spec.rb
|
@@ -937,6 +943,7 @@ files:
|
|
937
943
|
- sub/avm/lib/avm/launcher/publish/base.rb
|
938
944
|
- sub/avm/lib/avm/launcher/publish/check_result.rb
|
939
945
|
- sub/avm/lib/avm/launcher/stereotype.rb
|
946
|
+
- sub/avm/lib/avm/launcher_stereotypes.rb
|
940
947
|
- sub/avm/lib/avm/path_string.rb
|
941
948
|
- sub/avm/lib/avm/registry.rb
|
942
949
|
- sub/avm/lib/avm/registry/application_stereotypes.rb
|
@@ -944,6 +951,7 @@ files:
|
|
944
951
|
- sub/avm/lib/avm/registry/application_stereotypes/stereotype_builder.rb
|
945
952
|
- sub/avm/lib/avm/registry/from_gems.rb
|
946
953
|
- sub/avm/lib/avm/registry/instances.rb
|
954
|
+
- sub/avm/lib/avm/registry/launcher_stereotypes.rb
|
947
955
|
- sub/avm/lib/avm/registry/runners.rb
|
948
956
|
- sub/avm/lib/avm/registry/scms.rb
|
949
957
|
- sub/avm/lib/avm/registry/source_generators.rb
|
@@ -956,6 +964,7 @@ files:
|
|
956
964
|
- sub/avm/lib/avm/rspec/shared_examples/entries_values.rb
|
957
965
|
- sub/avm/lib/avm/rspec/shared_examples/in_avm_registry.rb
|
958
966
|
- sub/avm/lib/avm/rspec/shared_examples/not_in_avm_registry.rb
|
967
|
+
- sub/avm/lib/avm/rspec/source_generator.rb
|
959
968
|
- sub/avm/lib/avm/runners/base.rb
|
960
969
|
- sub/avm/lib/avm/scms/base.rb
|
961
970
|
- sub/avm/lib/avm/scms/commit.rb
|