gitlab_support_readiness 1.0.67 → 1.0.69

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a93a50395be5887b15ebb3cd94abc9274559e3a73727cb528b30c9e42dbf9da
4
- data.tar.gz: 932ce40bfe69ba488856f5fcb4b4f34ce194e14b982c7e221ddcc410858adb41
3
+ metadata.gz: b0cd25170ef9da86807d07143ec1a7c7aa1f910db8865954114181ce0eb25ad0
4
+ data.tar.gz: 00c4416cd82c9412778eec6fdb7f14cf06673a3bd4c2519fed1aa7e94de5d1e1
5
5
  SHA512:
6
- metadata.gz: 97ca67657388069f28799adf3641a05d310e2f9a73ee7f8a471b6c07575516d1efcb9231bebca2ae4216aa0520bd15456388a5a71e2a721acf4251c0272cc01d
7
- data.tar.gz: 0e026d5c4e0a5d916fab3d6cdab61f6432a2ec5b246e453cb0311f11398c7d5ce19b2ab1bb7b94e990f4813a7c650217eec0f94a787e03f9c4ff2d37bd6e6587
6
+ metadata.gz: f582150818de48409b01a84d5a6be353b43d3af17c46597a25bc369684aad141751878683ad4094983f680da5736a5c1e1b0cd57cde57734fd8100812ac60b14
7
+ data.tar.gz: 25f79021b16127c92f7c40f6f612a6ee83967261359ec3e4eb5b99ad465ee83084adb3a7a11196e772793f78537725340184089670a66c2fbbbc88fceb1d0d9f
@@ -186,8 +186,8 @@ module Readiness
186
186
  </p>
187
187
  <ul>
188
188
  <li>Subscription name: #{sub_name}</li>
189
- <li>cDot link: <a href='<%= @customer_link %>' target='_blank'>#{customer_link}</a></li>
190
- <li>GitLab.com namespace: <%= @namespace['path'] %></li>
189
+ <li>cDot link: <a href='#{customer_link}' target='_blank'>#{customer_link}</a></li>
190
+ <li>GitLab.com namespace: #{@namespace.path}</li>
191
191
  <li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_account_string(sfdc_account_link)}</li>
192
192
  <li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_chattr_string(chattr_link)}</li>
193
193
  <li>Number of seats waived/refunded: #{seats_waived}</li>
@@ -197,9 +197,13 @@ module Readiness
197
197
  sources.push('Bouncer') if custom_attributes.detect { |c| c['key'] == 'block_enacted_by' && c['value'] =~ /^bouncer\:/ }
198
198
  sources.push('Bouncer') if custom_attributes.detect { |c| c['key'] == 'ban_enacted_by' && c['value'] =~ /^bouncer\:/ }
199
199
  admin_check = custom_attributes.detect { |c| c['key'] == 'blocked_by' }
200
- sources.push(admin_check['value'].split('/').first) unless admin_check['value'] =~ /^service\-/
200
+ unless admin_check.nil?
201
+ sources.push(admin_check['value'].split('/').first) unless admin_check['value'] =~ /^service\-/
202
+ end
201
203
  autoban_check = custom_attributes.detect { |c| c['key'] == 'auto_banned_by' }
202
- sources.push(autoban_check['value']) unless autoban_check.nil?
204
+ unless autoban_check.nil?
205
+ sources.push(autoban_check['value']) unless autoban_check.nil?
206
+ end
203
207
  return 'Other (unknown)' if sources.uniq.compact.count.zero?
204
208
 
205
209
  sources.uniq.compact.join(', ')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_support_readiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.67
4
+ version: 1.0.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Colyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-06 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport