open_code-rails 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.rubocop.yml +5 -2
- data/.travis.yml +14 -2
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/open_code/rails/middleware.rb +3 -4
- data/lib/open_code/rails/version.rb +1 -1
- data/open_code-rails.gemspec +1 -1
- metadata +3 -4
- data/.shopify-rubocop.yml +0 -1185
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27f067269b2a05dc39f7e2f6dc5e9250a016cdb507b2ff2ed50a95b976eeeac
|
4
|
+
data.tar.gz: 1776f177cd82eecce5e0612f89446db61dd63e7347e63be3001dfd5cc32b9dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d12dc088a8ad0dd31ea33c81fdf324ffc8044cf033eece9f6f8ba910e331ab39e7a72797cf739cc8f283da5975ad64b827aab819092016cfe4df18b8bb89683b
|
7
|
+
data.tar.gz: ff1ae1b0ff253e40f39fdd38e26733af0f208ba1484dad1620506df81d9169ec3d08b48568bcb3017c3084d11f9384290495200d2e3ec530cb7641836c02089d
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -3,5 +3,17 @@ sudo: false
|
|
3
3
|
language: ruby
|
4
4
|
cache: bundler
|
5
5
|
rvm:
|
6
|
-
- 2.
|
7
|
-
|
6
|
+
- 2.3
|
7
|
+
- 2.4
|
8
|
+
- 2.5
|
9
|
+
before_install: gem install bundler -v '~> 1.17.3'
|
10
|
+
jobs:
|
11
|
+
include:
|
12
|
+
- stage: gem release
|
13
|
+
rvm: 2.3
|
14
|
+
script: echo "Deploying to rubygems.org ..."
|
15
|
+
deploy:
|
16
|
+
provider: rubygems
|
17
|
+
gem: open_code-rails
|
18
|
+
api_key: $RUBYGEMS_API_KEY
|
19
|
+
on: release
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# OpenCode::Rails
|
2
2
|
|
3
|
+
[](https://travis-ci.com/eGust/open_code-rails)
|
4
|
+
|
3
5
|
Add links in exception page to open Application Trace file to line in VSCode. Now only support [VSCode](https://code.visualstudio.com/) or [VSCodium](https://github.com/VSCodium/vscodium).
|
4
6
|
|
5
7
|
- Show VSCode icons
|
@@ -10,11 +10,10 @@ module OpenCode
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def call(env)
|
13
|
-
res =
|
13
|
+
res = @app.call(env)
|
14
14
|
begin
|
15
|
-
res = @app.call(env)
|
16
15
|
status, headers, body = res
|
17
|
-
return res unless status == 500 && headers['Content-Type'].to_s.include?('html')
|
16
|
+
return res unless status.to_s == '500' && headers['Content-Type'].to_s.include?('html')
|
18
17
|
|
19
18
|
html = ''
|
20
19
|
body.each { |part| html << part }
|
@@ -22,7 +21,7 @@ module OpenCode
|
|
22
21
|
headers['Content-Length'] = body.size
|
23
22
|
[status, headers, [body]]
|
24
23
|
rescue => e
|
25
|
-
::Rails.logger
|
24
|
+
::Rails.try(:logger)&.error do
|
26
25
|
<<-LOG.strip_heredoc
|
27
26
|
[OpenCode::Rails::Middleware] #{e.class}: #{e}
|
28
27
|
Sorry still something went wrong
|
data/open_code-rails.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = %w(lib)
|
23
23
|
|
24
|
-
spec.required_ruby_version = ">= 2.
|
24
|
+
spec.required_ruby_version = ">= 2.3"
|
25
25
|
spec.add_dependency("railties", ">= 4.2")
|
26
26
|
|
27
27
|
spec.add_development_dependency("bundler", ">= 1.10")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open_code-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -104,7 +104,6 @@ files:
|
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rspec"
|
106
106
|
- ".rubocop.yml"
|
107
|
-
- ".shopify-rubocop.yml"
|
108
107
|
- ".travis.yml"
|
109
108
|
- Gemfile
|
110
109
|
- Gemfile.lock
|
@@ -128,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
127
|
requirements:
|
129
128
|
- - ">="
|
130
129
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2.
|
130
|
+
version: '2.3'
|
132
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
132
|
requirements:
|
134
133
|
- - ">="
|
data/.shopify-rubocop.yml
DELETED
@@ -1,1185 +0,0 @@
|
|
1
|
-
# Downloaded from: http://shopify.github.io/ruby-style-guide/rubocop.yml
|
2
|
-
|
3
|
-
AllCops:
|
4
|
-
Exclude:
|
5
|
-
- 'db/schema.rb'
|
6
|
-
DisabledByDefault: true
|
7
|
-
StyleGuideBaseURL: https://shopify.github.io/ruby-style-guide/
|
8
|
-
|
9
|
-
Lint/AssignmentInCondition:
|
10
|
-
Enabled: true
|
11
|
-
|
12
|
-
Layout/AccessModifierIndentation:
|
13
|
-
EnforcedStyle: indent
|
14
|
-
SupportedStyles:
|
15
|
-
- outdent
|
16
|
-
- indent
|
17
|
-
IndentationWidth:
|
18
|
-
|
19
|
-
Style/Alias:
|
20
|
-
EnforcedStyle: prefer_alias_method
|
21
|
-
SupportedStyles:
|
22
|
-
- prefer_alias
|
23
|
-
- prefer_alias_method
|
24
|
-
|
25
|
-
Layout/AlignHash:
|
26
|
-
EnforcedHashRocketStyle: key
|
27
|
-
EnforcedColonStyle: key
|
28
|
-
EnforcedLastArgumentHashStyle: ignore_implicit
|
29
|
-
SupportedLastArgumentHashStyles:
|
30
|
-
- always_inspect
|
31
|
-
- always_ignore
|
32
|
-
- ignore_implicit
|
33
|
-
- ignore_explicit
|
34
|
-
|
35
|
-
Layout/AlignParameters:
|
36
|
-
EnforcedStyle: with_fixed_indentation
|
37
|
-
SupportedStyles:
|
38
|
-
- with_first_parameter
|
39
|
-
- with_fixed_indentation
|
40
|
-
IndentationWidth:
|
41
|
-
|
42
|
-
Style/AndOr:
|
43
|
-
EnforcedStyle: always
|
44
|
-
SupportedStyles:
|
45
|
-
- always
|
46
|
-
- conditionals
|
47
|
-
|
48
|
-
Style/BarePercentLiterals:
|
49
|
-
EnforcedStyle: bare_percent
|
50
|
-
SupportedStyles:
|
51
|
-
- percent_q
|
52
|
-
- bare_percent
|
53
|
-
|
54
|
-
Style/BlockDelimiters:
|
55
|
-
EnforcedStyle: line_count_based
|
56
|
-
SupportedStyles:
|
57
|
-
- line_count_based
|
58
|
-
- semantic
|
59
|
-
- braces_for_chaining
|
60
|
-
ProceduralMethods:
|
61
|
-
- benchmark
|
62
|
-
- bm
|
63
|
-
- bmbm
|
64
|
-
- create
|
65
|
-
- each_with_object
|
66
|
-
- measure
|
67
|
-
- new
|
68
|
-
- realtime
|
69
|
-
- tap
|
70
|
-
- with_object
|
71
|
-
FunctionalMethods:
|
72
|
-
- let
|
73
|
-
- let!
|
74
|
-
- subject
|
75
|
-
- watch
|
76
|
-
IgnoredMethods:
|
77
|
-
- lambda
|
78
|
-
- proc
|
79
|
-
- it
|
80
|
-
|
81
|
-
Style/BracesAroundHashParameters:
|
82
|
-
EnforcedStyle: no_braces
|
83
|
-
SupportedStyles:
|
84
|
-
- braces
|
85
|
-
- no_braces
|
86
|
-
- context_dependent
|
87
|
-
|
88
|
-
Layout/CaseIndentation:
|
89
|
-
EnforcedStyle: end
|
90
|
-
SupportedStyles:
|
91
|
-
- case
|
92
|
-
- end
|
93
|
-
IndentOneStep: false
|
94
|
-
IndentationWidth:
|
95
|
-
|
96
|
-
Style/ClassAndModuleChildren:
|
97
|
-
EnforcedStyle: nested
|
98
|
-
SupportedStyles:
|
99
|
-
- nested
|
100
|
-
- compact
|
101
|
-
|
102
|
-
Style/ClassCheck:
|
103
|
-
EnforcedStyle: is_a?
|
104
|
-
SupportedStyles:
|
105
|
-
- is_a?
|
106
|
-
- kind_of?
|
107
|
-
|
108
|
-
Style/CommandLiteral:
|
109
|
-
EnforcedStyle: percent_x
|
110
|
-
SupportedStyles:
|
111
|
-
- backticks
|
112
|
-
- percent_x
|
113
|
-
- mixed
|
114
|
-
AllowInnerBackticks: false
|
115
|
-
|
116
|
-
Style/CommentAnnotation:
|
117
|
-
Keywords:
|
118
|
-
- TODO
|
119
|
-
- FIXME
|
120
|
-
- OPTIMIZE
|
121
|
-
- HACK
|
122
|
-
- REVIEW
|
123
|
-
|
124
|
-
Style/ConditionalAssignment:
|
125
|
-
EnforcedStyle: assign_to_condition
|
126
|
-
SupportedStyles:
|
127
|
-
- assign_to_condition
|
128
|
-
- assign_inside_condition
|
129
|
-
SingleLineConditionsOnly: true
|
130
|
-
|
131
|
-
Layout/DotPosition:
|
132
|
-
EnforcedStyle: leading
|
133
|
-
SupportedStyles:
|
134
|
-
- leading
|
135
|
-
- trailing
|
136
|
-
|
137
|
-
Style/EmptyElse:
|
138
|
-
EnforcedStyle: both
|
139
|
-
SupportedStyles:
|
140
|
-
- empty
|
141
|
-
- nil
|
142
|
-
- both
|
143
|
-
|
144
|
-
Layout/EmptyLineBetweenDefs:
|
145
|
-
AllowAdjacentOneLineDefs: false
|
146
|
-
|
147
|
-
Layout/EmptyLinesAroundBlockBody:
|
148
|
-
EnforcedStyle: no_empty_lines
|
149
|
-
SupportedStyles:
|
150
|
-
- empty_lines
|
151
|
-
- no_empty_lines
|
152
|
-
|
153
|
-
Layout/EmptyLinesAroundClassBody:
|
154
|
-
EnforcedStyle: no_empty_lines
|
155
|
-
SupportedStyles:
|
156
|
-
- empty_lines
|
157
|
-
- empty_lines_except_namespace
|
158
|
-
- no_empty_lines
|
159
|
-
|
160
|
-
Layout/EmptyLinesAroundModuleBody:
|
161
|
-
EnforcedStyle: no_empty_lines
|
162
|
-
SupportedStyles:
|
163
|
-
- empty_lines
|
164
|
-
- empty_lines_except_namespace
|
165
|
-
- no_empty_lines
|
166
|
-
|
167
|
-
Layout/ExtraSpacing:
|
168
|
-
AllowForAlignment: true
|
169
|
-
ForceEqualSignAlignment: false
|
170
|
-
|
171
|
-
Naming/FileName:
|
172
|
-
Exclude: []
|
173
|
-
ExpectMatchingDefinition: false
|
174
|
-
Regex:
|
175
|
-
IgnoreExecutableScripts: true
|
176
|
-
|
177
|
-
Layout/FirstParameterIndentation:
|
178
|
-
EnforcedStyle: consistent
|
179
|
-
SupportedStyles:
|
180
|
-
- consistent
|
181
|
-
- special_for_inner_method_call
|
182
|
-
- special_for_inner_method_call_in_parentheses
|
183
|
-
IndentationWidth:
|
184
|
-
|
185
|
-
Style/For:
|
186
|
-
EnforcedStyle: each
|
187
|
-
SupportedStyles:
|
188
|
-
- for
|
189
|
-
- each
|
190
|
-
|
191
|
-
Style/FormatString:
|
192
|
-
EnforcedStyle: format
|
193
|
-
SupportedStyles:
|
194
|
-
- format
|
195
|
-
- sprintf
|
196
|
-
- percent
|
197
|
-
|
198
|
-
Style/FrozenStringLiteralComment:
|
199
|
-
Details: >-
|
200
|
-
Add `# frozen_string_literal: true` to the top of the file. Frozen string
|
201
|
-
literals will become the default in a future Ruby version, and we want to
|
202
|
-
make sure we're ready.
|
203
|
-
EnforcedStyle: when_needed
|
204
|
-
SupportedStyles:
|
205
|
-
- when_needed
|
206
|
-
- always
|
207
|
-
- never
|
208
|
-
|
209
|
-
Style/GlobalVars:
|
210
|
-
AllowedVariables: []
|
211
|
-
|
212
|
-
Style/HashSyntax:
|
213
|
-
EnforcedStyle: ruby19
|
214
|
-
SupportedStyles:
|
215
|
-
- ruby19
|
216
|
-
- hash_rockets
|
217
|
-
- no_mixed_keys
|
218
|
-
- ruby19_no_mixed_keys
|
219
|
-
UseHashRocketsWithSymbolValues: false
|
220
|
-
PreferHashRocketsForNonAlnumEndingSymbols: false
|
221
|
-
|
222
|
-
Layout/IndentationConsistency:
|
223
|
-
EnforcedStyle: normal
|
224
|
-
SupportedStyles:
|
225
|
-
- normal
|
226
|
-
- rails
|
227
|
-
|
228
|
-
Layout/IndentationWidth:
|
229
|
-
Width: 2
|
230
|
-
|
231
|
-
Layout/IndentArray:
|
232
|
-
EnforcedStyle: consistent
|
233
|
-
SupportedStyles:
|
234
|
-
- special_inside_parentheses
|
235
|
-
- consistent
|
236
|
-
- align_brackets
|
237
|
-
IndentationWidth:
|
238
|
-
|
239
|
-
Layout/IndentAssignment:
|
240
|
-
IndentationWidth:
|
241
|
-
|
242
|
-
Layout/IndentHash:
|
243
|
-
EnforcedStyle: consistent
|
244
|
-
SupportedStyles:
|
245
|
-
- special_inside_parentheses
|
246
|
-
- consistent
|
247
|
-
- align_braces
|
248
|
-
IndentationWidth:
|
249
|
-
|
250
|
-
Style/LambdaCall:
|
251
|
-
EnforcedStyle: call
|
252
|
-
SupportedStyles:
|
253
|
-
- call
|
254
|
-
- braces
|
255
|
-
|
256
|
-
Style/Next:
|
257
|
-
EnforcedStyle: skip_modifier_ifs
|
258
|
-
MinBodyLength: 3
|
259
|
-
SupportedStyles:
|
260
|
-
- skip_modifier_ifs
|
261
|
-
- always
|
262
|
-
|
263
|
-
Style/NonNilCheck:
|
264
|
-
IncludeSemanticChanges: false
|
265
|
-
|
266
|
-
Style/MethodCallWithArgsParentheses:
|
267
|
-
Enabled: true
|
268
|
-
IgnoreMacros: true
|
269
|
-
IgnoredMethods:
|
270
|
-
- require
|
271
|
-
- require_relative
|
272
|
-
- require_dependency
|
273
|
-
- yield
|
274
|
-
- raise
|
275
|
-
- puts
|
276
|
-
Exclude:
|
277
|
-
- Gemfile
|
278
|
-
|
279
|
-
Style/MethodDefParentheses:
|
280
|
-
EnforcedStyle: require_parentheses
|
281
|
-
SupportedStyles:
|
282
|
-
- require_parentheses
|
283
|
-
- require_no_parentheses
|
284
|
-
- require_no_parentheses_except_multiline
|
285
|
-
|
286
|
-
Naming/MethodName:
|
287
|
-
EnforcedStyle: snake_case
|
288
|
-
SupportedStyles:
|
289
|
-
- snake_case
|
290
|
-
- camelCase
|
291
|
-
|
292
|
-
Layout/MultilineArrayBraceLayout:
|
293
|
-
EnforcedStyle: symmetrical
|
294
|
-
SupportedStyles:
|
295
|
-
- symmetrical
|
296
|
-
- new_line
|
297
|
-
- same_line
|
298
|
-
|
299
|
-
Layout/MultilineHashBraceLayout:
|
300
|
-
EnforcedStyle: symmetrical
|
301
|
-
SupportedStyles:
|
302
|
-
- symmetrical
|
303
|
-
- new_line
|
304
|
-
- same_line
|
305
|
-
|
306
|
-
Layout/MultilineMethodCallBraceLayout:
|
307
|
-
EnforcedStyle: symmetrical
|
308
|
-
SupportedStyles:
|
309
|
-
- symmetrical
|
310
|
-
- new_line
|
311
|
-
- same_line
|
312
|
-
|
313
|
-
Layout/MultilineMethodCallIndentation:
|
314
|
-
EnforcedStyle: indented
|
315
|
-
SupportedStyles:
|
316
|
-
- aligned
|
317
|
-
- indented
|
318
|
-
- indented_relative_to_receiver
|
319
|
-
IndentationWidth: 2
|
320
|
-
|
321
|
-
Layout/MultilineMethodDefinitionBraceLayout:
|
322
|
-
EnforcedStyle: symmetrical
|
323
|
-
SupportedStyles:
|
324
|
-
- symmetrical
|
325
|
-
- new_line
|
326
|
-
- same_line
|
327
|
-
|
328
|
-
Style/NumericLiteralPrefix:
|
329
|
-
EnforcedOctalStyle: zero_only
|
330
|
-
SupportedOctalStyles:
|
331
|
-
- zero_with_o
|
332
|
-
- zero_only
|
333
|
-
|
334
|
-
Style/ParenthesesAroundCondition:
|
335
|
-
AllowSafeAssignment: true
|
336
|
-
|
337
|
-
Style/PercentQLiterals:
|
338
|
-
EnforcedStyle: lower_case_q
|
339
|
-
SupportedStyles:
|
340
|
-
- lower_case_q
|
341
|
-
- upper_case_q
|
342
|
-
|
343
|
-
Naming/PredicateName:
|
344
|
-
NamePrefix:
|
345
|
-
- is_
|
346
|
-
NamePrefixBlacklist:
|
347
|
-
- is_
|
348
|
-
NameWhitelist:
|
349
|
-
- is_a?
|
350
|
-
Exclude:
|
351
|
-
- 'spec/**/*'
|
352
|
-
|
353
|
-
Style/PreferredHashMethods:
|
354
|
-
EnforcedStyle: short
|
355
|
-
SupportedStyles:
|
356
|
-
- short
|
357
|
-
- verbose
|
358
|
-
|
359
|
-
Style/RaiseArgs:
|
360
|
-
EnforcedStyle: exploded
|
361
|
-
SupportedStyles:
|
362
|
-
- compact
|
363
|
-
- exploded
|
364
|
-
|
365
|
-
Style/RedundantReturn:
|
366
|
-
AllowMultipleReturnValues: false
|
367
|
-
|
368
|
-
Style/RegexpLiteral:
|
369
|
-
EnforcedStyle: mixed
|
370
|
-
SupportedStyles:
|
371
|
-
- slashes
|
372
|
-
- percent_r
|
373
|
-
- mixed
|
374
|
-
AllowInnerSlashes: false
|
375
|
-
|
376
|
-
Style/SafeNavigation:
|
377
|
-
ConvertCodeThatCanStartToReturnNil: false
|
378
|
-
Enabled: true
|
379
|
-
|
380
|
-
Lint/SafeNavigationChain:
|
381
|
-
Enabled: true
|
382
|
-
|
383
|
-
Style/Semicolon:
|
384
|
-
AllowAsExpressionSeparator: false
|
385
|
-
|
386
|
-
Style/SignalException:
|
387
|
-
EnforcedStyle: only_raise
|
388
|
-
SupportedStyles:
|
389
|
-
- only_raise
|
390
|
-
- only_fail
|
391
|
-
- semantic
|
392
|
-
|
393
|
-
Style/SingleLineMethods:
|
394
|
-
AllowIfMethodIsEmpty: true
|
395
|
-
|
396
|
-
Layout/SpaceBeforeFirstArg:
|
397
|
-
AllowForAlignment: true
|
398
|
-
|
399
|
-
Style/SpecialGlobalVars:
|
400
|
-
EnforcedStyle: use_english_names
|
401
|
-
SupportedStyles:
|
402
|
-
- use_perl_names
|
403
|
-
- use_english_names
|
404
|
-
|
405
|
-
Style/StabbyLambdaParentheses:
|
406
|
-
EnforcedStyle: require_parentheses
|
407
|
-
SupportedStyles:
|
408
|
-
- require_parentheses
|
409
|
-
- require_no_parentheses
|
410
|
-
|
411
|
-
Style/StringLiteralsInInterpolation:
|
412
|
-
EnforcedStyle: single_quotes
|
413
|
-
SupportedStyles:
|
414
|
-
- single_quotes
|
415
|
-
- double_quotes
|
416
|
-
|
417
|
-
Layout/SpaceAroundBlockParameters:
|
418
|
-
EnforcedStyleInsidePipes: no_space
|
419
|
-
SupportedStylesInsidePipes:
|
420
|
-
- space
|
421
|
-
- no_space
|
422
|
-
|
423
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
424
|
-
EnforcedStyle: space
|
425
|
-
SupportedStyles:
|
426
|
-
- space
|
427
|
-
- no_space
|
428
|
-
|
429
|
-
Layout/SpaceAroundOperators:
|
430
|
-
AllowForAlignment: true
|
431
|
-
|
432
|
-
Layout/SpaceBeforeBlockBraces:
|
433
|
-
EnforcedStyle: space
|
434
|
-
EnforcedStyleForEmptyBraces: space
|
435
|
-
SupportedStyles:
|
436
|
-
- space
|
437
|
-
- no_space
|
438
|
-
|
439
|
-
Layout/SpaceInsideBlockBraces:
|
440
|
-
EnforcedStyle: space
|
441
|
-
SupportedStyles:
|
442
|
-
- space
|
443
|
-
- no_space
|
444
|
-
EnforcedStyleForEmptyBraces: no_space
|
445
|
-
SpaceBeforeBlockParameters: true
|
446
|
-
|
447
|
-
Layout/SpaceInsideHashLiteralBraces:
|
448
|
-
EnforcedStyle: space
|
449
|
-
EnforcedStyleForEmptyBraces: no_space
|
450
|
-
SupportedStyles:
|
451
|
-
- space
|
452
|
-
- no_space
|
453
|
-
- compact
|
454
|
-
|
455
|
-
Layout/SpaceInsideStringInterpolation:
|
456
|
-
EnforcedStyle: no_space
|
457
|
-
SupportedStyles:
|
458
|
-
- space
|
459
|
-
- no_space
|
460
|
-
|
461
|
-
Style/SymbolProc:
|
462
|
-
IgnoredMethods:
|
463
|
-
- respond_to
|
464
|
-
- define_method
|
465
|
-
|
466
|
-
Style/TernaryParentheses:
|
467
|
-
EnforcedStyle: require_no_parentheses
|
468
|
-
SupportedStyles:
|
469
|
-
- require_parentheses
|
470
|
-
- require_no_parentheses
|
471
|
-
AllowSafeAssignment: true
|
472
|
-
|
473
|
-
Layout/TrailingBlankLines:
|
474
|
-
EnforcedStyle: final_newline
|
475
|
-
SupportedStyles:
|
476
|
-
- final_newline
|
477
|
-
- final_blank_line
|
478
|
-
|
479
|
-
Style/TrivialAccessors:
|
480
|
-
ExactNameMatch: true
|
481
|
-
AllowPredicates: true
|
482
|
-
AllowDSLWriters: false
|
483
|
-
IgnoreClassMethods: false
|
484
|
-
Whitelist:
|
485
|
-
- to_ary
|
486
|
-
- to_a
|
487
|
-
- to_c
|
488
|
-
- to_enum
|
489
|
-
- to_h
|
490
|
-
- to_hash
|
491
|
-
- to_i
|
492
|
-
- to_int
|
493
|
-
- to_io
|
494
|
-
- to_open
|
495
|
-
- to_path
|
496
|
-
- to_proc
|
497
|
-
- to_r
|
498
|
-
- to_regexp
|
499
|
-
- to_str
|
500
|
-
- to_s
|
501
|
-
- to_sym
|
502
|
-
|
503
|
-
Naming/VariableName:
|
504
|
-
EnforcedStyle: snake_case
|
505
|
-
SupportedStyles:
|
506
|
-
- snake_case
|
507
|
-
- camelCase
|
508
|
-
|
509
|
-
Style/WhileUntilModifier:
|
510
|
-
Enabled: true
|
511
|
-
|
512
|
-
Style/WordArray:
|
513
|
-
EnforcedStyle: percent
|
514
|
-
SupportedStyles:
|
515
|
-
- percent
|
516
|
-
- brackets
|
517
|
-
MinSize: 0
|
518
|
-
WordRegex: !ruby/regexp /\A[\p{Word}\n\t]+\z/
|
519
|
-
|
520
|
-
Metrics/BlockNesting:
|
521
|
-
Max: 3
|
522
|
-
|
523
|
-
Metrics/LineLength:
|
524
|
-
Max: 120
|
525
|
-
AllowHeredoc: true
|
526
|
-
AllowURI: true
|
527
|
-
URISchemes:
|
528
|
-
- http
|
529
|
-
- https
|
530
|
-
IgnoreCopDirectives: false
|
531
|
-
IgnoredPatterns:
|
532
|
-
- '\A\s*(remote_)?test(_\w+)?\s.*(do|->)(\s|\Z)'
|
533
|
-
|
534
|
-
Metrics/ParameterLists:
|
535
|
-
Max: 5
|
536
|
-
CountKeywordArgs: false
|
537
|
-
|
538
|
-
Layout/BlockAlignment:
|
539
|
-
EnforcedStyleAlignWith: either
|
540
|
-
SupportedStylesAlignWith:
|
541
|
-
- either
|
542
|
-
- start_of_block
|
543
|
-
- start_of_line
|
544
|
-
|
545
|
-
Layout/EndAlignment:
|
546
|
-
EnforcedStyleAlignWith: variable
|
547
|
-
SupportedStylesAlignWith:
|
548
|
-
- keyword
|
549
|
-
- variable
|
550
|
-
- start_of_line
|
551
|
-
|
552
|
-
Layout/DefEndAlignment:
|
553
|
-
EnforcedStyleAlignWith: start_of_line
|
554
|
-
SupportedStylesAlignWith:
|
555
|
-
- start_of_line
|
556
|
-
- def
|
557
|
-
|
558
|
-
Lint/InheritException:
|
559
|
-
EnforcedStyle: runtime_error
|
560
|
-
SupportedStyles:
|
561
|
-
- runtime_error
|
562
|
-
- standard_error
|
563
|
-
|
564
|
-
Lint/UnusedBlockArgument:
|
565
|
-
IgnoreEmptyBlocks: true
|
566
|
-
AllowUnusedKeywordArguments: false
|
567
|
-
|
568
|
-
Lint/UnusedMethodArgument:
|
569
|
-
AllowUnusedKeywordArguments: false
|
570
|
-
IgnoreEmptyMethods: true
|
571
|
-
|
572
|
-
Performance/RedundantMerge:
|
573
|
-
MaxKeyValuePairs: 2
|
574
|
-
|
575
|
-
Rails/ActionFilter:
|
576
|
-
EnforcedStyle: action
|
577
|
-
SupportedStyles:
|
578
|
-
- action
|
579
|
-
- filter
|
580
|
-
Include:
|
581
|
-
- app/controllers/**/*.rb
|
582
|
-
|
583
|
-
Rails/Date:
|
584
|
-
EnforcedStyle: flexible
|
585
|
-
SupportedStyles:
|
586
|
-
- strict
|
587
|
-
- flexible
|
588
|
-
|
589
|
-
Rails/DynamicFindBy:
|
590
|
-
Whitelist:
|
591
|
-
- find_by_sql
|
592
|
-
|
593
|
-
Rails/Exit:
|
594
|
-
Include:
|
595
|
-
- app/**/*.rb
|
596
|
-
- config/**/*.rb
|
597
|
-
- lib/**/*.rb
|
598
|
-
Exclude:
|
599
|
-
- 'lib/**/*.rake'
|
600
|
-
|
601
|
-
Rails/FindBy:
|
602
|
-
Include:
|
603
|
-
- app/models/**/*.rb
|
604
|
-
|
605
|
-
Rails/FindEach:
|
606
|
-
Include:
|
607
|
-
- app/models/**/*.rb
|
608
|
-
|
609
|
-
Rails/HasAndBelongsToMany:
|
610
|
-
Include:
|
611
|
-
- app/models/**/*.rb
|
612
|
-
|
613
|
-
Rails/NotNullColumn:
|
614
|
-
Include:
|
615
|
-
- db/migrate/*.rb
|
616
|
-
|
617
|
-
Rails/Output:
|
618
|
-
Include:
|
619
|
-
- app/**/*.rb
|
620
|
-
- config/**/*.rb
|
621
|
-
- db/**/*.rb
|
622
|
-
- lib/**/*.rb
|
623
|
-
|
624
|
-
Rails/ReadWriteAttribute:
|
625
|
-
Include:
|
626
|
-
- app/models/**/*.rb
|
627
|
-
|
628
|
-
Rails/RequestReferer:
|
629
|
-
EnforcedStyle: referer
|
630
|
-
SupportedStyles:
|
631
|
-
- referer
|
632
|
-
- referrer
|
633
|
-
|
634
|
-
Rails/SafeNavigation:
|
635
|
-
ConvertTry: false
|
636
|
-
|
637
|
-
Rails/ScopeArgs:
|
638
|
-
Include:
|
639
|
-
- app/models/**/*.rb
|
640
|
-
|
641
|
-
Rails/TimeZone:
|
642
|
-
EnforcedStyle: flexible
|
643
|
-
SupportedStyles:
|
644
|
-
- strict
|
645
|
-
- flexible
|
646
|
-
|
647
|
-
Rails/UniqBeforePluck:
|
648
|
-
EnforcedStyle: conservative
|
649
|
-
SupportedStyles:
|
650
|
-
- conservative
|
651
|
-
- aggressive
|
652
|
-
|
653
|
-
Rails/Validation:
|
654
|
-
Include:
|
655
|
-
- app/models/**/*.rb
|
656
|
-
|
657
|
-
Naming/AccessorMethodName:
|
658
|
-
Enabled: true
|
659
|
-
|
660
|
-
Layout/AlignArray:
|
661
|
-
Enabled: true
|
662
|
-
|
663
|
-
Style/ArrayJoin:
|
664
|
-
Enabled: true
|
665
|
-
|
666
|
-
Naming/AsciiIdentifiers:
|
667
|
-
Enabled: true
|
668
|
-
|
669
|
-
Style/Attr:
|
670
|
-
Enabled: true
|
671
|
-
|
672
|
-
Style/BeginBlock:
|
673
|
-
Enabled: true
|
674
|
-
|
675
|
-
Style/BlockComments:
|
676
|
-
Enabled: true
|
677
|
-
|
678
|
-
Layout/BlockEndNewline:
|
679
|
-
Enabled: true
|
680
|
-
|
681
|
-
Style/CaseEquality:
|
682
|
-
Enabled: true
|
683
|
-
|
684
|
-
Style/CharacterLiteral:
|
685
|
-
Enabled: true
|
686
|
-
|
687
|
-
Naming/ClassAndModuleCamelCase:
|
688
|
-
Enabled: true
|
689
|
-
|
690
|
-
Style/ClassMethods:
|
691
|
-
Enabled: true
|
692
|
-
|
693
|
-
Style/ClassVars:
|
694
|
-
Enabled: true
|
695
|
-
|
696
|
-
Layout/ClosingParenthesisIndentation:
|
697
|
-
Enabled: true
|
698
|
-
|
699
|
-
Style/ColonMethodCall:
|
700
|
-
Enabled: true
|
701
|
-
|
702
|
-
Layout/CommentIndentation:
|
703
|
-
Enabled: true
|
704
|
-
|
705
|
-
Naming/ConstantName:
|
706
|
-
Enabled: true
|
707
|
-
|
708
|
-
Style/DateTime:
|
709
|
-
Enabled: true
|
710
|
-
|
711
|
-
Style/DefWithParentheses:
|
712
|
-
Enabled: true
|
713
|
-
|
714
|
-
Style/EachForSimpleLoop:
|
715
|
-
Enabled: true
|
716
|
-
|
717
|
-
Style/EachWithObject:
|
718
|
-
Enabled: true
|
719
|
-
|
720
|
-
Layout/ElseAlignment:
|
721
|
-
Enabled: true
|
722
|
-
|
723
|
-
Style/EmptyCaseCondition:
|
724
|
-
Enabled: true
|
725
|
-
|
726
|
-
Layout/EmptyLines:
|
727
|
-
Enabled: true
|
728
|
-
|
729
|
-
Layout/EmptyLinesAroundAccessModifier:
|
730
|
-
Enabled: true
|
731
|
-
|
732
|
-
Layout/EmptyLinesAroundMethodBody:
|
733
|
-
Enabled: true
|
734
|
-
|
735
|
-
Style/EmptyLiteral:
|
736
|
-
Enabled: true
|
737
|
-
|
738
|
-
Style/EndBlock:
|
739
|
-
Enabled: true
|
740
|
-
|
741
|
-
Layout/EndOfLine:
|
742
|
-
Enabled: true
|
743
|
-
|
744
|
-
Style/EvenOdd:
|
745
|
-
Enabled: true
|
746
|
-
|
747
|
-
Layout/InitialIndentation:
|
748
|
-
Enabled: true
|
749
|
-
|
750
|
-
Lint/FlipFlop:
|
751
|
-
Enabled: true
|
752
|
-
|
753
|
-
Style/IfInsideElse:
|
754
|
-
Enabled: true
|
755
|
-
|
756
|
-
Style/IfUnlessModifierOfIfUnless:
|
757
|
-
Enabled: true
|
758
|
-
|
759
|
-
Style/IfWithSemicolon:
|
760
|
-
Enabled: true
|
761
|
-
|
762
|
-
Style/IdenticalConditionalBranches:
|
763
|
-
Enabled: true
|
764
|
-
|
765
|
-
Style/InfiniteLoop:
|
766
|
-
Enabled: true
|
767
|
-
|
768
|
-
Layout/LeadingCommentSpace:
|
769
|
-
Enabled: true
|
770
|
-
|
771
|
-
Style/LineEndConcatenation:
|
772
|
-
Enabled: true
|
773
|
-
|
774
|
-
Style/MethodCallWithoutArgsParentheses:
|
775
|
-
Enabled: true
|
776
|
-
|
777
|
-
Style/MethodMissingSuper:
|
778
|
-
Enabled: true
|
779
|
-
|
780
|
-
Style/MissingRespondToMissing:
|
781
|
-
Enabled: true
|
782
|
-
|
783
|
-
Layout/MultilineBlockLayout:
|
784
|
-
Enabled: true
|
785
|
-
|
786
|
-
Style/MultilineIfThen:
|
787
|
-
Enabled: true
|
788
|
-
|
789
|
-
Style/MultilineMemoization:
|
790
|
-
Enabled: true
|
791
|
-
|
792
|
-
Style/MultilineTernaryOperator:
|
793
|
-
Enabled: true
|
794
|
-
|
795
|
-
Style/NegatedIf:
|
796
|
-
Enabled: true
|
797
|
-
|
798
|
-
Style/NegatedWhile:
|
799
|
-
Enabled: true
|
800
|
-
|
801
|
-
Style/NestedModifier:
|
802
|
-
Enabled: true
|
803
|
-
|
804
|
-
Style/NestedParenthesizedCalls:
|
805
|
-
Enabled: true
|
806
|
-
|
807
|
-
Style/NestedTernaryOperator:
|
808
|
-
Enabled: true
|
809
|
-
|
810
|
-
Style/NilComparison:
|
811
|
-
Enabled: true
|
812
|
-
|
813
|
-
Style/Not:
|
814
|
-
Enabled: true
|
815
|
-
|
816
|
-
Style/OneLineConditional:
|
817
|
-
Enabled: true
|
818
|
-
|
819
|
-
Naming/BinaryOperatorParameterName:
|
820
|
-
Enabled: true
|
821
|
-
|
822
|
-
Style/OptionalArguments:
|
823
|
-
Enabled: true
|
824
|
-
|
825
|
-
Style/ParallelAssignment:
|
826
|
-
Enabled: true
|
827
|
-
|
828
|
-
Style/PerlBackrefs:
|
829
|
-
Enabled: true
|
830
|
-
|
831
|
-
Style/Proc:
|
832
|
-
Enabled: true
|
833
|
-
|
834
|
-
Style/RedundantBegin:
|
835
|
-
Enabled: true
|
836
|
-
|
837
|
-
Style/RedundantException:
|
838
|
-
Enabled: true
|
839
|
-
|
840
|
-
Style/RedundantFreeze:
|
841
|
-
Enabled: true
|
842
|
-
|
843
|
-
Style/RedundantParentheses:
|
844
|
-
Enabled: true
|
845
|
-
|
846
|
-
Style/RedundantSelf:
|
847
|
-
Enabled: true
|
848
|
-
|
849
|
-
Layout/RescueEnsureAlignment:
|
850
|
-
Enabled: true
|
851
|
-
|
852
|
-
Style/RescueModifier:
|
853
|
-
Enabled: true
|
854
|
-
|
855
|
-
Style/SelfAssignment:
|
856
|
-
Enabled: true
|
857
|
-
|
858
|
-
Layout/SpaceAfterColon:
|
859
|
-
Enabled: true
|
860
|
-
|
861
|
-
Layout/SpaceAfterComma:
|
862
|
-
Enabled: true
|
863
|
-
|
864
|
-
Layout/SpaceAfterMethodName:
|
865
|
-
Enabled: true
|
866
|
-
|
867
|
-
Layout/SpaceAfterNot:
|
868
|
-
Enabled: true
|
869
|
-
|
870
|
-
Layout/SpaceAfterSemicolon:
|
871
|
-
Enabled: true
|
872
|
-
|
873
|
-
Layout/SpaceBeforeComma:
|
874
|
-
Enabled: true
|
875
|
-
|
876
|
-
Layout/SpaceBeforeComment:
|
877
|
-
Enabled: true
|
878
|
-
|
879
|
-
Layout/SpaceBeforeSemicolon:
|
880
|
-
Enabled: true
|
881
|
-
|
882
|
-
Layout/SpaceAroundKeyword:
|
883
|
-
Enabled: true
|
884
|
-
|
885
|
-
Layout/SpaceInsideArrayPercentLiteral:
|
886
|
-
Enabled: true
|
887
|
-
|
888
|
-
Layout/SpaceInsidePercentLiteralDelimiters:
|
889
|
-
Enabled: true
|
890
|
-
|
891
|
-
Layout/SpaceInsideArrayLiteralBrackets:
|
892
|
-
Enabled: true
|
893
|
-
|
894
|
-
Layout/SpaceInsideParens:
|
895
|
-
Enabled: true
|
896
|
-
|
897
|
-
Layout/SpaceInsideRangeLiteral:
|
898
|
-
Enabled: true
|
899
|
-
|
900
|
-
Style/SymbolLiteral:
|
901
|
-
Enabled: true
|
902
|
-
|
903
|
-
Layout/Tab:
|
904
|
-
Enabled: true
|
905
|
-
|
906
|
-
Layout/TrailingWhitespace:
|
907
|
-
Enabled: true
|
908
|
-
|
909
|
-
Style/UnlessElse:
|
910
|
-
Enabled: true
|
911
|
-
|
912
|
-
Style/UnneededCapitalW:
|
913
|
-
Enabled: true
|
914
|
-
|
915
|
-
Style/UnneededInterpolation:
|
916
|
-
Enabled: true
|
917
|
-
|
918
|
-
Style/UnneededPercentQ:
|
919
|
-
Enabled: true
|
920
|
-
|
921
|
-
Style/VariableInterpolation:
|
922
|
-
Enabled: true
|
923
|
-
|
924
|
-
Style/WhenThen:
|
925
|
-
Enabled: true
|
926
|
-
|
927
|
-
Style/WhileUntilDo:
|
928
|
-
Enabled: true
|
929
|
-
|
930
|
-
Style/ZeroLengthPredicate:
|
931
|
-
Enabled: true
|
932
|
-
|
933
|
-
Layout/IndentHeredoc:
|
934
|
-
EnforcedStyle: squiggly
|
935
|
-
|
936
|
-
Lint/AmbiguousOperator:
|
937
|
-
Enabled: true
|
938
|
-
|
939
|
-
Lint/AmbiguousRegexpLiteral:
|
940
|
-
Enabled: true
|
941
|
-
|
942
|
-
Lint/CircularArgumentReference:
|
943
|
-
Enabled: true
|
944
|
-
|
945
|
-
Layout/ConditionPosition:
|
946
|
-
Enabled: true
|
947
|
-
|
948
|
-
Lint/Debugger:
|
949
|
-
Enabled: true
|
950
|
-
|
951
|
-
Lint/DeprecatedClassMethods:
|
952
|
-
Enabled: true
|
953
|
-
|
954
|
-
Lint/DuplicateMethods:
|
955
|
-
Enabled: true
|
956
|
-
|
957
|
-
Lint/DuplicatedKey:
|
958
|
-
Enabled: true
|
959
|
-
|
960
|
-
Lint/EachWithObjectArgument:
|
961
|
-
Enabled: true
|
962
|
-
|
963
|
-
Lint/ElseLayout:
|
964
|
-
Enabled: true
|
965
|
-
|
966
|
-
Lint/EmptyEnsure:
|
967
|
-
Enabled: true
|
968
|
-
|
969
|
-
Lint/EmptyInterpolation:
|
970
|
-
Enabled: true
|
971
|
-
|
972
|
-
Lint/EndInMethod:
|
973
|
-
Enabled: true
|
974
|
-
|
975
|
-
Lint/EnsureReturn:
|
976
|
-
Enabled: true
|
977
|
-
|
978
|
-
Lint/FloatOutOfRange:
|
979
|
-
Enabled: true
|
980
|
-
|
981
|
-
Lint/FormatParameterMismatch:
|
982
|
-
Enabled: true
|
983
|
-
|
984
|
-
Lint/HandleExceptions:
|
985
|
-
Enabled: true
|
986
|
-
|
987
|
-
Lint/ImplicitStringConcatenation:
|
988
|
-
Description: Checks for adjacent string literals on the same line, which could
|
989
|
-
better be represented as a single string literal.
|
990
|
-
|
991
|
-
Lint/IneffectiveAccessModifier:
|
992
|
-
Description: Checks for attempts to use `private` or `protected` to set the visibility
|
993
|
-
of a class method, which does not work.
|
994
|
-
|
995
|
-
Lint/LiteralAsCondition:
|
996
|
-
Enabled: true
|
997
|
-
|
998
|
-
Lint/LiteralInInterpolation:
|
999
|
-
Enabled: true
|
1000
|
-
|
1001
|
-
Lint/Loop:
|
1002
|
-
Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
|
1003
|
-
for post-loop tests.
|
1004
|
-
|
1005
|
-
Lint/NestedMethodDefinition:
|
1006
|
-
Enabled: true
|
1007
|
-
|
1008
|
-
Lint/NextWithoutAccumulator:
|
1009
|
-
Description: Do not omit the accumulator when calling `next` in a `reduce`/`inject`
|
1010
|
-
block.
|
1011
|
-
|
1012
|
-
Lint/NonLocalExitFromIterator:
|
1013
|
-
Enabled: true
|
1014
|
-
|
1015
|
-
Lint/ParenthesesAsGroupedExpression:
|
1016
|
-
Enabled: true
|
1017
|
-
|
1018
|
-
Lint/PercentStringArray:
|
1019
|
-
Enabled: true
|
1020
|
-
|
1021
|
-
Lint/PercentSymbolArray:
|
1022
|
-
Enabled: true
|
1023
|
-
|
1024
|
-
Lint/RandOne:
|
1025
|
-
Description: Checks for `rand(1)` calls. Such calls always return `0` and most
|
1026
|
-
likely a mistake.
|
1027
|
-
|
1028
|
-
Lint/RequireParentheses:
|
1029
|
-
Enabled: true
|
1030
|
-
|
1031
|
-
Lint/RescueException:
|
1032
|
-
Enabled: true
|
1033
|
-
|
1034
|
-
Lint/ShadowedException:
|
1035
|
-
Enabled: true
|
1036
|
-
|
1037
|
-
Lint/ShadowingOuterLocalVariable:
|
1038
|
-
Enabled: true
|
1039
|
-
|
1040
|
-
Lint/StringConversionInInterpolation:
|
1041
|
-
Enabled: true
|
1042
|
-
|
1043
|
-
Lint/UnderscorePrefixedVariableName:
|
1044
|
-
Enabled: true
|
1045
|
-
|
1046
|
-
Lint/UnifiedInteger:
|
1047
|
-
Enabled: true
|
1048
|
-
|
1049
|
-
Lint/UnneededCopDisableDirective:
|
1050
|
-
Enabled: true
|
1051
|
-
|
1052
|
-
Lint/UnneededCopEnableDirective:
|
1053
|
-
Enabled: true
|
1054
|
-
|
1055
|
-
Lint/UnneededSplatExpansion:
|
1056
|
-
Enabled: true
|
1057
|
-
|
1058
|
-
Lint/UnreachableCode:
|
1059
|
-
Enabled: true
|
1060
|
-
|
1061
|
-
Lint/UselessAccessModifier:
|
1062
|
-
ContextCreatingMethods: []
|
1063
|
-
|
1064
|
-
Lint/UselessAssignment:
|
1065
|
-
Enabled: true
|
1066
|
-
|
1067
|
-
Lint/UselessComparison:
|
1068
|
-
Enabled: true
|
1069
|
-
|
1070
|
-
Lint/UselessElseWithoutRescue:
|
1071
|
-
Enabled: true
|
1072
|
-
|
1073
|
-
Lint/UselessSetterCall:
|
1074
|
-
Enabled: true
|
1075
|
-
|
1076
|
-
Lint/Void:
|
1077
|
-
Enabled: true
|
1078
|
-
|
1079
|
-
Performance/CaseWhenSplat:
|
1080
|
-
Enabled: true
|
1081
|
-
|
1082
|
-
Performance/Count:
|
1083
|
-
SafeMode: true
|
1084
|
-
|
1085
|
-
Performance/Detect:
|
1086
|
-
SafeMode: true
|
1087
|
-
|
1088
|
-
Performance/DoubleStartEndWith:
|
1089
|
-
Enabled: true
|
1090
|
-
|
1091
|
-
Performance/EndWith:
|
1092
|
-
Enabled: true
|
1093
|
-
|
1094
|
-
Performance/FixedSize:
|
1095
|
-
Enabled: true
|
1096
|
-
|
1097
|
-
Performance/FlatMap:
|
1098
|
-
EnabledForFlattenWithoutParams: false
|
1099
|
-
|
1100
|
-
Performance/LstripRstrip:
|
1101
|
-
Enabled: true
|
1102
|
-
|
1103
|
-
Performance/RangeInclude:
|
1104
|
-
Enabled: true
|
1105
|
-
|
1106
|
-
Performance/RedundantMatch:
|
1107
|
-
Enabled: true
|
1108
|
-
|
1109
|
-
Performance/RedundantSortBy:
|
1110
|
-
Enabled: true
|
1111
|
-
|
1112
|
-
Performance/RegexpMatch:
|
1113
|
-
Enabled: true
|
1114
|
-
|
1115
|
-
Performance/ReverseEach:
|
1116
|
-
Enabled: true
|
1117
|
-
|
1118
|
-
Performance/Sample:
|
1119
|
-
Enabled: true
|
1120
|
-
|
1121
|
-
Performance/Size:
|
1122
|
-
Enabled: true
|
1123
|
-
|
1124
|
-
Performance/CompareWithBlock:
|
1125
|
-
Enabled: true
|
1126
|
-
|
1127
|
-
Performance/StartWith:
|
1128
|
-
Enabled: true
|
1129
|
-
|
1130
|
-
Performance/StringReplacement:
|
1131
|
-
Enabled: true
|
1132
|
-
|
1133
|
-
Rails/DelegateAllowBlank:
|
1134
|
-
Enabled: true
|
1135
|
-
|
1136
|
-
Rails/HttpPositionalArguments:
|
1137
|
-
Include:
|
1138
|
-
- spec/**/*
|
1139
|
-
- test/**/*
|
1140
|
-
|
1141
|
-
Rails/InverseOf:
|
1142
|
-
Enabled: true
|
1143
|
-
|
1144
|
-
Rails/OutputSafety:
|
1145
|
-
Enabled: true
|
1146
|
-
|
1147
|
-
Rails/PluralizationGrammar:
|
1148
|
-
Enabled: true
|
1149
|
-
|
1150
|
-
Security/Eval:
|
1151
|
-
Enabled: true
|
1152
|
-
|
1153
|
-
Security/JSONLoad:
|
1154
|
-
Enabled: true
|
1155
|
-
|
1156
|
-
Security/Open:
|
1157
|
-
Enabled: true
|
1158
|
-
|
1159
|
-
Lint/BigDecimalNew:
|
1160
|
-
Enabled: true
|
1161
|
-
|
1162
|
-
Style/TrailingBodyOnClass:
|
1163
|
-
Enabled: true
|
1164
|
-
|
1165
|
-
Style/TrailingBodyOnModule:
|
1166
|
-
Enabled: true
|
1167
|
-
|
1168
|
-
Style/TrailingCommaInArrayLiteral:
|
1169
|
-
EnforcedStyleForMultiline: comma
|
1170
|
-
Enabled: true
|
1171
|
-
|
1172
|
-
Style/TrailingCommaInHashLiteral:
|
1173
|
-
EnforcedStyleForMultiline: comma
|
1174
|
-
Enabled: true
|
1175
|
-
|
1176
|
-
Layout/SpaceInsideReferenceBrackets:
|
1177
|
-
EnforcedStyle: no_space
|
1178
|
-
EnforcedStyleForEmptyBrackets: no_space
|
1179
|
-
Enabled: true
|
1180
|
-
|
1181
|
-
Style/ModuleFunction:
|
1182
|
-
EnforcedStyle: extend_self
|
1183
|
-
|
1184
|
-
Lint/OrderedMagicComments:
|
1185
|
-
Enabled: true
|