gitlab-triage 1.44.3 → 1.44.4

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: ec35de876067e863f90ccd2e710fc3fec357e54ce8aa434782a2f6aeab141b17
4
- data.tar.gz: 60e3707faa5bebbb3990d510bb9f0d2c533decd8005178ab023793bcb1cab9d5
3
+ metadata.gz: 9cd5ca69a7c9161b790086964de6cec397887051ee864915599fdb609a88dd00
4
+ data.tar.gz: ba6d9ef359136197179690df24095481ec41858d8c23b9f92030f6e6f8d5284d
5
5
  SHA512:
6
- metadata.gz: f05a3cbbe84e5b1fe9fa7f8ea57b696fd85d2f4fb19f2677dd0dbdcb5ff06717176860fa7acbcc52105969da39642407798801cb2a7e2fd32d3ebfb345abe706
7
- data.tar.gz: 360caaecae0cbb7cadebf00e759a641acdf1f57beb5377993cb50ce1737ddba75b4bf8b0adb73814baddd8566aff687add4ad337918af1a74ba851e356c4fab5
6
+ metadata.gz: b5b7fdd9eda7006023a1ff9333e221d83f953aacd2201b3b7ae457db1c7e5c9e247375dc3f5cb97597046beb02d953f96779ffcaaccf22e9170a4573ee5f2ad9
7
+ data.tar.gz: b6b83e8afce37527addc7b318ab63ab396df9e96006f9c5c73ef9f9b76298c3d7d9dbe0b7d8b685e032b6b92232a030104d189276409096781ab7afc4509e61f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-triage (1.44.3)
4
+ gitlab-triage (1.44.4)
5
5
  activesupport (>= 5.1)
6
6
  globalid (~> 1.0, >= 1.0.1)
7
7
  graphql (< 2.1.0)
@@ -61,6 +61,16 @@ module Gitlab
61
61
  end
62
62
 
63
63
  def perform(resource, comment)
64
+ if network.options.debug
65
+ if policy.actions.fetch(:redact_confidential_resources, true) && resource[:confidential]
66
+ puts Gitlab::Triage::UI.debug "Comment action resource: (confidential)"
67
+ else
68
+ puts Gitlab::Triage::UI.debug "Comment action resource: #{resource.inspect}"
69
+ end
70
+
71
+ puts Gitlab::Triage::UI.debug "Comment action content: #{comment}"
72
+ end
73
+
64
74
  network.post_api(
65
75
  build_post_url(resource),
66
76
  post_body(comment))
@@ -79,7 +89,7 @@ module Gitlab
79
89
  # POST /(groups|projects)/:id/(epics|issues|merge_requests)/:iid/notes
80
90
  post_url = UrlBuilders::UrlBuilder.new(url_builder_opts).build
81
91
 
82
- puts Gitlab::Triage::UI.debug "post_url: #{post_url}" if network.options.debug
92
+ puts Gitlab::Triage::UI.debug "Comment action post_url: #{post_url}" if network.options.debug
83
93
 
84
94
  post_url
85
95
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module Triage
5
- VERSION = '1.44.3'
5
+ VERSION = '1.44.4'
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.3
4
+ version: 1.44.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport