thegarage-gitx 2.5.0.alpha1 → 2.5.0.beta1

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: 52a815b1f180eb401a49be082d797c8048500eba
4
- data.tar.gz: 0fffe93eea6027c24774d152b3a7ce02f36c3021
3
+ metadata.gz: b22f64be18547e7394ae28d350dd6d43fe30a499
4
+ data.tar.gz: 8dfeb4c9fc0d4dd65171543a00f2654c2c3a4bbb
5
5
  SHA512:
6
- metadata.gz: 44d73575489db418bf94747b9318061d9f5939d9fff7ee7ebd1efe9242814b487cd857ef7bcfa9c8181d315a1f1241ba1c911dfade1f8016f3949c1c0ec35d2e
7
- data.tar.gz: 3e9f8275982afa713d5f553e5ffb3653ee6b7e2a6a40c26cb23fcba9bee95aaa300e21f8115b52aca8194e5a6cf49192a4d1a281b5a050f51edf4404d1d0ef4a
6
+ metadata.gz: 0af365e03299c621ac0b6029689d7f0131feb6d783a9f4c42bf53842b49e5b46ea42178240b551d9ac673d794f6cb020bcb1d0823028afe3e4e7bab0a69f333f
7
+ data.tar.gz: b17b3084db551cfd97e2c71704fe82d18295243683ac209aa477bec72b007e8e5055d31ff1188d0c996c863937923bfc53fedbf5692a093ca62ae4f8b3d4f1a5
@@ -49,7 +49,8 @@ module Thegarage
49
49
  begin
50
50
  run_cmd "git merge #{branch}"
51
51
  rescue
52
- raise "Merge Conflict Occurred. Please fix merge conflict and rerun command with --resume #{branch} flag"
52
+ say "Merge Conflict Occurred. Please fix merge conflict and rerun command with --resume #{branch} flag"
53
+ exit
53
54
  end
54
55
  end
55
56
 
@@ -1,5 +1,5 @@
1
1
  module Thegarage
2
2
  module Gitx
3
- VERSION = '2.5.0.alpha1'
3
+ VERSION = '2.5.0.beta1'
4
4
  end
5
5
  end
@@ -69,8 +69,9 @@ describe Thegarage::Gitx::Cli::IntegrateCommand do
69
69
  expect(cli).to receive(:run_cmd).with("git fetch origin").ordered
70
70
  expect(cli).to receive(:run_cmd).with("git checkout staging").ordered
71
71
  expect(cli).to receive(:run_cmd).with("git merge feature-branch").and_raise('git merge feature-branch failed').ordered
72
+ expect(cli).to receive(:exit).and_raise(SystemExit)
72
73
 
73
- expect { cli.integrate }.to raise_error("Merge Conflict Occurred. Please fix merge conflict and rerun command with --resume feature-branch flag")
74
+ expect { cli.integrate }.to raise_error(SystemExit)
74
75
  end
75
76
  it 'raises a helpful error' do
76
77
  should meet_expectations
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thegarage-gitx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.alpha1
4
+ version: 2.5.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Sonnek