git-projects 1.0.3 → 1.0.4

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: b0d3460f9fc31b8d0e3f12f125d3fe7a3f6f1ea5
4
- data.tar.gz: 0a20d5d089c2013fb1ec5d7c50e8fadf36fa9535
3
+ metadata.gz: a2a458e2b11a2d70ac735a8192617fae8752a94b
4
+ data.tar.gz: 7a6f7f15b1d63c6bc1bf5f92462f59283f668ed3
5
5
  SHA512:
6
- metadata.gz: bb218234f1e950915c16546e4cb9d5bbb8f0eb4bce0ecfa34477295347662a982e0538b1fbaf9b124c002b69b547df6b7e1cb48678d8923cf4ca1d5fc4844267
7
- data.tar.gz: 8225526d267a0544ee86e0355652b71730c9a6d2d6d4e4416199c5fea9ff1e48654022e62b56304cd71aa82d8d35fa242611a59c111fcab1e8462b508ea73ae4
6
+ metadata.gz: 0d81475fed8302ce479f67f9907339c28e35789c9ee7e910694e991a8b344746fb0b68f0df463903a24457b025660165306bb96a94e2991042b73d0a5634d992
7
+ data.tar.gz: 123c5e63e8723ad0173a1ebd4f21a6b62e7d28f2ab87f3976c10a15c9395bdddd07164bf7e9321494c59d310135302ad586bc2ccbea9f40f58cb54dec0a7d4f5
@@ -1,3 +1,3 @@
1
1
  module GitProjects
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
@@ -58,8 +58,7 @@ module GitProjectRemote
58
58
  g.add_remote('origin', v['origin']) unless remote_exists?(g, 'origin')
59
59
  g.add_remote('all', v['origin']) unless remote_exists?(g, 'all')
60
60
  v.each do |name, remote|
61
- next if %w(root_dir all group).include?(name) ||
62
- g.remotes.map(&:name).include?(name)
61
+ next if %w(root_dir all group).include?(name) || remote_exists?(g, name)
63
62
  add_new_remote(g, name, remote)
64
63
  end
65
64
  end
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: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katherine G. Pe