avm-tools 0.136.2 → 0.137.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: 0a16025cdb4bf25acd67dc6129fd68ce1fdeeafc2b983c5251d98bd7768189cb
4
- data.tar.gz: 27290fc522bfb67f5635fc1d946e73d28c0c3be073c29401724f15dcce114f65
3
+ metadata.gz: 462f4c0238b01de9d03fa87de2d1070c5b576408abb39f7256c968f69a793052
4
+ data.tar.gz: 6b62af949f0299bb2e9ed9ec638f2d8c9145d246d97f3f376d01506059dbaff7
5
5
  SHA512:
6
- metadata.gz: d1c3f2b1a5633e78d96793be7b29af113fd25a03a3931a9d849b41d83c4a25a3a8850265c4807cc202384b0fa7aa9627f11b3d162e58fc739c450cb3cd339323
7
- data.tar.gz: 28a42aabc9c7421010c20e2cb732b8942c306a98e88d659a57221990a3a2e8732cf2a171a3278653a2abe0faa33c056aaaf7cc2f253c8c59ab579dac9b3b9df8
6
+ metadata.gz: 3c2eb34c3cf8771dde0bf170bb2fc0e48140173c60533b55f31155a0e9a0b8fd8096fddd2c7a384a6f06ad8d0c4233a06ecce4e38b3265576a1b85da783275f4
7
+ data.tar.gz: 90217bae49a4b776eae0748051e5b69e6bff175e525e633166d9a7357156e2652db0bf0dfe801326849b469e35895203fc0484b3f89b9c2465124829250722a5
@@ -5,7 +5,7 @@ require 'avm/tools/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Info
10
10
  SOURCE_PROPERTIES = {
11
11
  path: 'Path',
@@ -6,7 +6,7 @@ require 'avm/git/issue/complete'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class AppSrc
9
+ class Source < ::Avm::Sources::Runner
10
10
  class Issue
11
11
  class Complete
12
12
  runner_with :confirmation, :help do
@@ -6,7 +6,7 @@ require 'avm/git/issue/deliver'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class AppSrc
9
+ class Source < ::Avm::Sources::Runner
10
10
  class Issue
11
11
  class Deliver
12
12
  runner_with :confirmation, :help do
@@ -5,7 +5,7 @@ require 'avm/tools/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Issue
10
10
  require_sub __FILE__
11
11
  runner_with :help, :subcommands do
@@ -5,7 +5,7 @@ require 'eac_ruby_base0/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Ruby
10
10
  class Bundler
11
11
  class GemfileLock
@@ -5,7 +5,7 @@ require 'eac_ruby_base0/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Ruby
10
10
  class Bundler
11
11
  class GemfileLock
@@ -5,7 +5,7 @@ require 'eac_ruby_base0/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Ruby
10
10
  class Bundler
11
11
  require_sub __FILE__
@@ -5,7 +5,7 @@ require 'eac_cli/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Ruby
10
10
  require_sub __FILE__
11
11
  runner_with :help, :subcommands do
@@ -5,7 +5,7 @@ require 'avm/tools/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Subs
10
10
  PADDING = ' '
11
11
 
@@ -6,7 +6,7 @@ require 'avm/sources/tests/builder'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class AppSrc
9
+ class Source < ::Avm::Sources::Runner
10
10
  class Test
11
11
  runner_with :help do
12
12
  desc 'Test local project.'
@@ -83,7 +83,7 @@ module Avm
83
83
  def unit_result(unit)
84
84
  (
85
85
  [unit.result.to_label] +
86
- %i[stdout stderr].map { |label| "#{label.to_s.upcase}: #{unit.logs[label]}" }
86
+ %i[stdout stderr].map { |label| "#{label.to_s.upcase}: #{unit.logs[label]}" }
87
87
  ).join(' | '.blue)
88
88
  end
89
89
  end
@@ -5,7 +5,7 @@ require 'avm/tools/core_ext'
5
5
  module Avm
6
6
  module Tools
7
7
  class Runner
8
- class AppSrc
8
+ class Source < ::Avm::Sources::Runner
9
9
  class Update
10
10
  runner_with :help do
11
11
  desc 'Update local project.'
@@ -6,7 +6,7 @@ require 'eac_cli/core_ext'
6
6
  module Avm
7
7
  module Tools
8
8
  class Runner
9
- class AppSrc
9
+ class Source < ::Avm::Sources::Runner
10
10
  class VersionBump
11
11
  runner_with :help, :confirmation do
12
12
  desc 'Bump version of a local project.'
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avm/sources/runner'
4
- require 'avm/tools/app_src'
4
+ require 'avm/tools/source'
5
5
  require 'eac_cli/core_ext'
6
6
 
7
7
  module Avm
8
8
  module Tools
9
9
  class Runner
10
- class AppSrc < ::Avm::Sources::Runner
10
+ class Source < ::Avm::Sources::Runner
11
11
  require_sub __FILE__
12
12
 
13
13
  def instance_banner
@@ -22,7 +22,7 @@ module Avm
22
22
  private
23
23
 
24
24
  def instance_uncached
25
- ::Avm::Tools::AppSrc.new(source_path)
25
+ ::Avm::Tools::Source.new(source_path)
26
26
  end
27
27
  end
28
28
  end
@@ -10,7 +10,7 @@ require 'i18n'
10
10
 
11
11
  module Avm
12
12
  module Tools
13
- class AppSrc
13
+ class Source
14
14
  enable_simple_cache
15
15
  common_constructor :path do
16
16
  self.path = path.to_pathname
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.136.2'
5
+ VERSION = '0.137.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.136.2
4
+ version: 0.137.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-22 00:00:00.000000000 Z
11
+ date: 2022-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.44'
39
+ version: '0.45'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.44'
46
+ version: '0.45'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_ruby_base1
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ dependencies:
155
155
  version: '0.12'
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: 0.12.2
158
+ version: 0.12.3
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ dependencies:
165
165
  version: '0.12'
166
166
  - - ">="
167
167
  - !ruby/object:Gem::Version
168
- version: 0.12.2
168
+ version: 0.12.3
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: eac_ruby_base0
171
171
  requirement: !ruby/object:Gem::Requirement
@@ -313,22 +313,8 @@ files:
313
313
  - lib/avm/projects/stereotypes/ruby_gem/publish.rb
314
314
  - lib/avm/stereotypes.rb
315
315
  - lib/avm/tools.rb
316
- - lib/avm/tools/app_src.rb
317
316
  - lib/avm/tools/core_ext.rb
318
317
  - lib/avm/tools/runner.rb
319
- - lib/avm/tools/runner/app_src.rb
320
- - lib/avm/tools/runner/app_src/info.rb
321
- - lib/avm/tools/runner/app_src/issue.rb
322
- - lib/avm/tools/runner/app_src/issue/complete.rb
323
- - lib/avm/tools/runner/app_src/issue/deliver.rb
324
- - lib/avm/tools/runner/app_src/ruby.rb
325
- - lib/avm/tools/runner/app_src/ruby/bundler.rb
326
- - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
327
- - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb
328
- - lib/avm/tools/runner/app_src/subs.rb
329
- - lib/avm/tools/runner/app_src/test.rb
330
- - lib/avm/tools/runner/app_src/update.rb
331
- - lib/avm/tools/runner/app_src/version_bump.rb
332
318
  - lib/avm/tools/runner/application_stereotypes.rb
333
319
  - lib/avm/tools/runner/application_stereotypes/list.rb
334
320
  - lib/avm/tools/runner/config.rb
@@ -356,8 +342,22 @@ files:
356
342
  - lib/avm/tools/runner/self.rb
357
343
  - lib/avm/tools/runner/self/docker.rb
358
344
  - lib/avm/tools/runner/self/registry.rb
345
+ - lib/avm/tools/runner/source.rb
346
+ - lib/avm/tools/runner/source/info.rb
347
+ - lib/avm/tools/runner/source/issue.rb
348
+ - lib/avm/tools/runner/source/issue/complete.rb
349
+ - lib/avm/tools/runner/source/issue/deliver.rb
350
+ - lib/avm/tools/runner/source/ruby.rb
351
+ - lib/avm/tools/runner/source/ruby/bundler.rb
352
+ - lib/avm/tools/runner/source/ruby/bundler/gemfile_lock.rb
353
+ - lib/avm/tools/runner/source/ruby/bundler/gemfile_lock/git.rb
354
+ - lib/avm/tools/runner/source/subs.rb
355
+ - lib/avm/tools/runner/source/test.rb
356
+ - lib/avm/tools/runner/source/update.rb
357
+ - lib/avm/tools/runner/source/version_bump.rb
359
358
  - lib/avm/tools/runner/source_generate.rb
360
359
  - lib/avm/tools/self.rb
360
+ - lib/avm/tools/source.rb
361
361
  - lib/avm/tools/version.rb
362
362
  - locale/en.yml
363
363
  - locale/pt-BR.yml