git-bundle 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/git_bundle/branch_config.rb +8 -4
- data/lib/git_bundle/commands/generate.rb +1 -1
- data/lib/git_bundle/version.rb +1 -1
- 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: eb0b6f61ddf85b02b7d6049c0455d718b914bcb15c064400ada6282cc800cc77
|
4
|
+
data.tar.gz: 3695a550182f8fe959fe2c49f74d423a289ed856e1966e3121af81881b3152e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db48f086741a74993f3da2ed97c581a0a221e24e9ffdb4a058d2bba17005b91bb70ad07ca33419ba32084d3a0c23480f9fa289faeaabd3fd48ff72d709920c4d
|
7
|
+
data.tar.gz: b47410c2d9d88815d06c590cd28b18b5fbd66a6fd39ac57575c30a49dd5f64d494b6a88aa5071a1f3f1de9cff3d34a06057d82070bd89766a4f6eb5931770571
|
data/Gemfile.lock
CHANGED
@@ -27,11 +27,15 @@ module GitBundle
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def save
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
if changed?
|
31
|
+
File.open(path, 'w') {|file| file.write(current.to_yaml.lines[1..-1].join)}
|
32
|
+
if File.exists?(path)
|
33
|
+
puts "\t#{colorize('update', 34, bold: true)}\t#{filename}"
|
34
|
+
else
|
35
|
+
puts "\t#{colorize('create', 32, bold: true)}\t#{filename}"
|
36
|
+
end
|
33
37
|
else
|
34
|
-
puts "\t#{colorize('
|
38
|
+
puts "\t#{colorize('identical', 34, bold: true)}\t#{filename}"
|
35
39
|
end
|
36
40
|
end
|
37
41
|
end
|
@@ -10,7 +10,7 @@ module GitBundle
|
|
10
10
|
|
11
11
|
def invoke
|
12
12
|
@project.load_dependant_repositories
|
13
|
-
@project.
|
13
|
+
@project.dependant_repositories.each {|p| @project.branch_config.current[p.name] = p.branch}
|
14
14
|
@project.branch_config.save
|
15
15
|
end
|
16
16
|
end
|
data/lib/git_bundle/version.rb
CHANGED