mrm 1.3.0 → 1.3.1
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/bin/mrm +4 -1
- data/lib/mrm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e51f22596f04786d51a4f4ad89563219bbba2eea
|
|
4
|
+
data.tar.gz: 8ac895e09de82683aea172395e2d960c7b09fe51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 808bde89576470c72f6c2765798cab6b29f2050e1fcd781665612d226f8c5acdf3836448f74d9f87d863834c7600c5576f85ab7a30e8989e01d7de6880b07351
|
|
7
|
+
data.tar.gz: 6ba17cb1dc12a6d2a203cb8504adaca355ef753616551b10d324b72019c9c25ed64c10e76e5da9d3ed056f513dbed08a16ba5c2a8525d85a10ca476d5a42e313
|
data/bin/mrm
CHANGED
|
@@ -40,7 +40,6 @@ if !File.file?("#{Dir.home}/.mrmconfig") && ARGV[0] != 'config'
|
|
|
40
40
|
abort
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
client = MRM::Client.new
|
|
44
43
|
case ARGV[0]
|
|
45
44
|
when 'config'
|
|
46
45
|
print 'Registry url(ex: https://registry.example.com): '
|
|
@@ -51,14 +50,18 @@ when 'config'
|
|
|
51
50
|
password = STDIN.noecho(&:gets).strip
|
|
52
51
|
MRM::ConfigStorage.new(url, login, password).store!
|
|
53
52
|
when 'check'
|
|
53
|
+
client = MRM::Client.new
|
|
54
54
|
client.version_check
|
|
55
55
|
when 'delete'
|
|
56
56
|
puts 'Wrong number of arguments' if ARGV[1].nil? || ARGV[2].nil?
|
|
57
|
+
client = MRM::Client.new
|
|
57
58
|
client.delete_image(ARGV[1], ARGV[2])
|
|
58
59
|
when 'get'
|
|
59
60
|
puts 'Wrong number of arguments' if ARGV[1].nil? || ARGV[2].nil?
|
|
61
|
+
client = MRM::Client.new
|
|
60
62
|
client.get_manifest(ARGV[1], ARGV[2])
|
|
61
63
|
when 'list'
|
|
64
|
+
client = MRM::Client.new
|
|
62
65
|
if ARGV[1].nil?
|
|
63
66
|
client.list_repositories
|
|
64
67
|
else
|
data/lib/mrm/version.rb
CHANGED