zypper-upgraderepo 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 3a8caa3e8ab4e192979bad508448e24a1e325071
4
- data.tar.gz: 3d4074c9eadcdd54a4b166babc84d443d02a282a
3
+ metadata.gz: 27e53665796d2910957b34e8669b7fad8a829487
4
+ data.tar.gz: 106b9d14dee4c7032db264d912d6b9d87aa3845e
5
5
  SHA512:
6
- metadata.gz: 5e1833af215af4721cc5a1adccf6810023d4ef1be9833755a6426af3ea6369dd37e76f271381d91676c6a58d752b035ad8bedb9750edb3e4aa0545abbf4fb1e2
7
- data.tar.gz: 24e783d3f201e9e1482071053e74126776f6ea404bb8114bf5c7ade1eb5c7f973b80e9aebe46c1d0d593468ac5d961e0a52040c918cc8f8da264b170557451f3
6
+ metadata.gz: 56913603985714e675afcf454dce13833ea4f2679703be415212fe1969e0882db81c2db6c6beea09cb1828d26ffcdc0186a969691c5d8c7ee9e2759ff562ec86
7
+ data.tar.gz: f578d00830d05996a4a34c13f83cd019fbd5f6ce97f59fd8c64e703a6af0833b83a8e0e123256310c80af3622f87a19485f6e83453c1b0bed784295bdb360a08
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zypper-upgraderepo (1.0.0)
4
+ zypper-upgraderepo (1.0.1)
5
5
  iniparse
6
6
  minitar
7
7
 
@@ -36,4 +36,4 @@ DEPENDENCIES
36
36
  zypper-upgraderepo!
37
37
 
38
38
  BUNDLED WITH
39
- 1.16.1
39
+ 1.16.2
@@ -30,18 +30,18 @@ module Zypper
30
30
 
31
31
  def self.error(e)
32
32
  if e.class == String
33
- puts '[E] '.bold.red + e
33
+ puts ' [E] '.bold.red + e
34
34
  else
35
35
  STDERR.puts 'Error! '.bold.red + e.message
36
36
  end
37
37
  end
38
38
 
39
39
  def self.ok(m)
40
- puts '[V] '.bold.green + m
40
+ puts ' [V] '.bold.green + m
41
41
  end
42
42
 
43
43
  def self.warning(m)
44
- puts '[W] '.bold.yellow + m
44
+ puts ' [W] '.bold.yellow + m
45
45
  end
46
46
 
47
47
  def self.available(num, name, url, max_col)
@@ -50,7 +50,7 @@ module Zypper
50
50
 
51
51
  def self.redirected(num, name, url, max_col, redirected)
52
52
  Messages.warning("| #{num.to_s.rjust(2)} | #{name.ljust(max_col, ' ')} | Redirection of #{url} ")
53
- puts "\t | #{ ' ' * max_col} | #{'To:'.bold.yellow} #{redirected}"
53
+ puts " #{' ' * 3} | #{' ' * 2} | #{ ' ' * max_col} | #{'To:'.bold.yellow} #{redirected}"
54
54
  end
55
55
 
56
56
  def self.not_found(num, name, url, max_col)
@@ -59,7 +59,7 @@ module Zypper
59
59
 
60
60
  def self.alternative(num, name, url, max_col, res)
61
61
  Messages.error("| #{num.to_s.rjust(2)} | #{name.ljust(max_col, ' ')} | #{res[:message].bold.yellow}")
62
- puts "\t | #{' ' * max_col} | #{res[:url]}" unless res[:url].to_s.empty?
62
+ puts " #{' ' * 3} | #{' ' * 2} | #{' ' * max_col} | #{res[:url]}" unless res[:url].to_s.empty?
63
63
  end
64
64
 
65
65
  def self.separator
@@ -67,8 +67,7 @@ module Zypper
67
67
  end
68
68
 
69
69
  def self.header(max_col)
70
- p max_col
71
- puts " St | # | #{'Name'.ljust(max_col, ' ')} | Hint"
70
+ puts " St. | # | #{'Name'.ljust(max_col, ' ')} | Hint"
72
71
  end
73
72
 
74
73
  def self.footer
@@ -1,5 +1,5 @@
1
1
  module Zypper
2
2
  module Upgraderepo
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -12,7 +12,17 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = %q{Zypper addon to check and upgrade local repositories.}
13
13
  spec.description = %q{This is just a complement to zypper command which helps to upgrade the local repositories before executing zypper dup.}
14
14
  spec.homepage = "https://github.com/fabiomux/zypper-upgraderepo"
15
- spec.license = "GPL v.3"
15
+ spec.license = "GPL-3.0"
16
+
17
+ spec.metadata = {
18
+ "bug_tracker_uri" => "https://github.com/fabiomux/zypper-upgraderepo/issues",
19
+ "changelog_uri" => "",
20
+ "documentation_uri" => "https://www.rubydoc.info/gems/zypper-upgraderepo/#{spec.version}",
21
+ "homepage_uri" => "https://github.com/fabiomux/zypper-upgraderepo",
22
+ "mailing_list_uri" => "",
23
+ "source_code_uri" => "https://github.com/fabiomux/zypper-upgraderepo",
24
+ "wiki_uri" => "https://github.com/fabiomux/zypper-upgraderepo/wiki"
25
+ }
16
26
 
17
27
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
28
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zypper-upgraderepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Mucciante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,8 +110,15 @@ files:
110
110
  - zypper-upgraderepo.gemspec
111
111
  homepage: https://github.com/fabiomux/zypper-upgraderepo
112
112
  licenses:
113
- - GPL v.3
114
- metadata: {}
113
+ - GPL-3.0
114
+ metadata:
115
+ bug_tracker_uri: https://github.com/fabiomux/zypper-upgraderepo/issues
116
+ changelog_uri: ''
117
+ documentation_uri: https://www.rubydoc.info/gems/zypper-upgraderepo/1.0.1
118
+ homepage_uri: https://github.com/fabiomux/zypper-upgraderepo
119
+ mailing_list_uri: ''
120
+ source_code_uri: https://github.com/fabiomux/zypper-upgraderepo
121
+ wiki_uri: https://github.com/fabiomux/zypper-upgraderepo/wiki
115
122
  post_install_message:
116
123
  rdoc_options: []
117
124
  require_paths: