octopolo 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.markdown +5 -0
- data/lib/octopolo/pull_request_merger.rb +1 -1
- data/lib/octopolo/version.rb +1 -1
- data/spec/octopolo/pull_request_merger_spec.rb +5 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c7127cc1021b5d826c88d16784375a445515b0e0ec602df9a2a91755f7a22aa5
|
4
|
+
data.tar.gz: 1ab2947b7ff4ce2bcbbf04aa24ef5e4189f1c7abaabc1bad951cc1fc2f6e1b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3621dfa1a3d7606569d85029b94a54a21ba34a93395cb5ac1fd062d2489898413e5b80f770f4c91e5c60b395a32d86a934979e3ee438fa27511dd3009e07f235
|
7
|
+
data.tar.gz: d46d8cf93716d4a0799c6f928d0664a40ac30fc6f9dcce15b0c42e9475941f1adad9c5581e2f26deb22a1988021f879bbfb6b68fc494735cc4fcccc219584534
|
data/CHANGELOG.markdown
CHANGED
data/lib/octopolo/version.rb
CHANGED
@@ -65,14 +65,14 @@ module Octopolo
|
|
65
65
|
git.should_receive(:if_clean).and_raise(GitHub::PullRequest::NotFound)
|
66
66
|
cli.should_receive(:say).with("Unable to find pull request #{pull_request_id}. Please retry with a valid ID.")
|
67
67
|
|
68
|
-
subject.perform
|
68
|
+
expect { subject.perform }.to raise_error
|
69
69
|
end
|
70
70
|
|
71
71
|
it "properly handles a failed merge" do
|
72
72
|
git.should_receive(:if_clean).and_raise(Git::MergeFailed)
|
73
73
|
cli.should_receive(:say).with("Merge failed. Please identify the source of this merge conflict resolve this conflict in your pull request's branch. NOTE: Merge conflicts resolved in the deployable branch are NOT used when deploying.")
|
74
74
|
|
75
|
-
subject.perform
|
75
|
+
expect { subject.perform }.to raise_error
|
76
76
|
end
|
77
77
|
|
78
78
|
it "properly handles a failed checkout of branch" do
|
@@ -80,14 +80,15 @@ module Octopolo
|
|
80
80
|
git.should_receive(:latest_branch_for).with("deployable").and_return("deployable")
|
81
81
|
cli.should_receive(:say).with("Checkout of #{git.deployable_branch} failed. Please contact Infrastructure to determine the cause.")
|
82
82
|
|
83
|
-
subject.perform
|
83
|
+
expect { subject.perform }.to raise_error
|
84
84
|
end
|
85
85
|
|
86
86
|
it "properly handles a failed comment" do
|
87
87
|
git.should_receive(:if_clean).and_raise(GitHub::PullRequest::CommentFailed)
|
88
88
|
git.should_receive(:latest_branch_for).with("deployable").and_return("deployable")
|
89
89
|
cli.should_receive(:say).with("Unable to write comment. Please navigate to #{pull_request.url} and add the comment, '#{subject.comment_body}'")
|
90
|
-
|
90
|
+
|
91
|
+
expect { subject.perform }.to raise_error
|
91
92
|
end
|
92
93
|
end
|
93
94
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopolo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Byrne
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-09
|
13
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gli
|
@@ -375,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
375
375
|
version: '0'
|
376
376
|
requirements: []
|
377
377
|
rubyforge_project:
|
378
|
-
rubygems_version: 2.
|
378
|
+
rubygems_version: 2.7.8
|
379
379
|
signing_key:
|
380
380
|
specification_version: 4
|
381
381
|
summary: A set of GitHub workflow scripts to provide a smooth development process
|