git-projects 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3242cc416b633af159ae2c9382e272fa0fcf3e0
4
- data.tar.gz: c03664dc2621b8ec9bbb539df5738e1f4ffe9dd1
3
+ metadata.gz: b91241f7afe7ed1e55458dc31c7299a695e08de7
4
+ data.tar.gz: 4a1524ca123240e4558490fcd2e9a0a00fae80d5
5
5
  SHA512:
6
- metadata.gz: ee5de45113f5eb7fd93514561a8bbd7b9cc8c164fae9d3b538b7fbd593fdc03923e6ca966714842f9462845b8d36c42e04a3aa272c3556e8e08ea50c4a65f97e
7
- data.tar.gz: a44f32a3964a5ea591cd30a9f5ef588c2848fceddd3af063b1b110cb143f5db035f4cc932a0c7a37d3b1111eefbc3f9a5c2821d0cf7272f61986a9daeebe4135
6
+ metadata.gz: 5903b3267b505023c6d3c7450a615ceff6b985a9041a6a5b539178ca48f6e6876d90a566fa1194d98e98073ed0a731c71681baa03aecb05bd6519d12fb0d02f6
7
+ data.tar.gz: e8a8d9e907fa88d87d71efedb7244feb18b986f7479d0d97c35558581c6ec6a1682418c741bf9268b31e5166a32932e055502638fb408bab99c1e060881f1ae9
@@ -1,3 +1,3 @@
1
1
  module GitProjects
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
@@ -33,7 +33,7 @@ module GitProjectRemote
33
33
 
34
34
  def add_new_remote(g, name, remote)
35
35
  g.add_remote(name, remote)
36
- `git remote set-url --add all #{remote}`
36
+ g.add_remote('all', remote) unless remote_exists?(g, name)
37
37
  puts "Added remote #{name}".green
38
38
  end
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-projects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katherine Pe