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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/zypper/upgraderepo/utils.rb +6 -7
- data/lib/zypper/upgraderepo/version.rb +1 -1
- data/zypper-upgraderepo.gemspec +11 -1
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27e53665796d2910957b34e8669b7fad8a829487
|
4
|
+
data.tar.gz: 106b9d14dee4c7032db264d912d6b9d87aa3845e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56913603985714e675afcf454dce13833ea4f2679703be415212fe1969e0882db81c2db6c6beea09cb1828d26ffcdc0186a969691c5d8c7ee9e2759ff562ec86
|
7
|
+
data.tar.gz: f578d00830d05996a4a34c13f83cd019fbd5f6ce97f59fd8c64e703a6af0833b83a8e0e123256310c80af3622f87a19485f6e83453c1b0bed784295bdb360a08
|
data/Gemfile.lock
CHANGED
@@ -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 "
|
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 "
|
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
|
-
|
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
|
data/zypper-upgraderepo.gemspec
CHANGED
@@ -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
|
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.
|
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-
|
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
|
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:
|