uffizzi_core 2.0.5 → 2.0.6

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: f1065eeedad42eb66cc223f635c61871171ab68a30bcbf529601630f4cdd75ee
4
- data.tar.gz: 4d3a5120d1839a4bf944af27dfcbf501b5b616c909b57af247b9e528c3d4ae62
3
+ metadata.gz: 82e27d3cf9fd45288c139b3e2acba90d3470341063d68602099e64ecf235f410
4
+ data.tar.gz: ffae8ad407e52495acabd34f99ae6fddf75c2b0fcab476fbfeffd10b7b6180e3
5
5
  SHA512:
6
- metadata.gz: 3e0d2877db2d9c6931db243b3f98e47f71235acc288d47c05dd1e5a6841366f82c9ca07ce2958d3b5052869d7ca495089ac3d1da81d636dff2586dd1a21ab842
7
- data.tar.gz: eabdf9cd8a38a86640d3f25ca0ffc735adae9191b4508c50455d9a24e7d5441c762274033737dae4066060525e7f9953af656a0465cc7418d3d5a3ec324c6f52
6
+ metadata.gz: 65407a68888ca6929c857efe4f60bede294f3dea0e259c0587cfda025bcd538041c6dd1485e7eff33a9bff558d667ade81f329aa5aeaf8a186ef81069b9aeadf
7
+ data.tar.gz: 6cbb10ce36a6c3a01e048b24b3ad1317e4978afa9364e7d640656aad79629b0908decc17dcd8973870386cdd72d97507fda996d23af94d1b597f1f8df26be5ab
@@ -100,7 +100,8 @@ class UffizziCore::DeploymentService
100
100
  repo_name, pull_request_number = pull_request_data(deployment)
101
101
  raise UffizziCore::Deployment::LabelsNotFoundError if repo_name.nil? || pull_request_number.nil?
102
102
 
103
- subdomain = "pr-#{pull_request_number}-#{name(deployment)}-#{repo_name.downcase}"
103
+ formatted_repo_name = repo_name.split('/').last.downcase
104
+ subdomain = "pr-#{pull_request_number}-#{name(deployment)}-#{formatted_repo_name}"
104
105
  format_subdomain(subdomain)
105
106
  end
106
107
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.0.5'
4
+ VERSION = '2.0.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uffizzi_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman