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: b1a77c81b4b83a1286a935c546301815fab0f87d
4
- data.tar.gz: 7e8b9f305417719a173508e2c73e6e0637c17ea0
3
+ metadata.gz: b40e9480325dafce9f9b8f3f629c564db738049d
4
+ data.tar.gz: 99574cdbe722f0205a8603ec10dbf4c4a9450772
5
5
  SHA512:
6
- metadata.gz: ccc4182dea2b5decdc4211120155f3ebbc1d67599cff73beffa0def1dd782c5f3af94521dade73ea33481c0ead2c83eb732c0db5146f69ee9e4e424ebcaf2dc8
7
- data.tar.gz: 0dd6e19a82306e6d9a64a64970f0830262a598d00761218b0441bc79a4924affdf9b3640cc260db8b1541c67dd4c5e7e09974bf58facc3a928e81073ca27eb66
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("/").first + "/" + mr_author
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", "--all", commit1, commit2, *other_commits) { |_stdin, stdout, _wait_thr| stdout.read.rstrip }
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
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.5.10".freeze
2
+ VERSION = "5.5.11".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
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.10
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-02-09 00:00:00.000000000 Z
12
+ date: 2018-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide