ruboconf 1.10.0 → 1.11.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b230fb26f2ea43028bb6956a90d1c22cf5753c62a69b0188efcdc8534df7d522
4
- data.tar.gz: be7a1cd9654e53750bdbe05c2a97434494476644f2c426dfff9ec342f4e79ebb
3
+ metadata.gz: 672a78e1151d3d765a4dfe1d427cc58aa51d797a15adf9cc33169d26527ed5cc
4
+ data.tar.gz: cc73a3ef130a8349a7e4ebe9f258e26cce604078f5c18aa905b1c3b96c43e158
5
5
  SHA512:
6
- metadata.gz: 6a236f07bf70c1e39748ac535f20ee50dcf52ac4e6143c41f5ad9b0843cc4b2786c0893426066aa068b1f7c200c4b6e322b94e452a86ff2aa7e6d917eb6fb628
7
- data.tar.gz: 071c8eb225382a3c89102416e2a7a537fa9ee0f63711554c21a21c104fbc463bddc838f936ee8bbfceba55c2c6d7638ff95d1623c348f0d30b9123918853bc82
6
+ metadata.gz: 414a110be237bbe5834faf51d657507a3d73eae5ab3934fef51d3b01fc5c3d73abe39fd9df21111f6bdd7cacb30597f95b45f37a426a2ac717496314b3b4ef2b
7
+ data.tar.gz: 4de59a58664bd5b94240aa151f0b3935cfc41bfa6f227bceecc2d358ae11796e6a352c9798e633c69eb0520a2ebbc2ed508f6569fd6c5b4fb4696ded3bb44372
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.2.2
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ruboconf (1.10.0)
5
+ rubocop (~> 1.50)
6
+ rubocop-performance (~> 1.17)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ast (2.4.2)
12
+ json (2.6.3)
13
+ parallel (1.23.0)
14
+ parser (3.2.2.1)
15
+ ast (~> 2.4.1)
16
+ rainbow (3.1.1)
17
+ rake (13.0.6)
18
+ regexp_parser (2.8.0)
19
+ rexml (3.2.5)
20
+ rubocop (1.50.2)
21
+ json (~> 2.3)
22
+ parallel (~> 1.10)
23
+ parser (>= 3.2.0.0)
24
+ rainbow (>= 2.2.2, < 4.0)
25
+ regexp_parser (>= 1.8, < 3.0)
26
+ rexml (>= 3.2.5, < 4.0)
27
+ rubocop-ast (>= 1.28.0, < 2.0)
28
+ ruby-progressbar (~> 1.7)
29
+ unicode-display_width (>= 2.4.0, < 3.0)
30
+ rubocop-ast (1.28.0)
31
+ parser (>= 3.2.1.0)
32
+ rubocop-performance (1.17.1)
33
+ rubocop (>= 1.7.0, < 2.0)
34
+ rubocop-ast (>= 0.4.0)
35
+ ruby-progressbar (1.13.0)
36
+ unicode-display_width (2.4.2)
37
+
38
+ PLATFORMS
39
+ x86_64-linux
40
+
41
+ DEPENDENCIES
42
+ rake (~> 13.0)
43
+ ruboconf!
44
+
45
+ BUNDLED WITH
46
+ 2.3.26
data/cops/gemspec.yml CHANGED
@@ -3,3 +3,6 @@ Gemspec/DeprecatedAttributeAssignment:
3
3
 
4
4
  Gemspec/RequireMFA:
5
5
  Enabled: true
6
+
7
+ Gemspec/DevelopmentDependencies:
8
+ Enabled: true
data/cops/lint.yml CHANGED
@@ -16,6 +16,12 @@ Lint/DeprecatedConstants:
16
16
  Lint/DuplicateBranch:
17
17
  Enabled: true
18
18
 
19
+ Lint/DuplicateMagicComment:
20
+ Enabled: true
21
+
22
+ Lint/DuplicateMatchPattern:
23
+ Enabled: true
24
+
19
25
  Lint/DuplicateRegexpCharacterClassElement:
20
26
  Enabled: true
21
27
 
@@ -79,5 +85,8 @@ Lint/UnusedBlockArgument:
79
85
  Lint/UselessAssignment:
80
86
  Enabled: true
81
87
 
88
+ Lint/UselessRescue:
89
+ Enabled: true
90
+
82
91
  Lint/UselessRuby2Keywords:
83
92
  Enabled: true
data/cops/metrics.yml CHANGED
@@ -10,6 +10,9 @@ Metrics/BlockLength:
10
10
  Metrics/ClassLength:
11
11
  Max: 1000
12
12
 
13
+ Metrics/CollectionLiteralLength:
14
+ Enabled: true
15
+
13
16
  Metrics/CyclomaticComplexity:
14
17
  Enabled: false
15
18
 
data/cops/style.yml CHANGED
@@ -1,12 +1,27 @@
1
1
  Style/ArgumentsForwarding:
2
2
  Enabled: true
3
3
 
