avm-git 0.2.0 → 0.3.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/issue/complete/test.rb +1 -1
- data/lib/avm/git/scms/git.rb +8 -0
- data/lib/avm/git/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08807ed5f28720bdc1346119e0edce88d09298e8922f393cdb747dad2f5a264c'
|
4
|
+
data.tar.gz: 872be582ce4574a19dcca64367fc4daf382e87aec182cbe9480dcf2719652f27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af7e9a4aa25da4313b005f9cb82a44b0b9a081959927ebebac2b1405647ae8f06bf6e3ed0cc689ff90785445bd66e5f92da5086670baaeaca3642b04abf3ffc
|
7
|
+
data.tar.gz: 68cf014ecfabb42b1cacf3d689a3311d5f397ccf30912164b9287d8adb53af62a72153d9366d358de418bc2aa751913b61aa915b62c197c981be6fb5e8ddd15f
|
data/lib/avm/git/scms/git.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/git/scms/git_subrepo'
|
3
4
|
require 'avm/scms/base'
|
4
5
|
require 'eac_ruby_utils/core_ext'
|
5
6
|
|
@@ -56,6 +57,13 @@ module Avm
|
|
56
57
|
commit_dirty(message)
|
57
58
|
end
|
58
59
|
|
60
|
+
# @return [Enumerable<Avm::Git::Scms::GitSubrepo>]
|
61
|
+
def subs
|
62
|
+
git_repo.subrepos.map do |subrepo|
|
63
|
+
::Avm::Git::Scms::GitSubrepo.new(subrepo.subpath.expand_path(path))
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
59
67
|
def valid?
|
60
68
|
path.join('.git').exist?
|
61
69
|
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.3.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: 2021-11-
|
11
|
+
date: 2021-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-files
|