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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/mrm +4 -1
  3. data/lib/mrm/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc90b2fcb5f8c21c4a0b17bc248c553013d7f53f
4
- data.tar.gz: b80717c12431eb691b663a87c8ec23154f2c7267
3
+ metadata.gz: e51f22596f04786d51a4f4ad89563219bbba2eea
4
+ data.tar.gz: 8ac895e09de82683aea172395e2d960c7b09fe51
5
5
  SHA512:
6
- metadata.gz: f9e1c3710997f9bd295deb19c9b52dba8a04e319df5428a0ef342e26a79d64c49f39263b2791018b2212e99bba5dc955a9fa3206b22e3e5e8e995304c8187370
7
- data.tar.gz: 663b87b564ae4f16e551f34628da9284441664faacf353bd2d1d65d8e912743ed33e5ffec88ad4b584b469f98e9f22c316433c120e6d31d4f9a60a08d947552e
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
@@ -2,7 +2,7 @@ module MRM
2
2
  class Version
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- PATCH = 0
5
+ PATCH = 1
6
6
  PRE = nil
7
7
 
8
8
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam A. Gasanov