gitlab-dangerfiles 4.11.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab/dangerfiles/commit_linter.rb +3 -3
- 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: 24b2dd1bfef63a377bc72132ed9f7fdf1fc12a1f9eb57527512ea83fa6f68d73
|
|
4
|
+
data.tar.gz: 793b4ee608a320c9e89bc12caa2816485edfbcfeb5714aff67b008901a95b8b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 004c62d5d08af0eb4af16ca487ec517916b52c8a53273175aa2eb474f5ce4c309e1bfea609b5f6ed30c5ab8fcc8f17c19dc72c366d72055d3dfa6910dc372d7f
|
|
7
|
+
data.tar.gz: a6482e431b12aa645e144406f5367a529e7d1a6b10d4963ac2b715499cf0b11028328c5b28fe4ba82f65704b49857d9a5b62856d9f7de58776cab1965a421ccd
|
data/Gemfile.lock
CHANGED
|
@@ -9,9 +9,9 @@ module Gitlab
|
|
|
9
9
|
MAX_CHANGED_FILES_IN_COMMIT = 3
|
|
10
10
|
MAX_CHANGED_LINES_IN_COMMIT = 30
|
|
11
11
|
# Issue, MR, Epic
|
|
12
|
-
SHORT_REFERENCE_REGEX = %r{(\S*([\w\-\/]+)?(?<!`)(#|!|&)
|
|
12
|
+
SHORT_REFERENCE_REGEX = %r{(\S*([\w\-\/]+)?(?<!`)(#|!|&)(?>\d+)(?!`))}.freeze
|
|
13
13
|
# Milestone
|
|
14
|
-
MS_SHORT_REFERENCE_REGEX = %r{(\S*([\w\-\/]+)?(?<!`)%"?\d{1,3}\.\d{1,3}"?(
|
|
14
|
+
MS_SHORT_REFERENCE_REGEX = %r{(\S*([\w\-\/]+)?(?<!`)%(?>"?\d{1,3}\.\d{1,3}"?)(?!`))}.freeze
|
|
15
15
|
SUGGESTIONS_APPLIED_COMMIT_REGEX = /Apply \d+ suggestion\(s\) to \d+ file\(s\)/.freeze
|
|
16
16
|
|
|
17
17
|
def self.problems_mapping
|
|
@@ -26,7 +26,7 @@ module Gitlab
|
|
|
26
26
|
message_contains_unicode_emoji: "Avoid the use of Unicode Emoji. These add no value to the commit " \
|
|
27
27
|
"message, and may not be displayed properly everywhere",
|
|
28
28
|
message_contains_short_reference: "Use full URLs instead of short references (`gitlab-org/gitlab#123`, " \
|
|
29
|
-
"`!123`, or
|
|
29
|
+
"`!123`, or `%%12.3`), as short references are displayed as plain text outside of GitLab"
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
32
|
end
|
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: 4.11.
|
|
4
|
+
version: 4.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|