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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3248c206c971afa67361a2579ff0fe2a74a6e9db
4
- data.tar.gz: 90a4b47170efda035644bb4d9974d55af7cdb67c
3
+ metadata.gz: 051a1eff59fbb30ef3a90f379783241daaee7aa8
4
+ data.tar.gz: 4fdf31bea14978875ae00a72816044a227cb868b
5
5
  SHA512:
6
- metadata.gz: 8259a349dbdd29d279c86a19f9344c3d64d58f1995b18f97bae37fc8fa7d2013209223f10fc12befa44b2bfd44d20d1b8009d522fcfd4a9afaec50ae37ac9abe
7
- data.tar.gz: ad8acef7b9e8c8f775e57f57a41907fbef70b4ccf523cf5cc6c48986d446ed6c291a61479ff42e2cf2a02dd02444e0762b2d536d27b2861fba433149b55fd997
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(ci_source.repo_slug, self.ci_source.pull_request_id)
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
 
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.1.0".freeze
2
+ VERSION = "5.1.1".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.1.0
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-21 00:00:00.000000000 Z
12
+ date: 2017-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide