gito 0.4.12 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gito/project.rb +2 -1
- data/lib/gito/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e47bc21126de083d1478756095ab6a44b6e043
|
4
|
+
data.tar.gz: 83ab39c3cbc421e5ca29c9274914126b6f7103ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df3dcea26fed1eb9902097c5f43752219f0eb9669e2a317d6664f9857e30621f757a25c76696ee3b823ed84033f3469815ef68cdc4236fc6398dd662950d8e40
|
7
|
+
data.tar.gz: 47799b95a7958d54b35ca421de64c6a2040b938359f46063c844a9565fadb1aaccd0b8d9d7f1ce9d167c9941462ce93a82f3e3fdb169ec85c0e030a92c4b63f5
|
data/lib/gito/project.rb
CHANGED
@@ -74,7 +74,7 @@ class Project
|
|
74
74
|
starts_with_git = @base_url.split(//).first(4).join.eql? 'git@'
|
75
75
|
ends_with_git = @base_url.split(//).last(4).join.eql? '.git'
|
76
76
|
|
77
|
-
return "git@github.com:#{@base_url}.git" if @base_url.split('/').length == 2
|
77
|
+
return "git@github.com:#{@base_url}.git" if @base_url.split('/').length == 2 && !@base_url.include?("@")
|
78
78
|
|
79
79
|
# ends with git but doesnt start with git
|
80
80
|
return @base_url if ends_with_git && !starts_with_git
|
@@ -84,6 +84,7 @@ class Project
|
|
84
84
|
# ends with git but doesnt start with git
|
85
85
|
return "git@github.com:#{user_repo_pair}.git" if !ends_with_git && !starts_with_git
|
86
86
|
|
87
|
+
# git@github.com:sky-uk/uma-skyq-android.git
|
87
88
|
@base_url
|
88
89
|
end
|
89
90
|
|
data/lib/gito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|