dev 2.1.89 → 2.1.90

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/lib/apps/git.rb +11 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c411cc8bea3ae7a2b72221c59b93f968f41347430b2781ccfab53c5ec6070b6c
4
- data.tar.gz: ec0a3c5986ec7a2514ae09cd84316eb0285eb74d5710c7c19d34e740a9897110
3
+ metadata.gz: 9dcc16f972251eefd765e63a680555f1c2f876a0dc7200ca9153c1dcd89ff451
4
+ data.tar.gz: fe1c42dcb47254f6b82d7715c7dcd7af965e7c6d71cd11af7c2ab51d01a51bf8
5
5
  SHA512:
6
- metadata.gz: e6c0e4f3102f958a18eae95e04f4a2a79cec5162bd5b3b7a9a79ebdf0dc92cf97613668c4234d1d84fa0ddbd3c3bea68b5347a9b683d612e6b35e316b7fed45f
7
- data.tar.gz: 11a14aeeec20a39648e36d72a1c20d9dd5c919ee306225d6c700ea4c8ecec13d37dd201636c7b9a0783b991fbf2f99ac066b16ec306beb9163ced58fcdf7bf13
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.89
4
+ version: 2.1.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow