danger 5.1.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger/request_sources/gitlab.rb +5 -2
- data/lib/danger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 051a1eff59fbb30ef3a90f379783241daaee7aa8
|
4
|
+
data.tar.gz: 4fdf31bea14978875ae00a72816044a227cb868b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce2b6b94273078e83bdd4dc97677794bff34379bcdf41b9fc95d3f6ed9f8036a743388aec2573582c804f87bd8b57d22de788d973b94000bb86b4a30a2348c3
|
7
|
+
data.tar.gz: 88cf6322df304ed625c0c60d31ac4939152e6dee19cca469ac14e1333ff39d188fc2ef6ce6d9aa679c8599f9833ff00afb12e489f1f040a2ccb67600bdfa39c2
|
@@ -66,7 +66,8 @@ module Danger
|
|
66
66
|
|
67
67
|
def mr_comments
|
68
68
|
@comments ||= begin
|
69
|
-
client.merge_request_comments(ci_source.repo_slug, ci_source.pull_request_id)
|
69
|
+
client.merge_request_comments(ci_source.repo_slug, ci_source.pull_request_id, per_page: 100)
|
70
|
+
.auto_paginate
|
70
71
|
.map { |comment| Comment.from_gitlab(comment) }
|
71
72
|
end
|
72
73
|
end
|
@@ -93,7 +94,9 @@ module Danger
|
|
93
94
|
|
94
95
|
def fetch_details
|
95
96
|
self.mr_json = client.merge_request(ci_source.repo_slug, self.ci_source.pull_request_id)
|
96
|
-
self.commits_json = client.merge_request_commits(
|
97
|
+
self.commits_json = client.merge_request_commits(
|
98
|
+
ci_source.repo_slug, self.ci_source.pull_request_id
|
99
|
+
).auto_paginate
|
97
100
|
self.ignored_violations = ignored_violations_from_pr
|
98
101
|
end
|
99
102
|
|
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.1.
|
4
|
+
version: 5.1.1
|
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: 2017-04-
|
12
|
+
date: 2017-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: claide
|