retag 0.2.2.290087 → 0.2.2.290986
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 +4 -4
- data/README.md +1 -1
- data/lib/retag/image.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd07472e038f5a50994e9241679de654f5a1176b8c059d4db7891401a453c45
|
4
|
+
data.tar.gz: b1de3ac8067b29fd11f4048f79cb47af12f97b7e0214cfe9f3b6c91cf7dbdd87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b3799e876129da7d3fbea66b964fd1f2d5e645f13062eafc322c04e0b2ca3f0d2235c1ec9bdc3e9b9168f4ef5bce77b09e5a05f619133d7bb7c0aaf1c3a7b6
|
7
|
+
data.tar.gz: 4e938a55a74e633369846afd64578e2e9fe197072d046597411aaa9966721008b3c6e1651804db2fea32706d122534c0e1aa10bb24a8be14c300713d94cc3106
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/retag`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data/lib/retag/image.rb
CHANGED
@@ -28,7 +28,7 @@ module Retag
|
|
28
28
|
|
29
29
|
Tempfile.create('manifest') do |file|
|
30
30
|
manifest = JSON.parse(cmd!("curl -s -u '#{dockerauth(uri.host)}' -H 'Accept: #{content_type}' '#{uri}/v2/#{repo}/manifests/#{tag}' -o -", capture: true).strip)
|
31
|
-
raise manifest.inspect unless manifest.dig('layers') || manifest.dig('config')
|
31
|
+
raise manifest.inspect unless manifest.dig('layers') || manifest.dig('config') || manifest.dig('manifests')
|
32
32
|
|
33
33
|
file.write(manifest.to_json)
|
34
34
|
file.flush
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: retag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.2.
|
4
|
+
version: 0.2.2.290986
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|