gitlab-cloud-connector 1.4.0 → 1.6.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: b0d8056ee3784bf44f8d2f643627138a2183c7af88e73ad237bf2006ff5199e1
4
- data.tar.gz: e02d097d32d33174987aa9d6301af38ab3126d8e8dcd781912a1cfe3a79e1d32
3
+ metadata.gz: 1cf0282d318a235b687f93d6d4aba4b7d46b5538b4fb3b73e5efaffd3f7d072a
4
+ data.tar.gz: e4b7ed6254b4b6dc74de3bb36ff214261f7a32e814d81e26d16917175244049d
5
5
  SHA512:
6
- metadata.gz: 64b4d2696f66043862c2de48833d47bde903cc480b66624e22e0b6344905be6dfef7cb4730dfc483ba09ce5a56f6d573ae2d6c0cc3e4fc24c55680634bac2a74
7
- data.tar.gz: 6d3232c5e9542931fb2d0a22bc3056c2345e3ed7abb9cd35fc39e334914926f6bad8509227dee2043ad2e8f3f095787277633a8ccc6baf8d6701a8c641510974
6
+ metadata.gz: 14b6cb27c307fe57a69aea14881e6df85115489d25e0ef891915f76c76991b7a6711456b906c658f91a60f087fb52c09a7188f577b1eb5215725fbcacaccb6d8
7
+ data.tar.gz: 83753b28c5568a82b37a701917cebce18d049216c34cd4ca85c3ec8011ebcad05bf629d802903fe96185550458acc9b025e83dd7c9037dee9b0d46468b30d17f
@@ -0,0 +1,2 @@
1
+ ---
2
+ name: duo_amazon_q
@@ -0,0 +1,2 @@
1
+ ---
2
+ name: duo_nano
@@ -23,3 +23,11 @@ unit_primitives:
23
23
  - include_terminal_context
24
24
  - refactor_code
25
25
  - write_tests
26
+ - troubleshoot_job
27
+ - summarize_comments
28
+ - generate_commit_message
29
+ - summarize_new_merge_request
30
+ - explain_vulnerability
31
+ - resolve_vulnerability
32
+ - generate_issue_description
33
+ - summarize_review
@@ -7,3 +7,5 @@ backend_services:
7
7
  - ai_gateway
8
8
  license_types:
9
9
  - ultimate
10
+ add_ons:
11
+ - duo_amazon_q
@@ -13,3 +13,4 @@ backend_services:
13
13
  add_ons:
14
14
  - duo_pro
15
15
  - duo_enterprise
16
+ - duo_nano
@@ -9,3 +9,4 @@ backend_services:
9
9
  add_ons:
10
10
  - duo_pro
11
11
  - duo_enterprise
12
+ - duo_amazon_q
@@ -12,3 +12,4 @@ backend_services:
12
12
  add_ons:
13
13
  - duo_pro
14
14
  - duo_enterprise
15
+ - duo_nano
@@ -13,3 +13,4 @@ backend_services:
13
13
  add_ons:
14
14
  - duo_pro
15
15
  - duo_enterprise
16
+ - duo_nano
@@ -22,6 +22,11 @@ module Gitlab
22
22
  private
23
23
 
24
24
  def load_association_records(association_name)
25
+ value = Array(instance_variable_get(:"@#{association_name}"))
26
+
27
+ # Check if the association is already loaded.
28
+ return value if !value.empty? && value.all?(Gitlab::CloudConnector::DataModel::Base)
29
+
25
30
  names = Array(self[association_name])
26
31
  association_class = Gitlab::CloudConnector::DataModel.const_get(association_name.to_s.classify)
27
32
  association_class.select { |record| names.include?(record.name.to_s) }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module CloudConnector
5
- VERSION = '1.4.0'
5
+ VERSION = '1.6.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-cloud-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Milojevic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-20 00:00:00.000000000 Z
11
+ date: 2025-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -95,7 +95,9 @@ files:
95
95
  - Makefile
96
96
  - README.md
97
97
  - Rakefile
98
+ - config/add_ons/duo_amazon_q.yml
98
99
  - config/add_ons/duo_enterprise.yml
100
+ - config/add_ons/duo_nano.yml
99
101
  - config/add_ons/duo_pro.yml
100
102
  - config/backend_services/ai_gateway.yml
101
103
  - config/backend_services/ai_gateway_agent.yml