gitlab-dangerfiles 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitlab/dangerfiles/commit_linter.rb +6 -2
- data/lib/gitlab/dangerfiles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51f1b9ce0d37840b9810a3bc19cdf3c6e35ed8d14f7cf0495a52e1410468b34e
|
4
|
+
data.tar.gz: 763783874f9e0e72b33408f2718d6151a7530526ab3498529ea40d2c02fa4f25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b204d42cc13b8b06801f4da675617e63b56fba631b4122ed4140e0188ea5143d5ec07732b41c6581426d4a5e9e48939f2e260b9f3636afcaac1a96f2aaf78e29
|
7
|
+
data.tar.gz: 6bc734af3d2148cbfb67e23e2cef84f7b36ffb7b82f82b8b9d9d2ca410f95a72d5f72b68dc4d0e59d4f8811df61a536e3282793a6c22f37058e1038e0bc0b6db
|
@@ -115,11 +115,15 @@ module Gitlab
|
|
115
115
|
end
|
116
116
|
|
117
117
|
def files_changed
|
118
|
-
|
118
|
+
# In some cases, the commits cannot be found so it's better to just move one
|
119
|
+
# See https://gitlab.com/gitlab-org/gitlab/-/issues/227814.
|
120
|
+
commit.diff_parent.size rescue 0
|
119
121
|
end
|
120
122
|
|
121
123
|
def lines_changed
|
122
|
-
|
124
|
+
# In some cases, the commits cannot be found so it's better to just move one
|
125
|
+
# See https://gitlab.com/gitlab-org/gitlab/-/issues/227814.
|
126
|
+
commit.diff_parent.lines rescue 0
|
123
127
|
end
|
124
128
|
|
125
129
|
def many_changes?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-dangerfiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-gitlab
|