dngg 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dngg/util/submodule.rb +1 -2
- data/lib/dngg/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: 46475e5573f76ae8f910ca96f92148c2fd293604f025867361937654e6a3a687
|
4
|
+
data.tar.gz: d7409ea217cb0d13cd383c41147e51f1f993ddcfaa927decc15102dddcc89d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8a1e819c468466ffc54df57fe9556e00d1b43ca06fc237eb8f1e67b02e3016f1ffd25cd739d0fa967d95c068a314666d60cbb9f640d7acc9f48c7c97b795387
|
7
|
+
data.tar.gz: 478f40447cd5cde885291b88def7f81baa5d463af8b4e31a4b44c4d7245035b202afba86e2f0b7fc3c5d43c68a8b1355823fae451efe17d1fcc6ad986be14090
|
data/Gemfile.lock
CHANGED
data/lib/dngg/util/submodule.rb
CHANGED
@@ -16,12 +16,11 @@ module DNGG
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def get_submodule
|
19
|
-
pattern = /(?<=\s)[\/0-9a-zA-Z]*(?=\s)/
|
19
|
+
pattern = /(?<=\s)[\/0-9a-zA-Z\-]*(?=\s)/
|
20
20
|
|
21
21
|
sub_status = `git submodule`
|
22
22
|
sub_status = sub_status.split(/\n/)
|
23
23
|
match = pattern.match(sub_status[0])
|
24
|
-
|
25
24
|
if match==nil
|
26
25
|
puts '==> 初始化子模块'.yellow
|
27
26
|
`git submodule update --init --recursive`
|
data/lib/dngg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dngg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iSnow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|