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 +4 -4
- data/lib/git-projects/version.rb +1 -1
- data/lib/helpers/git_project_remote.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a458e2b11a2d70ac735a8192617fae8752a94b
|
4
|
+
data.tar.gz: 7a6f7f15b1d63c6bc1bf5f92462f59283f668ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d81475fed8302ce479f67f9907339c28e35789c9ee7e910694e991a8b344746fb0b68f0df463903a24457b025660165306bb96a94e2991042b73d0a5634d992
|
7
|
+
data.tar.gz: 123c5e63e8723ad0173a1ebd4f21a6b62e7d28f2ab87f3976c10a15c9395bdddd07164bf7e9321494c59d310135302ad586bc2ccbea9f40f58cb54dec0a7d4f5
|
data/lib/git-projects/version.rb
CHANGED
@@ -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
|