gitlab-triage 1.44.0 → 1.44.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab/merge_request_templates/Release.md +1 -1
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/Gemfile.lock +1 -1
- data/lib/gitlab/triage/engine.rb +4 -1
- data/lib/gitlab/triage/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: ac5a7d628801b6d055cd8d08a93e46ada848bd9cc723877d797d55eda27d0d23
|
4
|
+
data.tar.gz: e10f32f3573d1fe7408de87cff5e96a8160aa87f6a75b6ef3114b868fbd4949c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0690585541ba68dd3bf6a9f8b08b9252489daa1292bfe86dc8a4d6042663fef2c18451acc23469a8d3f29c645b27318fe35efb4a2b6f7b25373d92940d6c198
|
7
|
+
data.tar.gz: 60d649bc2acfe7cb3321579f8c8c9dbd039b1ec7d38f6bcb9c1b45b9ee9a11031e135319a7c8938df951c309cf3c3631ea02951d0242a4e5d08218c972193ae1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
commit from this merge request, and `<NEW_VERSION>` with the upcoming version number. -->
|
3
3
|
## Diff
|
4
4
|
|
5
|
-
https://gitlab.com/gitlab-org/ruby/gems/gitlab-triage/-/compare
|
5
|
+
https://gitlab.com/gitlab-org/ruby/gems/gitlab-triage/-/compare/<PREVIOUS_VERSION>...<COMMIT_UPDATING_VERSION>
|
6
6
|
|
7
7
|
## Checklist
|
8
8
|
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.4
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 3.
|
1
|
+
ruby 3.2.4
|
data/Gemfile.lock
CHANGED
data/lib/gitlab/triage/engine.rb
CHANGED
@@ -450,7 +450,7 @@ module Gitlab
|
|
450
450
|
|
451
451
|
FILTER_MAP.each do |condition_key, filter_value|
|
452
452
|
# Skips to the next key value pair if the condition is not applicable
|
453
|
-
next
|
453
|
+
next if conditions[condition_key].nil?
|
454
454
|
|
455
455
|
case filter_value
|
456
456
|
when Hash
|
@@ -469,9 +469,12 @@ module Gitlab
|
|
469
469
|
|
470
470
|
# If the :ruby condition exists then filter based off of conditions
|
471
471
|
# else we base off of the `conditions[condition_key]`.
|
472
|
+
|
472
473
|
result =
|
473
474
|
if condition_key.to_s == 'no_additional_labels'
|
474
475
|
filter.new(resource, conditions[:labels]).calculate
|
476
|
+
elsif condition_key.to_s == 'protected'
|
477
|
+
filter.new(resource, conditions[:protected]).calculate
|
475
478
|
elsif filter.instance_method(:initialize).arity == 2
|
476
479
|
filter.new(resource, conditions[condition_key]).calculate
|
477
480
|
else
|
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.44.
|
4
|
+
version: 1.44.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|