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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/retag/image.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d08628d204433079ea7b5345a7ee74e0fcc9e2b9b06110383fc9002a238c392a
4
- data.tar.gz: 1a7e52183548f21bbb8019c07e5e0f13c98c56305d9ebe26a06218122a292566
3
+ metadata.gz: 1fd07472e038f5a50994e9241679de654f5a1176b8c059d4db7891401a453c45
4
+ data.tar.gz: b1de3ac8067b29fd11f4048f79cb47af12f97b7e0214cfe9f3b6c91cf7dbdd87
5
5
  SHA512:
6
- metadata.gz: 437fa7228f9cbeb0c1bb301471b81093fb90394874b4ac11849c4d5bf36e02c5866064cc5be10e9ea246171e74ca7e7ae24ace3f6f0ecd6a7b0ba0be7ce40764
7
- data.tar.gz: 7105927440b35adfe9014b4517fcce922f895df5e98aa8453fc83f83daac5e417d811a81514e645375a785d8c05d32879ea458bf9a68cae900490e1a48468a1c
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.290087
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-17 00:00:00.000000000 Z
11
+ date: 2025-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler