pludoni-rubocop 1.37.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -0
- data/Gemfile.lock +54 -34
- data/README.md +6 -3
- data/betterment.yml +53 -0
- data/default.yml +79 -62
- data/pludoni-rubocop.gemspec +7 -13
- data/rails.yml +57 -1
- metadata +14 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '094725b1e6ee3151899790c9a161753a68967eba096cb2243747ccea37ad0b83'
|
4
|
+
data.tar.gz: 92c1182be87597458a9544b9d049dd096e08959884ac09528f341bfa94e5b8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e2687b5229b4488493e6c3db06bd15efca53b00b1ac3bc17c5f189da4462861fdb7ec7e69a0420594aabc88a9531fe27802638a14a9057d46f895b6e467c746
|
7
|
+
data.tar.gz: 4cfef21d8254e987618c6cb5a7691b6c1ed86458f14bd2e553003dafe02c9167ec1e6d411702eca21ea9f00ae4e83a5fc5c87674eacb7e5a7b1d1a820900cd64
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.3.5
|
data/Gemfile.lock
CHANGED
@@ -1,58 +1,78 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pludoni-rubocop (1.
|
5
|
-
rubocop (~> 1.
|
6
|
-
rubocop-performance
|
7
|
-
rubocop-rails (~> 2.
|
4
|
+
pludoni-rubocop (1.69.0)
|
5
|
+
rubocop (~> 1.69.2)
|
6
|
+
rubocop-performance
|
7
|
+
rubocop-rails (~> 2.28.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
13
|
-
|
12
|
+
activesupport (8.0.0)
|
13
|
+
base64
|
14
|
+
benchmark (>= 0.3)
|
15
|
+
bigdecimal
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
17
|
+
connection_pool (>= 2.2.5)
|
18
|
+
drb
|
14
19
|
i18n (>= 1.6, < 2)
|
20
|
+
logger (>= 1.4.2)
|
15
21
|
minitest (>= 5.1)
|
16
|
-
|
22
|
+
securerandom (>= 0.3)
|
23
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
24
|
+
uri (>= 0.13.1)
|
17
25
|
ast (2.4.2)
|
18
|
-
|
19
|
-
|
26
|
+
base64 (0.2.0)
|
27
|
+
benchmark (0.4.0)
|
28
|
+
bigdecimal (3.1.8)
|
29
|
+
concurrent-ruby (1.3.4)
|
30
|
+
connection_pool (2.4.1)
|
31
|
+
drb (2.2.1)
|
32
|
+
i18n (1.14.6)
|
20
33
|
concurrent-ruby (~> 1.0)
|
21
|
-
json (2.
|
22
|
-
|
23
|
-
|
24
|
-
|
34
|
+
json (2.8.2)
|
35
|
+
language_server-protocol (3.17.0.3)
|
36
|
+
logger (1.6.1)
|
37
|
+
minitest (5.25.2)
|
38
|
+
parallel (1.26.3)
|
39
|
+
parser (3.3.6.0)
|
25
40
|
ast (~> 2.4.1)
|
26
|
-
|
41
|
+
racc
|
42
|
+
racc (1.8.1)
|
43
|
+
rack (3.1.8)
|
27
44
|
rainbow (3.1.1)
|
28
|
-
rake (13.
|
29
|
-
regexp_parser (2.
|
30
|
-
|
31
|
-
rubocop (1.37.1)
|
45
|
+
rake (13.2.1)
|
46
|
+
regexp_parser (2.10.0)
|
47
|
+
rubocop (1.69.2)
|
32
48
|
json (~> 2.3)
|
49
|
+
language_server-protocol (>= 3.17.0)
|
33
50
|
parallel (~> 1.10)
|
34
|
-
parser (>= 3.
|
51
|
+
parser (>= 3.3.0.2)
|
35
52
|
rainbow (>= 2.2.2, < 4.0)
|
36
|
-
regexp_parser (>=
|
37
|
-
|
38
|
-
rubocop-ast (>= 1.23.0, < 2.0)
|
53
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
54
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
39
55
|
ruby-progressbar (~> 1.7)
|
40
|
-
unicode-display_width (>=
|
41
|
-
rubocop-ast (1.
|
42
|
-
parser (>= 3.
|
43
|
-
rubocop-performance (1.
|
44
|
-
rubocop (>= 1.
|
45
|
-
rubocop-ast (>=
|
46
|
-
rubocop-rails (2.
|
56
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
57
|
+
rubocop-ast (1.37.0)
|
58
|
+
parser (>= 3.3.1.0)
|
59
|
+
rubocop-performance (1.23.0)
|
60
|
+
rubocop (>= 1.48.1, < 2.0)
|
61
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
62
|
+
rubocop-rails (2.28.0)
|
47
63
|
activesupport (>= 4.2.0)
|
48
64
|
rack (>= 1.1)
|
49
|
-
rubocop (>= 1.
|
50
|
-
|
51
|
-
|
65
|
+
rubocop (>= 1.52.0, < 2.0)
|
66
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
67
|
+
ruby-progressbar (1.13.0)
|
68
|
+
securerandom (0.3.2)
|
69
|
+
tzinfo (2.0.6)
|
52
70
|
concurrent-ruby (~> 1.0)
|
53
|
-
unicode-display_width (2.
|
71
|
+
unicode-display_width (2.6.0)
|
72
|
+
uri (1.0.2)
|
54
73
|
|
55
74
|
PLATFORMS
|
75
|
+
x86_64-darwin-21
|
56
76
|
x86_64-linux
|
57
77
|
|
58
78
|
DEPENDENCIES
|
@@ -60,4 +80,4 @@ DEPENDENCIES
|
|
60
80
|
rake (~> 13.0)
|
61
81
|
|
62
82
|
BUNDLED WITH
|
63
|
-
2.
|
83
|
+
2.5.23
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
# Pludoni
|
1
|
+
# Pludoni Rubocop
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/pludoni-rubocop.svg)](https://badge.fury.io/rb/pludoni-rubocop)
|
2
4
|
|
3
5
|
Rubocop shared Gem config for our company projects
|
4
6
|
|
@@ -12,7 +14,7 @@ Or add manually to Gemfile:
|
|
12
14
|
|
13
15
|
```ruby
|
14
16
|
group :development, :test do
|
15
|
-
gem 'pludoni-rubocop',
|
17
|
+
gem 'pludoni-rubocop', require: false
|
16
18
|
end
|
17
19
|
```
|
18
20
|
|
@@ -25,6 +27,7 @@ inherit_gem:
|
|
25
27
|
pludoni-rubocop:
|
26
28
|
- default.yml
|
27
29
|
- rails.yml
|
30
|
+
- betterment.yml
|
28
31
|
```
|
29
32
|
|
30
33
|
If you have a ``.codeclimate.yml`` change it to match the Rubocop version:
|
@@ -34,7 +37,7 @@ If you have a ``.codeclimate.yml`` change it to match the Rubocop version:
|
|
34
37
|
plugins:
|
35
38
|
rubocop:
|
36
39
|
enabled: true
|
37
|
-
channel: rubocop-1-
|
40
|
+
channel: rubocop-1-48
|
38
41
|
```
|
39
42
|
|
40
43
|
## License
|
data/betterment.yml
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# from: https://github.com/Betterment/betterlint/blob/main/config/default.yml
|
2
|
+
require:
|
3
|
+
- rubocop/cop/betterment.rb
|
4
|
+
|
5
|
+
Betterment:
|
6
|
+
StyleGuideBaseURL: https://github.com/Betterment/betterlint
|
7
|
+
Betterment/ServerErrorAssertion:
|
8
|
+
Description: 'Detects assertions on 5XX HTTP statuses.'
|
9
|
+
Include:
|
10
|
+
- 'spec/requests/**/*_spec.rb'
|
11
|
+
Betterment/AuthorizationInController:
|
12
|
+
Description: 'Detects unsafe handling of id-like parameters in controllers.'
|
13
|
+
StyleGuide: '#bettermentauthorizationincontroller'
|
14
|
+
Enabled: true
|
15
|
+
# Betterment/UnsafeJob:
|
16
|
+
# Enabled: true
|
17
|
+
# StyleGuide: '#bettermentunsafejob'
|
18
|
+
# sensitive_params:
|
19
|
+
# - password
|
20
|
+
# - social_security_number
|
21
|
+
# - ssn
|
22
|
+
Betterment/UnscopedFind:
|
23
|
+
StyleGuide: '#bettermentunscopedfind'
|
24
|
+
|
25
|
+
Betterment/DynamicParams:
|
26
|
+
StyleGuide: '#bettermentdynamicparams'
|
27
|
+
|
28
|
+
# Betterment/SitePrismLoaded:
|
29
|
+
# Include:
|
30
|
+
# - 'spec/features/**/*_spec.rb'
|
31
|
+
# - 'spec/system/**/*_spec.rb'
|
32
|
+
|
33
|
+
Betterment/NonStandardActions:
|
34
|
+
Description: 'Detects non-standard controller actions.'
|
35
|
+
StyleGuide: '#bettermentnonstandardactions'
|
36
|
+
AdditionalAllowedActions: []
|
37
|
+
Enabled: false
|
38
|
+
StandardActions:
|
39
|
+
- index
|
40
|
+
- show
|
41
|
+
- new
|
42
|
+
- edit
|
43
|
+
- create
|
44
|
+
- update
|
45
|
+
- destroy
|
46
|
+
Include:
|
47
|
+
- 'config/routes.rb'
|
48
|
+
|
49
|
+
# Betterment/HardcodedID:
|
50
|
+
# Description: 'Detects hardcoded IDs in specs'
|
51
|
+
# StyleGuide: '#bettermenthardcodedid'
|
52
|
+
# AutoCorrect: false
|
53
|
+
# SafeAutoCorrect: false
|
data/default.yml
CHANGED
@@ -3,7 +3,7 @@ require:
|
|
3
3
|
- rubocop-performance
|
4
4
|
AllCops:
|
5
5
|
NewCops: enable
|
6
|
-
TargetRubyVersion:
|
6
|
+
TargetRubyVersion: 3.3
|
7
7
|
Exclude:
|
8
8
|
- 'bin/*'
|
9
9
|
- 'scripts/**/*'
|
@@ -33,49 +33,16 @@ Style/Alias:
|
|
33
33
|
Enabled: false
|
34
34
|
Style/Documentation:
|
35
35
|
Enabled: false
|
36
|
-
Lint/UnusedMethodArgument:
|
37
|
-
Enabled: false
|
38
|
-
Metrics/ModuleLength:
|
39
|
-
Enabled: false
|
40
36
|
Style/StringLiterals:
|
41
37
|
Enabled: false
|
42
38
|
Style/IfUnlessModifier:
|
43
39
|
Enabled: false
|
44
|
-
Metrics/MethodLength:
|
45
|
-
Enabled: false
|
46
|
-
Layout/LineLength:
|
47
|
-
Max: 150
|
48
|
-
Exclude:
|
49
|
-
- spec/**/*
|
50
|
-
Metrics/AbcSize:
|
51
|
-
Enabled: false
|
52
|
-
Metrics/ClassLength:
|
53
|
-
Enabled: false
|
54
|
-
Layout/DotPosition:
|
55
|
-
Enabled: false
|
56
40
|
Style/BlockDelimiters:
|
57
41
|
Enabled: false
|
58
|
-
Layout/ParameterAlignment:
|
59
|
-
EnforcedStyle: with_fixed_indentation
|
60
|
-
Layout/HashAlignment:
|
61
|
-
EnforcedHashRocketStyle:
|
62
|
-
- key
|
63
|
-
- table
|
64
|
-
EnforcedColonStyle:
|
65
|
-
- key
|
66
|
-
- table
|
67
|
-
|
68
|
-
Layout/MultilineMethodCallIndentation:
|
69
|
-
EnforcedStyle: indented
|
70
|
-
# class Admin::PageController
|
71
42
|
Style/ClassAndModuleChildren:
|
72
43
|
Enabled: false
|
73
|
-
|
74
|
-
# asddsa == 0 -> asddsa.zero?
|
75
44
|
Style/NumericPredicate:
|
76
45
|
Enabled: false
|
77
|
-
Performance/StringReplacement:
|
78
|
-
Enabled: false
|
79
46
|
# ->() {} -- lambda {|a| }
|
80
47
|
Style/Lambda:
|
81
48
|
EnforcedStyle: 'literal'
|
@@ -91,19 +58,12 @@ Style/EmptyMethod:
|
|
91
58
|
# [ "700", "200" ] -> %w[w w]
|
92
59
|
Style/WordArray:
|
93
60
|
Enabled: false
|
94
|
-
# RSpec nervt
|
95
|
-
Metrics/BlockLength:
|
96
|
-
AllowedMethods: ['task', 'namespace', 'get', 'post', 'describe', 'context', 'specify', 'it', 'route_param', 'draw', 'register', 'register_page', 'controller', 'included', 'params', 'resource', 'with_options', 'use_cassette', 'configure', 'transaction']
|
97
|
-
Bundler/OrderedGems:
|
98
|
-
Enabled: false
|
99
|
-
# update_all, update_column
|
100
|
-
# set_ und get_ verbote
|
101
|
-
Naming/AccessorMethodName:
|
102
|
-
Enabled: false
|
103
61
|
Style/TrailingCommaInArrayLiteral:
|
104
62
|
Enabled: false
|
105
63
|
Style/TrailingCommaInHashLiteral:
|
106
64
|
Enabled: false
|
65
|
+
Style/TrailingCommaInArguments:
|
66
|
+
Enabled: false
|
107
67
|
Style/SymbolArray:
|
108
68
|
Enabled: false
|
109
69
|
Style/AsciiComments:
|
@@ -112,49 +72,106 @@ Style/FormatString:
|
|
112
72
|
Enabled: false
|
113
73
|
Style/FormatStringToken:
|
114
74
|
Enabled: false
|
115
|
-
|
75
|
+
Style/RedundantArgument:
|
116
76
|
Enabled: false
|
117
|
-
Style/
|
77
|
+
Style/EndlessMethod:
|
78
|
+
EnforcedStyle: allow_always
|
79
|
+
Enabled: true
|
80
|
+
Style/NegatedIf:
|
118
81
|
Enabled: false
|
119
|
-
Style/
|
82
|
+
Style/QuotedSymbols:
|
120
83
|
Enabled: false
|
121
|
-
Style/
|
84
|
+
Style/ClassVars:
|
122
85
|
Enabled: false
|
123
|
-
|
86
|
+
Style/AccessorGrouping:
|
87
|
+
Enabled: false
|
88
|
+
Style/NumericLiterals:
|
89
|
+
Enabled: false
|
90
|
+
Style/SymbolProc:
|
124
91
|
Enabled: false
|
125
|
-
Naming/MemoizedInstanceVariableName:
|
126
|
-
EnforcedStyleForLeadingUnderscores: optional
|
127
92
|
Style/NonNilCheck:
|
128
93
|
Enabled: false
|
129
94
|
Style/RedundantSelf:
|
130
95
|
Enabled: false
|
96
|
+
Style/DoubleNegation:
|
97
|
+
Enabled: false
|
98
|
+
Style/ZeroLengthPredicate:
|
99
|
+
Enabled: false
|
100
|
+
Style/SafeNavigation:
|
101
|
+
Enabled: false
|
102
|
+
Style/TrivialAccessors:
|
103
|
+
Enabled: false
|
104
|
+
|
105
|
+
Layout/LineLength:
|
106
|
+
Max: 150
|
107
|
+
Exclude:
|
108
|
+
- spec/**/*
|
109
|
+
Layout/DotPosition:
|
110
|
+
Enabled: false
|
111
|
+
Layout/FirstHashElementIndentation:
|
112
|
+
EnforcedStyle: consistent
|
113
|
+
Layout/ParameterAlignment:
|
114
|
+
EnforcedStyle: with_fixed_indentation
|
115
|
+
Layout/HashAlignment:
|
116
|
+
EnforcedLastArgumentHashStyle: ignore_implicit
|
117
|
+
EnforcedHashRocketStyle:
|
118
|
+
- key
|
119
|
+
- table
|
120
|
+
EnforcedColonStyle:
|
121
|
+
- key
|
122
|
+
- table
|
123
|
+
Layout/MultilineMethodCallIndentation:
|
124
|
+
EnforcedStyle: indented
|
131
125
|
Layout/ArgumentAlignment:
|
132
126
|
Enabled: false
|
133
127
|
Layout/MultilineMethodCallBraceLayout:
|
134
128
|
Enabled: false
|
135
129
|
Layout/EmptyLineAfterGuardClause:
|
136
130
|
Enabled: false
|
137
|
-
|
131
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
138
132
|
Enabled: false
|
139
|
-
|
133
|
+
|
134
|
+
Metrics/ModuleLength:
|
140
135
|
Enabled: false
|
141
|
-
|
136
|
+
Metrics/MethodLength:
|
142
137
|
Enabled: false
|
143
|
-
|
138
|
+
Metrics/AbcSize:
|
144
139
|
Enabled: false
|
145
|
-
|
140
|
+
Metrics/ClassLength:
|
146
141
|
Enabled: false
|
147
|
-
|
142
|
+
Metrics/BlockLength:
|
143
|
+
AllowedMethods: ['task', 'namespace', 'get', 'post', 'describe', 'context', 'specify', 'it', 'route_param', 'draw', 'register', 'register_page', 'controller', 'included', 'params', 'resource', 'with_options', 'use_cassette', 'configure', 'transaction']
|
144
|
+
Metrics/PerceivedComplexity:
|
148
145
|
Enabled: false
|
149
|
-
|
146
|
+
Metrics/ParameterLists:
|
147
|
+
CountKeywordArgs: false
|
148
|
+
Exclude:
|
149
|
+
- "app/graphql/types/**/*.rb"
|
150
|
+
Metrics/CyclomaticComplexity:
|
151
|
+
Max: 15
|
152
|
+
|
153
|
+
Performance/StringReplacement:
|
150
154
|
Enabled: false
|
151
155
|
Performance/Casecmp:
|
152
156
|
Enabled: false
|
153
|
-
|
157
|
+
Bundler/OrderedGems:
|
154
158
|
Enabled: false
|
155
|
-
|
159
|
+
Naming/AccessorMethodName:
|
156
160
|
Enabled: false
|
157
|
-
|
161
|
+
Naming/MemoizedInstanceVariableName:
|
162
|
+
EnforcedStyleForLeadingUnderscores: optional
|
163
|
+
Naming/PredicateName:
|
164
|
+
Enabled: false
|
165
|
+
Lint/DuplicateBranch:
|
166
|
+
IgnoreLiteralBranches: true
|
167
|
+
Lint/AmbiguousOperatorPrecedence:
|
168
|
+
Enabled: false
|
169
|
+
Lint/UnusedMethodArgument:
|
170
|
+
Enabled: false
|
171
|
+
Lint/MissingCopEnableDirective:
|
172
|
+
Enabled: false
|
173
|
+
Lint/MissingSuper:
|
174
|
+
Exclude:
|
175
|
+
- app/views/components/**/*.rb
|
176
|
+
Lint/SuppressedException:
|
158
177
|
Enabled: false
|
159
|
-
Metrics/ParameterLists:
|
160
|
-
CountKeywordArgs: false
|
data/pludoni-rubocop.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "pludoni-rubocop"
|
5
|
-
spec.version = "1.
|
5
|
+
spec.version = "1.69.0"
|
6
6
|
spec.authors = ["Stefan Wienert"]
|
7
7
|
spec.email = ["info@stefanwienert.de"]
|
8
8
|
|
@@ -10,13 +10,9 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.description = "Shared company Rubocop"
|
11
11
|
spec.homepage = "https://github.com/pludoni/pludoni-rubocop"
|
12
12
|
spec.license = "MIT"
|
13
|
-
spec.required_ruby_version = ">=
|
14
|
-
|
15
|
-
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
13
|
+
spec.required_ruby_version = ">= 3.0.0"
|
16
14
|
|
17
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
#spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
19
|
-
#spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
20
16
|
|
21
17
|
# Specify which files should be added to the gem when it is released.
|
22
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -29,11 +25,9 @@ Gem::Specification.new do |spec|
|
|
29
25
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
26
|
spec.require_paths = ["lib"]
|
31
27
|
|
32
|
-
#
|
33
|
-
spec.add_dependency
|
34
|
-
spec.add_dependency 'rubocop
|
35
|
-
spec.add_dependency 'rubocop-
|
36
|
-
|
37
|
-
# For more information and examples about making a new gem, check out our
|
38
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
28
|
+
# betterlint requires 1.62
|
29
|
+
# spec.add_dependency "betterlint", "~> 1.13.0"
|
30
|
+
spec.add_dependency 'rubocop', '~> 1.69.2'
|
31
|
+
spec.add_dependency 'rubocop-rails', '~> 2.28.0'
|
32
|
+
spec.add_dependency 'rubocop-performance'
|
39
33
|
end
|
data/rails.yml
CHANGED
@@ -13,5 +13,61 @@ Rails/SkipsModelValidations:
|
|
13
13
|
Enabled: false
|
14
14
|
Rails/ApplicationRecord:
|
15
15
|
Enabled: false
|
16
|
-
Rails/
|
16
|
+
Rails/ActionOrder:
|
17
|
+
ExpectedOrder:
|
18
|
+
- index
|
19
|
+
- show
|
20
|
+
- new
|
21
|
+
- create
|
22
|
+
- edit
|
23
|
+
- update
|
24
|
+
- destroy
|
25
|
+
|
26
|
+
Rails/I18nLazyLookup:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
Rails/HttpStatus:
|
17
30
|
Enabled: false
|
31
|
+
|
32
|
+
Rails/EnumHash:
|
33
|
+
Enabled: true
|
34
|
+
Include:
|
35
|
+
- app/models/**/*.rb
|
36
|
+
- packs/*/app/models/**/*.rb
|
37
|
+
Rails/EnumSyntax:
|
38
|
+
Enabled: true
|
39
|
+
Include:
|
40
|
+
- app/models/**/*.rb
|
41
|
+
- packs/*/app/models/**/*.rb
|
42
|
+
Rails/ActiveRecordOverride:
|
43
|
+
Include:
|
44
|
+
- app/models/**/*.rb
|
45
|
+
- packs/*/app/models/**/*.rb
|
46
|
+
Rails/EnumUniqueness:
|
47
|
+
Include:
|
48
|
+
- app/models/**/*.rb
|
49
|
+
- packs/*/app/models/**/*.rb
|
50
|
+
Rails/HasManyOrHasOneDependent:
|
51
|
+
Include:
|
52
|
+
- app/models/**/*.rb
|
53
|
+
- packs/*/app/models/**/*.rb
|
54
|
+
Rails/InverseOf:
|
55
|
+
Include:
|
56
|
+
- app/models/**/*.rb
|
57
|
+
- packs/*/app/models/**/*.rb
|
58
|
+
Rails/ReadWriteAttribute:
|
59
|
+
Include:
|
60
|
+
- app/models/**/*.rb
|
61
|
+
- packs/*/app/models/**/*.rb
|
62
|
+
Rails/RedundantAllowNil:
|
63
|
+
Include:
|
64
|
+
- app/models/**/*.rb
|
65
|
+
- packs/*/app/models/**/*.rb
|
66
|
+
Rails/ScopeArgs:
|
67
|
+
Include:
|
68
|
+
- app/models/**/*.rb
|
69
|
+
- packs/*/app/models/**/*.rb
|
70
|
+
Rails/Validation:
|
71
|
+
Include:
|
72
|
+
- app/models/**/*.rb
|
73
|
+
- packs/*/app/models/**/*.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pludoni-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Wienert
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.69.2
|
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.69.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.28.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: 2.
|
40
|
+
version: 2.28.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '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:
|
54
|
+
version: '0'
|
55
55
|
description: Shared company Rubocop
|
56
56
|
email:
|
57
57
|
- info@stefanwienert.de
|
@@ -59,11 +59,13 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".tool-versions"
|
62
63
|
- Gemfile
|
63
64
|
- Gemfile.lock
|
64
65
|
- LICENSE.txt
|
65
66
|
- README.md
|
66
67
|
- Rakefile
|
68
|
+
- betterment.yml
|
67
69
|
- default.yml
|
68
70
|
- pludoni-rubocop.gemspec
|
69
71
|
- rails.yml
|
@@ -80,14 +82,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
82
|
requirements:
|
81
83
|
- - ">="
|
82
84
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
85
|
+
version: 3.0.0
|
84
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
87
|
requirements:
|
86
88
|
- - ">="
|
87
89
|
- !ruby/object:Gem::Version
|
88
90
|
version: '0'
|
89
91
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
92
|
+
rubygems_version: 3.5.16
|
91
93
|
signing_key:
|
92
94
|
specification_version: 4
|
93
95
|
summary: Shared company Rubocop
|