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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c8243740c97ac8d208ff6439af1a7651dc5b9ddded13cb3979ea9cadbe6755e
4
- data.tar.gz: bcfe0970b1dd0ab065d947c9cc9dac727366ccea22dcedf21d61bc9374885c23
3
+ metadata.gz: 24b2dd1bfef63a377bc72132ed9f7fdf1fc12a1f9eb57527512ea83fa6f68d73
4
+ data.tar.gz: 793b4ee608a320c9e89bc12caa2816485edfbcfeb5714aff67b008901a95b8b0
5
5
  SHA512:
6
- metadata.gz: 91cea0b62fe4490a78abddd4b36bd361895f05b6a40ed6d656e9435905748247689fba0d4f29ab39921b1f32e1d5f62a87fa034b8ce71c311d69d5b70b2685c4
7
- data.tar.gz: d5ea002f3a5a2db4d8b70dde8c8cbe4ef1eb95c18dfd20f36245efacc1f12fadaabe6f677a5256afaa9534b68a881ff3eb67ae7c4e60c753a4a2bf48f3b5cc13
6
+ metadata.gz: 004c62d5d08af0eb4af16ca487ec517916b52c8a53273175aa2eb474f5ce4c309e1bfea609b5f6ed30c5ab8fcc8f17c19dc72c366d72055d3dfa6910dc372d7f
7
+ data.tar.gz: a6482e431b12aa645e144406f5367a529e7d1a6b10d4963ac2b715499cf0b11028328c5b28fe4ba82f65704b49857d9a5b62856d9f7de58776cab1965a421ccd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-dangerfiles (4.11.0)
4
+ gitlab-dangerfiles (4.11.1)
5
5
  danger (>= 9.3.0)
6
6
  danger-gitlab (>= 8.0.0)
7
7
  rake (~> 13.0)
@@ -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\-\/]+)?(?<!`)(#|!|&)\d+(?<!`))}.freeze
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}"?(?<!`))}.freeze
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 `%12.3`), as short references are displayed as plain text outside of GitLab"
29
+ "`!123`, or `%%12.3`), as short references are displayed as plain text outside of GitLab"
30
30
  }
31
31
  )
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module Dangerfiles
3
- VERSION = "4.11.0"
3
+ VERSION = "4.11.1"
4
4
  end
5
5
  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.0
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-03-18 00:00:00.000000000 Z
11
+ date: 2026-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake