gitlab-triage 1.44.0 → 1.44.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: 1989fbcf91e2dc16796f87fdf597cd383902a65f51406409066cb8952b869b24
4
- data.tar.gz: 706fe85fc28143854dcce8e88d2ca09b5b69890c83d2fd39d5e3892a3e14ff50
3
+ metadata.gz: ac5a7d628801b6d055cd8d08a93e46ada848bd9cc723877d797d55eda27d0d23
4
+ data.tar.gz: e10f32f3573d1fe7408de87cff5e96a8160aa87f6a75b6ef3114b868fbd4949c
5
5
  SHA512:
6
- metadata.gz: 621c8a5ac785f25c05995843691607f2469010e86104d98b8d7365a123d67e3ebb195b8bf919492988808625a84fa124610bf5d7190c71ca92cbf1b12aff7e0b
7
- data.tar.gz: 86e66520931275689b3b487f2a41435b68ba536f82ec52167f07994affdb0bc8b6ff476e0aff4e97ed33c09fd3da86cabc62b780d369631a4317f6867446eab9
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/v<PREVIOUS_VERSION>...<COMMIT_UPDATING_VERSION>
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.3
1
+ 3.2.4
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.1.5
1
+ ruby 3.2.4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-triage (1.44.0)
4
+ gitlab-triage (1.44.1)
5
5
  activesupport (>= 5.1)
6
6
  globalid (~> 1.0, >= 1.0.1)
7
7
  graphql (< 2.1.0)
@@ -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 unless conditions[condition_key]
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module Triage
5
- VERSION = '1.44.0'
5
+ VERSION = '1.44.1'
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.44.0
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-08 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport