ruboconf 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +6 -6
- data/Rakefile +1 -1
- data/cops/lint.yml +6 -0
- data/cops/style.yml +19 -0
- data/ruboconf.gemspec +13 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42f2c524683e99169f7085cefa2887cb378074b4f3758470111e5f79bb466765
|
4
|
+
data.tar.gz: 7a80c0071bf39dba9f562f800cc872bf6d4458f286c6c57c6969b80c57ef574c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122b167e6a6a4cd638819b8d1bacdba5902592b37e23a27f75d3f06d9abd456d45e5aa87119cb799537b0d55232b71551c0c29db16c6dd6fd2cd0f8c6a5f2e69
|
7
|
+
data.tar.gz: 2956ec6079c30e5859b613db8d748ad140caeb8ccc15ee0740c4b01378560e6b23fa06aebc5edeef35d5aad60f84773c4fa2367f58d178d4fb936b9ab8b8722e
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruboconf (1.
|
5
|
-
rubocop (~> 1.
|
4
|
+
ruboconf (1.16.0)
|
5
|
+
rubocop (~> 1.68.0)
|
6
6
|
rubocop-performance (~> 1.22.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ast (2.4.2)
|
12
|
-
json (2.
|
12
|
+
json (2.8.1)
|
13
13
|
language_server-protocol (3.17.0.3)
|
14
14
|
parallel (1.26.3)
|
15
|
-
parser (3.3.
|
15
|
+
parser (3.3.6.0)
|
16
16
|
ast (~> 2.4.1)
|
17
17
|
racc
|
18
18
|
racc (1.8.1)
|
19
19
|
rainbow (3.1.1)
|
20
20
|
rake (13.2.1)
|
21
21
|
regexp_parser (2.9.2)
|
22
|
-
rubocop (1.
|
22
|
+
rubocop (1.68.0)
|
23
23
|
json (~> 2.3)
|
24
24
|
language_server-protocol (>= 3.17.0)
|
25
25
|
parallel (~> 1.10)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
rubocop-ast (>= 1.32.2, < 2.0)
|
30
30
|
ruby-progressbar (~> 1.7)
|
31
31
|
unicode-display_width (>= 2.4.0, < 3.0)
|
32
|
-
rubocop-ast (1.
|
32
|
+
rubocop-ast (1.34.1)
|
33
33
|
parser (>= 3.3.1.0)
|
34
34
|
rubocop-performance (1.22.1)
|
35
35
|
rubocop (>= 1.48.1, < 2.0)
|
data/Rakefile
CHANGED
data/cops/lint.yml
CHANGED
@@ -25,6 +25,9 @@ Lint/DuplicateMatchPattern:
|
|
25
25
|
Lint/DuplicateRegexpCharacterClassElement:
|
26
26
|
Enabled: true
|
27
27
|
|
28
|
+
Lint/DuplicateSetElement:
|
29
|
+
Enabled: true
|
30
|
+
|
28
31
|
Lint/EmptyBlock:
|
29
32
|
Enabled: true
|
30
33
|
|
@@ -85,6 +88,9 @@ Lint/ToEnumArguments:
|
|
85
88
|
Lint/TripleQuotes:
|
86
89
|
Enabled: true
|
87
90
|
|
91
|
+
Lint/UnescapedBracketInRegexp:
|
92
|
+
Enabled: true
|
93
|
+
|
88
94
|
Lint/UnexpectedBlockArity:
|
89
95
|
Enabled: true
|
90
96
|
|
data/cops/style.yml
CHANGED
@@ -1,15 +1,24 @@
|
|
1
|
+
Style/AmbiguousEndlessMethodDefinition:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Style/ArgumentsForwarding:
|
2
5
|
Enabled: true
|
3
6
|
|
4
7
|
Style/ArrayIntersect:
|
5
8
|
Enabled: true
|
6
9
|
|
10
|
+
Style/BitwisePredicate:
|
11
|
+
Enabled: true
|
12
|
+
|
7
13
|
Style/ClassAndModuleChildren:
|
8
14
|
EnforcedStyle: compact
|
9
15
|
|
10
16
|
Style/CollectionCompact:
|
11
17
|
Enabled: true
|
12
18
|
|
19
|
+
Style/CombinableDefined:
|
20
|
+
Enabled: true
|
21
|
+
|
13
22
|
Style/ComparableClamp:
|
14
23
|
Enabled: true
|
15
24
|
|
@@ -82,6 +91,9 @@ Style/IfWithBooleanLiteralBranches:
|
|
82
91
|
Style/InPatternThen:
|
83
92
|
Enabled: false
|
84
93
|
|
94
|
+
Style/KeywordArgumentsMerging:
|
95
|
+
Enabled: true
|
96
|
+
|
85
97
|
Style/Lambda:
|
86
98
|
EnforcedStyle: literal
|
87
99
|
|
@@ -211,6 +223,9 @@ Style/RedundantStringEscape:
|
|
211
223
|
Style/ReturnNilInPredicateMethodDefinition:
|
212
224
|
Enabled: true
|
213
225
|
|
226
|
+
Style/SafeNavigationChainLength:
|
227
|
+
Enabled: false
|
228
|
+
|
214
229
|
Style/SelectByRegexp:
|
215
230
|
Enabled: true
|
216
231
|
|
@@ -223,6 +238,10 @@ Style/SingleLineDoEndBlock:
|
|
223
238
|
Style/StringChars:
|
224
239
|
Enabled: true
|
225
240
|
|
241
|
+
Style/StringLiterals:
|
242
|
+
Enabled: true
|
243
|
+
EnforcedStyle: double_quotes
|
244
|
+
|
226
245
|
Style/SuperArguments:
|
227
246
|
Enabled: true
|
228
247
|
|
data/ruboconf.gemspec
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.name =
|
5
|
-
spec.version =
|
6
|
-
spec.authors = [
|
7
|
-
spec.email = [
|
4
|
+
spec.name = "ruboconf"
|
5
|
+
spec.version = "1.16.0"
|
6
|
+
spec.authors = ["Richard Böhme"]
|
7
|
+
spec.email = ["richard.boehme1999@gmail.com"]
|
8
8
|
|
9
|
-
spec.summary =
|
10
|
-
spec.homepage =
|
11
|
-
spec.license =
|
12
|
-
spec.required_ruby_version =
|
9
|
+
spec.summary = "Opinionated Rubocop configuration for personal projects."
|
10
|
+
spec.homepage = "https://github.com/richardboehme/ruboconf"
|
11
|
+
spec.license = "MIT"
|
12
|
+
spec.required_ruby_version = ">= 2.6.0"
|
13
13
|
|
14
|
-
spec.metadata[
|
15
|
-
spec.metadata[
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
15
|
+
spec.metadata["source_code_uri"] = "https://github.com/richardboehme/ruboconf"
|
16
16
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.add_dependency
|
26
|
-
spec.add_dependency
|
27
|
-
spec.metadata[
|
25
|
+
spec.add_dependency "rubocop", "~> 1.68.0"
|
26
|
+
spec.add_dependency "rubocop-performance", "~> 1.22.0"
|
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.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Böhme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.68.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: 1.
|
26
|
+
version: 1.68.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|