avm-git 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/git/launcher/base.rb +1 -1
- data/lib/avm/git/scms/git/interval.rb +1 -1
- data/lib/avm/git/scms/git_subtree.rb +13 -5
- data/lib/avm/git/version.rb +1 -1
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf97b89acb920c9514d401a710131a0bb8ad9327aad672c6c91978397ae5dccb
|
4
|
+
data.tar.gz: 35c6c026cc095641b5cff53095822ea2ea115460d7137b8fa5e2d05c2f4ccf4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 333a246e74865cf9e6e648b7a026e1bc3f98800dcf8b913f828fd11936d55faaa04545e8f2250e991d6fa43721242653cd4767bfa78ae1150349fcf624f1dc30
|
7
|
+
data.tar.gz: 8031a058c80ad3479e072fd3506bd5de4a8d4ec8f74bbd141f41f734763319cf561f7762cff6960e456db78654fcc75e2264acba73beec35057782ce9d1c1543
|
@@ -9,16 +9,24 @@ module Avm
|
|
9
9
|
module Git
|
10
10
|
module Scms
|
11
11
|
class GitSubtree < ::Avm::Git::Scms::GitSubBase
|
12
|
+
# @return [Boolean]
|
13
|
+
def no_other_git_scm?
|
14
|
+
(::Avm::Git::Scms::Provider.new.all - [self.class])
|
15
|
+
.lazy.map { |scm_class| scm_class.new(path) }.none?(&:valid?)
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Boolean]
|
19
|
+
def parent_git_scm?
|
20
|
+
::Avm::Git::Scms::Provider.new.all.any? { |scm_class| parent_scm.is_a?(scm_class) }
|
21
|
+
end
|
22
|
+
|
12
23
|
def update
|
13
24
|
# Do nothing
|
14
25
|
end
|
15
26
|
|
27
|
+
# @return [Boolean]
|
16
28
|
def valid?
|
17
|
-
|
18
|
-
.new.all.any? { |scm_class| parent_scm.is_a?(scm_class) }
|
19
|
-
|
20
|
-
(::Avm::Git::Scms::Provider.new.all - [self.class])
|
21
|
-
.lazy.map { |scm_class| scm_class.new(path) }.none?(&:valid?)
|
29
|
+
parent_git_scm? && no_other_git_scm?
|
22
30
|
end
|
23
31
|
end
|
24
32
|
end
|
data/lib/avm/git/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2024-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -16,34 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.86.1
|
19
|
+
version: '0.94'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.86.1
|
26
|
+
version: '0.94'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: avm-files
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
33
|
+
version: '0.8'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
40
|
+
version: '0.8'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: eac_git
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +58,14 @@ dependencies:
|
|
64
58
|
requirements:
|
65
59
|
- - "~>"
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
61
|
+
version: '0.122'
|
68
62
|
type: :runtime
|
69
63
|
prerelease: false
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
66
|
- - "~>"
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
68
|
+
version: '0.122'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: git
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|