gitcloudcli 1.0.2 → 1.0.3
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/gitcloudcli/command/git/github.rb +3 -4
- data/lib/gitcloudcli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8e8f4acf20f6c67f05216080213225cb9b0d68ae934149bc507bfb8d1477877
|
4
|
+
data.tar.gz: d1c1257f94570b56c132b9824c63338e0c6e03cd988aba2878ab4247e099493c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55371b3edf98294301381bf77df3dc3593b95c94161fae28de8abab4c53035da2f48461d30afc825ca044281b3d118d892eb868d43697e1e02cfcc16dc69743a
|
7
|
+
data.tar.gz: 000dd525776cf8c607e6d0e965f8da8297cf13899b61bce977a469304b191cd4bf18d0c27d6bc6d2f8ee2329ef624004e10c26dbd2701343f6c9cba401299da8
|
data/Gemfile.lock
CHANGED
@@ -6,10 +6,9 @@ require "net/http"
|
|
6
6
|
module Gitcloudcli
|
7
7
|
class Github < Git
|
8
8
|
def initialize(url, token)
|
9
|
-
|
10
|
-
result
|
11
|
-
@username=result
|
12
|
-
@repo=result[2].to_s.split(".")[0]
|
9
|
+
result = url.to_s.split /:|\//
|
10
|
+
@repo=result.pop.to_s.split(".").first
|
11
|
+
@username=result.pop
|
13
12
|
@token=token
|
14
13
|
end
|
15
14
|
|
data/lib/gitcloudcli/version.rb
CHANGED