punk 0.3.6 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +1091 -93
- data/.standard.yml +2 -0
- data/Gemfile +60 -60
- data/Gemfile.lock +22 -17
- data/README.md +7 -3
- data/Rakefile +9 -7
- data/VERSION +1 -1
- data/app/migrations/001_lets_punk.rb +1 -1
- data/app/routes/hello.rb +1 -1
- data/bin/punk +5 -5
- data/lib/punk.rb +7 -7
- data/lib/punk/actions/sessions/create.rb +3 -3
- data/lib/punk/actions/sessions/verify.rb +2 -2
- data/lib/punk/commands/auth.rb +4 -4
- data/lib/punk/commands/generate.rb +5 -5
- data/lib/punk/commands/http.rb +4 -4
- data/lib/punk/commands/list.rb +10 -10
- data/lib/punk/core/app.rb +41 -41
- data/lib/punk/core/boot.rb +5 -5
- data/lib/punk/core/cli.rb +3 -3
- data/lib/punk/core/commander.rb +28 -28
- data/lib/punk/core/commands.rb +8 -8
- data/lib/punk/core/env.rb +27 -27
- data/lib/punk/core/exec.rb +8 -8
- data/lib/punk/core/interface.rb +19 -19
- data/lib/punk/core/load.rb +2 -2
- data/lib/punk/core/logger.rb +3 -3
- data/lib/punk/core/monkey.rb +1 -1
- data/lib/punk/core/pry.rb +2 -2
- data/lib/punk/core/settings.rb +4 -4
- data/lib/punk/core/version.rb +1 -1
- data/lib/punk/core/worker.rb +6 -6
- data/lib/punk/framework/all.rb +8 -8
- data/lib/punk/framework/model.rb +6 -5
- data/lib/punk/framework/plugins/all.rb +1 -1
- data/lib/punk/framework/plugins/validation.rb +8 -8
- data/lib/punk/framework/service.rb +5 -3
- data/lib/punk/framework/worker.rb +3 -3
- data/lib/punk/helpers/all.rb +5 -5
- data/lib/punk/helpers/loggable.rb +3 -3
- data/lib/punk/helpers/publishable.rb +1 -1
- data/lib/punk/helpers/renderable.rb +10 -10
- data/lib/punk/helpers/validatable.rb +7 -6
- data/lib/punk/migrations/001_punk.rb +12 -12
- data/lib/punk/models/group.rb +1 -1
- data/lib/punk/models/identity.rb +1 -1
- data/lib/punk/models/session.rb +7 -7
- data/lib/punk/models/tenant.rb +1 -1
- data/lib/punk/models/user.rb +2 -2
- data/lib/punk/plugins/all.rb +2 -2
- data/lib/punk/plugins/cors.rb +2 -2
- data/lib/punk/plugins/ssl.rb +1 -1
- data/lib/punk/routes/groups.rb +1 -1
- data/lib/punk/routes/plivo.rb +1 -1
- data/lib/punk/routes/sessions.rb +2 -2
- data/lib/punk/routes/swagger.rb +2 -2
- data/lib/punk/routes/tenants.rb +1 -1
- data/lib/punk/routes/users.rb +1 -1
- data/lib/punk/services/challenge_claim.rb +5 -5
- data/lib/punk/services/generate_swagger.rb +6 -6
- data/lib/punk/services/prove_claim.rb +1 -1
- data/lib/punk/startup/cache.rb +3 -3
- data/lib/punk/startup/database.rb +4 -4
- data/lib/punk/startup/environment.rb +6 -6
- data/lib/punk/startup/logger.rb +2 -2
- data/lib/punk/startup/task.rb +5 -5
- data/lib/punk/views/fail.rb +2 -2
- data/lib/punk/views/groups/list.rb +2 -2
- data/lib/punk/views/info.rb +2 -2
- data/lib/punk/views/plivo_store.rb +2 -2
- data/lib/punk/views/sessions/list.rb +2 -2
- data/lib/punk/views/sessions/pending.rb +2 -2
- data/lib/punk/views/tenants/list.rb +2 -2
- data/lib/punk/views/users/list.rb +2 -2
- data/lib/punk/views/users/show.rb +2 -2
- data/lib/punk/workers/geocode_session_worker.rb +3 -3
- data/lib/punk/workers/identify_session_worker.rb +1 -1
- data/lib/punk/workers/send_email_worker.rb +3 -3
- data/lib/punk/workers/send_sms_worker.rb +3 -3
- data/punk.gemspec +8 -4
- data/spec/actions/groups/punk/list_groups_action_spec.rb +9 -9
- data/spec/actions/sessions/punk/clear_session_action_spec.rb +11 -11
- data/spec/actions/sessions/punk/create_session_action_spec.rb +9 -9
- data/spec/actions/sessions/punk/list_sessions_action_spec.rb +8 -8
- data/spec/actions/sessions/punk/verify_session_action_spec.rb +24 -24
- data/spec/actions/tenants/punk/list_tenants_action_spec.rb +6 -6
- data/spec/actions/users/punk/list_group_users_action_spec.rb +6 -6
- data/spec/actions/users/punk/list_tenant_users_action_spec.rb +6 -6
- data/spec/factories/group.rb +1 -1
- data/spec/factories/group_user_metadata.rb +1 -1
- data/spec/factories/identity.rb +4 -4
- data/spec/factories/session.rb +1 -1
- data/spec/factories/tenant.rb +1 -1
- data/spec/factories/tenant_user_metadata.rb +1 -1
- data/spec/factories/user.rb +1 -1
- data/spec/lib/commands/generate_spec.rb +2 -2
- data/spec/lib/commands/list_spec.rb +2 -2
- data/spec/lib/commands/swagger_spec.rb +2 -2
- data/spec/lib/engine/punk_env_spec.rb +4 -4
- data/spec/lib/engine/punk_exec_spec.rb +2 -2
- data/spec/lib/engine/punk_init_spec.rb +2 -2
- data/spec/lib/engine/punk_store_spec.rb +2 -2
- data/spec/models/punk/group_spec.rb +4 -4
- data/spec/models/punk/group_user_metadata_spec.rb +2 -2
- data/spec/models/punk/identity_spec.rb +17 -17
- data/spec/models/punk/session_spec.rb +4 -4
- data/spec/models/punk/tenant_spec.rb +3 -3
- data/spec/models/punk/tenant_user_metadata_spec.rb +2 -2
- data/spec/models/punk/user_spec.rb +9 -9
- data/spec/routes/groups/get_groups_spec.rb +4 -4
- data/spec/routes/plivo/get_plivo_spec.rb +1 -1
- data/spec/routes/sessions/delete_session_spec.rb +1 -1
- data/spec/routes/sessions/get_sessions_spec.rb +5 -5
- data/spec/routes/sessions/patch_session_spec.rb +1 -1
- data/spec/routes/sessions/post_session_spec.rb +1 -1
- data/spec/routes/swagger/get_swagger_spec.rb +1 -1
- data/spec/routes/tenants/get_tenants_spec.rb +5 -5
- data/spec/routes/users/get_users_spec.rb +6 -6
- data/spec/services/punk/challenge_claim_service_spec.rb +2 -2
- data/spec/services/punk/create_identities_service_spec.rb +1 -1
- data/spec/services/punk/generate_swagger_service_spec.rb +2 -2
- data/spec/services/punk/prove_claim_service_spec.rb +2 -2
- data/spec/services/punk/secret_service_spec.rb +2 -2
- data/spec/spec_helper.rb +27 -27
- data/spec/views/punk/plivo_store_spec.rb +2 -2
- data/spec/views/sessions/punk/list_sessions_view_spec.rb +2 -2
- data/spec/views/sessions/punk/pending_session_view_spec.rb +2 -2
- data/spec/views/tenants/punk/list_tenants_view_spec.rb +2 -2
- data/spec/views/users/punk/list_groups_view_spec.rb +2 -2
- data/spec/views/users/punk/list_users_view_spec.rb +2 -2
- data/spec/workers/punk/geocode_session_worker_spec.rb +2 -2
- data/spec/workers/punk/identify_session_worker_spec.rb +3 -3
- data/spec/workers/punk/send_email_worker_spec.rb +1 -1
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed51b8d7017e99001ea059a4fa280f5adb40b8dc1601216764a126255cc1dc9a
|
4
|
+
data.tar.gz: 31f74885547a3ac9f657657f63df143a2daa016e7e451082b1a057bf13a38cda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2520f5015e52558aab8712bc5c9e3c18a27b7556e115b18943bb30e6997fb5f3dc17b48b1148d3ea07c63f00b9e66a23cdde7afd4ba91f56b0b1a556080b108
|
7
|
+
data.tar.gz: 535853ffdc048361a15ce37c78750c73d61e8b0148dd66c356e61d3dfbd33be86b2e123a085d027e3bff2cc32c0ff86cc275cbf3f2dbf46cde07c7f43bc18c9a
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rails
|
3
3
|
- rubocop-rspec
|
4
|
+
- rubocop-sequel
|
5
|
+
- rubocop-performance
|
4
6
|
|
5
7
|
AllCops:
|
6
|
-
|
7
|
-
|
8
|
-
DisplayCopNames: true
|
8
|
+
TargetRubyVersion: 2.6
|
9
|
+
DisabledByDefault: true
|
9
10
|
Exclude:
|
10
11
|
- "punk.gemspec"
|
11
12
|
- ".bundle/**/*"
|
@@ -20,224 +21,1221 @@ RSpec/FilePath:
|
|
20
21
|
Exclude:
|
21
22
|
- spec/routes/**/*
|
22
23
|
|
23
|
-
|
24
|
+
RSpec/EmptyExampleGroup:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
RSpec/MultipleExpectations:
|
28
|
+
Max: 2
|
29
|
+
|
30
|
+
Rails/ActiveRecordCallbacksOrder:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
Rails/FindById:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
Rails/Inquiry:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
Rails/MailerName:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Rails/MatchRoute:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Rails/NegateInclude:
|
46
|
+
Enabled: true
|
47
|
+
|
48
|
+
Rails/Pluck:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Rails/PluckInWhere:
|
52
|
+
Enabled: true
|
53
|
+
|
54
|
+
Rails/RenderInline:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
Rails/RenderPlainText:
|
58
|
+
Enabled: true
|
59
|
+
|
60
|
+
Rails/ShortI18n:
|
61
|
+
Enabled: true
|
62
|
+
|
63
|
+
Rails/SkipsModelValidations:
|
24
64
|
Enabled: false
|
25
65
|
|
26
|
-
|
66
|
+
Rails/WhereExists:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
Bundler/DuplicatedGem:
|
70
|
+
Enabled: true
|
71
|
+
Include:
|
72
|
+
- '**/*.gemfile'
|
73
|
+
- '**/Gemfile'
|
74
|
+
- '**/gems.rb'
|
75
|
+
|
76
|
+
Bundler/InsecureProtocolSource:
|
77
|
+
Enabled: true
|
78
|
+
Include:
|
79
|
+
- '**/*.gemfile'
|
80
|
+
- '**/Gemfile'
|
81
|
+
- '**/gems.rb'
|
82
|
+
|
83
|
+
Gemspec/DuplicatedAssignment:
|
84
|
+
Enabled: true
|
85
|
+
Include:
|
86
|
+
- '**/*.gemspec'
|
87
|
+
|
88
|
+
Layout/AccessModifierIndentation:
|
89
|
+
Enabled: true
|
90
|
+
EnforcedStyle: indent
|
91
|
+
IndentationWidth: ~
|
92
|
+
|
93
|
+
Layout/ArgumentAlignment:
|
94
|
+
Enabled: true
|
95
|
+
EnforcedStyle: with_fixed_indentation
|
96
|
+
|
97
|
+
Layout/ArrayAlignment:
|
98
|
+
Enabled: true
|
99
|
+
EnforcedStyle: with_fixed_indentation
|
100
|
+
|
101
|
+
Layout/AssignmentIndentation:
|
102
|
+
Enabled: true
|
103
|
+
IndentationWidth: ~
|
104
|
+
|
105
|
+
Layout/BeginEndAlignment:
|
106
|
+
Enabled: true
|
107
|
+
EnforcedStyleAlignWith: start_of_line
|
108
|
+
AutoCorrect: true
|
109
|
+
Severity: warning
|
110
|
+
|
111
|
+
Layout/BlockAlignment:
|
112
|
+
Enabled: true
|
113
|
+
EnforcedStyleAlignWith: either
|
114
|
+
|
115
|
+
Layout/BlockEndNewline:
|
116
|
+
Enabled: true
|
117
|
+
|
118
|
+
Layout/CaseIndentation:
|
119
|
+
# Disabled because IndentOneStep can't be configured for one-liner cases. See:
|
120
|
+
# https://github.com/rubocop-hq/rubocop/issues/6447
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
Layout/ClosingHeredocIndentation:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
Layout/ClosingParenthesisIndentation:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Layout/CommentIndentation:
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Layout/ConditionPosition:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Layout/DefEndAlignment:
|
136
|
+
Enabled: true
|
137
|
+
EnforcedStyleAlignWith: start_of_line
|
138
|
+
AutoCorrect: true
|
139
|
+
Severity: warning
|
140
|
+
|
141
|
+
Layout/DotPosition:
|
142
|
+
Enabled: true
|
143
|
+
EnforcedStyle: leading
|
144
|
+
|
145
|
+
Layout/ElseAlignment:
|
146
|
+
Enabled: true
|
147
|
+
|
148
|
+
Layout/EmptyComment:
|
149
|
+
Enabled: true
|
150
|
+
AllowBorderComment: true
|
151
|
+
AllowMarginComment: true
|
152
|
+
|
153
|
+
Layout/EmptyLineAfterMagicComment:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
Layout/EmptyLineBetweenDefs:
|
157
|
+
Enabled: true
|
158
|
+
AllowAdjacentOneLineDefs: false
|
159
|
+
NumberOfEmptyLines: 1
|
160
|
+
|
161
|
+
Layout/EmptyLines:
|
162
|
+
Enabled: true
|
163
|
+
|
164
|
+
Layout/EmptyLinesAroundAccessModifier:
|
165
|
+
Enabled: true
|
166
|
+
|
167
|
+
Layout/EmptyLinesAroundArguments:
|
168
|
+
Enabled: true
|
169
|
+
|
170
|
+
Layout/EmptyLinesAroundBeginBody:
|
171
|
+
Enabled: true
|
172
|
+
|
173
|
+
Layout/EmptyLinesAroundBlockBody:
|
174
|
+
Enabled: true
|
175
|
+
EnforcedStyle: no_empty_lines
|
176
|
+
|
177
|
+
Layout/EmptyLinesAroundClassBody:
|
178
|
+
Enabled: true
|
179
|
+
EnforcedStyle: no_empty_lines
|
180
|
+
|
181
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
182
|
+
Enabled: true
|
183
|
+
|
184
|
+
Layout/EmptyLinesAroundMethodBody:
|
185
|
+
Enabled: true
|
186
|
+
|
187
|
+
Layout/EmptyLinesAroundModuleBody:
|
188
|
+
Enabled: true
|
189
|
+
EnforcedStyle: no_empty_lines
|
190
|
+
|
191
|
+
Layout/EndAlignment:
|
192
|
+
Enabled: true
|
193
|
+
AutoCorrect: true
|
194
|
+
EnforcedStyleAlignWith: variable
|
195
|
+
Severity: warning
|
196
|
+
|
197
|
+
Layout/EndOfLine:
|
198
|
+
Enabled: true
|
199
|
+
EnforcedStyle: native
|
200
|
+
|
201
|
+
Layout/ExtraSpacing:
|
202
|
+
Enabled: true
|
203
|
+
AllowForAlignment: false
|
204
|
+
AllowBeforeTrailingComments: false
|
205
|
+
ForceEqualSignAlignment: false
|
206
|
+
|
207
|
+
Layout/FirstArgumentIndentation:
|
208
|
+
Enabled: true
|
209
|
+
EnforcedStyle: consistent
|
210
|
+
IndentationWidth: ~
|
211
|
+
|
212
|
+
Layout/FirstArrayElementIndentation:
|
213
|
+
Enabled: true
|
214
|
+
EnforcedStyle: consistent
|
215
|
+
IndentationWidth: ~
|
216
|
+
|
217
|
+
Layout/FirstHashElementIndentation:
|
218
|
+
Enabled: true
|
219
|
+
EnforcedStyle: consistent
|
220
|
+
IndentationWidth: ~
|
221
|
+
|
222
|
+
Layout/HashAlignment:
|
223
|
+
Enabled: true
|
224
|
+
EnforcedHashRocketStyle: key
|
225
|
+
EnforcedColonStyle: key
|
226
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
227
|
+
|
228
|
+
Layout/HeredocIndentation:
|
229
|
+
Enabled: true
|
230
|
+
|
231
|
+
Layout/IndentationConsistency:
|
232
|
+
Enabled: true
|
233
|
+
EnforcedStyle: normal
|
234
|
+
|
235
|
+
Layout/IndentationStyle:
|
236
|
+
Enabled: true
|
237
|
+
IndentationWidth: ~
|
238
|
+
|
239
|
+
Layout/IndentationWidth:
|
240
|
+
Enabled: true
|
241
|
+
Width: 2
|
242
|
+
IgnoredPatterns: []
|
243
|
+
|
244
|
+
Layout/InitialIndentation:
|
245
|
+
Enabled: true
|
246
|
+
|
247
|
+
Layout/LeadingCommentSpace:
|
248
|
+
Enabled: true
|
249
|
+
|
250
|
+
Layout/LeadingEmptyLines:
|
251
|
+
Enabled: true
|
252
|
+
|
253
|
+
Layout/MultilineArrayBraceLayout:
|
254
|
+
Enabled: true
|
255
|
+
EnforcedStyle: symmetrical
|
256
|
+
|
257
|
+
Layout/MultilineBlockLayout:
|
258
|
+
Enabled: true
|
259
|
+
|
260
|
+
Layout/MultilineHashBraceLayout:
|
261
|
+
Enabled: true
|
262
|
+
EnforcedStyle: symmetrical
|
263
|
+
|
264
|
+
Layout/MultilineMethodCallBraceLayout:
|
265
|
+
Enabled: true
|
266
|
+
EnforcedStyle: symmetrical
|
267
|
+
|
268
|
+
Layout/MultilineMethodCallIndentation:
|
269
|
+
Enabled: true
|
270
|
+
EnforcedStyle: indented
|
271
|
+
IndentationWidth: ~
|
272
|
+
|
273
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
274
|
+
Enabled: true
|
275
|
+
EnforcedStyle: symmetrical
|
276
|
+
|
277
|
+
Layout/MultilineOperationIndentation:
|
278
|
+
Enabled: true
|
279
|
+
EnforcedStyle: indented
|
280
|
+
IndentationWidth: ~
|
281
|
+
|
282
|
+
Layout/ParameterAlignment:
|
283
|
+
Enabled: true
|
284
|
+
EnforcedStyle: with_fixed_indentation
|
285
|
+
IndentationWidth: ~
|
286
|
+
|
287
|
+
Layout/RescueEnsureAlignment:
|
288
|
+
Enabled: true
|
289
|
+
|
290
|
+
Layout/SpaceAfterColon:
|
291
|
+
Enabled: true
|
292
|
+
|
293
|
+
Layout/SpaceAfterComma:
|
294
|
+
Enabled: true
|
295
|
+
|
296
|
+
Layout/SpaceAfterMethodName:
|
297
|
+
Enabled: true
|
298
|
+
|
299
|
+
Layout/SpaceAfterNot:
|
300
|
+
Enabled: true
|
301
|
+
|
302
|
+
Layout/SpaceAfterSemicolon:
|
303
|
+
Enabled: true
|
304
|
+
|
305
|
+
Layout/SpaceAroundBlockParameters:
|
306
|
+
Enabled: true
|
307
|
+
EnforcedStyleInsidePipes: no_space
|
308
|
+
|
309
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
310
|
+
Enabled: true
|
311
|
+
EnforcedStyle: space
|
312
|
+
|
313
|
+
Layout/SpaceAroundKeyword:
|
314
|
+
Enabled: true
|
315
|
+
|
316
|
+
Layout/SpaceAroundMethodCallOperator:
|
317
|
+
Enabled: true
|
318
|
+
|
319
|
+
Layout/SpaceAroundOperators:
|
320
|
+
Enabled: true
|
321
|
+
AllowForAlignment: true
|
322
|
+
|
323
|
+
Layout/SpaceBeforeBlockBraces:
|
324
|
+
Enabled: true
|
325
|
+
EnforcedStyle: space
|
326
|
+
EnforcedStyleForEmptyBraces: space
|
327
|
+
|
328
|
+
Layout/SpaceBeforeComma:
|
329
|
+
Enabled: true
|
330
|
+
|
331
|
+
Layout/SpaceBeforeComment:
|
332
|
+
Enabled: true
|
333
|
+
|
334
|
+
Layout/SpaceBeforeFirstArg:
|
335
|
+
Enabled: true
|
336
|
+
AllowForAlignment: true
|
337
|
+
|
338
|
+
Layout/SpaceBeforeSemicolon:
|
339
|
+
Enabled: true
|
340
|
+
|
341
|
+
Layout/SpaceInLambdaLiteral:
|
342
|
+
Enabled: true
|
343
|
+
EnforcedStyle: require_no_space
|
344
|
+
|
345
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
346
|
+
Enabled: true
|
347
|
+
EnforcedStyle: no_space
|
348
|
+
EnforcedStyleForEmptyBrackets: no_space
|
349
|
+
|
350
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
351
|
+
Enabled: true
|
352
|
+
|
353
|
+
Layout/SpaceInsideBlockBraces:
|
354
|
+
Enabled: true
|
355
|
+
EnforcedStyle: space
|
356
|
+
EnforcedStyleForEmptyBraces: no_space
|
357
|
+
SpaceBeforeBlockParameters: true
|
358
|
+
|
359
|
+
Layout/SpaceInsideHashLiteralBraces:
|
360
|
+
Enabled: true
|
361
|
+
EnforcedStyle: no_space
|
362
|
+
EnforcedStyleForEmptyBraces: no_space
|
363
|
+
|
364
|
+
Layout/SpaceInsideParens:
|
365
|
+
Enabled: true
|
366
|
+
EnforcedStyle: no_space
|
367
|
+
|
368
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
369
|
+
Enabled: true
|
370
|
+
|
371
|
+
Layout/SpaceInsideRangeLiteral:
|
372
|
+
Enabled: true
|
373
|
+
|
374
|
+
Layout/SpaceInsideReferenceBrackets:
|
375
|
+
Enabled: true
|
376
|
+
EnforcedStyle: no_space
|
377
|
+
EnforcedStyleForEmptyBrackets: no_space
|
378
|
+
|
379
|
+
Layout/SpaceInsideStringInterpolation:
|
380
|
+
Enabled: true
|
381
|
+
EnforcedStyle: no_space
|
382
|
+
|
383
|
+
Layout/TrailingEmptyLines:
|
384
|
+
Enabled: true
|
385
|
+
EnforcedStyle: final_newline
|
386
|
+
|
387
|
+
Layout/TrailingWhitespace:
|
388
|
+
Enabled: true
|
389
|
+
AllowInHeredoc: true
|
390
|
+
|
391
|
+
Lint/AmbiguousAssignment:
|
392
|
+
Enabled: true
|
393
|
+
|
394
|
+
Lint/AmbiguousOperator:
|
395
|
+
Enabled: true
|
396
|
+
|
397
|
+
Lint/AmbiguousRegexpLiteral:
|
398
|
+
Enabled: true
|
399
|
+
|
400
|
+
Lint/AssignmentInCondition:
|
401
|
+
Enabled: true
|
402
|
+
AllowSafeAssignment: true
|
403
|
+
|
404
|
+
Lint/BigDecimalNew:
|
405
|
+
Enabled: true
|
406
|
+
|
407
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
408
|
+
Enabled: true
|
409
|
+
|
410
|
+
Lint/BooleanSymbol:
|
411
|
+
Enabled: true
|
412
|
+
|
413
|
+
Lint/CircularArgumentReference:
|
414
|
+
Enabled: true
|
415
|
+
|
416
|
+
Lint/ConstantDefinitionInBlock:
|
417
|
+
Enabled: true
|
418
|
+
|
419
|
+
Lint/Debugger:
|
420
|
+
Enabled: true
|
421
|
+
|
422
|
+
Lint/DeprecatedClassMethods:
|
423
|
+
Enabled: true
|
424
|
+
|
425
|
+
Lint/DeprecatedConstants:
|
426
|
+
Enabled: true
|
427
|
+
|
428
|
+
Lint/DeprecatedOpenSSLConstant:
|
429
|
+
Enabled: true
|
430
|
+
|
431
|
+
Lint/DuplicateCaseCondition:
|
432
|
+
Enabled: true
|
433
|
+
|
434
|
+
Lint/DuplicateElsifCondition:
|
435
|
+
Enabled: true
|
436
|
+
|
437
|
+
Lint/DuplicateHashKey:
|
438
|
+
Enabled: true
|
439
|
+
|
440
|
+
Lint/DuplicateMethods:
|
441
|
+
Enabled: true
|
442
|
+
|
443
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
444
|
+
Enabled: true
|
445
|
+
|
446
|
+
Lint/DuplicateRequire:
|
447
|
+
Enabled: true
|
448
|
+
|
449
|
+
Lint/DuplicateRescueException:
|
450
|
+
Enabled: true
|
451
|
+
|
452
|
+
Lint/EachWithObjectArgument:
|
453
|
+
Enabled: true
|
454
|
+
|
455
|
+
Lint/ElseLayout:
|
456
|
+
Enabled: true
|
457
|
+
|
458
|
+
Lint/EmptyEnsure:
|
459
|
+
Enabled: true
|
460
|
+
AutoCorrect: true
|
461
|
+
|
462
|
+
Lint/EmptyExpression:
|
463
|
+
Enabled: true
|
464
|
+
|
465
|
+
Lint/EmptyInterpolation:
|
466
|
+
Enabled: true
|
467
|
+
|
468
|
+
Lint/EmptyWhen:
|
469
|
+
Enabled: true
|
470
|
+
AllowComments: true
|
471
|
+
|
472
|
+
Lint/EnsureReturn:
|
473
|
+
Enabled: true
|
474
|
+
|
475
|
+
Lint/ErbNewArguments:
|
476
|
+
Enabled: true
|
477
|
+
|
478
|
+
Lint/FlipFlop:
|
479
|
+
Enabled: true
|
480
|
+
|
481
|
+
Lint/FloatComparison:
|
482
|
+
Enabled: true
|
483
|
+
|
484
|
+
Lint/FloatOutOfRange:
|
485
|
+
Enabled: true
|
486
|
+
|
487
|
+
Lint/FormatParameterMismatch:
|
488
|
+
Enabled: true
|
489
|
+
|
490
|
+
Lint/IdentityComparison:
|
491
|
+
Enabled: true
|
492
|
+
|
493
|
+
Lint/ImplicitStringConcatenation:
|
494
|
+
Enabled: true
|
495
|
+
|
496
|
+
Lint/IneffectiveAccessModifier:
|
497
|
+
Enabled: true
|
498
|
+
|
499
|
+
Lint/InheritException:
|
500
|
+
Enabled: true
|
501
|
+
EnforcedStyle: runtime_error
|
502
|
+
|
503
|
+
Lint/InterpolationCheck:
|
504
|
+
Enabled: true
|
505
|
+
|
506
|
+
Lint/LiteralAsCondition:
|
507
|
+
Enabled: true
|
508
|
+
|
509
|
+
Lint/LiteralInInterpolation:
|
510
|
+
Enabled: true
|
511
|
+
|
512
|
+
Lint/Loop:
|
513
|
+
Enabled: true
|
514
|
+
|
515
|
+
Lint/MissingCopEnableDirective:
|
516
|
+
Enabled: true
|
517
|
+
MaximumRangeSize: .inf
|
518
|
+
|
519
|
+
Lint/MixedRegexpCaptureTypes:
|
520
|
+
Enabled: true
|
521
|
+
|
522
|
+
Lint/MultipleComparison:
|
523
|
+
Enabled: true
|
524
|
+
|
525
|
+
Lint/NestedMethodDefinition:
|
526
|
+
Enabled: true
|
527
|
+
|
528
|
+
Lint/NestedPercentLiteral:
|
529
|
+
Enabled: true
|
530
|
+
|
531
|
+
Lint/NextWithoutAccumulator:
|
532
|
+
Enabled: true
|
533
|
+
|
534
|
+
Lint/NonDeterministicRequireOrder:
|
535
|
+
Enabled: true
|
536
|
+
|
537
|
+
Lint/NonLocalExitFromIterator:
|
538
|
+
Enabled: true
|
539
|
+
|
540
|
+
Lint/OrderedMagicComments:
|
541
|
+
Enabled: true
|
542
|
+
|
543
|
+
Lint/OutOfRangeRegexpRef:
|
544
|
+
Enabled: true
|
545
|
+
|
546
|
+
Lint/ParenthesesAsGroupedExpression:
|
547
|
+
Enabled: true
|
548
|
+
|
549
|
+
Lint/PercentSymbolArray:
|
550
|
+
Enabled: true
|
551
|
+
|
552
|
+
Lint/RaiseException:
|
553
|
+
Enabled: true
|
554
|
+
|
555
|
+
Lint/RandOne:
|
556
|
+
Enabled: true
|
557
|
+
|
558
|
+
Lint/RedundantRequireStatement:
|
559
|
+
Enabled: true
|
560
|
+
|
561
|
+
Lint/RedundantSplatExpansion:
|
562
|
+
Enabled: true
|
563
|
+
|
564
|
+
Lint/RedundantStringCoercion:
|
565
|
+
Enabled: true
|
566
|
+
|
567
|
+
Lint/RedundantWithIndex:
|
568
|
+
Enabled: true
|
569
|
+
|
570
|
+
Lint/RedundantWithObject:
|
571
|
+
Enabled: true
|
572
|
+
|
573
|
+
Lint/RegexpAsCondition:
|
574
|
+
Enabled: true
|
575
|
+
|
576
|
+
Lint/RequireParentheses:
|
577
|
+
Enabled: true
|
578
|
+
|
579
|
+
Lint/RescueException:
|
580
|
+
Enabled: true
|
581
|
+
|
582
|
+
Lint/RescueType:
|
583
|
+
Enabled: true
|
584
|
+
|
585
|
+
Lint/ReturnInVoidContext:
|
586
|
+
Enabled: true
|
587
|
+
|
588
|
+
Lint/SafeNavigationChain:
|
589
|
+
Enabled: true
|
590
|
+
AllowedMethods:
|
591
|
+
- present?
|
592
|
+
- blank?
|
593
|
+
- presence
|
594
|
+
- try
|
595
|
+
- try!
|
596
|
+
|
597
|
+
Lint/SafeNavigationConsistency:
|
598
|
+
Enabled: true
|
599
|
+
AllowedMethods:
|
600
|
+
- present?
|
601
|
+
- blank?
|
602
|
+
- presence
|
603
|
+
- try
|
604
|
+
- try!
|
605
|
+
|
606
|
+
Lint/SafeNavigationWithEmpty:
|
607
|
+
Enabled: true
|
608
|
+
|
609
|
+
Lint/SelfAssignment:
|
610
|
+
Enabled: true
|
611
|
+
|
612
|
+
Lint/ShadowedArgument:
|
613
|
+
Enabled: true
|
614
|
+
IgnoreImplicitReferences: false
|
615
|
+
|
616
|
+
Lint/ShadowedException:
|
617
|
+
Enabled: true
|
618
|
+
|
619
|
+
Lint/Syntax:
|
620
|
+
Enabled: true
|
621
|
+
|
622
|
+
Lint/TopLevelReturnWithArgument:
|
623
|
+
Enabled: true
|
624
|
+
|
625
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
626
|
+
Enabled: true
|
627
|
+
|
628
|
+
Lint/UnderscorePrefixedVariableName:
|
629
|
+
Enabled: true
|
630
|
+
|
631
|
+
Lint/UnifiedInteger:
|
632
|
+
Enabled: true
|
633
|
+
|
634
|
+
Lint/UnreachableCode:
|
635
|
+
Enabled: true
|
636
|
+
|
637
|
+
Lint/UriEscapeUnescape:
|
638
|
+
Enabled: true
|
639
|
+
|
640
|
+
Lint/UriRegexp:
|
27
641
|
Enabled: true
|
28
642
|
|
29
|
-
|
30
|
-
|
643
|
+
Lint/UselessAssignment:
|
644
|
+
Enabled: true
|
31
645
|
|
32
|
-
|
33
|
-
|
646
|
+
Lint/UselessElseWithoutRescue:
|
647
|
+
Enabled: true
|
34
648
|
|
35
|
-
|
36
|
-
Enabled:
|
649
|
+
Lint/UselessSetterCall:
|
650
|
+
Enabled: true
|
37
651
|
|
38
|
-
|
39
|
-
|
652
|
+
Lint/UselessTimes:
|
653
|
+
Enabled: true
|
40
654
|
|
41
|
-
|
655
|
+
Lint/Void:
|
656
|
+
Enabled: true
|
657
|
+
CheckForMethodsWithNoSideEffects: false
|
658
|
+
|
659
|
+
Migration/DepartmentName:
|
660
|
+
Enabled: true
|
661
|
+
|
662
|
+
Naming/BinaryOperatorParameterName:
|
663
|
+
Enabled: true
|
664
|
+
|
665
|
+
Naming/BlockParameterName:
|
666
|
+
Enabled: true
|
667
|
+
MinNameLength: 1
|
668
|
+
AllowNamesEndingInNumbers: true
|
669
|
+
AllowedNames: []
|
670
|
+
ForbiddenNames: []
|
671
|
+
|
672
|
+
Naming/ClassAndModuleCamelCase:
|
673
|
+
Enabled: true
|
674
|
+
|
675
|
+
Naming/ConstantName:
|
676
|
+
Enabled: true
|
677
|
+
|
678
|
+
Naming/HeredocDelimiterCase:
|
679
|
+
Enabled: true
|
680
|
+
EnforcedStyle: uppercase
|
681
|
+
|
682
|
+
Naming/VariableName:
|
683
|
+
Enabled: true
|
684
|
+
EnforcedStyle: snake_case
|
685
|
+
|
686
|
+
Performance/BigDecimalWithNumericArgument:
|
687
|
+
Enabled: true
|
688
|
+
|
689
|
+
Performance/BindCall:
|
690
|
+
Enabled: true
|
691
|
+
|
692
|
+
Performance/BlockGivenWithExplicitBlock:
|
693
|
+
Enabled: true
|
694
|
+
|
695
|
+
Performance/Caller:
|
42
696
|
Enabled: true
|
43
697
|
|
44
|
-
|
698
|
+
Performance/CollectionLiteralInLoop:
|
45
699
|
Enabled: false
|
46
700
|
|
47
|
-
|
701
|
+
Performance/CompareWithBlock:
|
48
702
|
Enabled: true
|
49
703
|
|
50
|
-
|
704
|
+
Performance/ConstantRegexp:
|
51
705
|
Enabled: true
|
52
706
|
|
53
|
-
|
707
|
+
Performance/Count:
|
54
708
|
Enabled: true
|
55
709
|
|
56
|
-
|
710
|
+
Performance/DeletePrefix:
|
57
711
|
Enabled: true
|
58
712
|
|
59
|
-
|
713
|
+
Performance/DeleteSuffix:
|
60
714
|
Enabled: true
|
61
715
|
|
62
|
-
|
716
|
+
Performance/Detect:
|
63
717
|
Enabled: true
|
64
718
|
|
65
|
-
|
719
|
+
Performance/DoubleStartEndWith:
|
66
720
|
Enabled: true
|
721
|
+
IncludeActiveSupportAliases: false
|
67
722
|
|
68
|
-
|
723
|
+
Performance/EndWith:
|
69
724
|
Enabled: true
|
70
725
|
|
71
|
-
|
726
|
+
Performance/FixedSize:
|
72
727
|
Enabled: true
|
73
728
|
|
74
|
-
|
729
|
+
Performance/FlatMap:
|
75
730
|
Enabled: true
|
731
|
+
EnabledForFlattenWithoutParams: false
|
76
732
|
|
77
|
-
|
733
|
+
Performance/InefficientHashSearch:
|
78
734
|
Enabled: true
|
735
|
+
Safe: false
|
79
736
|
|
80
|
-
|
737
|
+
Performance/RangeInclude:
|
81
738
|
Enabled: true
|
739
|
+
Safe: false
|
82
740
|
|
83
|
-
|
741
|
+
Performance/RedundantMatch:
|
84
742
|
Enabled: true
|
85
743
|
|
86
|
-
|
744
|
+
Performance/RedundantMerge:
|
87
745
|
Enabled: true
|
746
|
+
MaxKeyValuePairs: 2
|
88
747
|
|
89
|
-
|
90
|
-
Enabled:
|
748
|
+
Performance/RedundantSortBlock:
|
749
|
+
Enabled: true
|
91
750
|
|
92
|
-
|
93
|
-
Enabled:
|
751
|
+
Performance/RedundantStringChars:
|
752
|
+
Enabled: true
|
94
753
|
|
95
|
-
|
96
|
-
Enabled:
|
754
|
+
Performance/RegexpMatch:
|
755
|
+
Enabled: true
|
97
756
|
|
98
|
-
|
99
|
-
Enabled:
|
757
|
+
Performance/ReverseEach:
|
758
|
+
Enabled: true
|
100
759
|
|
101
|
-
|
102
|
-
Enabled:
|
760
|
+
Performance/ReverseFirst:
|
761
|
+
Enabled: true
|
103
762
|
|
104
|
-
|
105
|
-
Enabled:
|
763
|
+
Performance/Size:
|
764
|
+
Enabled: true
|
106
765
|
|
107
|
-
|
108
|
-
Enabled:
|
766
|
+
Performance/SortReverse:
|
767
|
+
Enabled: true
|
109
768
|
|
110
|
-
|
111
|
-
Enabled:
|
769
|
+
Performance/Squeeze:
|
770
|
+
Enabled: true
|
112
771
|
|
113
|
-
|
114
|
-
Enabled:
|
772
|
+
Performance/StartWith:
|
773
|
+
Enabled: true
|
115
774
|
|
116
|
-
|
117
|
-
Enabled:
|
775
|
+
Performance/StringReplacement:
|
776
|
+
Enabled: true
|
118
777
|
|
119
|
-
|
120
|
-
|
778
|
+
Performance/UnfreezeString:
|
779
|
+
Enabled: true
|
121
780
|
|
122
|
-
|
781
|
+
Performance/UriDefaultParser:
|
123
782
|
Enabled: true
|
124
783
|
|
125
|
-
|
784
|
+
Security/Eval:
|
126
785
|
Enabled: true
|
127
786
|
|
128
|
-
|
787
|
+
Security/JSONLoad:
|
129
788
|
Enabled: true
|
789
|
+
AutoCorrect: false
|
790
|
+
SafeAutoCorrect: false
|
130
791
|
|
131
|
-
|
132
|
-
Enabled:
|
792
|
+
Security/Open:
|
793
|
+
Enabled: true
|
794
|
+
Safe: false
|
133
795
|
|
134
|
-
|
796
|
+
Security/YAMLLoad:
|
135
797
|
Enabled: true
|
798
|
+
SafeAutoCorrect: false
|
136
799
|
|
137
|
-
Style/
|
800
|
+
Style/BlockDelimiters:
|
138
801
|
Enabled: true
|
139
802
|
|
140
|
-
Style/
|
141
|
-
Enabled:
|
803
|
+
Style/Alias:
|
804
|
+
Enabled: true
|
805
|
+
EnforcedStyle: prefer_alias_method
|
142
806
|
|
143
|
-
Style/
|
144
|
-
Enabled:
|
807
|
+
Style/AndOr:
|
808
|
+
Enabled: true
|
809
|
+
EnforcedStyle: always
|
810
|
+
|
811
|
+
Style/ArgumentsForwarding:
|
812
|
+
Enabled: true
|
813
|
+
AllowOnlyRestArgument: true
|
814
|
+
|
815
|
+
Style/ArrayJoin:
|
816
|
+
Enabled: true
|
817
|
+
|
818
|
+
Style/Attr:
|
819
|
+
Enabled: true
|
820
|
+
|
821
|
+
Style/BarePercentLiterals:
|
822
|
+
Enabled: true
|
823
|
+
EnforcedStyle: bare_percent
|
824
|
+
|
825
|
+
Style/BeginBlock:
|
826
|
+
Enabled: true
|
827
|
+
|
828
|
+
Style/BlockComments:
|
829
|
+
Enabled: true
|
830
|
+
|
831
|
+
Style/CharacterLiteral:
|
832
|
+
Enabled: true
|
833
|
+
|
834
|
+
Style/ClassCheck:
|
835
|
+
Enabled: true
|
836
|
+
EnforcedStyle: is_a?
|
837
|
+
|
838
|
+
Style/ClassEqualityComparison:
|
839
|
+
Enabled: true
|
840
|
+
|
841
|
+
Style/ClassMethods:
|
842
|
+
Enabled: true
|
843
|
+
|
844
|
+
Style/ColonMethodCall:
|
845
|
+
Enabled: true
|
846
|
+
|
847
|
+
Style/ColonMethodDefinition:
|
848
|
+
Enabled: true
|
849
|
+
|
850
|
+
Style/CommandLiteral:
|
851
|
+
Enabled: true
|
852
|
+
EnforcedStyle: mixed
|
853
|
+
AllowInnerBackticks: false
|
854
|
+
|
855
|
+
Style/CommentedKeyword:
|
856
|
+
Enabled: true
|
857
|
+
|
858
|
+
Style/ConditionalAssignment:
|
859
|
+
Enabled: true
|
860
|
+
EnforcedStyle: assign_to_condition
|
861
|
+
SingleLineConditionsOnly: true
|
862
|
+
IncludeTernaryExpressions: true
|
863
|
+
|
864
|
+
Style/DefWithParentheses:
|
865
|
+
Enabled: true
|
866
|
+
|
867
|
+
Style/Dir:
|
868
|
+
Enabled: true
|
869
|
+
|
870
|
+
Style/EachForSimpleLoop:
|
871
|
+
Enabled: true
|
872
|
+
|
873
|
+
Style/EachWithObject:
|
874
|
+
Enabled: true
|
875
|
+
|
876
|
+
Style/EmptyBlockParameter:
|
877
|
+
Enabled: true
|
878
|
+
|
879
|
+
Style/EmptyCaseCondition:
|
880
|
+
Enabled: true
|
881
|
+
|
882
|
+
Style/EmptyElse:
|
883
|
+
Enabled: true
|
884
|
+
EnforcedStyle: both
|
885
|
+
|
886
|
+
Style/EmptyLambdaParameter:
|
887
|
+
Enabled: true
|
888
|
+
|
889
|
+
Style/EmptyLiteral:
|
890
|
+
Enabled: true
|
891
|
+
|
892
|
+
Style/EmptyMethod:
|
893
|
+
Enabled: true
|
894
|
+
EnforcedStyle: expanded
|
895
|
+
|
896
|
+
Style/Encoding:
|
897
|
+
Enabled: true
|
145
898
|
|
146
|
-
Style/
|
899
|
+
Style/EndBlock:
|
147
900
|
Enabled: true
|
901
|
+
AutoCorrect: true
|
902
|
+
|
903
|
+
Style/EvalWithLocation:
|
904
|
+
Enabled: true
|
905
|
+
|
906
|
+
Style/For:
|
907
|
+
Enabled: true
|
908
|
+
EnforcedStyle: each
|
148
909
|
|
149
910
|
Style/GlobalStdStream:
|
150
911
|
Enabled: true
|
151
912
|
|
152
|
-
Style/
|
913
|
+
Style/GlobalVars:
|
153
914
|
Enabled: true
|
915
|
+
AllowedVariables: []
|
154
916
|
|
155
|
-
Style/
|
917
|
+
Style/HashExcept:
|
156
918
|
Enabled: true
|
157
919
|
|
158
|
-
Style/
|
920
|
+
Style/HashSyntax:
|
159
921
|
Enabled: true
|
922
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
160
923
|
|
161
|
-
Style/
|
924
|
+
Style/IdenticalConditionalBranches:
|
162
925
|
Enabled: true
|
163
926
|
|
164
|
-
Style/
|
927
|
+
Style/IfInsideElse:
|
165
928
|
Enabled: true
|
166
929
|
|
167
|
-
Style/
|
930
|
+
Style/IfUnlessModifierOfIfUnless:
|
168
931
|
Enabled: true
|
169
932
|
|
170
|
-
Style/
|
171
|
-
Enabled:
|
933
|
+
Style/IfWithSemicolon:
|
934
|
+
Enabled: true
|
935
|
+
|
936
|
+
Style/InfiniteLoop:
|
937
|
+
Enabled: true
|
938
|
+
|
939
|
+
Style/KeywordParametersOrder:
|
940
|
+
Enabled: true
|
941
|
+
|
942
|
+
Style/LambdaCall:
|
943
|
+
Enabled: true
|
944
|
+
EnforcedStyle: call
|
945
|
+
|
946
|
+
Style/LineEndConcatenation:
|
947
|
+
Enabled: true
|
948
|
+
SafeAutoCorrect: false
|
949
|
+
|
950
|
+
Style/MethodCallWithoutArgsParentheses:
|
951
|
+
Enabled: true
|
952
|
+
IgnoredMethods: []
|
953
|
+
|
954
|
+
Style/MissingRespondToMissing:
|
955
|
+
Enabled: true
|
956
|
+
|
957
|
+
Style/MixinGrouping:
|
958
|
+
Enabled: true
|
959
|
+
EnforcedStyle: separated
|
960
|
+
|
961
|
+
Style/MixinUsage:
|
962
|
+
Enabled: true
|
963
|
+
|
964
|
+
Style/MultilineIfModifier:
|
965
|
+
Enabled: true
|
966
|
+
|
967
|
+
Style/MultilineIfThen:
|
968
|
+
Enabled: true
|
969
|
+
|
970
|
+
Style/MultilineMemoization:
|
971
|
+
Enabled: true
|
972
|
+
EnforcedStyle: keyword
|
973
|
+
|
974
|
+
Style/MultilineWhenThen:
|
975
|
+
Enabled: true
|
976
|
+
|
977
|
+
Style/NegatedIf:
|
978
|
+
Enabled: true
|
979
|
+
EnforcedStyle: postfix
|
980
|
+
|
981
|
+
Style/NegatedWhile:
|
982
|
+
Enabled: true
|
983
|
+
|
984
|
+
Style/NestedModifier:
|
985
|
+
Enabled: true
|
986
|
+
|
987
|
+
Style/NestedParenthesizedCalls:
|
988
|
+
Enabled: true
|
989
|
+
AllowedMethods:
|
990
|
+
- be
|
991
|
+
- be_a
|
992
|
+
- be_an
|
993
|
+
- be_between
|
994
|
+
- be_falsey
|
995
|
+
- be_kind_of
|
996
|
+
- be_instance_of
|
997
|
+
- be_truthy
|
998
|
+
- be_within
|
999
|
+
- eq
|
1000
|
+
- eql
|
1001
|
+
- end_with
|
1002
|
+
- include
|
1003
|
+
- match
|
1004
|
+
- raise_error
|
1005
|
+
- respond_to
|
1006
|
+
- start_with
|
1007
|
+
|
1008
|
+
Style/NestedTernaryOperator:
|
1009
|
+
Enabled: true
|
1010
|
+
|
1011
|
+
Style/NilComparison:
|
1012
|
+
Enabled: true
|
1013
|
+
EnforcedStyle: predicate
|
1014
|
+
|
1015
|
+
Style/NilLambda:
|
1016
|
+
Enabled: true
|
1017
|
+
|
1018
|
+
Style/NonNilCheck:
|
1019
|
+
Enabled: true
|
1020
|
+
IncludeSemanticChanges: false
|
1021
|
+
|
1022
|
+
Style/Not:
|
1023
|
+
Enabled: true
|
1024
|
+
|
1025
|
+
Style/NumericLiteralPrefix:
|
1026
|
+
Enabled: true
|
1027
|
+
EnforcedOctalStyle: zero_with_o
|
1028
|
+
|
1029
|
+
Style/OneLineConditional:
|
1030
|
+
Enabled: true
|
1031
|
+
|
1032
|
+
Style/OptionalArguments:
|
1033
|
+
Enabled: true
|
1034
|
+
|
1035
|
+
Style/OrAssignment:
|
1036
|
+
Enabled: true
|
1037
|
+
|
1038
|
+
Style/ParenthesesAroundCondition:
|
1039
|
+
Enabled: true
|
1040
|
+
AllowSafeAssignment: true
|
1041
|
+
AllowInMultilineConditions: false
|
1042
|
+
|
1043
|
+
Style/PercentLiteralDelimiters:
|
1044
|
+
Enabled: true
|
1045
|
+
PreferredDelimiters:
|
1046
|
+
default: ()
|
1047
|
+
'%i': '[]'
|
1048
|
+
'%I': '[]'
|
1049
|
+
'%r': '{}'
|
1050
|
+
'%w': '[]'
|
1051
|
+
'%W': '[]'
|
1052
|
+
|
1053
|
+
Style/Proc:
|
1054
|
+
Enabled: true
|
1055
|
+
|
1056
|
+
Style/RandomWithOffset:
|
1057
|
+
Enabled: true
|
172
1058
|
|
173
1059
|
Style/RedundantAssignment:
|
174
1060
|
Enabled: true
|
175
1061
|
|
1062
|
+
Style/RedundantBegin:
|
1063
|
+
Enabled: true
|
1064
|
+
|
1065
|
+
Style/RedundantCondition:
|
1066
|
+
Enabled: true
|
1067
|
+
|
1068
|
+
Style/RedundantConditional:
|
1069
|
+
Enabled: true
|
1070
|
+
|
1071
|
+
Style/RedundantException:
|
1072
|
+
Enabled: true
|
1073
|
+
|
176
1074
|
Style/RedundantFetchBlock:
|
177
1075
|
Enabled: true
|
178
1076
|
|
179
1077
|
Style/RedundantFileExtensionInRequire:
|
180
1078
|
Enabled: true
|
181
1079
|
|
1080
|
+
Style/RedundantFreeze:
|
1081
|
+
Enabled: true
|
1082
|
+
|
1083
|
+
Style/RedundantInterpolation:
|
1084
|
+
Enabled: true
|
1085
|
+
|
1086
|
+
Style/RedundantParentheses:
|
1087
|
+
Enabled: true
|
1088
|
+
|
1089
|
+
Style/RedundantPercentQ:
|
1090
|
+
Enabled: true
|
1091
|
+
|
182
1092
|
Style/RedundantRegexpCharacterClass:
|
183
1093
|
Enabled: true
|
184
1094
|
|
185
1095
|
Style/RedundantRegexpEscape:
|
186
1096
|
Enabled: true
|
187
1097
|
|
188
|
-
Style/
|
189
|
-
Enabled:
|
1098
|
+
Style/RedundantReturn:
|
1099
|
+
Enabled: true
|
1100
|
+
AllowMultipleReturnValues: false
|
1101
|
+
|
1102
|
+
Style/RedundantSelf:
|
1103
|
+
Enabled: true
|
1104
|
+
|
1105
|
+
Style/RedundantSort:
|
1106
|
+
Enabled: true
|
1107
|
+
|
1108
|
+
Style/RedundantSortBy:
|
1109
|
+
Enabled: true
|
1110
|
+
|
1111
|
+
Style/RescueModifier:
|
1112
|
+
Enabled: true
|
1113
|
+
|
1114
|
+
Style/RescueStandardError:
|
1115
|
+
Enabled: true
|
1116
|
+
EnforcedStyle: implicit
|
1117
|
+
|
1118
|
+
Style/SafeNavigation:
|
1119
|
+
Enabled: true
|
1120
|
+
ConvertCodeThatCanStartToReturnNil: false
|
1121
|
+
AllowedMethods:
|
1122
|
+
- present?
|
1123
|
+
- blank?
|
1124
|
+
- presence
|
1125
|
+
- try
|
1126
|
+
- try!
|
1127
|
+
|
1128
|
+
Style/Sample:
|
1129
|
+
Enabled: true
|
1130
|
+
|
1131
|
+
Style/SelfAssignment:
|
1132
|
+
Enabled: true
|
1133
|
+
|
1134
|
+
Style/Semicolon:
|
1135
|
+
Enabled: true
|
1136
|
+
AllowAsExpressionSeparator: false
|
190
1137
|
|
191
|
-
Style/
|
1138
|
+
Style/SingleLineMethods:
|
192
1139
|
Enabled: true
|
1140
|
+
AllowIfMethodIsEmpty: false
|
193
1141
|
|
194
1142
|
Style/SlicingWithRange:
|
195
1143
|
Enabled: true
|
196
1144
|
|
197
|
-
Style/
|
1145
|
+
Style/StabbyLambdaParentheses:
|
1146
|
+
Enabled: true
|
1147
|
+
EnforcedStyle: require_parentheses
|
1148
|
+
|
1149
|
+
Style/StderrPuts:
|
198
1150
|
Enabled: true
|
199
1151
|
|
200
1152
|
Style/StringLiterals:
|
201
|
-
Enabled:
|
1153
|
+
Enabled: true
|
1154
|
+
EnforcedStyle: double_quotes
|
1155
|
+
ConsistentQuotesInMultiline: false
|
202
1156
|
|
203
|
-
Style/
|
204
|
-
Enabled:
|
1157
|
+
Style/StringLiteralsInInterpolation:
|
1158
|
+
Enabled: true
|
1159
|
+
EnforcedStyle: double_quotes
|
205
1160
|
|
206
|
-
Style/
|
207
|
-
Enabled:
|
1161
|
+
Style/Strip:
|
1162
|
+
Enabled: true
|
208
1163
|
|
209
|
-
|
1164
|
+
Style/SymbolLiteral:
|
210
1165
|
Enabled: true
|
211
1166
|
|
212
|
-
|
1167
|
+
Style/TernaryParentheses:
|
213
1168
|
Enabled: true
|
1169
|
+
EnforcedStyle: require_no_parentheses
|
1170
|
+
AllowSafeAssignment: true
|
214
1171
|
|
215
|
-
|
1172
|
+
Style/TrailingBodyOnClass:
|
216
1173
|
Enabled: true
|
217
1174
|
|
218
|
-
|
1175
|
+
Style/TrailingBodyOnMethodDefinition:
|
219
1176
|
Enabled: true
|
220
1177
|
|
221
|
-
|
1178
|
+
Style/TrailingBodyOnModule:
|
222
1179
|
Enabled: true
|
223
1180
|
|
224
|
-
|
1181
|
+
Style/TrailingCommaInArguments:
|
225
1182
|
Enabled: true
|
1183
|
+
EnforcedStyleForMultiline: no_comma
|
226
1184
|
|
227
|
-
|
1185
|
+
Style/TrailingCommaInArrayLiteral:
|
228
1186
|
Enabled: true
|
1187
|
+
EnforcedStyleForMultiline: no_comma
|
229
1188
|
|
230
|
-
|
1189
|
+
Style/TrailingCommaInBlockArgs:
|
231
1190
|
Enabled: true
|
232
1191
|
|
233
|
-
|
1192
|
+
Style/TrailingCommaInHashLiteral:
|
234
1193
|
Enabled: true
|
1194
|
+
EnforcedStyleForMultiline: no_comma
|
235
1195
|
|
236
|
-
|
1196
|
+
Style/TrailingMethodEndStatement:
|
237
1197
|
Enabled: true
|
238
1198
|
|
239
|
-
|
240
|
-
Enabled:
|
1199
|
+
Style/TrivialAccessors:
|
1200
|
+
Enabled: true
|
1201
|
+
ExactNameMatch: true
|
1202
|
+
AllowPredicates: true
|
1203
|
+
AllowDSLWriters: false
|
1204
|
+
IgnoreClassMethods: false
|
1205
|
+
AllowedMethods:
|
1206
|
+
- to_ary
|
1207
|
+
- to_a
|
1208
|
+
- to_c
|
1209
|
+
- to_enum
|
1210
|
+
- to_h
|
1211
|
+
- to_hash
|
1212
|
+
- to_i
|
1213
|
+
- to_int
|
1214
|
+
- to_io
|
1215
|
+
- to_open
|
1216
|
+
- to_path
|
1217
|
+
- to_proc
|
1218
|
+
- to_r
|
1219
|
+
- to_regexp
|
1220
|
+
- to_str
|
1221
|
+
- to_s
|
1222
|
+
- to_sym
|
1223
|
+
|
1224
|
+
Style/UnlessElse:
|
1225
|
+
Enabled: true
|
241
1226
|
|
242
|
-
|
1227
|
+
Style/UnpackFirst:
|
1228
|
+
Enabled: true
|
1229
|
+
|
1230
|
+
Style/VariableInterpolation:
|
1231
|
+
Enabled: true
|
1232
|
+
|
1233
|
+
Style/WhenThen:
|
1234
|
+
Enabled: true
|
1235
|
+
|
1236
|
+
Style/WhileUntilDo:
|
1237
|
+
Enabled: true
|
1238
|
+
|
1239
|
+
Style/YodaCondition:
|
243
1240
|
Enabled: true
|
1241
|
+
EnforcedStyle: forbid_for_all_comparison_operators
|