gitlab-development-kit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/gdk +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6318484448973ff064c51e17cb20b07fdfce7822
|
4
|
+
data.tar.gz: 0d5758550994a03e80666d7bc642b100b7d0544e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7907017ce66ec4b21780acaf5e462f0609cb131411bcaa938b75aa18affe6ec3ddefdfc94d3874b8c5ec07932a32c1b390fb81bbd6706e9b9eebe41fe23f3438
|
7
|
+
data.tar.gz: aeae61c75d457af0da56b3ba2c73cb21506c98b481f457178743b516f2b6597eae0401ef1327a36ac4f2e1a4e0709eb3fc126433921072c9c68ff3c397b9dff8
|
data/bin/gdk
CHANGED
@@ -18,10 +18,9 @@ module GDK
|
|
18
18
|
puts "Usage: gdk init [DIR]"
|
19
19
|
return false
|
20
20
|
end
|
21
|
-
|
22
|
-
cmd = %W(git clone https://gitlab.com/gitlab-org/gitlab-development-kit.git)
|
23
|
-
cmd
|
24
|
-
system(*cmd)
|
21
|
+
directory = ARGV.count == 2 ? ARGV[1] : 'gitlab-development-kit'
|
22
|
+
cmd = %W(git clone https://gitlab.com/gitlab-org/gitlab-development-kit.git #{directory})
|
23
|
+
system(*cmd) && trust!(directory)
|
25
24
|
when 'trust'
|
26
25
|
if ARGV.count != 2
|
27
26
|
puts "Usage: gdk trust DIR"
|