zypper-onlinesearch 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +81 -0
- data/Gemfile +12 -2
- data/Gemfile.lock +36 -5
- data/LICENSE +674 -0
- data/README.md +8 -104
- data/Rakefile +7 -1
- data/lib/zypper/onlinesearch/cache.rb +20 -23
- data/lib/zypper/onlinesearch/cli.rb +63 -61
- data/lib/zypper/onlinesearch/data.rb +116 -106
- data/lib/zypper/onlinesearch/release.rb +13 -12
- data/lib/zypper/onlinesearch/request.rb +62 -54
- data/lib/zypper/onlinesearch/utils.rb +64 -26
- data/lib/zypper/onlinesearch/version.rb +3 -1
- data/lib/zypper/onlinesearch/view.rb +188 -155
- data/lib/zypper/onlinesearch.rb +69 -90
- data/zypper-onlinesearch.gemspec +20 -23
- metadata +12 -56
- data/.gitignore +0 -11
- data/.travis.yml +0 -5
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af6b4d7672dcf163e247990a46a45e8efb97e2c2f9d0c19961c47318ffdff3e3
|
4
|
+
data.tar.gz: ebe1325d09622460d20e74dbb0b43d35fc224f8d84c0804f5f0ca68e7885175b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f74f1acbf8571d43f1b78db4d915f5554e7e972c92ede45ec2763e038191ffadee31caf02c8eb34f3434ea750ee2ce95dbe509a34f5d85439891c9b052900d2a
|
7
|
+
data.tar.gz: 7044fb20918791d7931f8892f1c3e834acf81015dfc8de93b3ba8478884a15c762498b7d84454eb398a22ac360bbc3b442cc2d8b138b415a9a77dfac223ed524
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.6
|
3
|
+
NewCops: enable
|
4
|
+
SuggestExtensions: false
|
5
|
+
Exclude:
|
6
|
+
- './lib/**/_OLD/**'
|
7
|
+
- 'vendor/**/*'
|
8
|
+
|
9
|
+
Style/ClassVars:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Style/StringLiterals:
|
13
|
+
Enabled: true
|
14
|
+
EnforcedStyle: double_quotes
|
15
|
+
|
16
|
+
Style/StringLiteralsInInterpolation:
|
17
|
+
Enabled: true
|
18
|
+
EnforcedStyle: double_quotes
|
19
|
+
|
20
|
+
Layout/LineLength:
|
21
|
+
Max: 120
|
22
|
+
|
23
|
+
Naming/FileName:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
Metrics/MethodLength:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
Metrics/AbcSize:
|
30
|
+
Enabled: false
|
31
|
+
|
32
|
+
Lint/DuplicateBranch:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
Metrics/ClassLength:
|
36
|
+
Enabled: true
|
37
|
+
Exclude:
|
38
|
+
- './lib/**/cli.rb'
|
39
|
+
- './lib/**/onlinesearch.rb'
|
40
|
+
|
41
|
+
Metrics/BlockLength:
|
42
|
+
Enabled: true
|
43
|
+
Exclude:
|
44
|
+
- './lib/**/cli.rb'
|
45
|
+
- './lib/**/onlinesearch.rb'
|
46
|
+
|
47
|
+
Metrics/PerceivedComplexity:
|
48
|
+
Enabled: true
|
49
|
+
Exclude:
|
50
|
+
- './lib/**/onlinesearch.rb'
|
51
|
+
- './lib/**/data.rb'
|
52
|
+
|
53
|
+
Metrics/CyclomaticComplexity:
|
54
|
+
Enabled: true
|
55
|
+
Exclude:
|
56
|
+
- './lib/**/onlinesearch.rb'
|
57
|
+
- './lib/**/data.rb'
|
58
|
+
|
59
|
+
Lint/UriEscapeUnescape:
|
60
|
+
Enabled: false
|
61
|
+
|
62
|
+
Metrics/ParameterLists:
|
63
|
+
Enabled: true
|
64
|
+
Exclude:
|
65
|
+
- './lib/**/data.rb'
|
66
|
+
|
67
|
+
Security/MarshalLoad:
|
68
|
+
Enabled: true
|
69
|
+
Exclude:
|
70
|
+
- './lib/**/cache.rb'
|
71
|
+
|
72
|
+
Style/SingleLineMethods:
|
73
|
+
Enabled: true
|
74
|
+
Exclude:
|
75
|
+
- './lib/**/utils.rb'
|
76
|
+
|
77
|
+
Style/FrozenStringLiteralComment:
|
78
|
+
Enabled: true
|
79
|
+
Exclude:
|
80
|
+
- './bin/*'
|
81
|
+
- './exe/*'
|
data/Gemfile
CHANGED
@@ -1,6 +1,16 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source "https://rubygems.org"
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in zypper-onlinesearch.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
gem "rake", "~> 13.0"
|
9
|
+
|
10
|
+
gem "rspec", "~> 3.0"
|
11
|
+
|
12
|
+
gem "rubocop", "~> 1.21"
|
13
|
+
|
14
|
+
gem "rubocop-rake", "~> 0.6.0"
|
15
|
+
|
16
|
+
gem "rubocop-rspec", "~> 2.18"
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,29 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
zypper-onlinesearch (1.
|
4
|
+
zypper-onlinesearch (1.1.0)
|
5
5
|
iniparse
|
6
6
|
nokogiri
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
+
ast (2.4.2)
|
11
12
|
diff-lcs (1.5.0)
|
12
13
|
iniparse (1.5.0)
|
14
|
+
json (2.6.3)
|
13
15
|
mini_portile2 (2.8.1)
|
14
16
|
nokogiri (1.13.10)
|
15
17
|
mini_portile2 (~> 2.8.0)
|
16
18
|
racc (~> 1.4)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.2.1.1)
|
21
|
+
ast (~> 2.4.1)
|
17
22
|
racc (1.6.2)
|
18
|
-
|
23
|
+
rainbow (3.1.1)
|
24
|
+
rake (13.0.6)
|
25
|
+
regexp_parser (2.7.0)
|
26
|
+
rexml (3.2.5)
|
19
27
|
rspec (3.12.0)
|
20
28
|
rspec-core (~> 3.12.0)
|
21
29
|
rspec-expectations (~> 3.12.0)
|
@@ -25,18 +33,41 @@ GEM
|
|
25
33
|
rspec-expectations (3.12.2)
|
26
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
27
35
|
rspec-support (~> 3.12.0)
|
28
|
-
rspec-mocks (3.12.
|
36
|
+
rspec-mocks (3.12.4)
|
29
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
30
38
|
rspec-support (~> 3.12.0)
|
31
39
|
rspec-support (3.12.0)
|
40
|
+
rubocop (1.48.1)
|
41
|
+
json (~> 2.3)
|
42
|
+
parallel (~> 1.10)
|
43
|
+
parser (>= 3.2.0.0)
|
44
|
+
rainbow (>= 2.2.2, < 4.0)
|
45
|
+
regexp_parser (>= 1.8, < 3.0)
|
46
|
+
rexml (>= 3.2.5, < 4.0)
|
47
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
48
|
+
ruby-progressbar (~> 1.7)
|
49
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
50
|
+
rubocop-ast (1.27.0)
|
51
|
+
parser (>= 3.2.1.0)
|
52
|
+
rubocop-capybara (2.17.1)
|
53
|
+
rubocop (~> 1.41)
|
54
|
+
rubocop-rake (0.6.0)
|
55
|
+
rubocop (~> 1.0)
|
56
|
+
rubocop-rspec (2.19.0)
|
57
|
+
rubocop (~> 1.33)
|
58
|
+
rubocop-capybara (~> 2.17)
|
59
|
+
ruby-progressbar (1.13.0)
|
60
|
+
unicode-display_width (2.4.2)
|
32
61
|
|
33
62
|
PLATFORMS
|
34
63
|
ruby
|
35
64
|
|
36
65
|
DEPENDENCIES
|
37
|
-
|
38
|
-
rake (~> 12.0)
|
66
|
+
rake (~> 13.0)
|
39
67
|
rspec (~> 3.0)
|
68
|
+
rubocop (~> 1.21)
|
69
|
+
rubocop-rake (~> 0.6.0)
|
70
|
+
rubocop-rspec (~> 2.18)
|
40
71
|
zypper-onlinesearch!
|
41
72
|
|
42
73
|
BUNDLED WITH
|