uffizzi_core 2.1.27 → 2.1.28
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 199b70f7baa08abad3e1a4595c101a2e11cc279631a102d37b35bb58268216f5
|
4
|
+
data.tar.gz: 9f5e8dd3fb26c70f121ceed61910fb9e8d42859fa37be439dbc5870d478e07cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 425ca8c99814856641da3bd891de18e147c2396541e267622bc22141dda7a7ab10c9722933819770b48685ecf4a5b3d262fddd2d4072569cb80428f1f328de8c
|
7
|
+
data.tar.gz: 4d3161046d57835c36b508415f9c897100a94d238f1274558b45830472fce0e5158ca4ce16bf2726798bba5d847ce6cab4918c648d420e56c833cc4f4810108e
|
@@ -34,6 +34,7 @@ class UffizziCore::DockerRegistryClient
|
|
34
34
|
def build_connection(username, password)
|
35
35
|
# initializing Faraday with the registry_url will trim the trailing slash required for the /v2/ request
|
36
36
|
connection = Faraday.new do |faraday|
|
37
|
+
faraday.headers['Accept'] = ACCEPTED_TYPES
|
37
38
|
faraday.request(:basic_auth, username, password) if username.present? && password.present?
|
38
39
|
faraday.request(:json)
|
39
40
|
faraday.response(:json)
|
data/lib/uffizzi_core/version.rb
CHANGED