4
+ Style/ArrayIntersect:
5
+ Enabled: true
6
+
4
7
  Style/ClassAndModuleChildren:
5
8
  EnforcedStyle: compact
6
9
 
7
10
  Style/CollectionCompact:
8
11
  Enabled: true
9
12
 
13
+ Style/ComparableClamp:
14
+ Enabled: true
15
+
16
+ Style/ConcatArrayLiterals:
17
+ Enabled: true
18
+
19
+ Style/DataInheritance:
20
+ Enabled: true
21
+
22
+ Style/DirEmpty:
23
+ Enabled: true
24
+
10
25
  Style/Documentation:
11
26
  Enabled: false
12
27
 
@@ -28,6 +43,9 @@ Style/EnvHome:
28
43
  Style/FetchEnvVar:
29
44
  Enabled: true
30
45
 
46
+ Style/FileEmpty:
47
+ Enabled: true
48
+
31
49
  Style/FileRead:
32
50
  Enabled: true
33
51
 
@@ -76,6 +94,12 @@ Style/MapCompactWithConditionalBlock:
76
94
  Style/MapToHash:
77
95
  Enabled: true
78
96
 
97
+ Style/MapToSet:
98
+ Enabled: true
99
+
100
+ Style/MinMaxComparison:
101
+ Enabled: true
102
+
79
103
  Style/MultilineInPatternThen:
80
104
  Enabled: true
81
105
 
@@ -109,6 +133,9 @@ Style/ObjectThen:
109
133
  Style/OpenStructUse:
110
134
  Enabled: true
111
135
 
136
+ Style/OperatorMethodCall:
137
+ Enabled: true
138
+
112
139
  Style/PercentLiteralDelimiters:
113
140
  PreferredDelimiters:
114
141
  default: '()'
@@ -124,21 +151,39 @@ Style/QuotedSymbols:
124
151
  Style/RedundantArgument:
125
152
  Enabled: true
126
153
 
154
+ Style/RedundantConstantBase:
155
+ Enabled: true
156
+
157
+ Style/RedundantDoubleSplatHashBraces:
158
+ Enabled: true
159
+
160
+ Style/RedundantEach:
161
+ Enabled: true
162
+
127
163
  Style/RedundantFetchBlock:
128
164
  Enabled: true
129
165
 
130
166
  Style/RedundantFreeze:
131
167
  Enabled: true
132
168
 
169
+ Style/RedundantHeredocDelimiterQuotes:
170
+ Enabled: true
171
+
133
172
  Style/RedundantInitialize:
134
173
  Enabled: true
135
174
 
175
+ Style/RedundantLineContinuation:
176
+ Enabled: true
177
+
136
178
  Style/RedundantSelf:
137
179
  Enabled: true
138
180
 
139
181
  Style/RedundantSelfAssignmentBranch:
140
182
  Enabled: true
141
183
 
184
+ Style/RedundantStringEscape:
185
+ Enabled: true
186
+
142
187
  Style/SelectByRegexp:
143
188
  Enabled: true
144
189
 
data/ruboconf.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'ruboconf'
5
- spec.version = '1.10.0'
5
+ spec.version = '1.11.0'
6
6
  spec.authors = ['Richard Böhme']
7
7
  spec.email = ['richard.boehme1999@gmail.com']
8
8
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  end
23
23
  end
24
24
 
25
- spec.add_dependency 'rubocop', '~> 1.36.0'
26
- spec.add_dependency 'rubocop-performance', '~> 1.14.0'
25
+ spec.add_dependency 'rubocop', '~> 1.50'
26
+ spec.add_dependency 'rubocop-performance', '~> 1.17'
27
27
  spec.metadata['rubygems_mfa_required'] = 'true'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Böhme
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-23 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,37 +16,39 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.36.0
19
+ version: '1.50'
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: 1.36.0
26
+ version: '1.50'
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.14.0
33
+ version: '1.17'
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.14.0
41
- description:
40
+ version: '1.17'
41
+ description:
42
42
  email:
43
43
  - richard.boehme1999@gmail.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".tool-versions"
48
49
  - CODE_OF_CONDUCT.md
49
50
  - Gemfile
51
+ - Gemfile.lock
50
52
  - LICENSE.txt
51
53
  - README.md
52
54
  - Rakefile
@@ -69,7 +71,7 @@ metadata:
69
71
  homepage_uri: https://github.com/richardboehme/ruboconf
70
72
  source_code_uri: https://github.com/richardboehme/ruboconf
71
73
  rubygems_mfa_required: 'true'
72
- post_install_message:
74
+ post_install_message:
73
75
  rdoc_options: []
74
76
  require_paths:
75
77
  - lib
@@ -84,8 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
86
  - !ruby/object:Gem::Version
85
87
  version: '0'
86
88
  requirements: []
87
- rubygems_version: 3.3.7
88
- signing_key:
89
+ rubygems_version: 3.4.10
90
+ signing_key:
89
91
  specification_version: 4
90
92
  summary: Opinionated Rubocop configuration for personal projects.
91
93
  test_files: []