webtranslateit-safe 0.4.2 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +22 -9
  3. data/bin/webtranslateit-safe +13 -13
  4. data/lib/webtranslateit/safe/archive.rb +9 -4
  5. data/lib/webtranslateit/safe/backup.rb +9 -2
  6. data/lib/webtranslateit/safe/cloudfiles.rb +21 -15
  7. data/lib/webtranslateit/safe/config/builder.rb +17 -8
  8. data/lib/webtranslateit/safe/config/node.rb +17 -10
  9. data/lib/webtranslateit/safe/ftp.rb +25 -25
  10. data/lib/webtranslateit/safe/gpg.rb +8 -2
  11. data/lib/webtranslateit/safe/gzip.rb +5 -1
  12. data/lib/webtranslateit/safe/local.rb +15 -11
  13. data/lib/webtranslateit/safe/mongodump.rb +12 -6
  14. data/lib/webtranslateit/safe/mysqldump.rb +9 -5
  15. data/lib/webtranslateit/safe/pgdump.rb +9 -9
  16. data/lib/webtranslateit/safe/pipe.rb +6 -0
  17. data/lib/webtranslateit/safe/s3.rb +28 -22
  18. data/lib/webtranslateit/safe/sftp.rb +42 -25
  19. data/lib/webtranslateit/safe/sink.rb +7 -2
  20. data/lib/webtranslateit/safe/source.rb +13 -9
  21. data/lib/webtranslateit/safe/stream.rb +14 -6
  22. data/lib/webtranslateit/safe/svndump.rb +5 -1
  23. data/lib/webtranslateit/safe/tmp_file.rb +16 -11
  24. data/lib/webtranslateit/safe.rb +12 -13
  25. metadata +3 -36
  26. data/.autotest +0 -3
  27. data/.document +0 -5
  28. data/.github/dependabot.yml +0 -26
  29. data/.github/release-drafter.yml +0 -36
  30. data/.github/workflows/ci.yml +0 -51
  31. data/.github/workflows/release-drafter.yml +0 -29
  32. data/.gitignore +0 -18
  33. data/.rspec +0 -3
  34. data/.rubocop.yml +0 -8
  35. data/.rubocop_todo.yml +0 -965
  36. data/Gemfile +0 -11
  37. data/Gemfile.lock +0 -89
  38. data/LICENSE.txt +0 -22
  39. data/Rakefile +0 -8
  40. data/TODO +0 -31
  41. data/lib/extensions/mktmpdir.rb +0 -45
  42. data/lib/webtranslateit/safe/version.rb +0 -5
  43. data/spec/integration/archive_integration_spec.rb +0 -89
  44. data/spec/integration/cleanup_spec.rb +0 -62
  45. data/spec/spec_helper.rb +0 -7
  46. data/spec/webtranslateit/safe/archive_spec.rb +0 -67
  47. data/spec/webtranslateit/safe/cloudfiles_spec.rb +0 -175
  48. data/spec/webtranslateit/safe/config_spec.rb +0 -307
  49. data/spec/webtranslateit/safe/gpg_spec.rb +0 -148
  50. data/spec/webtranslateit/safe/gzip_spec.rb +0 -64
  51. data/spec/webtranslateit/safe/local_spec.rb +0 -109
  52. data/spec/webtranslateit/safe/mongodump_spec.rb +0 -54
  53. data/spec/webtranslateit/safe/mysqldump_spec.rb +0 -83
  54. data/spec/webtranslateit/safe/pgdump_spec.rb +0 -45
  55. data/spec/webtranslateit/safe/s3_spec.rb +0 -168
  56. data/spec/webtranslateit/safe/svndump_spec.rb +0 -39
  57. data/templates/script.rb +0 -183
  58. data/webtranslateit-safe.gemspec +0 -31
