avm-eac_generic_base0 0.9.0 → 0.10.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: a813f1b6ed4efe47594b0de057b0469ebff1eef9e5563e8835382c9a48b4e73b
4
- data.tar.gz: ccb1cdf94254242b2fef97c89991c7294302e6a123fbed2698017eec3abe2ecb
3
+ metadata.gz: f161c6b43c6dfd170d9c2357ad0111a915d728ddd2ffc57924bd3f5a00da661d
4
+ data.tar.gz: 3085232838767992e1edf61dfbb657bfda8257a92e7ed5a18a3a25852ee2639b
5
5
  SHA512:
6
- metadata.gz: 1c806b4c43fb63f59e9894c8ea763e7e2a8dffacd0963b2d813f1f85c9be5e54f59a770ab23b78b54286cc3b59f2409ff384d80899f092acd4e07f8b3928300f
7
- data.tar.gz: cc2ca5522653efe886c3638bd09265f5837f492af3fa14773a91da6698f5c58439bac04b1b144474c36eab5c976829f754763b3de23e44e787ff39a9f4dfb264
6
+ metadata.gz: bc015d05f4c387240938ec8c765fd2877fb265992bd1f64c0374c1eb61e05360561fe8b38f320392200d92ce3fd560d97a8f566bf3a27cb5f9e9c8cdd734ae83
7
+ data.tar.gz: b5904ee9368eae601dc5c423e7adb83fe70174fdca000e5f331a115db3ebede3b187fdfe48dae6af90c54edcbf0950184fe30be73df6e18625cb6559f8055d31
@@ -10,12 +10,8 @@ module Avm
10
10
  require_sub __FILE__, include_modules: true
11
11
  enable_abstract_methods
12
12
 
13
- def update
14
- # Do nothing
15
- end
16
-
17
13
  def valid?
18
- ::Avm::Registry.scms.detect_optional(path).present?
14
+ configuration_paths.any?(&:exist?)
19
15
  end
20
16
  end
21
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module EacGenericBase0
5
- VERSION = '0.9.0'
5
+ VERSION = '0.10.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-eac_generic_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2023-01-09 00:00:00.000000000 Z
11
+ date: 2023-01-19 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.60'
19
+ version: '0.61'
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.60'
26
+ version: '0.61'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: eac_ruby_utils
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +72,6 @@ files:
72
72
  - lib/avm/eac_generic_base0/instances/base.rb
73
73
  - lib/avm/eac_generic_base0/sources.rb
74
74
  - lib/avm/eac_generic_base0/sources/base.rb
75
- - lib/avm/eac_generic_base0/sources/base/version_bump.rb
76
75
  - lib/avm/eac_generic_base0/sources/docker.rb
77
76
  - lib/avm/eac_generic_base0/sources/docker/runner.rb
78
77
  - lib/avm/eac_generic_base0/version.rb
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'avm/sources/base'
4
- require 'eac_ruby_utils/core_ext'
5
-
6
- module Avm
7
- module EacGenericBase0
8
- module Sources
9
- class Base < ::Avm::Sources::Base
10
- module VersionBump
11
- def after_sub_version_bump_do_changes
12
- # Do nothing
13
- end
14
-
15
- # @return [Avm::Scms::Commit, nil]
16
- def version_bump(target_version)
17
- scm.commit_if_change(version_bump_commit_message(target_version)) do
18
- version_bump_do_changes(target_version)
19
- parent.if_present(&:after_sub_version_bump_do_changes)
20
- end
21
- end
22
-
23
- # @return [String]
24
- def version_bump_commit_message(target_version)
25
- i18n_translate(__method__, version: target_version, __locale: locale)
26
- end
27
-
28
- def version_bump_do_changes(_target_version)
29
- raise_abstract_method(__METHOD__)
30
- end
31
- end
32
- end
33
- end
34
- end
35
- end