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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3be318a54723d942310503e63607c65c123d90c6523f8112bc9a33e47682f0de
4
- data.tar.gz: dac2dade83c04bac6f2e716b5c2b0eab2c85ebd0d2d0faf078cf89fa641a23a1
3
+ metadata.gz: eb0b6f61ddf85b02b7d6049c0455d718b914bcb15c064400ada6282cc800cc77
4
+ data.tar.gz: 3695a550182f8fe959fe2c49f74d423a289ed856e1966e3121af81881b3152e8
5
5
  SHA512:
6
- metadata.gz: 5d0b2b23d325b0e0abc79016868c998862234f8f029c0d171693883595706deec34ff2807a91d2eac39c786f48a4b72e1fa3354f8b04ee99bef7f4b8b32e5389
7
- data.tar.gz: 5563b33d87947c8dc0861fb37c5101b4fc162b1d053f6939dcc75b8a5c1a57ff9c434065f1ef87e76ec4f2a22ea4557527ba71e76a7b4e176d4b09a0e4752ff6
6
+ metadata.gz: db48f086741a74993f3da2ed97c581a0a221e24e9ffdb4a058d2bba17005b91bb70ad07ca33419ba32084d3a0c23480f9fa289faeaabd3fd48ff72d709920c4d
7
+ data.tar.gz: b47410c2d9d88815d06c590cd28b18b5fbd66a6fd39ac57575c30a49dd5f64d494b6a88aa5071a1f3f1de9cff3d34a06057d82070bd89766a4f6eb5931770571
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-bundle (1.0.12)
4
+ git-bundle (1.0.13)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -27,11 +27,15 @@ module GitBundle
27
27
  end
28
28
 
29
29
  def save
30
- File.open(path, 'w') {|file| file.write(current.to_yaml.lines[1..-1].join)}
31
- if File.exists?(path)
32
- puts "\t#{colorize('update', 34, bold: true)}\t#{filename}"
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('create', 32, bold: true)}\t#{filename}"
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.repositories.each {|p| @project.branch_config.current[p.name] = p.branch}
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
@@ -1,3 +1,3 @@
1
1
  module GitBundle
2
- VERSION = '1.0.13'
2
+ VERSION = '1.0.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Pretorius