uffizzi_core 2.0.10 → 2.0.11

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: 5adcb84a6cf63bdf3be955bc45bfe6a48ec598fc3a85b7e41e077edc84e76714
4
- data.tar.gz: a506f8f518dab7d0988c3ee60030122c6edd38f6967fbe35aeeadb8522c097d0
3
+ metadata.gz: 87cdaba8e373d94f9cb26dc3dcb997d3a9fe03e6073b0ed9f051f01817d42888
4
+ data.tar.gz: cd4d760782ffdda75d6f03a61cc7c96df3bc369163444cf4b33d1c16d5b084aa
5
5
  SHA512:
6
- metadata.gz: 1a755bd0bf09c427bebcdf63ed0a3a07f11a679ddfa62f04fedb86c9513b5c4d0eef4ed6ded616c17c105d8047f21161d9bfe7237996a9c496e122fbb2b23988
7
- data.tar.gz: d99c280ca1bd18b82ea7705716d528ce82e8529e27c60dee9ed8dfddc7b95a0482165b4bd479ca0194005275ff8c33f14a71fd6a435cad73d894caaa6bcb0878
6
+ metadata.gz: 17e87a12097459db02a890b6a456a6f644bdb1aadb0843b2f6527e2f2c47b77bb5e180103035a2623047253b28656f8e868af7f5fa75d61a06ccb05327d3f4bd
7
+ data.tar.gz: 26ae9224028cf8e7f8fbc40697df8481fa8579407f11d44d26ca237395feaec42bfa5668e2a8643bfc14c33992b27dbc3ca3471859eb6fee5617ee70a0e8dda6
@@ -10,10 +10,11 @@ class UffizziCore::ComposeFile::Parsers::Services::ImageParserService
10
10
 
11
11
  tag = Settings.compose.default_tag if tag.blank?
12
12
 
13
- if url?(image_path)
14
- host, namespace, name = parse_image_url(image_path)
13
+ formatted_image_path = image_path.downcase
14
+ if url?(formatted_image_path)
15
+ host, namespace, name = parse_image_url(formatted_image_path)
15
16
  else
16
- namespace, name = parse_docker_hub_image(image_path)
17
+ namespace, name = parse_docker_hub_image(formatted_image_path)
17
18
  end
18
19
 
19
20
  {
@@ -31,7 +32,8 @@ class UffizziCore::ComposeFile::Parsers::Services::ImageParserService
31
32
  end
32
33
 
33
34
  def get_image_path_and_tag(value)
34
- image_path_parts = value.downcase.split(':')
35
+ image_path_parts = value.split(':')
36
+
35
37
  case image_path_parts.size
36
38
  when 1
37
39
  image_path_parts[0]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.0.10'
4
+ VERSION = '2.0.11'
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.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-11-21 00:00:00.000000000 Z
12
+ date: 2022-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm