ruboconf 1.3.0 → 1.4.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: 8b1b27a180bc219763425a9c47d2bc4ba7c560eed6ecaf4d184876c4a67f302b
4
- data.tar.gz: c4b5c0d6f8b14b8f1784e530b672d774f50094d6307f0c4d5a3dc90da85d6008
3
+ metadata.gz: 622bd16a3f5f6792227219315bf7b11be7bc4a7a69777df1579461c90b1e021f
4
+ data.tar.gz: 747efd31967630506186abe11c8f5fc3ed14262ba7de2009adb84db1c3f12891
5
5
  SHA512:
6
- metadata.gz: 351998c9ce120ece0e37b79d71cbb15a026e2e915d85648e97c5cacfed5a399b33a32d6067298a300a443e0c846d04c311074ec9dc71c7147880be0ef4548e26
7
- data.tar.gz: 71aaf9d51803a2aeeaea827a9e248cc9b7f60cdd51438bf19a66a2aac32ad9b40c7a3b843e96cd0d5b4395dc3eba9c5dda6858e46fc4bdd734cce4a3cdcede71
6
+ metadata.gz: a8679aaae6010149f6e1fb669378ecd7f3af67288dafe0dde13c785b638ad24dcad3cd600e891f1e441059b7ed131294f39d394b1c38dcb3b9d81d3b7e6ef5aa
7
+ data.tar.gz: c324ea02b81fb83bde2926b2256d4c9e45d779a7c464c33272a6172ad408ae232db76c76293b1764b04052db6373849b5ff247c9cac2dbfcad687434b5c08734
data/cops/gemspec.yml CHANGED
@@ -1,4 +1,4 @@
1
- Gemspec/DateAssignment:
1
+ Gemspec/DeprecatedAttributeAssignment:
2
2
  Enabled: true
3
3
 
4
4
  Gemspec/RequireMFA:
data/cops/layout.yml CHANGED
@@ -24,6 +24,12 @@ Layout/ExtraSpacing:
24
24
  Layout/FirstArgumentIndentation:
25
25
  Enabled: true
26
26
 
27
+ Layout/LineContinuationLeadingSpace:
28
+ Enabled: true
29
+
30
+ Layout/LineContinuationSpacing:
31
+ Enabled: true
32
+
27
33
  Layout/LineEndStringConcatenationIndentation:
28
34
  Enabled: true
29
35
 
data/cops/lint.yml CHANGED
@@ -7,6 +7,9 @@ Lint/AmbiguousOperatorPrecedence:
7
7
  Lint/AmbiguousRange:
8
8
  Enabled: true
9
9
 
10
+ Lint/ConstantOverwrittenInRescue:
11
+ Enabled: true
12
+
10
13
  Lint/DeprecatedConstants:
11
14
  Enabled: true
12
15
 
@@ -34,6 +37,9 @@ Lint/LambdaWithoutLiteralBlock:
34
37
  Lint/NoReturnInBeginEndBlocks:
35
38
  Enabled: true
36
39
 
40
+ Lint/NonAtomicFileOperation:
41
+ Enabled: true
42
+
37
43
  Lint/NumberedParameterAssignment:
38
44
  Enabled: true
39
45
 
@@ -43,6 +49,12 @@ Lint/OrAssignmentToConstant:
43
49
  Lint/RedundantDirGlobSort:
44
50
  Enabled: true
45
51
 
52
+ Lint/RefinementImportMethods:
53
+ Enabled: true
54
+
55
+ Lint/RequireRangeParentheses:
56
+ Enabled: true
57
+
46
58
  Lint/RequireRelativeSelfPath:
47
59
  Enabled: true
48
60
 
data/cops/security.yml CHANGED
@@ -1,2 +1,5 @@
1
+ Security/CompoundHash:
2
+ Enabled: true
3
+
1
4
  Security/IoMethods:
2
5
  Enabled: true
data/cops/style.yml CHANGED
@@ -13,12 +13,21 @@ Style/Documentation:
13
13
  Style/DocumentDynamicEvalDefinition:
14
14
  Enabled: true
15
15
 
16
+ Style/EmptyHeredoc:
17
+ Enabled: true
18
+
16
19
  Style/EmptyMethod:
17
20
  EnforcedStyle: expanded
18
21
 
19
22
  Style/EndlessMethod:
20
23
  Enabled: true
21
24
 
25
+ Style/EnvHome:
26
+ Enabled: true
27
+
28
+ Style/FetchEnvVar:
29
+ Enabled: true
30
+
22
31
  Style/FileRead:
23
32
  Enabled: true
24
33
 
@@ -58,6 +67,9 @@ Style/Lambda:
58
67
  Style/LambdaCall:
59
68
  EnforcedStyle: braces
60
69
 
70
+ Style/MapCompactWithConditionalBlock:
71
+ Enabled: true
72
+
61
73
  Style/MapToHash:
62
74
  Enabled: true
63
75
 
@@ -88,6 +100,9 @@ Style/NumberedParametersLimit:
88
100
  Style/NumericLiterals:
89
101
  Enabled: true
90
102
 
103
+ Style/ObjectThen:
104
+ Enabled: true
105
+
91
106
  Style/OpenStructUse:
92
107
  Enabled: true
93
108
 
@@ -112,6 +127,9 @@ Style/RedundantFetchBlock:
112
127
  Style/RedundantFreeze:
113
128
  Enabled: true
114
129
 
130
+ Style/RedundantInitialize:
131
+ Enabled: true
132
+
115
133
  Style/RedundantSelf:
116
134
  Enabled: true
117
135
 
data/ruboconf.gemspec CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'ruboconf'
5
- spec.version = '1.3.0'
5
+ spec.version = '1.4.0'
6
6
  spec.authors = ['Richard Böhme']
7
7
  spec.email = ['richard.boehme1999@gmail.com']
8
8
 
9
9
  spec.summary = 'Opinionated Rubocop configuration for personal projects.'
10
10
  spec.homepage = 'https://github.com/richardboehme/ruboconf'
11
11
  spec.license = 'MIT'
12
- spec.required_ruby_version = '>= 2.5.0'
12
+ spec.required_ruby_version = '>= 2.6.0'
13
13
 
14
14
  spec.metadata['homepage_uri'] = spec.homepage
15
15
  spec.metadata['source_code_uri'] = 'https://github.com/richardboehme/ruboconf'
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  end
23
23
  end
24
24
 
25
- spec.add_dependency 'rubocop', '~> 1.26'
26
- spec.add_dependency 'rubocop-performance', '~> 1.13'
25
+ spec.add_dependency 'rubocop', '~> 1.32'
26
+ spec.add_dependency 'rubocop-performance', '~> 1.14'
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.3.0
4
+ version: 1.4.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: 2022-03-14 00:00:00.000000000 Z
11
+ date: 2022-07-21 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.26'
19
+ version: '1.32'
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'
26
+ version: '1.32'
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.13'
33
+ version: '1.14'
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.13'
40
+ version: '1.14'
41
41
  description:
42
42
  email:
43
43
  - richard.boehme1999@gmail.com
@@ -77,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: 2.5.0
80
+ version: 2.6.0
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.3.3
87
+ rubygems_version: 3.3.7
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Opinionated Rubocop configuration for personal projects.