avm-tools 0.136.1 → 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: ceaddb37e7f195cb777af39acd1667855b86e70d02f6b5d7748e03e7c4516e5f
4
- data.tar.gz: bd4ba725c476043c36ca19823192a3dd142857a635b64fec8a7fc71ecaddea74
3
+ metadata.gz: 462f4c0238b01de9d03fa87de2d1070c5b576408abb39f7256c968f69a793052
4
+ data.tar.gz: 6b62af949f0299bb2e9ed9ec638f2d8c9145d246d97f3f376d01506059dbaff7
5
5
  SHA512:
6
- metadata.gz: 5190abb2db8fd52abc7b6e8eb030187bb4538a72b2143462a9d3e12e408a43e117e7260a52c62d4b760598ae6de7aedb3424653688f929d0ceef555019b659f1
7
- data.tar.gz: 1d4aa19ad134bdea0c1c2551fc1328a1993b069b915aa884e9cacc63c0ec2dc19e899b1d1d890208763fb2227a19bd49395011ee506d4246498755aa8e8350a7
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.1'
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.1
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-14 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.42'
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.42'
46
+ version: '0.45'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: avm-eac_ruby_base1
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -79,6 +79,9 @@ dependencies:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0.4'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 0.4.1
82
85
  type: :runtime
83
86
  prerelease: false
84
87
  version_requirements: !ruby/object:Gem::Requirement
@@ -86,6 +89,9 @@ dependencies:
86
89
  - - "~>"
87
90
  - !ruby/object:Gem::Version
88
91
  version: '0.4'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 0.4.1
89
95
  - !ruby/object:Gem::Dependency
90
96
  name: avm-git
91
97
  requirement: !ruby/object:Gem::Requirement
@@ -149,7 +155,7 @@ dependencies:
149
155
  version: '0.12'
150
156
  - - ">="
151
157
  - !ruby/object:Gem::Version
152
- version: 0.12.2
158
+ version: 0.12.3
153
159
  type: :runtime
154
160
  prerelease: false
155
161
  version_requirements: !ruby/object:Gem::Requirement
@@ -159,7 +165,7 @@ dependencies:
159
165
  version: '0.12'
160
166
  - - ">="
161
167
  - !ruby/object:Gem::Version
162
- version: 0.12.2
168
+ version: 0.12.3
163
169
  - !ruby/object:Gem::Dependency
164
170
  name: eac_ruby_base0
165
171
  requirement: !ruby/object:Gem::Requirement
@@ -307,27 +313,12 @@ files:
307
313
  - lib/avm/projects/stereotypes/ruby_gem/publish.rb
308
314
  - lib/avm/stereotypes.rb
309
315
  - lib/avm/tools.rb
310
- - lib/avm/tools/app_src.rb
311
316
  - lib/avm/tools/core_ext.rb
312
317
  - lib/avm/tools/runner.rb
313
- - lib/avm/tools/runner/app_src.rb
314
- - lib/avm/tools/runner/app_src/info.rb
315
- - lib/avm/tools/runner/app_src/issue.rb
316
- - lib/avm/tools/runner/app_src/issue/complete.rb
317
- - lib/avm/tools/runner/app_src/issue/deliver.rb
318
- - lib/avm/tools/runner/app_src/ruby.rb
319
- - lib/avm/tools/runner/app_src/ruby/bundler.rb
320
- - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock.rb
321
- - lib/avm/tools/runner/app_src/ruby/bundler/gemfile_lock/git.rb
322
- - lib/avm/tools/runner/app_src/subs.rb
323
- - lib/avm/tools/runner/app_src/test.rb
324
- - lib/avm/tools/runner/app_src/update.rb
325
- - lib/avm/tools/runner/app_src/version_bump.rb
326
318
  - lib/avm/tools/runner/application_stereotypes.rb
327
319
  - lib/avm/tools/runner/application_stereotypes/list.rb
328
320
  - lib/avm/tools/runner/config.rb
329
321
  - lib/avm/tools/runner/config/load_path.rb
330
- - lib/avm/tools/runner/eac_webapp_base0.rb
331
322
  - lib/avm/tools/runner/files.rb
332
323
  - lib/avm/tools/runner/files/format.rb
333
324
  - lib/avm/tools/runner/files/rotate.rb
@@ -351,8 +342,22 @@ files:
351
342
  - lib/avm/tools/runner/self.rb
352
343
  - lib/avm/tools/runner/self/docker.rb
353
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
354
358
  - lib/avm/tools/runner/source_generate.rb
355
359
  - lib/avm/tools/self.rb
360
+ - lib/avm/tools/source.rb
356
361
  - lib/avm/tools/version.rb
357
362
  - locale/en.yml
358
363
  - locale/pt-BR.yml
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/eac_webapp_base0/runner'
4
- require 'eac_ruby_utils/core_ext'
5
-
6
- module Avm
7
- module Tools
8
- class Runner
9
- class EacWebappBase0 < ::Avm::EacWebappBase0::Runner
10
- require_sub __FILE__
11
- end
12
- end
13
- end
14
- end