dev 2.1.89 → 2.1.90
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apps/git.rb +11 -0
- 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: 9dcc16f972251eefd765e63a680555f1c2f876a0dc7200ca9153c1dcd89ff451
|
4
|
+
data.tar.gz: fe1c42dcb47254f6b82d7715c7dcd7af965e7c6d71cd11af7c2ab51d01a51bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c963eea17f51e25f763a9732563fd00164b8f90b9bf52a0068334e8c7db63c117d43814a7bb76e6eb8dce8b02a7b0099512d92bbd98f920bd04d78dd54f01626
|
7
|
+
data.tar.gz: c370bd3b6ac3a4094f59261673c63af922da25e9a14da3393a713173cdd12c76fa8ba2217185eb3831432771207ff65fc2411f77f8384fed63d4520a6404ba6a
|
data/lib/apps/git.rb
CHANGED
@@ -25,6 +25,17 @@ class Git
|
|
25
25
|
url=`git config --get remote.origin.url` if(File.exists?('.git'))
|
26
26
|
end
|
27
27
|
|
28
|
+
@@master_url=''
|
29
|
+
def self.master_url
|
30
|
+
@@master_url
|
31
|
+
end
|
32
|
+
def self.master_url=(url)
|
33
|
+
@@master_url=url
|
34
|
+
end
|
35
|
+
def self.is_fork?
|
36
|
+
self.master_url != self.url
|
37
|
+
end
|
38
|
+
|
28
39
|
def self.user_email
|
29
40
|
email=''
|
30
41
|
begin
|