ruboconf 1.14.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e9822a5fc5e8b576480a4e473891f7a8edf0affd2090d43e33e38911dc5ce11
4
- data.tar.gz: b3a41fe501886e24b3b7f43f9a803cd04b24b751bdc2678b966fbbb31a5730a1
3
+ metadata.gz: 42f2c524683e99169f7085cefa2887cb378074b4f3758470111e5f79bb466765
4
+ data.tar.gz: 7a80c0071bf39dba9f562f800cc872bf6d4458f286c6c57c6969b80c57ef574c
5
5
  SHA512:
6
- metadata.gz: c194aab2724454486ddc58a284bb64fff4cf8cd318b9cccff883e8ecaf109502a29a0e1b1329baf41efe997f5e950da05c7a5f01f7cddb99989d494541f7db5d
7
- data.tar.gz: f0c19cd502c1b4f97d7c5290a7a3c0570ed85e3116c5694baee5037ba3173112ab47dcd852f88d594b4477c42c6ba6996ef1c200f9c8755703fb97dec44f246b
6
+ metadata.gz: 122b167e6a6a4cd638819b8d1bacdba5902592b37e23a27f75d3f06d9abd456d45e5aa87119cb799537b0d55232b71551c0c29db16c6dd6fd2cd0f8c6a5f2e69
7
+ data.tar.gz: 2956ec6079c30e5859b613db8d748ad140caeb8ccc15ee0740c4b01378560e6b23fa06aebc5edeef35d5aad60f84773c4fa2367f58d178d4fb936b9ab8b8722e
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- source 'https://rubygems.org'
3
+ source "https://rubygems.org"
4
4
 
5
5
  # Specify your gem's dependencies in ruboconf.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rake', '~> 13.0'
8
+ gem "rake", "~> 13.2"
data/Gemfile.lock CHANGED
@@ -1,49 +1,47 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruboconf (1.14.0)
5
- rubocop (~> 1.61.0)
6
- rubocop-performance (~> 1.20.0)
4
+ ruboconf (1.16.0)
5
+ rubocop (~> 1.68.0)
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.7.1)
12
+ json (2.8.1)
13
13
  language_server-protocol (3.17.0.3)
14
- parallel (1.24.0)
15
- parser (3.3.0.5)
14
+ parallel (1.26.3)
15
+ parser (3.3.6.0)
16
16
  ast (~> 2.4.1)
17
17
  racc
18
- racc (1.7.3)
18
+ racc (1.8.1)
19
19
  rainbow (3.1.1)
20
- rake (13.0.6)
21
- regexp_parser (2.9.0)
22
- rexml (3.2.6)
23
- rubocop (1.61.0)
20
+ rake (13.2.1)
21
+ regexp_parser (2.9.2)
22
+ rubocop (1.68.0)
24
23
  json (~> 2.3)
25
24
  language_server-protocol (>= 3.17.0)
26
25
  parallel (~> 1.10)
27
26
  parser (>= 3.3.0.2)
28
27
  rainbow (>= 2.2.2, < 4.0)
29
- regexp_parser (>= 1.8, < 3.0)
30
- rexml (>= 3.2.5, < 4.0)
31
- rubocop-ast (>= 1.30.0, < 2.0)
28
+ regexp_parser (>= 2.4, < 3.0)
29
+ rubocop-ast (>= 1.32.2, < 2.0)
32
30
  ruby-progressbar (~> 1.7)
33
31
  unicode-display_width (>= 2.4.0, < 3.0)
34
- rubocop-ast (1.31.1)
35
- parser (>= 3.3.0.4)
36
- rubocop-performance (1.20.2)
32
+ rubocop-ast (1.34.1)
33
+ parser (>= 3.3.1.0)
34
+ rubocop-performance (1.22.1)
37
35
  rubocop (>= 1.48.1, < 2.0)
38
- rubocop-ast (>= 1.30.0, < 2.0)
36
+ rubocop-ast (>= 1.31.1, < 2.0)
39
37
  ruby-progressbar (1.13.0)
40
- unicode-display_width (2.5.0)
38
+ unicode-display_width (2.6.0)
41
39
 
42
40
  PLATFORMS
43
41
  x86_64-linux
44
42
 
45
43
  DEPENDENCIES
46
- rake (~> 13.0)
44
+ rake (~> 13.2)
47
45
  ruboconf!
48
46
 
49
47
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
3
+ require "bundler/gem_tasks"
data/cops/gemspec.yml CHANGED
@@ -1,3 +1,6 @@
1
+ Gemspec/AddRuntimeDependency:
2
+ Enabled: true
3
+
1
4
  Gemspec/DeprecatedAttributeAssignment:
2
5
  Enabled: true
3
6
 
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
 
@@ -97,6 +103,9 @@ Lint/UnusedBlockArgument:
97
103
  Lint/UselessAssignment:
98
104
  Enabled: true
99
105
 
106
+ Lint/UselessNumericOperation:
107
+ Enabled: true
108
+
100
109
  Lint/UselessRescue:
101
110
  Enabled: true
102
111
 
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
 
@@ -94,6 +106,9 @@ Style/MagicCommentFormat:
94
106
  Style/MapCompactWithConditionalBlock:
95
107
  Enabled: true
96
108
 
109
+ Style/MapIntoArray:
110
+ Enabled: true
111
+
97
112
  Style/MapToHash:
98
113
  Enabled: true
99
114
 
@@ -184,6 +199,9 @@ Style/RedundantHeredocDelimiterQuotes:
184
199
  Style/RedundantInitialize:
185
200
  Enabled: true
186
201
 
202
+ Style/RedundantInterpolationUnfreeze:
203
+ Enabled: true
204
+
187
205
  Style/RedundantLineContinuation:
188
206
  Enabled: true
189
207
 
@@ -205,15 +223,28 @@ Style/RedundantStringEscape:
205
223
  Style/ReturnNilInPredicateMethodDefinition:
206
224
  Enabled: true
207
225
 
226
+ Style/SafeNavigationChainLength:
227
+ Enabled: false
228
+
208
229
  Style/SelectByRegexp:
209
230
  Enabled: true
210
231
 
232
+ Style/SendWithLiteralMethodName:
233
+ Enabled: true
234
+
211
235
  Style/SingleLineDoEndBlock:
212
236
  Enabled: true
213
237
 
214
238
  Style/StringChars:
215
239
  Enabled: true
216
240
 
241
+ Style/StringLiterals:
242
+ Enabled: true
243
+ EnforcedStyle: double_quotes
244
+
245
+ Style/SuperArguments:
246
+ Enabled: true
247
+
217
248
  Style/SuperWithArgsParentheses:
218
249
  Enabled: true
219
250
 
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 = 'ruboconf'
5
- spec.version = '1.14.0'
6
- spec.authors = ['Richard Böhme']
7
- spec.email = ['richard.boehme1999@gmail.com']
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 = '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'
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['homepage_uri'] = spec.homepage
15
- spec.metadata['source_code_uri'] = 'https://github.com/richardboehme/ruboconf'
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 'rubocop', '~> 1.61.0'
26
- spec.add_dependency 'rubocop-performance', '~> 1.20.0'
27
- spec.metadata['rubygems_mfa_required'] = 'true'
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.14.0
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-03-01 00:00:00.000000000 Z
11
+ date: 2024-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.61.0
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.61.0
26
+ version: 1.68.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.20.0
33
+ version: 1.22.0
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.20.0
40
+ version: 1.22.0
41
41
  description:
42
42
  email:
43
43
  - richard.boehme1999@gmail.com