avm 0.83.0 → 0.84.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 604351198d39b18f5957ac599205ee2c3553b9158a830db6cd9473c337254762
4
- data.tar.gz: 846e638a6fd9871a472da4a4dbef8614e40264e716e4bc1de6d5f99be1a26fc9
3
+ metadata.gz: bd8c9d50d9d63f0898aeed10ef04481224cfc100444184a58488a07ba9159a9d
4
+ data.tar.gz: eb308ede0d25e1a967bb71de08cbf0077a2deabdf267342fc19b1f8e5214e612
5
5
  SHA512:
6
- metadata.gz: f0493cd888a5f886c00d04241fa4b887fd8b591d64cdbe8052c54a3098879c57968091e955854cf1b5de130106ca5a7dce3ce0b1f9d73487f637221ff71f7565
7
- data.tar.gz: 3e9410b1deb34a3f5ad68eb766db1221b05b2701c5959bfb72ec08db2791fd9ab7820762ce1df955b2e1c6112a12b9ab4ad7339a350b34eaaa5984e2947fe3b5
6
+ metadata.gz: d07d9f55e7a938cc3ae3f5061b6f7d95ff036ee126a4e775091ed31f06384f8f9a42331822046b10d91ddbdd032aa994d508781d35eb3825f48dc0910d0c5109
7
+ data.tar.gz: 7c07ba31a700586921f86991941f3e3b68662bc94635613d442b535e373b30d8d0aa0ce14384f8a27a7e06a555d390378810b79b31b991cd7c6931f5d4f3674c
@@ -52,7 +52,7 @@ module Avm
52
52
  file = oldest_rotated_file
53
53
  unless file
54
54
  raise 'oldest_rotated_file returned nil ' \
55
- "(Limit: #{space_limit}, used: #{space_used})"
55
+ "(Limit: #{space_limit}, used: #{space_used})"
56
56
  end
57
57
  ::File.delete(file)
58
58
  end
@@ -34,7 +34,7 @@ module Avm
34
34
  next unless publish?(s)
35
35
 
36
36
  puts "#{name.to_s.cyan}|#{s.label}|" \
37
- "#{s.publish_class.new(self).check}"
37
+ "#{s.publish_class.new(self).check}"
38
38
  end
39
39
  end
40
40
 
@@ -47,8 +47,8 @@ module Avm
47
47
  private
48
48
 
49
49
  def raise_not_found(*args)
50
- raise("No registered module valid for #{args}" \
51
- " (Module suffix: #{module_suffix}, Available: #{available.join(', ')})")
50
+ raise("No registered module valid for #{args} " \
51
+ "(Module suffix: #{module_suffix}, Available: #{available.join(', ')})")
52
52
  end
53
53
 
54
54
  def registered_modules_uncached
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'aranha/parsers/source_target_fixtures'
4
3
  require 'avm/file_formats/search_formatter'
5
4
  require 'eac_ruby_utils/core_ext'
6
5
 
@@ -7,6 +7,7 @@ require 'eac_ruby_utils/core_ext'
7
7
  module Avm
8
8
  module SourceGenerators
9
9
  class Base
10
+ acts_as_abstract
10
11
  include ::Avm::With::ApplicationStereotype
11
12
 
12
13
  class << self
@@ -25,6 +25,12 @@ module Avm
25
25
  success "Source generated in \"#{generator.target_path}\""
26
26
  end
27
27
 
28
+ # @return [String]
29
+ def help_extra_text
30
+ help_list_section('Stereotypes', ::Avm::Registry.source_generators.available
31
+ .map(&:application_stereotype_name))
32
+ end
33
+
28
34
  def start_banner
29
35
  infov 'Stereotype', stereotype_name
30
36
  infov 'Target path', target_path
@@ -73,7 +73,7 @@ module Avm
73
73
  return r if r.any?
74
74
 
75
75
  raise ::ArgumentError, "Source not found with ID=#{source_id}" \
76
- "(Available: #{available_units.map(&:id).join(', ')})"
76
+ "(Available: #{available_units.map(&:id).join(', ')})"
77
77
  end
78
78
 
79
79
  # @return [Array<Avm::Sources::Tests::Single>]
data/lib/avm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.83.0'
4
+ VERSION = '0.84.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-08 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -200,42 +200,42 @@ dependencies:
200
200
  requirements:
201
201
  - - "~>"
202
202
  - !ruby/object:Gem::Version
203
- version: '0.24'
203
+ version: '0.33'
204
204
  type: :development
205
205
  prerelease: false
206
206
  version_requirements: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - "~>"
209
209
  - !ruby/object:Gem::Version
210
- version: '0.24'
210
+ version: '0.33'
211
211
  - !ruby/object:Gem::Dependency
212
212
  name: avm-git
213
213
  requirement: !ruby/object:Gem::Requirement
214
214
  requirements:
215
215
  - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: '0.7'
217
+ version: '0.14'
218
218
  type: :development
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.7'
224
+ version: '0.14'
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: eac_ruby_gem_support
227
227
  requirement: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - "~>"
230
230
  - !ruby/object:Gem::Version
231
- version: 0.5.1
231
+ version: '0.9'
232
232
  type: :development
233
233
  prerelease: false
234
234
  version_requirements: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - "~>"
237
237
  - !ruby/object:Gem::Version
238
- version: 0.5.1
238
+ version: '0.9'
239
239
  description:
240
240
  email:
241
241
  executables: []
@@ -459,7 +459,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
459
459
  requirements:
460
460
  - - ">="
461
461
  - !ruby/object:Gem::Version
462
- version: '0'
462
+ version: '2.7'
463
463
  required_rubygems_version: !ruby/object:Gem::Requirement
464
464
  requirements:
465
465
  - - ">="