thegarage-gitx 2.5.0.beta5 → 2.5.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4467ae416b3bf6136ccfc3158301c00c961574b6
|
4
|
+
data.tar.gz: cc0365b89a0d11315998d3a0d42aa44f30ba4301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 866b0b4cbd14c4e6991a6301c9d2bf7630dc51cdaa96291e9ca708fa39170737a45db6139aecda4bfd7d4303e4cc403745b7731dd96d7b93e2a9238fce3464ed
|
7
|
+
data.tar.gz: 74c7b693a591709e00c1068d7cf073848a276b9fd4223fc32acd7d55df0d5086e2c76618787a788e34c48889ab205b0cef1f780b3995ad85c1db62c46955bb6f
|
@@ -36,8 +36,7 @@ module Thegarage
|
|
36
36
|
begin
|
37
37
|
run_cmd "git merge #{branch}"
|
38
38
|
rescue
|
39
|
-
|
40
|
-
exit
|
39
|
+
fail MergeError, "Merge Conflict Occurred. Please fix merge conflict and rerun command with --resume #{branch} flag"
|
41
40
|
end
|
42
41
|
run_cmd "git push origin HEAD"
|
43
42
|
end
|
@@ -100,9 +100,8 @@ describe Thegarage::Gitx::Cli::IntegrateCommand do
|
|
100
100
|
expect(cli).to receive(:run_cmd).with("git branch -D staging", allow_failure: true).ordered
|
101
101
|
expect(cli).to receive(:run_cmd).with("git checkout staging").ordered
|
102
102
|
expect(cli).to receive(:run_cmd).with("git merge feature-branch").and_raise('git merge feature-branch failed').ordered
|
103
|
-
expect(cli).to receive(:exit).and_raise(SystemExit)
|
104
103
|
|
105
|
-
expect { cli.integrate }.to raise_error(
|
104
|
+
expect { cli.integrate }.to raise_error(/Merge Conflict Occurred. Please fix merge conflict and rerun command with --resume feature-branch flag/)
|
106
105
|
end
|
107
106
|
it 'raises a helpful error' do
|
108
107
|
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
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Sonnek
|
@@ -309,9 +309,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
309
309
|
version: '0'
|
310
310
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
311
|
requirements:
|
312
|
-
- - "
|
312
|
+
- - ">="
|
313
313
|
- !ruby/object:Gem::Version
|
314
|
-
version:
|
314
|
+
version: '0'
|
315
315
|
requirements: []
|
316
316
|
rubyforge_project:
|
317
317
|
rubygems_version: 2.2.2
|