gitlab-development-kit 0.1.0 → 0.1.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 +8 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42454aa4930e6c16a2d82b13fe1cb1fe0498bc54
4
- data.tar.gz: a3f83d8622b0a7f6dd81f683950e0159cddf54b8
3
+ metadata.gz: d96b16ee2eaf3d670c9b4a0515111ed19bb2ec6e
4
+ data.tar.gz: 91aeca28bdfcb29bb5c33ed5ffc322f3c0409ccc
5
5
  SHA512:
6
- metadata.gz: 4e433f7b9d6fe409f621c6632d77045100533d911dcceb1221f212ff8bccf065a5a386e321d8bc6330d7adff76f6a943028749fec14c25b4544638c592b9b997
7
- data.tar.gz: 0bffec81508bb8284fc41dc69eeb875a8e5782d573b38c29be96df8c13b36a435b103f9fd8bf54362ce89261797c346e3eb8f80b81f44401c071906392bb4728
6
+ metadata.gz: 19815297dab429e908d6350715d35dbdc8457e24a91e1b9cd0ddb446bb07d9cb235eb19c10d63181a4deb23aa47a9d4ff0db66d8de21ce5de6a1a80cb04b10b6
7
+ data.tar.gz: 01bbca5392a62f6719818bfcc467646c75ee94ad6904ab33ff172fc2fe1c7de126faf6863190b66ab385ee05fc4b485d31165b33bc92581d32d6461412277522
data/bin/gdk CHANGED
@@ -4,7 +4,14 @@ require 'fileutils'
4
4
  def main
5
5
  case ARGV.first
6
6
  when 'init'
7
- system(*%W(git clone -b gdk-cli https://gitlab.com/gitlab-org/gitlab-development-kit.git))
7
+ if ARGV.count > 2
8
+ puts "Usage: gdk init [DIR]"
9
+ return false
10
+ end
11
+
12
+ cmd = %W(git clone -b gdk-cli https://gitlab.com/gitlab-org/gitlab-development-kit.git)
13
+ cmd << ARGV[1] if ARGV.count == 2
14
+ system(*cmd)
8
15
  else
9
16
  $gdk_root = find_root(Dir.pwd)
10
17
  if $gdk_root.nil?
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Vosmaer