gitlab_support_readiness 1.0.63 → 1.0.64

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: e1e57174c750ee75156bc2a08ce18e44cb04cb5a9013362f1191e5d98f96cd87
4
- data.tar.gz: '08344544702bc9135a6fe7566263d1c3a41fcc45fe821e2b1b887800ab196d20'
3
+ metadata.gz: 37103ba6b2b5b0da5927de56d8b8c5af2340d9db6e00f19df569f909efcb8734
4
+ data.tar.gz: c7eb9093306155290df97a2609d531767dccc079ddacebf94c2ac05259287bb8
5
5
  SHA512:
6
- metadata.gz: 4749188c898198a2e94a2e0c4cf565d13c634d22f6b7796882beb931fac9e7ea5ec6e777d3958723805a7d7ac29050491415791a0b169e06931fab0830297bb3
7
- data.tar.gz: f44809e58873b9128762eff888312ddeb54e33e86dd697085aba7f37f2d03afe90f4670adb0218dfad20315a7dc34ebbe8ead384b79bdf4d9114d7291e7a81c5
6
+ metadata.gz: 2e3e09c09efaa56732fb6f48ebddadb70964d3315e8d3bb88643b5b63319806b9b12d87f545d14d94cbbcb31570d4d4952c159b0d9eb7100a4434667a8c82240
7
+ data.tar.gz: bdd10f86a80025a655bd96065ffde08cba5c42afcd7f31cac317b413c97f22c32f60c2771028b159b1f20f83d803f8668780bef42caa07c0a6cad117522e026d
@@ -1068,10 +1068,7 @@ module Readiness
1068
1068
  end
1069
1069
 
1070
1070
  def self.sfdc_links(sfdc_id)
1071
- [
1072
- "<https://gitlab.my.salesforce.com/#{sfdc_id}|Classic>",
1073
- "<https://gitlab.lightning.force.com/lightning/r/Account/#{sfdc_id}/view|Lightning>"
1074
- ].join(' | ')
1071
+ "<https://gitlab.lightning.force.com/lightning/r/Account/#{sfdc_id}/view|#{sfdc_id}>"
1075
1072
  end
1076
1073
 
1077
1074
  def self.global_slack_message(org)
@@ -216,8 +216,8 @@ module Readiness
216
216
  A request has been filed to enable US Government Support for a SFDC account. The details are as follows:
217
217
 
218
218
  - Requester: @#{requester.username}
219
- - SFDC Account: [#{account.Account_ID_18__c}](https://gitlab.my.salesforce.com/#{account.Account_ID_18__c})
220
- - SFDC Opportunity: [#{opportunity.Account_ID_18__c}](https://gitlab.my.salesforce.com/#{opportunity.Account_ID_18__c})
219
+ - SFDC Account: [#{account.Account_ID_18__c}](https://gitlab.lightning.force.com/lightning/r/Account/#{account.Account_ID_18__c}/view)
220
+ - SFDC Opportunity: [#{opportunity.Id}](https://gitlab.lightning.force.com/lightning/r/Opportunity/#{opportunity.Id}/view)
221
221
  - Product Charges on SFDC account:
222
222
  #{account.Zuora__R00N40000001lGjTEAU__r.map { |r| " - #{r.Name}" }.join("\n")}
223
223
 
@@ -476,9 +476,8 @@ module Readiness
476
476
  else
477
477
  link.split('/').last
478
478
  end
479
- classic = "<a href='https://gitlab.my.salesforce.com/#{id}' target='_blank'>Classic</a>"
480
- lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/Account/#{id}/view' target='_blank'>Lightning</a>"
481
- "SFDC Account: #{id} (#{classic} | #{lightning})"
479
+ lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/Account/#{id}/view' target='_blank'>#{id}</a>"
480
+ "SFDC Account: #{lightning}"
482
481
  end
483
482
 
484
483
  def self.sfdc_opportunity_string(link)
@@ -487,9 +486,8 @@ module Readiness
487
486
  else
488
487
  link.split('/').last
489
488
  end
490
- classic = "<a href='https://gitlab.my.salesforce.com/#{id}' target='_blank'>Classic</a>"
491
- lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/Opportunity/#{id}/view' target='_blank'>Lightning</a>"
492
- "SFDC Opportunity: #{id} (#{classic} | #{lightning})"
489
+ lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/Opportunity/#{id}/view' target='_blank'>#{id}</a>"
490
+ "SFDC Opportunity: #{lightning}"
493
491
  end
494
492
 
495
493
  def self.sfdc_upload_string(link)
@@ -498,9 +496,8 @@ module Readiness
498
496
  else
499
497
  link.split('/').last
500
498
  end
501
- classic = "<a href='https://gitlab.my.salesforce.com/#{id}' target='_blank'>Classic</a>"
502
- lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/ContentDocument/#{id}/view' target='_blank'>Lightning</a>"
503
- "Customer verification proof: #{id} (#{classic} | #{lightning})"
499
+ lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/ContentDocument/#{id}/view' target='_blank'>#{id}</a>"
500
+ "Customer verification proof: #{lightning}"
504
501
  end
505
502
 
506
503
  def self.sfdc_chattr_string(link)
@@ -509,9 +506,8 @@ module Readiness
509
506
  else
510
507
  link.split('/').last
511
508
  end
512
- classic = "<a href='https://gitlab.my.salesforce.com/#{id}' target='_blank'>Classic</a>"
513
- lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/#{id}/view' target='_blank'>Lightning</a>"
514
- "Chattr link containing approval: #{id} (#{classic} | #{lightning})"
509
+ lightning = "<a href='https://gitlab.lightning.force.com/lightning/r/#{id}/view' target='_blank'>#{id}</a>"
510
+ "Chattr link containing approval: #{lightning}"
515
511
  end
516
512
  end
517
513
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_support_readiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.63
4
+ version: 1.0.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Colyer