avm-eac_ruby_base1 0.37.1 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/internal_check.rb +70 -0
- data/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/local_gem.rb +31 -0
- data/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/remote_gem.rb +45 -0
- data/lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb +2 -93
- data/lib/avm/eac_ruby_base1/rubygems/gem_search_parser.rb +34 -0
- data/lib/avm/eac_ruby_base1/rubygems/providers/base.rb +46 -0
- data/lib/avm/eac_ruby_base1/rubygems/providers/nexus.rb +32 -0
- data/lib/avm/eac_ruby_base1/rubygems/providers/rubygems_org.rb +40 -0
- data/lib/avm/eac_ruby_base1/rubygems/remote.rb +5 -7
- data/lib/avm/eac_ruby_base1/sources/base/gem_provider.rb +46 -0
- data/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/lib/avm/eac_ruby_base1.rb +1 -0
- data/locale/en.yml +7 -0
- data/locale/pt-BR.yml +7 -0
- metadata +29 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb282e1f1c7983201afc135a163a05e7d4e1c275b5bee07f00327d853fe16311
|
4
|
+
data.tar.gz: 0a91a0e41f69dfa4452d72ed38f27e968b5262462f5ba6bc4dd4d1ee209beb8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da1cf8ef40341751da86db07b1546aedabaada97c5877659a169eef5f283c5d9ae0c18a8937dc12357c555a76b0738da98f7c6bec0baf2a4d47737e7df6cee49
|
7
|
+
data.tar.gz: 960f1ebdf167308c608bfa82f6c128fc247fa43456152786c5b8aacc164db8b29b257d71ecccd3ab7cc62c75151af52c3120d6fd08d81e01768fc2077bd5eba2
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module LauncherStereotypes
|
6
|
+
class Base
|
7
|
+
class Publish < ::Avm::Launcher::Publish::Base
|
8
|
+
class InternalCheck
|
9
|
+
acts_as_instance_method
|
10
|
+
|
11
|
+
common_constructor :publish
|
12
|
+
delegate :gem_provider, :gem_published?, :gem_spec, :gem_version_max,
|
13
|
+
:outdated_version?, :version_published?, to: :publish
|
14
|
+
|
15
|
+
def result
|
16
|
+
gem_published? ? internal_check_gem_published : internal_check_gem_unpublished
|
17
|
+
end
|
18
|
+
|
19
|
+
protected
|
20
|
+
|
21
|
+
def internal_check_gem_published
|
22
|
+
if version_published?
|
23
|
+
outdated_version? ? outdated_version_check_result : version_published_check_result
|
24
|
+
else
|
25
|
+
version_unpublished_check_result
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def internal_check_gem_unpublished
|
30
|
+
if new_gem_allowed?
|
31
|
+
version_unpublished_check_result
|
32
|
+
else
|
33
|
+
new_gem_disallowed_check_result
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def new_gem_allowed?
|
38
|
+
::Avm::Launcher::Context.current.publish_options[:new]
|
39
|
+
end
|
40
|
+
|
41
|
+
def new_gem_disallowed_check_result
|
42
|
+
::Avm::Launcher::Publish::CheckResult.blocked(
|
43
|
+
publish.i18n_translate(__method__, gem: gem_spec.full_name, provider: gem_provider)
|
44
|
+
)
|
45
|
+
end
|
46
|
+
|
47
|
+
def version_published_check_result
|
48
|
+
::Avm::Launcher::Publish::CheckResult.updated(
|
49
|
+
publish.i18n_translate(__method__, gem: gem_spec.full_name)
|
50
|
+
)
|
51
|
+
end
|
52
|
+
|
53
|
+
def outdated_version_check_result
|
54
|
+
::Avm::Launcher::Publish::CheckResult.outdated(
|
55
|
+
publish.i18n_translate(__method__, gem: gem_spec.full_name,
|
56
|
+
max_version: gem_version_max)
|
57
|
+
)
|
58
|
+
end
|
59
|
+
|
60
|
+
def version_unpublished_check_result
|
61
|
+
::Avm::Launcher::Publish::CheckResult.pending(
|
62
|
+
publish.i18n_translate(__method__, gem: gem_spec.name, provider: gem_provider)
|
63
|
+
)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module LauncherStereotypes
|
6
|
+
class Base
|
7
|
+
class Publish < ::Avm::Launcher::Publish::Base
|
8
|
+
module LocalGem
|
9
|
+
protected
|
10
|
+
|
11
|
+
def gem_build_uncached
|
12
|
+
::Avm::EacRubyBase1::Launcher::Gem::Build.new(source)
|
13
|
+
end
|
14
|
+
|
15
|
+
def gem_spec_uncached
|
16
|
+
::Avm::EacRubyBase1::LauncherStereotypes::Base.load_gemspec(gemspec)
|
17
|
+
end
|
18
|
+
|
19
|
+
def gemspec_uncached
|
20
|
+
source.find_file_with_extension('.gemspec')
|
21
|
+
end
|
22
|
+
|
23
|
+
def source_uncached
|
24
|
+
instance.warped
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module LauncherStereotypes
|
6
|
+
class Base
|
7
|
+
class Publish < ::Avm::Launcher::Publish::Base
|
8
|
+
module RemoteGem
|
9
|
+
def gem_provider
|
10
|
+
instance.source.gem_provider
|
11
|
+
end
|
12
|
+
|
13
|
+
def gem_published?
|
14
|
+
gem_versions.any?
|
15
|
+
end
|
16
|
+
|
17
|
+
def gem_version_max
|
18
|
+
remote_gem.maximum_number
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [Array]
|
22
|
+
def gem_versions
|
23
|
+
remote_gem.versions
|
24
|
+
end
|
25
|
+
|
26
|
+
def outdated_version?
|
27
|
+
gem_version_max.present? && ::Gem::Version.new(gem_spec.version) < gem_version_max
|
28
|
+
end
|
29
|
+
|
30
|
+
def version_published?
|
31
|
+
gem_versions.any? { |v| v['number'] == gem_spec.version }
|
32
|
+
end
|
33
|
+
|
34
|
+
protected
|
35
|
+
|
36
|
+
# @return [Avm::EacRubyBase1::Rubygems::Remote]
|
37
|
+
def remote_gem_uncached
|
38
|
+
::Avm::EacRubyBase1::Rubygems::Remote.new(gem_spec.name, gem_provider)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -8,63 +8,8 @@ module Avm
|
|
8
8
|
include ::EacRubyUtils::SimpleCache
|
9
9
|
enable_speaker
|
10
10
|
|
11
|
-
protected
|
12
|
-
|
13
|
-
def internal_check
|
14
|
-
gem_published? ? internal_check_gem_published : internal_check_gem_unpublished
|
15
|
-
end
|
16
|
-
|
17
11
|
private
|
18
12
|
|
19
|
-
def internal_check_gem_published
|
20
|
-
if version_published?
|
21
|
-
outdated_version? ? outdated_version_check_result : version_published_check_result
|
22
|
-
else
|
23
|
-
version_unpublished_check_result
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
def internal_check_gem_unpublished
|
28
|
-
if new_gem_allowed?
|
29
|
-
version_unpublished_check_result
|
30
|
-
else
|
31
|
-
new_gem_disallowed_check_result
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def new_gem_disallowed_check_result
|
36
|
-
::Avm::Launcher::Publish::CheckResult.blocked(
|
37
|
-
"#{gem_spec.full_name} does not exist in RubyGems"
|
38
|
-
)
|
39
|
-
end
|
40
|
-
|
41
|
-
def version_published_check_result
|
42
|
-
::Avm::Launcher::Publish::CheckResult.updated("#{gem_spec.full_name} already pushed")
|
43
|
-
end
|
44
|
-
|
45
|
-
def outdated_version_check_result
|
46
|
-
::Avm::Launcher::Publish::CheckResult.outdated(
|
47
|
-
"#{gem_spec.full_name} is outdated (Max: #{gem_version_max})"
|
48
|
-
)
|
49
|
-
end
|
50
|
-
|
51
|
-
def version_unpublished_check_result
|
52
|
-
::Avm::Launcher::Publish::CheckResult.pending("#{gem_spec.full_name} not found " \
|
53
|
-
'in RubyGems')
|
54
|
-
end
|
55
|
-
|
56
|
-
def source_uncached
|
57
|
-
instance.warped
|
58
|
-
end
|
59
|
-
|
60
|
-
def gem_spec_uncached
|
61
|
-
::Avm::EacRubyBase1::LauncherStereotypes::Base.load_gemspec(gemspec)
|
62
|
-
end
|
63
|
-
|
64
|
-
def gem_build_uncached
|
65
|
-
::Avm::EacRubyBase1::Launcher::Gem::Build.new(source)
|
66
|
-
end
|
67
|
-
|
68
13
|
def publish
|
69
14
|
gem_build.build
|
70
15
|
push_gem
|
@@ -72,49 +17,13 @@ module Avm
|
|
72
17
|
gem_build.close
|
73
18
|
end
|
74
19
|
|
75
|
-
def new_gem_allowed?
|
76
|
-
::Avm::Launcher::Context.current.publish_options[:new]
|
77
|
-
end
|
78
|
-
|
79
|
-
def gem_published?
|
80
|
-
gem_versions.any?
|
81
|
-
end
|
82
|
-
|
83
|
-
def version_published?
|
84
|
-
gem_versions.any? { |v| v['number'] == gem_spec.version }
|
85
|
-
end
|
86
|
-
|
87
|
-
def outdated_version?
|
88
|
-
gem_version_max.present? && ::Gem::Version.new(gem_spec.version) < gem_version_max
|
89
|
-
end
|
90
|
-
|
91
|
-
# @return [Array]
|
92
|
-
def gem_versions
|
93
|
-
remote_gem.versions
|
94
|
-
end
|
95
|
-
|
96
|
-
def gem_version_max
|
97
|
-
remote_gem.maximum_number
|
98
|
-
end
|
99
|
-
|
100
|
-
# @return [Avm::EacRubyBase1::Rubygems::Remote]
|
101
|
-
def remote_gem_uncached
|
102
|
-
::Avm::EacRubyBase1::Rubygems::Remote.new(gem_spec.name)
|
103
|
-
end
|
104
|
-
|
105
20
|
def push_gem
|
106
21
|
info("Pushing gem #{gem_spec}...")
|
107
|
-
|
108
|
-
unless ::Avm::Launcher::Context.current.publish_options[:confirm]
|
109
|
-
command = %w[echo] + command + %w[(Dry-run)]
|
110
|
-
end
|
111
|
-
EacRubyUtils::Envs.local.command(command).system
|
22
|
+
gem_provider.push_gem(gem_build.output_file)
|
112
23
|
info('Pushed!')
|
113
24
|
end
|
114
25
|
|
115
|
-
|
116
|
-
source.find_file_with_extension('.gemspec')
|
117
|
-
end
|
26
|
+
require_sub __FILE__, include_modules: true, require_mode: :kernel
|
118
27
|
end
|
119
28
|
end
|
120
29
|
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module Rubygems
|
6
|
+
class GemSearchParser < ::Aranha::Parsers::Base
|
7
|
+
GEM_STRUCT = ::Struct.new(:name, :versions)
|
8
|
+
LINE_PARSER = /\A\s*(\S+)\s*\(([^\)]+)\)\s*\z/.to_parser do |m|
|
9
|
+
GEM_STRUCT.new(m[1], m[2].split(',').map(&:strip).reject(&:blank?))
|
10
|
+
end
|
11
|
+
|
12
|
+
# @return [Hash<String, Enumerable<String>]
|
13
|
+
def data
|
14
|
+
r = {}
|
15
|
+
content.each_line do |line|
|
16
|
+
parse_line(line).then do |line_parsed|
|
17
|
+
next if line.blank?
|
18
|
+
|
19
|
+
r[line_parsed.name] = line_parsed.versions
|
20
|
+
end
|
21
|
+
end
|
22
|
+
r
|
23
|
+
end
|
24
|
+
|
25
|
+
# @param line [String]
|
26
|
+
# @return [GEM_STRUCT]
|
27
|
+
def parse_line(line)
|
28
|
+
stripped_line = line.to_s.strip
|
29
|
+
stripped_line.if_present(nil) { |v| LINE_PARSER.parse!(v) }
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module Rubygems
|
6
|
+
module Providers
|
7
|
+
class Base
|
8
|
+
acts_as_abstract
|
9
|
+
|
10
|
+
common_constructor :root_http_url do
|
11
|
+
self.root_http_url = root_http_url.to_uri
|
12
|
+
root_http_url.assert_argument(::Addressable::URI, 'root_http_url')
|
13
|
+
end
|
14
|
+
|
15
|
+
# @param gem_name [String]
|
16
|
+
# @return [Enumerable<Hash>]
|
17
|
+
def gem_versions(gem_name)
|
18
|
+
raise_abstract __method__, gem_name
|
19
|
+
end
|
20
|
+
|
21
|
+
# @param gem_package_path [Pathname]
|
22
|
+
# @return [Boolean]
|
23
|
+
def push_gem(gem_package_path)
|
24
|
+
command_args = push_gem_command_args(gem_package_path)
|
25
|
+
command_args = %w[echo] + command_args + %w[(Dry-run)] unless
|
26
|
+
::Avm::Launcher::Context.current.publish_options[:confirm]
|
27
|
+
::EacRubyUtils::Ruby.on_clean_environment do
|
28
|
+
EacRubyUtils::Envs.local.command(*command_args).system
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
# @param gem_package_path [Pathname]
|
33
|
+
# @return [Enumerable<String>]
|
34
|
+
def push_gem_command_args(gem_package_path)
|
35
|
+
raise_abstract __method__, gem_package_path
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def to_s
|
40
|
+
"#{self.class.name.demodulize}[#{root_http_url}]"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_envs/http/request'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRubyBase1
|
8
|
+
module Rubygems
|
9
|
+
module Providers
|
10
|
+
class Nexus < ::Avm::EacRubyBase1::Rubygems::Providers::Base
|
11
|
+
# @return [Enumerable<String>]
|
12
|
+
def gem_versions(gem_name)
|
13
|
+
search_result = ::Avm::EacRubyBase1::Rubygems::GemSearchParser.from_string(
|
14
|
+
EacRubyUtils::Envs.local.command(
|
15
|
+
'gem', 'search', '--quiet', '--exact', '--all',
|
16
|
+
'--remote', '--clear-sources', '--source', root_http_url, gem_name
|
17
|
+
).execute!
|
18
|
+
).data
|
19
|
+
(search_result.key?(gem_name) ? search_result.fetch(gem_name) : [])
|
20
|
+
.map { |e| { 'number' => e } }
|
21
|
+
end
|
22
|
+
|
23
|
+
# @param gem_package_path [Pathname]
|
24
|
+
# @return [Enumerable<String>]
|
25
|
+
def push_gem_command_args(gem_package_path)
|
26
|
+
['gem', 'nexus', '--clear-repo', '--url', root_http_url, gem_package_path]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_utils/core_ext'
|
4
|
+
require 'eac_envs/http/request'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module EacRubyBase1
|
8
|
+
module Rubygems
|
9
|
+
module Providers
|
10
|
+
class RubygemsOrg < ::Avm::EacRubyBase1::Rubygems::Providers::Base
|
11
|
+
DEFAULT_ROOT_HTTP_URL = 'https://rubygems.org'.to_uri
|
12
|
+
|
13
|
+
# @param root_http_url [Pathname]
|
14
|
+
def initialize(root_http_url = DEFAULT_ROOT_HTTP_URL)
|
15
|
+
super
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Enumerable<Hash>]
|
19
|
+
def gem_versions(gem_name)
|
20
|
+
::EacEnvs::Http::Request.new
|
21
|
+
.url(root_http_url + "/api/v1/versions/#{gem_name}.json")
|
22
|
+
.response.body_data_or_raise
|
23
|
+
rescue EacEnvs::Http::Response => e
|
24
|
+
e.status == 404 ? [] : raise(e)
|
25
|
+
end
|
26
|
+
|
27
|
+
# @param gem_package_path [Pathname]
|
28
|
+
# @return [Enumerable<String>]
|
29
|
+
def push_gem_command_args(gem_package_path)
|
30
|
+
command = ['gem', 'push', gem_package_path]
|
31
|
+
unless ::Avm::Launcher::Context.current.publish_options[:confirm]
|
32
|
+
command = %w[echo] + command + %w[(Dry-run)]
|
33
|
+
end
|
34
|
+
command
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -5,7 +5,9 @@ module Avm
|
|
5
5
|
module Rubygems
|
6
6
|
class Remote
|
7
7
|
enable_simple_cache
|
8
|
-
common_constructor :name
|
8
|
+
common_constructor :name, :provider, default: [nil] do
|
9
|
+
self.provider ||= ::Avm::EacRubyBase1::Rubygems::Providers::RubygemsOrg.new
|
10
|
+
end
|
9
11
|
|
10
12
|
# @return [Gem::Version, nil]
|
11
13
|
def maximum_number
|
@@ -19,13 +21,9 @@ module Avm
|
|
19
21
|
|
20
22
|
protected
|
21
23
|
|
22
|
-
# @return [Array<
|
24
|
+
# @return [Array<String>]
|
23
25
|
def versions_uncached
|
24
|
-
|
25
|
-
.url("https://rubygems.org/api/v1/versions/#{name}.json")
|
26
|
-
.response.body_data_or_raise
|
27
|
-
rescue EacEnvs::Http::Response => e
|
28
|
-
e.status == 404 ? [] : raise(e)
|
26
|
+
provider.gem_versions(name)
|
29
27
|
end
|
30
28
|
end
|
31
29
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Avm
|
4
|
+
module EacRubyBase1
|
5
|
+
module Sources
|
6
|
+
class Base < ::Avm::EacGenericBase0::Sources::Base
|
7
|
+
module GemProvider
|
8
|
+
DEFAULT_GEM_PROVIDER_TYPE = 'rubygems_org'
|
9
|
+
GEM_PROVIDER_CONFIG_ROOT_KEY = 'ruby.gem_provider'
|
10
|
+
GEM_PROVIDER_CONFIG_TYPE_SUBKEY = 'type'
|
11
|
+
GEM_PROVIDER_CONFIG_URL_SUBKEY = 'url'
|
12
|
+
|
13
|
+
# @return [Avm::EacRubyBase1::Rubygems::Providers::Base]
|
14
|
+
def default_gem_provider
|
15
|
+
::Avm::EacRubyBase1::Rubygems::Providers::RubygemsOrg.new
|
16
|
+
end
|
17
|
+
|
18
|
+
# @param subkey [String]
|
19
|
+
# @return [String]
|
20
|
+
def gem_provider_key(subkey)
|
21
|
+
key = [GEM_PROVIDER_CONFIG_ROOT_KEY, subkey].join('.')
|
22
|
+
r = nil
|
23
|
+
[application, configuration].each do |provider|
|
24
|
+
value = provider.entry(key).value
|
25
|
+
if value.present?
|
26
|
+
r = value
|
27
|
+
break
|
28
|
+
end
|
29
|
+
end
|
30
|
+
r
|
31
|
+
end
|
32
|
+
|
33
|
+
def gem_provider
|
34
|
+
::Avm::EacRubyBase1::Rubygems::Providers.const_get(
|
35
|
+
(gem_provider_key(GEM_PROVIDER_CONFIG_TYPE_SUBKEY) || DEFAULT_GEM_PROVIDER_TYPE).to_s
|
36
|
+
.camelize
|
37
|
+
).new(
|
38
|
+
gem_provider_key(GEM_PROVIDER_CONFIG_URL_SUBKEY) ||
|
39
|
+
::Avm::EacRubyBase1::Rubygems::Providers::RubygemsOrg::DEFAULT_ROOT_HTTP_URL
|
40
|
+
)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/lib/avm/eac_ruby_base1.rb
CHANGED
data/locale/en.yml
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
en:
|
2
2
|
avm:
|
3
3
|
eac_ruby_base1:
|
4
|
+
launcher_stereotypes:
|
5
|
+
base:
|
6
|
+
publish:
|
7
|
+
new_gem_disallowed_check_result: "%{gem} does not exist in %{provider}"
|
8
|
+
outdated_version_check_result: "%{gem} is outdated (Max: %{max_version})"
|
9
|
+
version_published_check_result: "%{gem} already pushed"
|
10
|
+
version_unpublished_check_result: "%{gem} not found in %{provider}"
|
4
11
|
sources:
|
5
12
|
base:
|
6
13
|
update_self_commit_message: 'All gems: update.'
|
data/locale/pt-BR.yml
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
pt-BR:
|
2
2
|
avm:
|
3
3
|
eac_ruby_base1:
|
4
|
+
launcher_stereotypes:
|
5
|
+
base:
|
6
|
+
publish:
|
7
|
+
new_gem_disallowed_check_result: "%{gem} não existe em %{provider}"
|
8
|
+
outdated_version_check_result: "%{gem} está desatualizada (Máx.: %{max_version})"
|
9
|
+
version_published_check_result: "%{gem} já enviada"
|
10
|
+
version_unpublished_check_result: "%{gem} não encontrada em %{provider}."
|
4
11
|
sources:
|
5
12
|
base:
|
6
13
|
update_self_commit_message: 'Todas as gems: atualiza.'
|
metadata
CHANGED
@@ -1,35 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-eac_ruby_base1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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: 2025-07-
|
11
|
+
date: 2025-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: aranha-parsers
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.26'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.26.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.26'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
32
|
+
version: 0.26.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: avm
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.97'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.97'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: avm-eac_generic_base0
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +139,9 @@ files:
|
|
125
139
|
- lib/avm/eac_ruby_base1/launcher_stereotypes/base.rb
|
126
140
|
- lib/avm/eac_ruby_base1/launcher_stereotypes/base/local_project_mixin.rb
|
127
141
|
- lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish.rb
|
142
|
+
- lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/internal_check.rb
|
143
|
+
- lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/local_gem.rb
|
144
|
+
- lib/avm/eac_ruby_base1/launcher_stereotypes/base/publish/remote_gem.rb
|
128
145
|
- lib/avm/eac_ruby_base1/preferred_version_requirements.rb
|
129
146
|
- lib/avm/eac_ruby_base1/rspec.rb
|
130
147
|
- lib/avm/eac_ruby_base1/rspec/setup.rb
|
@@ -134,9 +151,13 @@ files:
|
|
134
151
|
- lib/avm/eac_ruby_base1/rubocop/envvar.rb
|
135
152
|
- lib/avm/eac_ruby_base1/rubocop/gemfile.rb
|
136
153
|
- lib/avm/eac_ruby_base1/rubygems.rb
|
154
|
+
- lib/avm/eac_ruby_base1/rubygems/gem_search_parser.rb
|
137
155
|
- lib/avm/eac_ruby_base1/rubygems/gemspec.rb
|
138
156
|
- lib/avm/eac_ruby_base1/rubygems/gemspec/add_or_replace_gem_line.rb
|
139
157
|
- lib/avm/eac_ruby_base1/rubygems/gemspec/dependency.rb
|
158
|
+
- lib/avm/eac_ruby_base1/rubygems/providers/base.rb
|
159
|
+
- lib/avm/eac_ruby_base1/rubygems/providers/nexus.rb
|
160
|
+
- lib/avm/eac_ruby_base1/rubygems/providers/rubygems_org.rb
|
140
161
|
- lib/avm/eac_ruby_base1/rubygems/remote.rb
|
141
162
|
- lib/avm/eac_ruby_base1/rubygems/version_file.rb
|
142
163
|
- lib/avm/eac_ruby_base1/runners.rb
|
@@ -152,6 +173,7 @@ files:
|
|
152
173
|
- lib/avm/eac_ruby_base1/sources/base.rb
|
153
174
|
- lib/avm/eac_ruby_base1/sources/base/bundle_command.rb
|
154
175
|
- lib/avm/eac_ruby_base1/sources/base/bundler.rb
|
176
|
+
- lib/avm/eac_ruby_base1/sources/base/gem_provider.rb
|
155
177
|
- lib/avm/eac_ruby_base1/sources/base/rake.rb
|
156
178
|
- lib/avm/eac_ruby_base1/sources/base/rubocop.rb
|
157
179
|
- lib/avm/eac_ruby_base1/sources/base/rubocop_command.rb
|