data/.rubocop_todo.yml DELETED
@@ -1,965 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config --exclude-limit 100`
3
- # on 2023-05-20 08:27:46 UTC using RuboCop version 1.51.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 3
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: EnforcedStyle, IndentationWidth.
12
- # SupportedStyles: with_first_argument, with_fixed_indentation
13
- Layout/ArgumentAlignment:
14
- Exclude:
15
- - 'lib/webtranslateit/safe/config/builder.rb'
16
-
17
- # Offense count: 2
18
- # This cop supports safe autocorrection (--autocorrect).
19
- Layout/ClosingHeredocIndentation:
20
- Exclude:
21
- - 'bin/webtranslateit-safe'
22
- - 'lib/webtranslateit/safe/tmp_file.rb'
23
-
24
- # Offense count: 14
25
- # This cop supports safe autocorrection (--autocorrect).
26
- # Configuration parameters: EnforcedStyle.
27
- # SupportedStyles: leading, trailing
28
- Layout/DotPosition:
29
- Exclude:
30
- - 'lib/webtranslateit/safe/ftp.rb'
31
- - 'lib/webtranslateit/safe/local.rb'
32
- - 'lib/webtranslateit/safe/s3.rb'
33
- - 'lib/webtranslateit/safe/sftp.rb'
34
- - 'lib/webtranslateit/safe/stream.rb'
35
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
36
-
37
- # Offense count: 4
38
- # This cop supports safe autocorrection (--autocorrect).
39
- Layout/EmptyLineAfterGuardClause:
40
- Exclude:
41
- - 'lib/webtranslateit/safe/archive.rb'
42
- - 'lib/webtranslateit/safe/config/builder.rb'
43
- - 'lib/webtranslateit/safe/gpg.rb'
44
- - 'lib/webtranslateit/safe/source.rb'
45
-
46
- # Offense count: 1
47
- # This cop supports safe autocorrection (--autocorrect).
48
- # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
49
- Layout/EmptyLineBetweenDefs:
50
- Exclude:
51
- - 'lib/webtranslateit/safe/stream.rb'
52
-
53
- # Offense count: 1
54
- # This cop supports safe autocorrection (--autocorrect).
55
- # Configuration parameters: EnforcedStyle.
56
- # SupportedStyles: around, only_before
57
- Layout/EmptyLinesAroundAccessModifier:
58
- Exclude:
59
- - 'lib/webtranslateit/safe/mongodump.rb'
60
-
61
- # Offense count: 3
62
- # This cop supports safe autocorrection (--autocorrect).
63
- # Configuration parameters: AllowAliasSyntax, AllowedMethods.
64
- # AllowedMethods: alias_method, public, protected, private
65
- Layout/EmptyLinesAroundAttributeAccessor:
66
- Exclude:
67
- - 'lib/webtranslateit/safe/backup.rb'
68
- - 'lib/webtranslateit/safe/source.rb'
69
- - 'lib/webtranslateit/safe/stream.rb'
70
-
71
- # Offense count: 21
72
- # This cop supports safe autocorrection (--autocorrect).
73
- # Configuration parameters: EnforcedStyle.
74
- # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
75
- Layout/EmptyLinesAroundClassBody:
76
- Exclude:
77
- - 'lib/extensions/mktmpdir.rb'
78
- - 'lib/webtranslateit/safe/backup.rb'
79
- - 'lib/webtranslateit/safe/cloudfiles.rb'
80
- - 'lib/webtranslateit/safe/config/builder.rb'
81
- - 'lib/webtranslateit/safe/config/node.rb'
82
- - 'lib/webtranslateit/safe/gpg.rb'
83
- - 'lib/webtranslateit/safe/local.rb'
84
- - 'lib/webtranslateit/safe/mongodump.rb'
85
- - 'lib/webtranslateit/safe/pipe.rb'
86
- - 'lib/webtranslateit/safe/s3.rb'
87
- - 'lib/webtranslateit/safe/sink.rb'
88
- - 'lib/webtranslateit/safe/stream.rb'
89
-
90
- # Offense count: 2
91
- # This cop supports safe autocorrection (--autocorrect).
92
- Layout/EmptyLinesAroundMethodBody:
93
- Exclude:
94
- - 'lib/webtranslateit/safe.rb'
95
- - 'lib/webtranslateit/safe/local.rb'
96
-
97
- # Offense count: 94
98
- # This cop supports safe autocorrection (--autocorrect).
99
- # Configuration parameters: EnforcedStyle.
100
- # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
101
- Layout/EmptyLinesAroundModuleBody:
102
- Exclude:
103
- - 'lib/webtranslateit/safe.rb'
104
- - 'lib/webtranslateit/safe/archive.rb'
105
- - 'lib/webtranslateit/safe/backup.rb'
106
- - 'lib/webtranslateit/safe/cloudfiles.rb'
107
- - 'lib/webtranslateit/safe/config/builder.rb'
108
- - 'lib/webtranslateit/safe/config/node.rb'
109
- - 'lib/webtranslateit/safe/ftp.rb'
110
- - 'lib/webtranslateit/safe/gpg.rb'
111
- - 'lib/webtranslateit/safe/gzip.rb'
112
- - 'lib/webtranslateit/safe/local.rb'
113
- - 'lib/webtranslateit/safe/mongodump.rb'
114
- - 'lib/webtranslateit/safe/mysqldump.rb'
115
- - 'lib/webtranslateit/safe/pgdump.rb'
116
- - 'lib/webtranslateit/safe/pipe.rb'
117
- - 'lib/webtranslateit/safe/s3.rb'
118
- - 'lib/webtranslateit/safe/sftp.rb'
119
- - 'lib/webtranslateit/safe/sink.rb'
120
- - 'lib/webtranslateit/safe/source.rb'
121
- - 'lib/webtranslateit/safe/stream.rb'
122
- - 'lib/webtranslateit/safe/svndump.rb'
123
- - 'lib/webtranslateit/safe/tmp_file.rb'
124
- - 'lib/webtranslateit/safe/version.rb'
125
-
126
- # Offense count: 2
127
- # This cop supports safe autocorrection (--autocorrect).
128
- # Configuration parameters: EnforcedStyle, IndentationWidth.
129
- # SupportedStyles: special_inside_parentheses, consistent, align_braces
130
- Layout/FirstHashElementIndentation:
131
- Exclude:
132
- - 'spec/webtranslateit/safe/config_spec.rb'
133
-
134
- # Offense count: 16
135
- # This cop supports safe autocorrection (--autocorrect).
136
- # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
137
- # SupportedHashRocketStyles: key, separator, table
138
- # SupportedColonStyles: key, separator, table
139
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
140
- Layout/HashAlignment:
141
- Exclude:
142
- - 'lib/webtranslateit/safe/source.rb'
143
- - 'spec/webtranslateit/safe/archive_spec.rb'
144
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
145
- - 'spec/webtranslateit/safe/config_spec.rb'
146
- - 'spec/webtranslateit/safe/s3_spec.rb'
147
-
148
- # Offense count: 4
149
- # This cop supports safe autocorrection (--autocorrect).
150
- Layout/HeredocIndentation:
151
- Exclude:
152
- - 'bin/webtranslateit-safe'
153
- - 'lib/webtranslateit/safe/tmp_file.rb'
154
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
155
- - 'webtranslateit-safe.gemspec'
156
-
157
- # Offense count: 1
158
- # This cop supports safe autocorrection (--autocorrect).
159
- # Configuration parameters: Width, AllowedPatterns.
160
- Layout/IndentationWidth:
161
- Exclude:
162
- - 'lib/webtranslateit/safe/ftp.rb'
163
-
164
- # Offense count: 1
165
- # This cop supports safe autocorrection (--autocorrect).
166
- # Configuration parameters: EnforcedStyle.
167
- # SupportedStyles: symmetrical, new_line, same_line
168
- Layout/MultilineArrayBraceLayout:
169
- Exclude:
170
- - 'lib/webtranslateit/safe.rb'
171
-
172
- # Offense count: 11
173
- # This cop supports safe autocorrection (--autocorrect).
174
- # Configuration parameters: EnforcedStyle, IndentationWidth.
175
- # SupportedStyles: aligned, indented, indented_relative_to_receiver
176
- Layout/MultilineMethodCallIndentation:
177
- Exclude:
178
- - 'lib/webtranslateit/safe/ftp.rb'
179
- - 'lib/webtranslateit/safe/local.rb'
180
- - 'lib/webtranslateit/safe/s3.rb'
181
- - 'lib/webtranslateit/safe/sftp.rb'
182
- - 'lib/webtranslateit/safe/stream.rb'
183
-
184
- # Offense count: 11
185
- # This cop supports safe autocorrection (--autocorrect).
186
- Layout/SpaceAfterComma:
187
- Exclude:
188
- - 'lib/webtranslateit/safe/cloudfiles.rb'
189
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
190
- - 'spec/webtranslateit/safe/local_spec.rb'
191
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
192
- - 'spec/webtranslateit/safe/s3_spec.rb'
193
-
194
- # Offense count: 1
195
- # This cop supports safe autocorrection (--autocorrect).
196
- Layout/SpaceAfterNot:
197
- Exclude:
198
- - 'bin/webtranslateit-safe'
199
-
200
- # Offense count: 5
201
- # This cop supports safe autocorrection (--autocorrect).
202
- # Configuration parameters: EnforcedStyle.
203
- # SupportedStyles: space, no_space
204
- Layout/SpaceAroundEqualsInParameterDefault:
205
- Exclude:
206
- - 'lib/extensions/mktmpdir.rb'
207
- - 'lib/webtranslateit/safe/config/builder.rb'
208
- - 'spec/webtranslateit/safe/gpg_spec.rb'
209
-
210
- # Offense count: 5
211
- # This cop supports safe autocorrection (--autocorrect).
212
- Layout/SpaceAroundMethodCallOperator:
213
- Exclude:
214
- - 'lib/webtranslateit/safe/local.rb'
215
- - 'lib/webtranslateit/safe/stream.rb'
216
-
217
- # Offense count: 12
218
- # This cop supports safe autocorrection (--autocorrect).
219
- # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
220
- # SupportedStylesForExponentOperator: space, no_space
221
- Layout/SpaceAroundOperators:
222
- Exclude:
223
- - 'spec/integration/archive_integration_spec.rb'
224
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
225
- - 'spec/webtranslateit/safe/config_spec.rb'
226
- - 'spec/webtranslateit/safe/s3_spec.rb'
227
-
228
- # Offense count: 5
229
- # This cop supports safe autocorrection (--autocorrect).
230
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
231
- # SupportedStyles: space, no_space
232
- # SupportedStylesForEmptyBraces: space, no_space
233
- Layout/SpaceBeforeBlockBraces:
234
- Exclude:
235
- - 'lib/webtranslateit/safe/archive.rb'
236
- - 'lib/webtranslateit/safe/ftp.rb'
237
- - 'lib/webtranslateit/safe/local.rb'
238
- - 'lib/webtranslateit/safe/mysqldump.rb'
239
-
240
- # Offense count: 2
241
- # This cop supports safe autocorrection (--autocorrect).
242
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
243
- # SupportedStyles: space, no_space, compact
244
- # SupportedStylesForEmptyBrackets: space, no_space
245
- Layout/SpaceInsideArrayLiteralBrackets:
246
- Exclude:
247
- - 'spec/webtranslateit/safe/config_spec.rb'
248
-
249
- # Offense count: 96
250
- # This cop supports safe autocorrection (--autocorrect).
251
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
252
- # SupportedStyles: space, no_space
253
- # SupportedStylesForEmptyBraces: space, no_space
254
- Layout/SpaceInsideBlockBraces:
255
- Exclude:
256
- - 'lib/webtranslateit/safe/archive.rb'
257
- - 'lib/webtranslateit/safe/ftp.rb'
258
- - 'lib/webtranslateit/safe/local.rb'
259
- - 'lib/webtranslateit/safe/s3.rb'
260
- - 'lib/webtranslateit/safe/sftp.rb'
261
- - 'spec/integration/archive_integration_spec.rb'
262
- - 'spec/integration/cleanup_spec.rb'
263
- - 'spec/webtranslateit/safe/archive_spec.rb'
264
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
265
- - 'spec/webtranslateit/safe/gpg_spec.rb'
266
- - 'spec/webtranslateit/safe/local_spec.rb'
267
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
268
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
269
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
270
- - 'spec/webtranslateit/safe/s3_spec.rb'
271
- - 'spec/webtranslateit/safe/svndump_spec.rb'
272
-
273
- # Offense count: 12
274
- # This cop supports safe autocorrection (--autocorrect).
275
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
276
- # SupportedStyles: space, no_space, compact
277
- # SupportedStylesForEmptyBraces: space, no_space
278
- Layout/SpaceInsideHashLiteralBraces:
279
- Exclude:
280
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
281
- - 'spec/webtranslateit/safe/config_spec.rb'
282
-
283
- # Offense count: 10
284
- # This cop supports safe autocorrection (--autocorrect).
285
- # Configuration parameters: EnforcedStyle.
286
- # SupportedStyles: final_newline, final_blank_line
287
- Layout/TrailingEmptyLines:
288
- Exclude:
289
- - 'bin/webtranslateit-safe'
290
- - 'lib/webtranslateit/safe/backup.rb'
291
- - 'lib/webtranslateit/safe/ftp.rb'
292
- - 'lib/webtranslateit/safe/gpg.rb'
293
- - 'lib/webtranslateit/safe/gzip.rb'
294
- - 'lib/webtranslateit/safe/mysqldump.rb'
295
- - 'lib/webtranslateit/safe/sftp.rb'
296
- - 'lib/webtranslateit/safe/sink.rb'
297
- - 'lib/webtranslateit/safe/source.rb'
298
- - 'lib/webtranslateit/safe/stream.rb'
299
-
300
- # Offense count: 14
301
- # This cop supports safe autocorrection (--autocorrect).
302
- # Configuration parameters: AllowInHeredoc.
303
- Layout/TrailingWhitespace:
304
- Exclude:
305
- - 'lib/webtranslateit/safe/mongodump.rb'
306
- - 'lib/webtranslateit/safe/s3.rb'
307
- - 'spec/webtranslateit/safe/config_spec.rb'
308
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
309
-
310
- # Offense count: 3
311
- # This cop supports safe autocorrection (--autocorrect).
312
- # Configuration parameters: AllowedMethods, AllowedPatterns.
313
- Lint/AmbiguousBlockAssociation:
314
- Exclude:
315
- - 'lib/webtranslateit/safe/ftp.rb'
316
- - 'lib/webtranslateit/safe/s3.rb'
317
- - 'lib/webtranslateit/safe/sftp.rb'
318
-
319
- # Offense count: 3
320
- # This cop supports safe autocorrection (--autocorrect).
321
- Lint/AmbiguousOperatorPrecedence:
322
- Exclude:
323
- - 'lib/webtranslateit/safe/config/node.rb'
324
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
325
- - 'spec/webtranslateit/safe/s3_spec.rb'
326
-
327
- # Offense count: 7
328
- # This cop supports unsafe autocorrection (--autocorrect-all).
329
- # Configuration parameters: AllowSafeAssignment.
330
- Lint/AssignmentInCondition:
331
- Exclude:
332
- - 'lib/webtranslateit/safe.rb'
333
- - 'lib/webtranslateit/safe/cloudfiles.rb'
334
- - 'lib/webtranslateit/safe/ftp.rb'
335
- - 'lib/webtranslateit/safe/local.rb'
336
- - 'lib/webtranslateit/safe/mysqldump.rb'
337
- - 'lib/webtranslateit/safe/s3.rb'
338
- - 'lib/webtranslateit/safe/sftp.rb'
339
-
340
- # Offense count: 1
341
- Lint/IneffectiveAccessModifier:
342
- Exclude:
343
- - 'lib/webtranslateit/safe/source.rb'
344
-
345
- # Offense count: 1
346
- Lint/MissingSuper:
347
- Exclude:
348
- - 'lib/webtranslateit/safe/source.rb'
349
-
350
- # Offense count: 1
351
- # This cop supports unsafe autocorrection (--autocorrect-all).
352
- Lint/RedundantDirGlobSort:
353
- Exclude:
354
- - 'spec/integration/cleanup_spec.rb'
355
-
356
- # Offense count: 1
357
- Lint/ShadowingOuterLocalVariable:
358
- Exclude:
359
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
360
-
361
- # Offense count: 2
362
- # This cop supports safe autocorrection (--autocorrect).
363
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
364
- Lint/UnusedBlockArgument:
365
- Exclude:
366
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
367
- - 'spec/webtranslateit/safe/s3_spec.rb'
368
-
369
- # Offense count: 1
370
- # This cop supports safe autocorrection (--autocorrect).
371
- # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
372
- Lint/UselessAccessModifier:
373
- Exclude:
374
- - 'lib/webtranslateit/safe/source.rb'
375
-
376
- # Offense count: 2
377
- # This cop supports unsafe autocorrection (--autocorrect-all).
378
- Lint/UselessAssignment:
379
- Exclude:
380
- - 'spec/integration/archive_integration_spec.rb'
381
- - 'spec/integration/cleanup_spec.rb'
382
-
383
- # Offense count: 4
384
- # This cop supports safe autocorrection (--autocorrect).
385
- # Configuration parameters: CheckForMethodsWithNoSideEffects.
386
- Lint/Void:
387
- Exclude:
388
- - 'spec/integration/archive_integration_spec.rb'
389
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
390
-
391
- # Offense count: 14
392
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
393
- Metrics/AbcSize:
394
- Max: 43
395
-
396
- # Offense count: 12
397
- # Configuration parameters: AllowedMethods, AllowedPatterns.
398
- Metrics/CyclomaticComplexity:
399
- Max: 15
400
-
401
- # Offense count: 12
402
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
403
- Metrics/MethodLength:
404
- Max: 35
405
-
406
- # Offense count: 10
407
- # Configuration parameters: AllowedMethods, AllowedPatterns.
408
- Metrics/PerceivedComplexity:
409
- Max: 15
410
-
411
- # Offense count: 8
412
- # This cop supports safe autocorrection (--autocorrect).
413
- # Configuration parameters: EnforcedStyle, BlockForwardingName.
414
- # SupportedStyles: anonymous, explicit
415
- Naming/BlockForwarding:
416
- Exclude:
417
- - 'lib/webtranslateit/safe.rb'
418
- - 'lib/webtranslateit/safe/config/node.rb'
419
- - 'lib/webtranslateit/safe/sink.rb'
420
-
421
- # Offense count: 1
422
- # Configuration parameters: ForbiddenDelimiters.
423
- # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
424
- Naming/HeredocDelimiterNaming:
425
- Exclude:
426
- - 'bin/webtranslateit-safe'
427
-
428
- # Offense count: 3
429
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
430
- # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
431
- Naming/MethodParameterName:
432
- Exclude:
433
- - 'lib/webtranslateit/safe/config/builder.rb'
434
-
435
- # Offense count: 3
436
- RSpec/BeforeAfterAll:
437
- Exclude:
438
- - 'spec/spec_helper.rb'
439
- - 'spec/rails_helper.rb'
440
- - 'spec/support/**/*.rb'
441
- - 'spec/integration/archive_integration_spec.rb'
442
- - 'spec/integration/cleanup_spec.rb'
443
-
444
- # Offense count: 2
445
- # Configuration parameters: IgnoredMetadata.
446
- RSpec/DescribeClass:
447
- Exclude:
448
- - '**/spec/features/**/*'
449
- - '**/spec/requests/**/*'
450
- - '**/spec/routing/**/*'
451
- - '**/spec/system/**/*'
452
- - '**/spec/views/**/*'
453
- - 'spec/integration/archive_integration_spec.rb'
454
- - 'spec/integration/cleanup_spec.rb'
455
-
456
- # Offense count: 26
457
- RSpec/DescribeSymbol:
458
- Exclude:
459
- - 'spec/webtranslateit/safe/archive_spec.rb'
460
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
461
- - 'spec/webtranslateit/safe/gpg_spec.rb'
462
- - 'spec/webtranslateit/safe/gzip_spec.rb'
463
- - 'spec/webtranslateit/safe/local_spec.rb'
464
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
465
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
466
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
467
- - 'spec/webtranslateit/safe/s3_spec.rb'
468
- - 'spec/webtranslateit/safe/svndump_spec.rb'
469
-
470
- # Offense count: 2
471
- # This cop supports safe autocorrection (--autocorrect).
472
- # Configuration parameters: AllowConsecutiveOneLiners.
473
- RSpec/EmptyLineAfterHook:
474
- Exclude:
475
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
476
- - 'spec/webtranslateit/safe/s3_spec.rb'
477
-
478
- # Offense count: 9
479
- # Configuration parameters: CountAsOne.
480
- RSpec/ExampleLength:
481
- Max: 162
482
-
483
- # Offense count: 91
484
- # This cop supports safe autocorrection (--autocorrect).
485
- # Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
486
- # DisallowedExamples: works
487
- RSpec/ExampleWording:
488
- Exclude:
489
- - 'spec/integration/archive_integration_spec.rb'
490
- - 'spec/integration/cleanup_spec.rb'
491
- - 'spec/webtranslateit/safe/archive_spec.rb'
492
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
493
- - 'spec/webtranslateit/safe/config_spec.rb'
494
- - 'spec/webtranslateit/safe/gpg_spec.rb'
495
- - 'spec/webtranslateit/safe/gzip_spec.rb'
496
- - 'spec/webtranslateit/safe/local_spec.rb'
497
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
498
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
499
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
500
- - 'spec/webtranslateit/safe/s3_spec.rb'
501
- - 'spec/webtranslateit/safe/svndump_spec.rb'
502
-
503
- # Offense count: 11
504
- # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
505
- # Include: **/*_spec*rb*, **/spec/**/*
506
- RSpec/FilePath:
507
- Exclude:
508
- - 'spec/webtranslateit/safe/archive_spec.rb'
509
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
510
- - 'spec/webtranslateit/safe/config_spec.rb'
511
- - 'spec/webtranslateit/safe/gpg_spec.rb'
512
- - 'spec/webtranslateit/safe/gzip_spec.rb'
513
- - 'spec/webtranslateit/safe/local_spec.rb'
514
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
515
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
516
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
517
- - 'spec/webtranslateit/safe/s3_spec.rb'
518
- - 'spec/webtranslateit/safe/svndump_spec.rb'
519
-
520
- # Offense count: 32
521
- # This cop supports safe autocorrection (--autocorrect).
522
- # Configuration parameters: .
523
- # SupportedStyles: implicit, each, example
524
- RSpec/HookArgument:
525
- EnforcedStyle: each
526
-
527
- # Offense count: 167
528
- # Configuration parameters: AssignmentOnly.
529
- RSpec/InstanceVariable:
530
- Exclude:
531
- - 'spec/integration/archive_integration_spec.rb'
532
- - 'spec/integration/cleanup_spec.rb'
533
- - 'spec/webtranslateit/safe/archive_spec.rb'
534
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
535
- - 'spec/webtranslateit/safe/gpg_spec.rb'
536
- - 'spec/webtranslateit/safe/gzip_spec.rb'
537
- - 'spec/webtranslateit/safe/local_spec.rb'
538
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
539
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
540
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
541
- - 'spec/webtranslateit/safe/s3_spec.rb'
542
- - 'spec/webtranslateit/safe/svndump_spec.rb'
543
-
544
- # Offense count: 78
545
- # Configuration parameters: AllowedPatterns.
546
- # AllowedPatterns: ^expect_, ^assert_
547
- RSpec/NoExpectationExample:
548
- Exclude:
549
- - 'spec/integration/archive_integration_spec.rb'
550
- - 'spec/integration/cleanup_spec.rb'
551
- - 'spec/webtranslateit/safe/archive_spec.rb'
552
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
553
- - 'spec/webtranslateit/safe/config_spec.rb'
554
- - 'spec/webtranslateit/safe/gpg_spec.rb'
555
- - 'spec/webtranslateit/safe/gzip_spec.rb'
556
- - 'spec/webtranslateit/safe/local_spec.rb'
557
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
558
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
559
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
560
- - 'spec/webtranslateit/safe/s3_spec.rb'
561
- - 'spec/webtranslateit/safe/svndump_spec.rb'
562
-
563
- # Offense count: 12
564
- # This cop supports unsafe autocorrection (--autocorrect-all).
565
- # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
566
- # SupportedStyles: inflected, explicit
567
- RSpec/PredicateMatcher:
568
- Exclude:
569
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
570
- - 'spec/webtranslateit/safe/gpg_spec.rb'
571
- - 'spec/webtranslateit/safe/local_spec.rb'
572
- - 'spec/webtranslateit/safe/s3_spec.rb'
573
-
574
- # Offense count: 2
575
- RSpec/RepeatedExample:
576
- Exclude:
577
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
578
-
579
- # Offense count: 1
580
- Security/Eval:
581
- Exclude:
582
- - 'bin/webtranslateit-safe'
583
-
584
- # Offense count: 2
585
- # This cop supports safe autocorrection (--autocorrect).
586
- # Configuration parameters: EnforcedStyle.
587
- # SupportedStyles: prefer_alias, prefer_alias_method
588
- Style/Alias:
589
- Exclude:
590
- - 'lib/webtranslateit/safe/config/node.rb'
591
-
592
- # Offense count: 1
593
- # This cop supports safe autocorrection (--autocorrect).
594
- Style/ClassMethods:
595
- Exclude:
596
- - 'lib/extensions/mktmpdir.rb'
597
-
598
- # Offense count: 1
599
- # This cop supports unsafe autocorrection (--autocorrect-all).
600
- Style/ConcatArrayLiterals:
601
- Exclude:
602
- - 'lib/webtranslateit/safe/config/node.rb'
603
-
604
- # Offense count: 1
605
- # This cop supports safe autocorrection (--autocorrect).
606
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
607
- # SupportedStyles: assign_to_condition, assign_inside_condition
608
- Style/ConditionalAssignment:
609
- Exclude:
610
- - 'lib/webtranslateit/safe/pgdump.rb'
611
-
612
- # Offense count: 1
613
- # This cop supports safe autocorrection (--autocorrect).
614
- Style/EachWithObject:
615
- Exclude:
616
- - 'lib/webtranslateit/safe/config/node.rb'
617
-
618
- # Offense count: 8
619
- # This cop supports safe autocorrection (--autocorrect).
620
- Style/FileWrite:
621
- Exclude:
622
- - 'spec/integration/archive_integration_spec.rb'
623
- - 'spec/integration/cleanup_spec.rb'
624
-
625
- # Offense count: 3
626
- # This cop supports safe autocorrection (--autocorrect).
627
- # Configuration parameters: EnforcedStyle.
628
- # SupportedStyles: format, sprintf, percent
629
- Style/FormatString:
630
- Exclude:
631
- - 'lib/webtranslateit/safe/cloudfiles.rb'
632
- - 'lib/webtranslateit/safe/local.rb'
633
- - 'lib/webtranslateit/safe/s3.rb'
634
-
635
- # Offense count: 42
636
- # This cop supports unsafe autocorrection (--autocorrect-all).
637
- # Configuration parameters: EnforcedStyle.
638
- # SupportedStyles: always, always_true, never
639
- Style/FrozenStringLiteralComment:
640
- Exclude:
641
- - 'Gemfile'
642
- - 'Rakefile'
643
- - 'bin/webtranslateit-safe'
644
- - 'lib/extensions/mktmpdir.rb'
645
- - 'lib/webtranslateit/safe.rb'
646
- - 'lib/webtranslateit/safe/archive.rb'
647
- - 'lib/webtranslateit/safe/backup.rb'
648
- - 'lib/webtranslateit/safe/cloudfiles.rb'
649
- - 'lib/webtranslateit/safe/config/builder.rb'
650
- - 'lib/webtranslateit/safe/config/node.rb'
651
- - 'lib/webtranslateit/safe/ftp.rb'
652
- - 'lib/webtranslateit/safe/gpg.rb'
653
- - 'lib/webtranslateit/safe/gzip.rb'
654
- - 'lib/webtranslateit/safe/local.rb'
655
- - 'lib/webtranslateit/safe/mongodump.rb'
656
- - 'lib/webtranslateit/safe/mysqldump.rb'
657
- - 'lib/webtranslateit/safe/pgdump.rb'
658
- - 'lib/webtranslateit/safe/pipe.rb'
659
- - 'lib/webtranslateit/safe/s3.rb'
660
- - 'lib/webtranslateit/safe/sftp.rb'
661
- - 'lib/webtranslateit/safe/sink.rb'
662
- - 'lib/webtranslateit/safe/source.rb'
663
- - 'lib/webtranslateit/safe/stream.rb'
664
- - 'lib/webtranslateit/safe/svndump.rb'
665
- - 'lib/webtranslateit/safe/tmp_file.rb'
666
- - 'lib/webtranslateit/safe/version.rb'
667
- - 'spec/integration/archive_integration_spec.rb'
668
- - 'spec/integration/cleanup_spec.rb'
669
- - 'spec/spec_helper.rb'
670
- - 'spec/webtranslateit/safe/archive_spec.rb'
671
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
672
- - 'spec/webtranslateit/safe/config_spec.rb'
673
- - 'spec/webtranslateit/safe/gpg_spec.rb'
674
- - 'spec/webtranslateit/safe/gzip_spec.rb'
675
- - 'spec/webtranslateit/safe/local_spec.rb'
676
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
677
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
678
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
679
- - 'spec/webtranslateit/safe/s3_spec.rb'
680
- - 'spec/webtranslateit/safe/svndump_spec.rb'
681
- - 'templates/script.rb'
682
- - 'webtranslateit-safe.gemspec'
683
-
684
- # Offense count: 4
685
- # This cop supports unsafe autocorrection (--autocorrect-all).
686
- Style/GlobalStdStream:
687
- Exclude:
688
- - 'lib/webtranslateit/safe/cloudfiles.rb'
689
- - 'lib/webtranslateit/safe/s3.rb'
690
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
691
- - 'spec/webtranslateit/safe/s3_spec.rb'
692
-
693
- # Offense count: 7
694
- # This cop supports safe autocorrection (--autocorrect).
695
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
696
- Style/GuardClause:
697
- Exclude:
698
- - 'lib/webtranslateit/safe/cloudfiles.rb'
699
- - 'lib/webtranslateit/safe/ftp.rb'
700
- - 'lib/webtranslateit/safe/local.rb'
701
- - 'lib/webtranslateit/safe/mysqldump.rb'
702
- - 'lib/webtranslateit/safe/s3.rb'
703
- - 'lib/webtranslateit/safe/sftp.rb'
704
- - 'lib/webtranslateit/safe/tmp_file.rb'
705
-
706
- # Offense count: 134
707
- # This cop supports safe autocorrection (--autocorrect).
708
- # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
709
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
710
- # SupportedShorthandSyntax: always, never, either, consistent
711
- Style/HashSyntax:
712
- Exclude:
713
- - 'lib/webtranslateit/safe/cloudfiles.rb'
714
- - 'lib/webtranslateit/safe/s3.rb'
715
- - 'lib/webtranslateit/safe/source.rb'
716
- - 'spec/integration/archive_integration_spec.rb'
717
- - 'spec/integration/cleanup_spec.rb'
718
- - 'spec/webtranslateit/safe/archive_spec.rb'
719
- - 'spec/webtranslateit/safe/config_spec.rb'
720
- - 'spec/webtranslateit/safe/gpg_spec.rb'
721
- - 'spec/webtranslateit/safe/gzip_spec.rb'
722
- - 'spec/webtranslateit/safe/local_spec.rb'
723
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
724
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
725
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
726
- - 'spec/webtranslateit/safe/s3_spec.rb'
727
- - 'spec/webtranslateit/safe/svndump_spec.rb'
728
-
729
- # Offense count: 2
730
- # This cop supports safe autocorrection (--autocorrect).
731
- Style/IfUnlessModifier:
732
- Exclude:
733
- - 'lib/webtranslateit/safe/ftp.rb'
734
-
735
- # Offense count: 1
736
- # This cop supports unsafe autocorrection (--autocorrect-all).
737
- # Configuration parameters: InverseMethods, InverseBlocks.
738
- Style/InverseMethods:
739
- Exclude:
740
- - 'lib/webtranslateit/safe/ftp.rb'
741
-
742
- # Offense count: 1
743
- # This cop supports safe autocorrection (--autocorrect).
744
- # Configuration parameters: AllowedMethods, AllowedPatterns.
745
- Style/MethodCallWithoutArgsParentheses:
746
- Exclude:
747
- - 'spec/webtranslateit/safe/gpg_spec.rb'
748
-
749
- # Offense count: 1
750
- # This cop supports safe autocorrection (--autocorrect).
751
- # Configuration parameters: EnforcedStyle.
752
- # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
753
- Style/MethodDefParentheses:
754
- Exclude:
755
- - 'lib/webtranslateit/safe/config/node.rb'
756
-
757
- # Offense count: 3
758
- Style/MixinUsage:
759
- Exclude:
760
- - 'bin/webtranslateit-safe'
761
- - 'spec/integration/archive_integration_spec.rb'
762
- - 'spec/integration/cleanup_spec.rb'
763
-
764
- # Offense count: 2
765
- # This cop supports unsafe autocorrection (--autocorrect-all).
766
- # Configuration parameters: EnforcedStyle.
767
- # SupportedStyles: literals, strict
768
- Style/MutableConstant:
769
- Exclude:
770
- - 'bin/webtranslateit-safe'
771
- - 'lib/webtranslateit/safe/version.rb'
772
-
773
- # Offense count: 2
774
- # This cop supports safe autocorrection (--autocorrect).
775
- # Configuration parameters: EnforcedStyle.
776
- # SupportedStyles: both, prefix, postfix
777
- Style/NegatedIf:
778
- Exclude:
779
- - 'lib/webtranslateit/safe/ftp.rb'
780
-
781
- # Offense count: 1
782
- # This cop supports safe autocorrection (--autocorrect).
783
- # Configuration parameters: EnforcedStyle, MinBodyLength.
784
- # SupportedStyles: skip_modifier_ifs, always
785
- Style/Next:
786
- Exclude:
787
- - 'lib/webtranslateit/safe.rb'
788
-
789
- # Offense count: 1
790
- # This cop supports safe autocorrection (--autocorrect).
791
- # Configuration parameters: EnforcedOctalStyle.
792
- # SupportedOctalStyles: zero_with_o, zero_only
793
- Style/NumericLiteralPrefix:
794
- Exclude:
795
- - 'lib/extensions/mktmpdir.rb'
796
-
797
- # Offense count: 2
798
- # This cop supports safe autocorrection (--autocorrect).
799
- # Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
800
- Style/NumericLiterals:
801
- MinDigits: 11
802
-
803
- # Offense count: 1
804
- # This cop supports unsafe autocorrection (--autocorrect-all).
805
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
806
- # SupportedStyles: predicate, comparison
807
- Style/NumericPredicate:
808
- Exclude:
809
- - 'spec/**/*'
810
- - 'lib/webtranslateit/safe/local.rb'
811
-
812
- # Offense count: 2
813
- # This cop supports safe autocorrection (--autocorrect).
814
- Style/ParallelAssignment:
815
- Exclude:
816
- - 'lib/webtranslateit/safe/source.rb'
817
- - 'lib/webtranslateit/safe/stream.rb'
818
-
819
- # Offense count: 7
820
- # This cop supports safe autocorrection (--autocorrect).
821
- Style/RedundantException:
822
- Exclude:
823
- - 'lib/webtranslateit/safe/archive.rb'
824
- - 'lib/webtranslateit/safe/cloudfiles.rb'
825
- - 'lib/webtranslateit/safe/ftp.rb'
826
- - 'lib/webtranslateit/safe/gpg.rb'
827
- - 'lib/webtranslateit/safe/local.rb'
828
- - 'lib/webtranslateit/safe/s3.rb'
829
- - 'lib/webtranslateit/safe/sftp.rb'
830
-
831
- # Offense count: 1
832
- # This cop supports unsafe autocorrection (--autocorrect-all).
833
- Style/RedundantInterpolation:
834
- Exclude:
835
- - 'lib/webtranslateit/safe/ftp.rb'
836
-
837
- # Offense count: 2
838
- # This cop supports safe autocorrection (--autocorrect).
839
- Style/RedundantSelf:
840
- Exclude:
841
- - 'lib/webtranslateit/safe/backup.rb'
842
- - 'lib/webtranslateit/safe/config/builder.rb'
843
-
844
- # Offense count: 1
845
- # This cop supports safe autocorrection (--autocorrect).
846
- Style/RescueModifier:
847
- Exclude:
848
- - 'lib/webtranslateit/safe/sftp.rb'
849
-
850
- # Offense count: 2
851
- # This cop supports unsafe autocorrection (--autocorrect-all).
852
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
853
- # AllowedMethods: present?, blank?, presence, try, try!
854
- Style/SafeNavigation:
855
- Exclude:
856
- - 'lib/webtranslateit/safe/config/node.rb'
857
-
858
- # Offense count: 1
859
- # This cop supports safe autocorrection (--autocorrect).
860
- # Configuration parameters: AllowAsExpressionSeparator.
861
- Style/Semicolon:
862
- Exclude:
863
- - 'spec/webtranslateit/safe/s3_spec.rb'
864
-
865
- # Offense count: 5
866
- # This cop supports safe autocorrection (--autocorrect).
867
- # Configuration parameters: AllowIfMethodIsEmpty.
868
- Style/SingleLineMethods:
869
- Exclude:
870
- - 'lib/webtranslateit/safe/archive.rb'
871
- - 'lib/webtranslateit/safe/mongodump.rb'
872
- - 'lib/webtranslateit/safe/mysqldump.rb'
873
- - 'lib/webtranslateit/safe/pgdump.rb'
874
- - 'lib/webtranslateit/safe/svndump.rb'
875
-
876
- # Offense count: 2
877
- # This cop supports unsafe autocorrection (--autocorrect-all).
878
- # Configuration parameters: RequireEnglish, EnforcedStyle.
879
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
880
- Style/SpecialGlobalVars:
881
- Exclude:
882
- - 'lib/extensions/mktmpdir.rb'
883
- - 'webtranslateit-safe.gemspec'
884
-
885
- # Offense count: 2
886
- # This cop supports safe autocorrection (--autocorrect).
887
- Style/StderrPuts:
888
- Exclude:
889
- - 'lib/webtranslateit/safe/cloudfiles.rb'
890
- - 'lib/webtranslateit/safe/s3.rb'
891
-
892
- # Offense count: 5
893
- # This cop supports unsafe autocorrection (--autocorrect-all).
894
- # Configuration parameters: Mode.
895
- Style/StringConcatenation:
896
- Exclude:
897
- - 'lib/webtranslateit/safe/cloudfiles.rb'
898
- - 'lib/webtranslateit/safe/config/node.rb'
899
- - 'lib/webtranslateit/safe/local.rb'
900
- - 'lib/webtranslateit/safe/s3.rb'
901
- - 'lib/webtranslateit/safe/sink.rb'
902
-
903
- # Offense count: 4
904
- # This cop supports safe autocorrection (--autocorrect).
905
- # Configuration parameters: EnforcedStyle.
906
- # SupportedStyles: single_quotes, double_quotes
907
- Style/StringLiteralsInInterpolation:
908
- Exclude:
909
- - 'lib/webtranslateit/safe/mongodump.rb'
910
- - 'lib/webtranslateit/safe/pgdump.rb'
911
-
912
- # Offense count: 9
913
- # This cop supports safe autocorrection (--autocorrect).
914
- # Configuration parameters: MinSize.
915
- # SupportedStyles: percent, brackets
916
- Style/SymbolArray:
917
- EnforcedStyle: brackets
918
-
919
- # Offense count: 5
920
- # This cop supports unsafe autocorrection (--autocorrect-all).
921
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
922
- # AllowedMethods: define_method
923
- Style/SymbolProc:
924
- Exclude:
925
- - 'lib/webtranslateit/safe/archive.rb'
926
- - 'lib/webtranslateit/safe/s3.rb'
927
- - 'lib/webtranslateit/safe/sftp.rb'
928
-
929
- # Offense count: 21
930
- # This cop supports safe autocorrection (--autocorrect).
931
- # Configuration parameters: EnforcedStyleForMultiline.
932
- # SupportedStylesForMultiline: comma, consistent_comma, no_comma
933
- Style/TrailingCommaInHashLiteral:
934
- Exclude:
935
- - 'spec/webtranslateit/safe/archive_spec.rb'
936
- - 'spec/webtranslateit/safe/cloudfiles_spec.rb'
937
- - 'spec/webtranslateit/safe/config_spec.rb'
938
- - 'spec/webtranslateit/safe/mongodump_spec.rb'
939
- - 'spec/webtranslateit/safe/mysqldump_spec.rb'
940
- - 'spec/webtranslateit/safe/pgdump_spec.rb'
941
- - 'spec/webtranslateit/safe/s3_spec.rb'
942
- - 'spec/webtranslateit/safe/svndump_spec.rb'
943
-
944
- # Offense count: 9
945
- # This cop supports safe autocorrection (--autocorrect).
946
- # Configuration parameters: WordRegex.
947
- # SupportedStyles: percent, brackets
948
- Style/WordArray:
949
- EnforcedStyle: percent
950
- MinSize: 3
951
-
952
- # Offense count: 1
953
- # This cop supports unsafe autocorrection (--autocorrect-all).
954
- # Configuration parameters: EnforcedStyle.
955
- # SupportedStyles: forbid_for_all_comparison_operators, forbid_for_equality_operators_only, require_for_all_comparison_operators, require_for_equality_operators_only
956
- Style/YodaCondition:
957
- Exclude:
958
- - 'lib/webtranslateit/safe/config/node.rb'
959
-
960
- # Offense count: 9
961
- # This cop supports safe autocorrection (--autocorrect).
962
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
963
- # URISchemes: http, https
964
- Layout/LineLength:
965
- Max: 206