gitlab-triage 1.48.0 → 1.49.0

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: dac5a3a6e2e88bb70fb33933f18755460da5d7e3cdee8965c262d6770f0f9de8
4
- data.tar.gz: 4fd13c1a11196d09b2b2b1413f8c6a0eeed89a9c3178b7460a5df1d6678f9737
3
+ metadata.gz: 6412e63a12ac53c09a1eb643cd3b5aa49e08e4691544b3356212e8ddec460d56
4
+ data.tar.gz: 2c655d476bc397a889f103763a31525116b1b647bfa382ddd9e7418cfe3e7c42
5
5
  SHA512:
6
- metadata.gz: dde7d3bdf9efa243e118cc325a68ed0cf0384e1fce17d03611929cd4728543db6e0071914c55c100030ab7fff934cf95f09b6f4bc549cc847600aaf40334a9cd
7
- data.tar.gz: 2c6f6d82ad58c8f9aa056cd7bf8b2d8cc2314f504cf358b5109c0d914483cacec88725b8ef5719623c8e6d3036f0693505e2f48e857897c8c24f5a135274eef1
6
+ metadata.gz: df41feed9393573cf512348b2fb8f5be16474f58ca2af16ab1190543f7cf910b97b5a5c48798927b54ca5e25c72522f2e3609dc0c9d3d46a384259372160be85
7
+ data.tar.gz: 23f44c55003c443b5535dc9be1100cf55510f4fd105fc145685cb3446a1cff8b67540db0c784340fe1cd90c999a2c08330cc9b6722c1131760b2a39fd08a7194
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-triage (1.48.0)
4
+ gitlab-triage (1.49.0)
5
5
  activesupport (>= 5.1)
6
6
  globalid (~> 1.0, >= 1.0.1)
7
7
  graphql (< 2.1.0)
@@ -39,7 +39,7 @@ module Gitlab
39
39
  private
40
40
 
41
41
  def title_present?
42
- /\S+/.match?(title) || false
42
+ /\S+/.match?(title)
43
43
  end
44
44
 
45
45
  def build_text(template)
@@ -41,15 +41,20 @@ module Gitlab
41
41
 
42
42
  # Check if this summary has content to include in a parent summary.
43
43
  # Custom type summaries generate content from templates (external data),
44
- # while regular summaries need GitLab resources to generate content.
44
+ # but only if the template produces non-empty output.
45
+ # Regular summaries need GitLab resources to generate content.
45
46
  def content_available?
46
- @is_custom || @resources.any?
47
+ if @is_custom
48
+ /\S+/.match?(description)
49
+ else
50
+ @resources.any?
51
+ end
47
52
  end
48
53
 
49
54
  private
50
55
 
51
56
  def title_present?
52
- /\S+/.match?(title) || false
57
+ /\S+/.match?(title)
53
58
  end
54
59
 
55
60
  def title_resource
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module Triage
5
- VERSION = '1.48.0'
5
+ VERSION = '1.49.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-triage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-06 00:00:00.000000000 Z
11
+ date: 2026-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport