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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/gdk +3 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96053977970c8478e0624219700a6748cd4ef7d2
4
- data.tar.gz: 85a3186752629e1870a3e1986cd490cd166cc708
3
+ metadata.gz: 6318484448973ff064c51e17cb20b07fdfce7822
4
+ data.tar.gz: 0d5758550994a03e80666d7bc642b100b7d0544e
5
5
  SHA512:
6
- metadata.gz: 2933695c15e0f485e2dd81b847ca5528df70f47a4c2bd0eb72250a1ef3d8c16d2cbfd910958372dabb94ee93b805d2afb63b1671380025f390a729ad852b416c
7
- data.tar.gz: 9b5176933fbadf95fad1c64e7b2337d84ec8b9c19a12c01c85fd413e25cfd7af89c3516facb6dc21d788d23dbeeea750ac7539eb0807df662895d9467b83fb03
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 << ARGV[1] if ARGV.count == 2
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-development-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer