scc-codestyle 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -0
- data/default.yml +23 -5
- data/lib/scc/codestyle/version.rb +1 -1
- data/scc-codestyle.gemspec +7 -5
- metadata +20 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2f993f20189571337bcde62d169fcbfcd34af4675112980ae7b62a149ede49c3
|
4
|
+
data.tar.gz: f78ba35a11665661c2f62897860cf9cd63612574df99ff0fbfb625188c7d986f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7108e27fa3cfa4acbb7fe70765e77263b2717ceb1e88c5c7dc54756b5bad5d959451edb37bb619836ebc64abc4298e8015aaee39901a99b8dfaa11787876aa05
|
7
|
+
data.tar.gz: c833086a40c04ff92b1033b9c588528351001576ad79645a11eba1446b1f2920213d1001adc837fd056de737505d5af8db24c1a66b23348348fcd7f55b5600cb
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.5.8
|
data/default.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.5
|
3
3
|
DisplayCopNames: true
|
4
4
|
DisplayStyleGuide: true
|
5
5
|
ExtraDetails: true
|
@@ -42,6 +42,12 @@ Bundler/OrderedGems:
|
|
42
42
|
Layout/SpaceAroundEqualsInParameterDefault:
|
43
43
|
Enabled: true
|
44
44
|
|
45
|
+
Style/RedundantCondition:
|
46
|
+
Enabled: true
|
47
|
+
|
48
|
+
Style/RedundantSort:
|
49
|
+
Enabled: true
|
50
|
+
|
45
51
|
Style/SignalException:
|
46
52
|
Enabled: false
|
47
53
|
|
@@ -159,6 +165,9 @@ Lint/LiteralAsCondition:
|
|
159
165
|
Lint/Loop:
|
160
166
|
Enabled: true
|
161
167
|
|
168
|
+
Lint/MissingCopEnableDirective:
|
169
|
+
Enabled: true
|
170
|
+
|
162
171
|
Lint/ParenthesesAsGroupedExpression:
|
163
172
|
Enabled: true
|
164
173
|
|
@@ -359,7 +368,7 @@ Style/TrailingCommaInArguments:
|
|
359
368
|
Style/TrivialAccessors:
|
360
369
|
Enabled: true
|
361
370
|
|
362
|
-
Layout/
|
371
|
+
Layout/IndentationStyle:
|
363
372
|
Enabled: true
|
364
373
|
|
365
374
|
Performance/StringReplacement:
|
@@ -574,10 +583,19 @@ RSpec/PredicateMatcher:
|
|
574
583
|
Enabled: false
|
575
584
|
|
576
585
|
RSpec/RepeatedDescription:
|
577
|
-
Enabled:
|
586
|
+
Enabled: true
|
578
587
|
|
579
588
|
RSpec/RepeatedExampleGroupBody:
|
580
|
-
Enabled:
|
589
|
+
Enabled: true
|
581
590
|
|
582
591
|
RSpec/RepeatedExampleGroupDescription:
|
583
|
-
Enabled:
|
592
|
+
Enabled: true
|
593
|
+
|
594
|
+
Style/HashEachMethods:
|
595
|
+
Enabled: false
|
596
|
+
|
597
|
+
Style/HashTransformKeys:
|
598
|
+
Enabled: true
|
599
|
+
|
600
|
+
Style/HashTransformValues:
|
601
|
+
Enabled: true
|
data/scc-codestyle.gemspec
CHANGED
@@ -9,6 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['SCC Team']
|
10
10
|
spec.email = ['scc@suse.com']
|
11
11
|
|
12
|
+
spec.required_ruby_version = '>= 2.5.0'
|
13
|
+
|
12
14
|
spec.summary = 'SCC style guides and shared style configs.'
|
13
15
|
spec.homepage = 'https://github.com/SUSE/scc-codestyle'
|
14
16
|
|
@@ -17,10 +19,10 @@ Gem::Specification.new do |spec|
|
|
17
19
|
end
|
18
20
|
spec.require_paths = ['lib']
|
19
21
|
|
20
|
-
spec.add_dependency 'rubocop', '0.
|
21
|
-
spec.add_dependency 'rubocop-performance', '1.
|
22
|
-
spec.add_dependency 'rubocop-rails', '2.
|
23
|
-
spec.add_dependency 'rubocop-rspec', '1.
|
24
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
22
|
+
spec.add_dependency 'rubocop', '0.86.0'
|
23
|
+
spec.add_dependency 'rubocop-performance', '1.6.1'
|
24
|
+
spec.add_dependency 'rubocop-rails', '2.6.0'
|
25
|
+
spec.add_dependency 'rubocop-rspec', '1.40.0'
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.17.3'
|
25
27
|
spec.add_development_dependency 'rake', '~> 12.3'
|
26
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scc-codestyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SCC Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.86.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.86.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.6.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.6.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.6.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.40.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.40.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.17.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.17.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '12.3'
|
97
|
-
description:
|
97
|
+
description:
|
98
98
|
email:
|
99
99
|
- scc@suse.com
|
100
100
|
executables: []
|
@@ -103,6 +103,7 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rubocop.yml"
|
106
|
+
- ".ruby-version"
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE
|
108
109
|
- README.md
|
@@ -115,7 +116,7 @@ homepage: https://github.com/SUSE/scc-codestyle
|
|
115
116
|
licenses:
|
116
117
|
- MIT
|
117
118
|
metadata: {}
|
118
|
-
post_install_message:
|
119
|
+
post_install_message:
|
119
120
|
rdoc_options: []
|
120
121
|
require_paths:
|
121
122
|
- lib
|
@@ -123,16 +124,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
124
|
requirements:
|
124
125
|
- - ">="
|
125
126
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
127
|
+
version: 2.5.0
|
127
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
129
|
requirements:
|
129
130
|
- - ">="
|
130
131
|
- !ruby/object:Gem::Version
|
131
132
|
version: '0'
|
132
133
|
requirements: []
|
133
|
-
rubyforge_project:
|
134
|
-
rubygems_version: 2.6.
|
135
|
-
signing_key:
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 2.7.6.2
|
136
|
+
signing_key:
|
136
137
|
specification_version: 4
|
137
138
|
summary: SCC style guides and shared style configs.
|
138
139
|
test_files: []
|