rubocop-cargosense 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -1
- data/config/default.yml +10 -167
- data/config/rubocop-capybara.yml +8 -0
- data/config/rubocop-factory_bot.yml +8 -0
- data/config/rubocop-layout.yml +55 -0
- data/config/rubocop-lint.yml +6 -0
- data/config/rubocop-metrics.yml +35 -0
- data/config/rubocop-naming.yml +10 -0
- data/config/rubocop-performance.yml +20 -0
- data/config/rubocop-rails.yml +34 -0
- data/config/rubocop-rake.yml +6 -0
- data/config/rubocop-rspec.yml +21 -0
- data/config/rubocop-rspec_rails.yml +8 -0
- data/config/rubocop-style.yml +64 -0
- data/config/rubocop.yml +13 -0
- metadata +87 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaf8165006d5b2f78c07f44434fba8fac4c47d789b9f899b84cd19c47d819a16
|
4
|
+
data.tar.gz: 4a91172dd85e7e906b755f0ffc1877360061025b34d2a7dc963e3d57ef7f461a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5121adf648b2af7967024dcbc067073074a7d7e6f12504dd1750eb5c438531b010f82849c7d273914db849ec4da15844691587500da4ce0b6f7aaf072ae60c01
|
7
|
+
data.tar.gz: 465363c2ad76931e570e489fedeaab154e666c4eafe43d925596ab980180c4adecd32f671feb9110401fdfa744b11cf0a0a6546a2ec2c8dd8ce56fed28f9eb67
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ require:
|
|
27
27
|
> [!TIP]
|
28
28
|
> If rubocop-cargosense is your project's only RuboCop extension, you can simplify the above directive: `require: rubocop-cargosense`
|
29
29
|
|
30
|
-
Or, inherit rubocop-cargosense's configuration using [RuboCop's `inherit_gem` directive](https://docs.rubocop.org/rubocop/configuration.html#inheriting-configuration-from-a-dependency-gem):
|
30
|
+
Or, inherit rubocop-cargosense's default configuration using [RuboCop's `inherit_gem` directive](https://docs.rubocop.org/rubocop/configuration.html#inheriting-configuration-from-a-dependency-gem):
|
31
31
|
|
32
32
|
```yaml
|
33
33
|
# .rubocop.yml
|
@@ -35,6 +35,19 @@ inherit_gem:
|
|
35
35
|
rubocop-cargosense: config/default.yml
|
36
36
|
```
|
37
37
|
|
38
|
+
You may also inherit individual configuration files from rubocop-cargosense:
|
39
|
+
|
40
|
+
```yaml
|
41
|
+
# .rubocop.yml
|
42
|
+
inherit_gem:
|
43
|
+
rubocop-cargosense:
|
44
|
+
- config/rubocop-layout.yml
|
45
|
+
- config/rubocop-performance.yml
|
46
|
+
```
|
47
|
+
|
48
|
+
> [!WARNING]
|
49
|
+
> While the above piecemeal usage is permissible, we recommend requiring the default configuration in its entirety.
|
50
|
+
|
38
51
|
## License
|
39
52
|
|
40
53
|
rubocop-cargosense is freely available under the [MIT License](https://opensource.org/licenses/MIT).
|
data/config/default.yml
CHANGED
@@ -1,177 +1,20 @@
|
|
1
|
+
inherit_from:
|
2
|
+
- ./rubocop.yml
|
3
|
+
- ./rubocop-capybara.yml
|
4
|
+
- ./rubocop-factory_bot.yml
|
5
|
+
- ./rubocop-performance.yml
|
6
|
+
- ./rubocop-rails.yml
|
7
|
+
- ./rubocop-rake.yml
|
8
|
+
- ./rubocop-rspec.yml
|
9
|
+
- ./rubocop-rspec_rails.yml
|
10
|
+
|
1
11
|
inherit_mode:
|
2
12
|
merge:
|
3
13
|
- Exclude
|
4
14
|
- Include
|
5
15
|
|
6
|
-
require:
|
7
|
-
- rubocop-performance
|
8
|
-
- rubocop-rake
|
9
|
-
|
10
16
|
AllCops:
|
11
17
|
ActiveSupportExtensionsEnabled: true
|
12
18
|
DisplayStyleGuide: true
|
13
19
|
ExtraDetails: true
|
14
20
|
NewCops: enable
|
15
|
-
|
16
|
-
Layout/ClassStructure:
|
17
|
-
Enabled: true
|
18
|
-
ExpectedOrder:
|
19
|
-
- module_inclusion
|
20
|
-
- constants
|
21
|
-
- association
|
22
|
-
- public_attribute_macros
|
23
|
-
- public_delegate
|
24
|
-
- macros
|
25
|
-
- public_class_methods
|
26
|
-
- initializer
|
27
|
-
- public_methods
|
28
|
-
- protected_attribute_macros
|
29
|
-
- protected_methods
|
30
|
-
- private_attribute_macros
|
31
|
-
- private_delegate
|
32
|
-
- private_methods
|
33
|
-
|
34
|
-
Layout/EmptyLineAfterMultilineCondition:
|
35
|
-
Enabled: true
|
36
|
-
|
37
|
-
Layout/FirstHashElementIndentation:
|
38
|
-
EnforcedStyle: consistent
|
39
|
-
|
40
|
-
Layout/HeredocArgumentClosingParenthesis:
|
41
|
-
Enabled: true
|
42
|
-
|
43
|
-
Layout/MultilineArrayLineBreaks:
|
44
|
-
Enabled: true
|
45
|
-
|
46
|
-
Layout/MultilineAssignmentLayout:
|
47
|
-
Enabled: true
|
48
|
-
|
49
|
-
Layout/MultilineHashKeyLineBreaks:
|
50
|
-
Enabled: true
|
51
|
-
|
52
|
-
Layout/MultilineMethodArgumentLineBreaks:
|
53
|
-
Enabled: true
|
54
|
-
|
55
|
-
Layout/MultilineMethodCallIndentation:
|
56
|
-
EnforcedStyle: indented_relative_to_receiver
|
57
|
-
|
58
|
-
Layout/MultilineMethodParameterLineBreaks:
|
59
|
-
Enabled: true
|
60
|
-
|
61
|
-
Layout/MultilineOperationIndentation:
|
62
|
-
EnforcedStyle: indented
|
63
|
-
|
64
|
-
Layout/ParameterAlignment:
|
65
|
-
EnforcedStyle: with_fixed_indentation
|
66
|
-
|
67
|
-
Lint/HeredocMethodCallPosition:
|
68
|
-
Enabled: true
|
69
|
-
|
70
|
-
Metrics/BlockLength:
|
71
|
-
CountAsOne:
|
72
|
-
- array
|
73
|
-
- hash
|
74
|
-
- heredoc
|
75
|
-
- method_call
|
76
|
-
|
77
|
-
Metrics/ClassLength:
|
78
|
-
CountAsOne:
|
79
|
-
- array
|
80
|
-
- hash
|
81
|
-
- heredoc
|
82
|
-
- method_call
|
83
|
-
|
84
|
-
Metrics/MethodLength:
|
85
|
-
CountAsOne:
|
86
|
-
- array
|
87
|
-
- hash
|
88
|
-
- heredoc
|
89
|
-
- method_call
|
90
|
-
|
91
|
-
Metrics/ModuleLength:
|
92
|
-
CountAsOne:
|
93
|
-
- array
|
94
|
-
- hash
|
95
|
-
- heredoc
|
96
|
-
- method_call
|
97
|
-
|
98
|
-
Metrics/ParameterLists:
|
99
|
-
CountKeywordArgs: false
|
100
|
-
|
101
|
-
Naming/InclusiveLanguage:
|
102
|
-
Enabled: true
|
103
|
-
|
104
|
-
Naming/VariableNumber:
|
105
|
-
Enabled: false
|
106
|
-
|
107
|
-
Performance/ChainArrayAllocation:
|
108
|
-
Enabled: true
|
109
|
-
|
110
|
-
Performance/IoReadlines:
|
111
|
-
Enabled: true
|
112
|
-
|
113
|
-
Performance/OpenStruct:
|
114
|
-
Enabled: true
|
115
|
-
|
116
|
-
Performance/SelectMap:
|
117
|
-
Enabled: true
|
118
|
-
|
119
|
-
Style/ArrayCoercion:
|
120
|
-
Enabled: true
|
121
|
-
|
122
|
-
Style/AutoResourceCleanup:
|
123
|
-
Enabled: true
|
124
|
-
|
125
|
-
Style/ClassMethodsDefinitions:
|
126
|
-
Enabled: true
|
127
|
-
|
128
|
-
Style/CollectionMethods:
|
129
|
-
Enabled: true
|
130
|
-
|
131
|
-
Style/DateTime:
|
132
|
-
Enabled: true
|
133
|
-
|
134
|
-
Style/Documentation:
|
135
|
-
Enabled: false
|
136
|
-
|
137
|
-
Style/EmptyMethod:
|
138
|
-
EnforcedStyle: expanded
|
139
|
-
|
140
|
-
Style/HashSyntax:
|
141
|
-
EnforcedShorthandSyntax: never
|
142
|
-
|
143
|
-
Style/MethodCalledOnDoEndBlock:
|
144
|
-
Enabled: true
|
145
|
-
|
146
|
-
Style/MultilineMethodSignature:
|
147
|
-
Enabled: true
|
148
|
-
|
149
|
-
Style/OptionHash:
|
150
|
-
Enabled: true
|
151
|
-
|
152
|
-
Style/ReturnNil:
|
153
|
-
Enabled: true
|
154
|
-
|
155
|
-
Style/Send:
|
156
|
-
Enabled: true
|
157
|
-
|
158
|
-
Style/StaticClass:
|
159
|
-
Enabled: true
|
160
|
-
|
161
|
-
Style/StringLiterals:
|
162
|
-
EnforcedStyle: double_quotes
|
163
|
-
|
164
|
-
Style/StringLiteralsInInterpolation:
|
165
|
-
EnforcedStyle: double_quotes
|
166
|
-
|
167
|
-
Style/StringMethods:
|
168
|
-
Enabled: true
|
169
|
-
|
170
|
-
Style/SymbolArray:
|
171
|
-
EnforcedStyle: brackets
|
172
|
-
|
173
|
-
Style/WordArray:
|
174
|
-
EnforcedStyle: brackets
|
175
|
-
|
176
|
-
Style/UnlessLogicalOperators:
|
177
|
-
Enabled: true
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Code style checking for Capybara test files (RSpec, Cucumber, Minitest). A
|
2
|
+
# plugin for the RuboCop code style enforcing & linting tool.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-capybara
|
5
|
+
# @see https://docs.rubocop.org/rubocop-capybara
|
6
|
+
# @see https://github.com/rubocop/rubocop-capybara
|
7
|
+
|
8
|
+
require: rubocop-capybara
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Code style checking for factory_bot files. A plugin for the RuboCop code style
|
2
|
+
# enforcing & linting tool.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-factory_bot
|
5
|
+
# @see https://docs.rubocop.org/rubocop-factory_bot
|
6
|
+
# @see https://github.com/rubocop/rubocop-factory_bot
|
7
|
+
|
8
|
+
require: rubocop-factory_bot
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Layout cops inspect your code for consistent use of indentation, alignment,
|
2
|
+
# and white space.
|
3
|
+
#
|
4
|
+
# @see https://docs.rubocop.org/rubocop/cops_layout.html
|
5
|
+
|
6
|
+
Layout/ClassStructure:
|
7
|
+
Enabled: true
|
8
|
+
ExpectedOrder:
|
9
|
+
- module_inclusion
|
10
|
+
- constants
|
11
|
+
- association
|
12
|
+
- public_attribute_macros
|
13
|
+
- public_delegate
|
14
|
+
- macros
|
15
|
+
- public_class_methods
|
16
|
+
- initializer
|
17
|
+
- public_methods
|
18
|
+
- protected_attribute_macros
|
19
|
+
- protected_methods
|
20
|
+
- private_attribute_macros
|
21
|
+
- private_delegate
|
22
|
+
- private_methods
|
23
|
+
|
24
|
+
Layout/EmptyLineAfterMultilineCondition:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
Layout/FirstHashElementIndentation:
|
28
|
+
EnforcedStyle: consistent
|
29
|
+
|
30
|
+
Layout/HeredocArgumentClosingParenthesis:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
Layout/MultilineArrayLineBreaks:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
Layout/MultilineAssignmentLayout:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
Layout/MultilineHashKeyLineBreaks:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Layout/MultilineMethodCallIndentation:
|
46
|
+
EnforcedStyle: indented_relative_to_receiver
|
47
|
+
|
48
|
+
Layout/MultilineMethodParameterLineBreaks:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Layout/MultilineOperationIndentation:
|
52
|
+
EnforcedStyle: indented
|
53
|
+
|
54
|
+
Layout/ParameterAlignment:
|
55
|
+
EnforcedStyle: with_fixed_indentation
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Metrics cops deal with properties of the source code that can be measured,
|
2
|
+
# such as class length, method length, etc.
|
3
|
+
#
|
4
|
+
# @see https://docs.rubocop.org/rubocop/cops_metrics.html
|
5
|
+
|
6
|
+
Metrics/BlockLength:
|
7
|
+
CountAsOne:
|
8
|
+
- array
|
9
|
+
- hash
|
10
|
+
- heredoc
|
11
|
+
- method_call
|
12
|
+
|
13
|
+
Metrics/ClassLength:
|
14
|
+
CountAsOne:
|
15
|
+
- array
|
16
|
+
- hash
|
17
|
+
- heredoc
|
18
|
+
- method_call
|
19
|
+
|
20
|
+
Metrics/MethodLength:
|
21
|
+
CountAsOne:
|
22
|
+
- array
|
23
|
+
- hash
|
24
|
+
- heredoc
|
25
|
+
- method_call
|
26
|
+
|
27
|
+
Metrics/ModuleLength:
|
28
|
+
CountAsOne:
|
29
|
+
- array
|
30
|
+
- hash
|
31
|
+
- heredoc
|
32
|
+
- method_call
|
33
|
+
|
34
|
+
Metrics/ParameterLists:
|
35
|
+
CountKeywordArgs: false
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# A collection of RuboCop cops to check for performance optimizations in Ruby
|
2
|
+
# code.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-performance
|
5
|
+
# @see https://docs.rubocop.org/rubocop-performance
|
6
|
+
# @see https://github.com/rubocop/rubocop-performance
|
7
|
+
|
8
|
+
require: rubocop-performance
|
9
|
+
|
10
|
+
Performance/ChainArrayAllocation:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Performance/IoReadlines:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Performance/OpenStruct:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Performance/SelectMap:
|
20
|
+
Enabled: true
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Automatic Rails code style checking tool. A RuboCop extension focused on
|
2
|
+
# enforcing Rails best practices and coding conventions.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-rails
|
5
|
+
# @see https://docs.rubocop.org/rubocop-rails
|
6
|
+
# @see https://github.com/rubocop/rubocop-rails
|
7
|
+
|
8
|
+
require: rubocop-rails
|
9
|
+
|
10
|
+
Rails/DefaultScope:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Rails/EnvironmentVariableAccess:
|
14
|
+
Enabled: true
|
15
|
+
AllowReads: true
|
16
|
+
|
17
|
+
Rails/OrderById:
|
18
|
+
Enabled: true
|
19
|
+
|
20
|
+
Rails/PluckId:
|
21
|
+
Enabled: true
|
22
|
+
|
23
|
+
Rails/RequireDependency:
|
24
|
+
Enabled: true
|
25
|
+
|
26
|
+
Rails/ReversibleMigrationMethodDefinition:
|
27
|
+
Enabled: true
|
28
|
+
|
29
|
+
Rails/SaveBang:
|
30
|
+
Enabled: true
|
31
|
+
AllowImplicitReturn: false
|
32
|
+
|
33
|
+
Rails/TableNameAssignment:
|
34
|
+
Enabled: true
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Code style checking for RSpec files. A plugin for the RuboCop code style
|
2
|
+
# enforcing & linting tool.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-rspec
|
5
|
+
# @see https://docs.rubocop.org/rubocop-rspec
|
6
|
+
# @see https://github.com/rubocop/rubocop-rspec
|
7
|
+
|
8
|
+
require: rubocop-rspec
|
9
|
+
|
10
|
+
RSpec/DescribedClassModuleWrapping:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
RSpec/ExampleLength:
|
14
|
+
CountAsOne:
|
15
|
+
- array
|
16
|
+
- hash
|
17
|
+
- heredoc
|
18
|
+
- method_call
|
19
|
+
|
20
|
+
RSpec/MessageExpectation:
|
21
|
+
Enabled: true
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Code style checking for RSpec Rails files. A plugin for the RuboCop code style
|
2
|
+
# enforcing & linting tool.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop-rspec_rails
|
5
|
+
# @see https://docs.rubocop.org/rubocop-rspec_rails
|
6
|
+
# @see https://github.com/rubocop/rubocop-rspec_rails
|
7
|
+
|
8
|
+
require: rubocop-rspec_rails
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Style cops check for stylistic consistency of your code. Many of the them are
|
2
|
+
# based on the Ruby Style Guide.
|
3
|
+
#
|
4
|
+
# @see https://docs.rubocop.org/rubocop/cops_style.html
|
5
|
+
|
6
|
+
Style/ArrayCoercion:
|
7
|
+
Enabled: true
|
8
|
+
|
9
|
+
Style/AutoResourceCleanup:
|
10
|
+
Enabled: true
|
11
|
+
|
12
|
+
Style/ClassMethodsDefinitions:
|
13
|
+
Enabled: true
|
14
|
+
|
15
|
+
Style/CollectionMethods:
|
16
|
+
Enabled: true
|
17
|
+
|
18
|
+
Style/DateTime:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
Style/Documentation:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Style/EmptyMethod:
|
25
|
+
EnforcedStyle: expanded
|
26
|
+
|
27
|
+
Style/HashSyntax:
|
28
|
+
EnforcedShorthandSyntax: never
|
29
|
+
|
30
|
+
Style/MethodCalledOnDoEndBlock:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
Style/MultilineMethodSignature:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
Style/OptionHash:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
Style/ReturnNil:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Style/Send:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Style/StaticClass:
|
46
|
+
Enabled: true
|
47
|
+
|
48
|
+
Style/StringLiterals:
|
49
|
+
EnforcedStyle: double_quotes
|
50
|
+
|
51
|
+
Style/StringLiteralsInInterpolation:
|
52
|
+
EnforcedStyle: double_quotes
|
53
|
+
|
54
|
+
Style/StringMethods:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
Style/SymbolArray:
|
58
|
+
EnforcedStyle: brackets
|
59
|
+
|
60
|
+
Style/WordArray:
|
61
|
+
EnforcedStyle: brackets
|
62
|
+
|
63
|
+
Style/UnlessLogicalOperators:
|
64
|
+
Enabled: true
|
data/config/rubocop.yml
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# RuboCop is a Ruby code style checking and code formatting tool. It aims to
|
2
|
+
# enforce the community-driven Ruby Style Guide.
|
3
|
+
#
|
4
|
+
# @see https://rubygems.org/gems/rubocop
|
5
|
+
# @see https://docs.rubocop.org/rubocop
|
6
|
+
# @see https://github.com/rubocop/rubocop
|
7
|
+
|
8
|
+
inherit_from:
|
9
|
+
- ./rubocop-layout.yml
|
10
|
+
- ./rubocop-lint.yml
|
11
|
+
- ./rubocop-metrics.yml
|
12
|
+
- ./rubocop-naming.yml
|
13
|
+
- ./rubocop-style.yml
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-cargosense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CargoSense
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.59'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-capybara
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.20'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.20'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-factory_bot
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.25'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.25'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rubocop-performance
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +66,20 @@ dependencies:
|
|
38
66
|
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '1.20'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.23'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.23'
|
41
83
|
- !ruby/object:Gem::Dependency
|
42
84
|
name: rubocop-rake
|
43
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +94,34 @@ dependencies:
|
|
52
94
|
- - "~>"
|
53
95
|
- !ruby/object:Gem::Version
|
54
96
|
version: '0.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.28'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.28'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-rspec_rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.28.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.28.1
|
55
125
|
description: Reusable RuboCop configuration for CargoSense's Ruby projects.
|
56
126
|
email:
|
57
127
|
- rubygems@cargosense.com
|
@@ -62,6 +132,19 @@ files:
|
|
62
132
|
- LICENSE
|
63
133
|
- README.md
|
64
134
|
- config/default.yml
|
135
|
+
- config/rubocop-capybara.yml
|
136
|
+
- config/rubocop-factory_bot.yml
|
137
|
+
- config/rubocop-layout.yml
|
138
|
+
- config/rubocop-lint.yml
|
139
|
+
- config/rubocop-metrics.yml
|
140
|
+
- config/rubocop-naming.yml
|
141
|
+
- config/rubocop-performance.yml
|
142
|
+
- config/rubocop-rails.yml
|
143
|
+
- config/rubocop-rake.yml
|
144
|
+
- config/rubocop-rspec.yml
|
145
|
+
- config/rubocop-rspec_rails.yml
|
146
|
+
- config/rubocop-style.yml
|
147
|
+
- config/rubocop.yml
|
65
148
|
- lib/rubocop-cargosense.rb
|
66
149
|
- lib/rubocop/cargosense.rb
|
67
150
|
- lib/rubocop/cargosense/inject.rb
|
@@ -70,8 +153,9 @@ licenses:
|
|
70
153
|
- MIT
|
71
154
|
metadata:
|
72
155
|
bug_tracker_uri: https://github.com/CargoSense/rubocop-cargosense/issues
|
156
|
+
changelog_uri: https://github.com/CargoSense/rubocop-cargosense/releases
|
73
157
|
rubygems_mfa_required: 'true'
|
74
|
-
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/
|
158
|
+
source_code_uri: https://github.com/CargoSense/rubocop-cargosense/tree/v1.0.0
|
75
159
|
post_install_message:
|
76
160
|
rdoc_options: []
|
77
161
|
require_paths:
|