danger 5.5.10 → 5.5.11
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: b40e9480325dafce9f9b8f3f629c564db738049d
|
4
|
+
data.tar.gz: 99574cdbe722f0205a8603ec10dbf4c4a9450772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbfc890a23612ee9145f37ef0dc9baf7987ad881f3ac8bddc6bf8ed738b34dbf4df2b8b4a517b169898614f71bed9e71564c0390eacd824ba819e1ceb541dec7
|
7
|
+
data.tar.gz: 166a2919fca6b861fc8d4aff9b09d4d6e01fa699d7f49dfa50fc97b5b259bd31b3643824dfa6287c311078ec2d2e7b5a9c262c478a29d5bf9bf90e20ea723643
|
@@ -193,7 +193,7 @@ module Danger
|
|
193
193
|
paths = [paths] unless paths.kind_of?(Array)
|
194
194
|
commit = head_commit
|
195
195
|
same_repo = mr_json["project_id"] == mr_json["source_project_id"]
|
196
|
-
sender_repo = env.ci_source.repo_slug.split("/")
|
196
|
+
sender_repo = mr_author + "/" + env.ci_source.repo_slug.split("/")[1]
|
197
197
|
repo = same_repo ? env.ci_source.repo_slug : sender_repo
|
198
198
|
host = @gitlab.host
|
199
199
|
|
@@ -165,7 +165,7 @@ module Git
|
|
165
165
|
# Use git-merge-base https://git-scm.com/docs/git-merge-base to
|
166
166
|
# find as good common ancestors as possible for a merge
|
167
167
|
def merge_base(commit1, commit2, *other_commits)
|
168
|
-
Open3.popen2("git", "merge-base",
|
168
|
+
Open3.popen2("git", "merge-base", commit1, commit2, *other_commits) { |_stdin, stdout, _wait_thr| stdout.read.rstrip }
|
169
169
|
end
|
170
170
|
end
|
171
171
|
end
|
data/lib/danger/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|