webtranslateit-safe 0.4.0 → 0.4.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/.rubocop_todo.yml +445 -32
- data/CHANGELOG +4 -5
- data/Gemfile.lock +1 -1
- data/bin/webtranslateit-safe +16 -16
- data/lib/webtranslateit/safe/archive.rb +4 -9
- data/lib/webtranslateit/safe/backup.rb +2 -9
- data/lib/webtranslateit/safe/cloudfiles.rb +1 -1
- data/lib/webtranslateit/safe/config/builder.rb +6 -16
- data/lib/webtranslateit/safe/config/node.rb +14 -21
- data/lib/webtranslateit/safe/ftp.rb +26 -26
- data/lib/webtranslateit/safe/gpg.rb +2 -8
- data/lib/webtranslateit/safe/gzip.rb +1 -5
- data/lib/webtranslateit/safe/local.rb +12 -16
- data/lib/webtranslateit/safe/mongodump.rb +6 -13
- data/lib/webtranslateit/safe/mysqldump.rb +5 -9
- data/lib/webtranslateit/safe/pgdump.rb +9 -9
- data/lib/webtranslateit/safe/pipe.rb +0 -6
- data/lib/webtranslateit/safe/s3.rb +1 -1
- data/lib/webtranslateit/safe/sftp.rb +25 -33
- data/lib/webtranslateit/safe/sink.rb +4 -9
- data/lib/webtranslateit/safe/source.rb +9 -13
- data/lib/webtranslateit/safe/stream.rb +6 -14
- data/lib/webtranslateit/safe/svndump.rb +1 -5
- data/lib/webtranslateit/safe/tmp_file.rb +11 -16
- data/lib/webtranslateit/safe/version.rb +1 -5
- data/lib/webtranslateit/safe.rb +9 -11
- data/spec/webtranslateit/safe/archive_spec.rb +20 -20
- data/spec/webtranslateit/safe/cloudfiles_spec.rb +1 -1
- data/spec/webtranslateit/safe/config_spec.rb +31 -31
- data/spec/webtranslateit/safe/gpg_spec.rb +35 -35
- data/spec/webtranslateit/safe/gzip_spec.rb +11 -11
- data/spec/webtranslateit/safe/local_spec.rb +27 -27
- data/spec/webtranslateit/safe/mongodump_spec.rb +23 -23
- data/spec/webtranslateit/safe/mysqldump_spec.rb +30 -30
- data/spec/webtranslateit/safe/pgdump_spec.rb +13 -13
- data/spec/webtranslateit/safe/s3_spec.rb +1 -1
- data/spec/webtranslateit/safe/svndump_spec.rb +9 -9
- data/webtranslateit-safe.gemspec +6 -7
- metadata +2 -2
data/.rubocop_todo.yml
CHANGED
@@ -1,40 +1,137 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config --exclude-limit 100`
|
3
|
-
# on 2023-05-20 08:
|
3
|
+
# on 2023-05-20 08:27:46 UTC using RuboCop version 1.51.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
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
|
10
25
|
# This cop supports safe autocorrection (--autocorrect).
|
11
26
|
# Configuration parameters: EnforcedStyle.
|
12
27
|
# SupportedStyles: leading, trailing
|
13
28
|
Layout/DotPosition:
|
14
29
|
Exclude:
|
30
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
31
|
+
- 'lib/webtranslateit/safe/local.rb'
|
15
32
|
- 'lib/webtranslateit/safe/s3.rb'
|
33
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
34
|
+
- 'lib/webtranslateit/safe/stream.rb'
|
16
35
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
17
36
|
|
18
|
-
# Offense count:
|
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
|
19
72
|
# This cop supports safe autocorrection (--autocorrect).
|
20
73
|
# Configuration parameters: EnforcedStyle.
|
21
74
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
22
75
|
Layout/EmptyLinesAroundClassBody:
|
23
76
|
Exclude:
|
24
77
|
- 'lib/extensions/mktmpdir.rb'
|
78
|
+
- 'lib/webtranslateit/safe/backup.rb'
|
25
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'
|
26
86
|
- 'lib/webtranslateit/safe/s3.rb'
|
87
|
+
- 'lib/webtranslateit/safe/sink.rb'
|
88
|
+
- 'lib/webtranslateit/safe/stream.rb'
|
27
89
|
|
28
|
-
# Offense count:
|
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
|
29
98
|
# This cop supports safe autocorrection (--autocorrect).
|
30
99
|
# Configuration parameters: EnforcedStyle.
|
31
100
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
32
101
|
Layout/EmptyLinesAroundModuleBody:
|
33
102
|
Exclude:
|
103
|
+
- 'lib/webtranslateit/safe.rb'
|
104
|
+
- 'lib/webtranslateit/safe/archive.rb'
|
105
|
+
- 'lib/webtranslateit/safe/backup.rb'
|
34
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'
|
35
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'
|
36
125
|
|
37
|
-
# Offense count:
|
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
|
38
135
|
# This cop supports safe autocorrection (--autocorrect).
|
39
136
|
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
40
137
|
# SupportedHashRocketStyles: key, separator, table
|
@@ -42,34 +139,82 @@ Layout/EmptyLinesAroundModuleBody:
|
|
42
139
|
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
43
140
|
Layout/HashAlignment:
|
44
141
|
Exclude:
|
142
|
+
- 'lib/webtranslateit/safe/source.rb'
|
143
|
+
- 'spec/webtranslateit/safe/archive_spec.rb'
|
45
144
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
145
|
+
- 'spec/webtranslateit/safe/config_spec.rb'
|
46
146
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
47
147
|
|
48
|
-
# Offense count:
|
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
|
49
173
|
# This cop supports safe autocorrection (--autocorrect).
|
50
174
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
51
175
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
52
176
|
Layout/MultilineMethodCallIndentation:
|
53
177
|
Exclude:
|
178
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
179
|
+
- 'lib/webtranslateit/safe/local.rb'
|
54
180
|
- 'lib/webtranslateit/safe/s3.rb'
|
181
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
182
|
+
- 'lib/webtranslateit/safe/stream.rb'
|
55
183
|
|
56
|
-
# Offense count:
|
184
|
+
# Offense count: 11
|
57
185
|
# This cop supports safe autocorrection (--autocorrect).
|
58
186
|
Layout/SpaceAfterComma:
|
59
187
|
Exclude:
|
60
188
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
61
189
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
190
|
+
- 'spec/webtranslateit/safe/local_spec.rb'
|
191
|
+
- 'spec/webtranslateit/safe/mongodump_spec.rb'
|
62
192
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
63
193
|
|
64
|
-
# Offense count:
|
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
|
65
201
|
# This cop supports safe autocorrection (--autocorrect).
|
66
202
|
# Configuration parameters: EnforcedStyle.
|
67
203
|
# SupportedStyles: space, no_space
|
68
204
|
Layout/SpaceAroundEqualsInParameterDefault:
|
69
205
|
Exclude:
|
70
206
|
- 'lib/extensions/mktmpdir.rb'
|
207
|
+
- 'lib/webtranslateit/safe/config/builder.rb'
|
208
|
+
- 'spec/webtranslateit/safe/gpg_spec.rb'
|
71
209
|
|
72
|
-
# Offense count:
|
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
|
73
218
|
# This cop supports safe autocorrection (--autocorrect).
|
74
219
|
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
75
220
|
# SupportedStylesForExponentOperator: space, no_space
|
@@ -77,22 +222,55 @@ Layout/SpaceAroundOperators:
|
|
77
222
|
Exclude:
|
78
223
|
- 'spec/integration/archive_integration_spec.rb'
|
79
224
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
225
|
+
- 'spec/webtranslateit/safe/config_spec.rb'
|
80
226
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
81
227
|
|
82
|
-
# Offense count:
|
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
|
83
250
|
# This cop supports safe autocorrection (--autocorrect).
|
84
251
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
85
252
|
# SupportedStyles: space, no_space
|
86
253
|
# SupportedStylesForEmptyBraces: space, no_space
|
87
254
|
Layout/SpaceInsideBlockBraces:
|
88
255
|
Exclude:
|
256
|
+
- 'lib/webtranslateit/safe/archive.rb'
|
257
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
258
|
+
- 'lib/webtranslateit/safe/local.rb'
|
89
259
|
- 'lib/webtranslateit/safe/s3.rb'
|
260
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
90
261
|
- 'spec/integration/archive_integration_spec.rb'
|
91
262
|
- 'spec/integration/cleanup_spec.rb'
|
263
|
+
- 'spec/webtranslateit/safe/archive_spec.rb'
|
92
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'
|
93
270
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
271
|
+
- 'spec/webtranslateit/safe/svndump_spec.rb'
|
94
272
|
|
95
|
-
# Offense count:
|
273
|
+
# Offense count: 12
|
96
274
|
# This cop supports safe autocorrection (--autocorrect).
|
97
275
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
98
276
|
# SupportedStyles: space, no_space, compact
|
@@ -100,46 +278,69 @@ Layout/SpaceInsideBlockBraces:
|
|
100
278
|
Layout/SpaceInsideHashLiteralBraces:
|
101
279
|
Exclude:
|
102
280
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
281
|
+
- 'spec/webtranslateit/safe/config_spec.rb'
|
103
282
|
|
104
|
-
# Offense count:
|
283
|
+
# Offense count: 10
|
105
284
|
# This cop supports safe autocorrection (--autocorrect).
|
106
285
|
# Configuration parameters: EnforcedStyle.
|
107
286
|
# SupportedStyles: final_newline, final_blank_line
|
108
287
|
Layout/TrailingEmptyLines:
|
109
288
|
Exclude:
|
110
|
-
- '
|
111
|
-
- 'lib/webtranslateit/safe/
|
112
|
-
- '
|
113
|
-
- '
|
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'
|
114
299
|
|
115
|
-
# Offense count:
|
300
|
+
# Offense count: 14
|
116
301
|
# This cop supports safe autocorrection (--autocorrect).
|
117
302
|
# Configuration parameters: AllowInHeredoc.
|
118
303
|
Layout/TrailingWhitespace:
|
119
304
|
Exclude:
|
305
|
+
- 'lib/webtranslateit/safe/mongodump.rb'
|
120
306
|
- 'lib/webtranslateit/safe/s3.rb'
|
307
|
+
- 'spec/webtranslateit/safe/config_spec.rb'
|
308
|
+
- 'spec/webtranslateit/safe/mongodump_spec.rb'
|
121
309
|
|
122
|
-
# Offense count:
|
310
|
+
# Offense count: 3
|
123
311
|
# This cop supports safe autocorrection (--autocorrect).
|
124
312
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
125
313
|
Lint/AmbiguousBlockAssociation:
|
126
314
|
Exclude:
|
315
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
127
316
|
- 'lib/webtranslateit/safe/s3.rb'
|
317
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
128
318
|
|
129
|
-
# Offense count:
|
319
|
+
# Offense count: 3
|
130
320
|
# This cop supports safe autocorrection (--autocorrect).
|
131
321
|
Lint/AmbiguousOperatorPrecedence:
|
132
322
|
Exclude:
|
323
|
+
- 'lib/webtranslateit/safe/config/node.rb'
|
133
324
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
134
325
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
135
326
|
|
136
|
-
# Offense count:
|
327
|
+
# Offense count: 7
|
137
328
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
138
329
|
# Configuration parameters: AllowSafeAssignment.
|
139
330
|
Lint/AssignmentInCondition:
|
140
331
|
Exclude:
|
332
|
+
- 'lib/webtranslateit/safe.rb'
|
141
333
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
334
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
335
|
+
- 'lib/webtranslateit/safe/local.rb'
|
336
|
+
- 'lib/webtranslateit/safe/mysqldump.rb'
|
142
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'
|
143
344
|
|
144
345
|
# Offense count: 1
|
145
346
|
Lint/MissingSuper:
|
@@ -153,12 +354,25 @@ Lint/RedundantDirGlobSort:
|
|
153
354
|
- 'spec/integration/cleanup_spec.rb'
|
154
355
|
|
155
356
|
# Offense count: 1
|
357
|
+
Lint/ShadowingOuterLocalVariable:
|
358
|
+
Exclude:
|
359
|
+
- 'spec/webtranslateit/safe/mongodump_spec.rb'
|
360
|
+
|
361
|
+
# Offense count: 2
|
156
362
|
# This cop supports safe autocorrection (--autocorrect).
|
157
363
|
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
158
364
|
Lint/UnusedBlockArgument:
|
159
365
|
Exclude:
|
366
|
+
- 'spec/webtranslateit/safe/mongodump_spec.rb'
|
160
367
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
161
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
|
+
|
162
376
|
# Offense count: 2
|
163
377
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
164
378
|
Lint/UselessAssignment:
|
@@ -166,17 +380,18 @@ Lint/UselessAssignment:
|
|
166
380
|
- 'spec/integration/archive_integration_spec.rb'
|
167
381
|
- 'spec/integration/cleanup_spec.rb'
|
168
382
|
|
169
|
-
# Offense count:
|
383
|
+
# Offense count: 4
|
170
384
|
# This cop supports safe autocorrection (--autocorrect).
|
171
385
|
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
172
386
|
Lint/Void:
|
173
387
|
Exclude:
|
174
388
|
- 'spec/integration/archive_integration_spec.rb'
|
389
|
+
- 'spec/webtranslateit/safe/mysqldump_spec.rb'
|
175
390
|
|
176
391
|
# Offense count: 14
|
177
392
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
178
393
|
Metrics/AbcSize:
|
179
|
-
Max:
|
394
|
+
Max: 43
|
180
395
|
|
181
396
|
# Offense count: 12
|
182
397
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
@@ -193,6 +408,16 @@ Metrics/MethodLength:
|
|
193
408
|
Metrics/PerceivedComplexity:
|
194
409
|
Max: 15
|
195
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
|
+
|
196
421
|
# Offense count: 1
|
197
422
|
# Configuration parameters: ForbiddenDelimiters.
|
198
423
|
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
@@ -255,7 +480,7 @@ RSpec/EmptyLineAfterHook:
|
|
255
480
|
RSpec/ExampleLength:
|
256
481
|
Max: 162
|
257
482
|
|
258
|
-
# Offense count:
|
483
|
+
# Offense count: 91
|
259
484
|
# This cop supports safe autocorrection (--autocorrect).
|
260
485
|
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
261
486
|
# DisallowedExamples: works
|
@@ -263,8 +488,17 @@ RSpec/ExampleWording:
|
|
263
488
|
Exclude:
|
264
489
|
- 'spec/integration/archive_integration_spec.rb'
|
265
490
|
- 'spec/integration/cleanup_spec.rb'
|
491
|
+
- 'spec/webtranslateit/safe/archive_spec.rb'
|
266
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'
|
267
500
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
501
|
+
- 'spec/webtranslateit/safe/svndump_spec.rb'
|
268
502
|
|
269
503
|
# Offense count: 11
|
270
504
|
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
|
@@ -326,13 +560,15 @@ RSpec/NoExpectationExample:
|
|
326
560
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
327
561
|
- 'spec/webtranslateit/safe/svndump_spec.rb'
|
328
562
|
|
329
|
-
# Offense count:
|
563
|
+
# Offense count: 12
|
330
564
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
331
565
|
# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
|
332
566
|
# SupportedStyles: inflected, explicit
|
333
567
|
RSpec/PredicateMatcher:
|
334
568
|
Exclude:
|
335
569
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
570
|
+
- 'spec/webtranslateit/safe/gpg_spec.rb'
|
571
|
+
- 'spec/webtranslateit/safe/local_spec.rb'
|
336
572
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
337
573
|
|
338
574
|
# Offense count: 2
|
@@ -345,12 +581,40 @@ Security/Eval:
|
|
345
581
|
Exclude:
|
346
582
|
- 'bin/webtranslateit-safe'
|
347
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
|
+
|
348
592
|
# Offense count: 1
|
349
593
|
# This cop supports safe autocorrection (--autocorrect).
|
350
594
|
Style/ClassMethods:
|
351
595
|
Exclude:
|
352
596
|
- 'lib/extensions/mktmpdir.rb'
|
353
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
|
+
|
354
618
|
# Offense count: 8
|
355
619
|
# This cop supports safe autocorrection (--autocorrect).
|
356
620
|
Style/FileWrite:
|
@@ -358,13 +622,14 @@ Style/FileWrite:
|
|
358
622
|
- 'spec/integration/archive_integration_spec.rb'
|
359
623
|
- 'spec/integration/cleanup_spec.rb'
|
360
624
|
|
361
|
-
# Offense count:
|
625
|
+
# Offense count: 3
|
362
626
|
# This cop supports safe autocorrection (--autocorrect).
|
363
627
|
# Configuration parameters: EnforcedStyle.
|
364
628
|
# SupportedStyles: format, sprintf, percent
|
365
629
|
Style/FormatString:
|
366
630
|
Exclude:
|
367
631
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
632
|
+
- 'lib/webtranslateit/safe/local.rb'
|
368
633
|
- 'lib/webtranslateit/safe/s3.rb'
|
369
634
|
|
370
635
|
# Offense count: 42
|
@@ -425,15 +690,20 @@ Style/GlobalStdStream:
|
|
425
690
|
- 'spec/webtranslateit/safe/cloudfiles_spec.rb'
|
426
691
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
427
692
|
|
428
|
-
# Offense count:
|
693
|
+
# Offense count: 7
|
429
694
|
# This cop supports safe autocorrection (--autocorrect).
|
430
695
|
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
431
696
|
Style/GuardClause:
|
432
697
|
Exclude:
|
433
698
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
699
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
700
|
+
- 'lib/webtranslateit/safe/local.rb'
|
701
|
+
- 'lib/webtranslateit/safe/mysqldump.rb'
|
434
702
|
- 'lib/webtranslateit/safe/s3.rb'
|
703
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
704
|
+
- 'lib/webtranslateit/safe/tmp_file.rb'
|
435
705
|
|
436
|
-
# Offense count:
|
706
|
+
# Offense count: 134
|
437
707
|
# This cop supports safe autocorrection (--autocorrect).
|
438
708
|
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
439
709
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
@@ -442,9 +712,47 @@ Style/HashSyntax:
|
|
442
712
|
Exclude:
|
443
713
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
444
714
|
- 'lib/webtranslateit/safe/s3.rb'
|
715
|
+
- 'lib/webtranslateit/safe/source.rb'
|
445
716
|
- 'spec/integration/archive_integration_spec.rb'
|
446
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'
|
447
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'
|
448
756
|
|
449
757
|
# Offense count: 3
|
450
758
|
Style/MixinUsage:
|
@@ -453,14 +761,31 @@ Style/MixinUsage:
|
|
453
761
|
- 'spec/integration/archive_integration_spec.rb'
|
454
762
|
- 'spec/integration/cleanup_spec.rb'
|
455
763
|
|
456
|
-
# Offense count:
|
764
|
+
# Offense count: 2
|
457
765
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
458
766
|
# Configuration parameters: EnforcedStyle.
|
459
767
|
# SupportedStyles: literals, strict
|
460
768
|
Style/MutableConstant:
|
461
769
|
Exclude:
|
770
|
+
- 'bin/webtranslateit-safe'
|
462
771
|
- 'lib/webtranslateit/safe/version.rb'
|
463
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
|
+
|
464
789
|
# Offense count: 1
|
465
790
|
# This cop supports safe autocorrection (--autocorrect).
|
466
791
|
# Configuration parameters: EnforcedOctalStyle.
|
@@ -475,12 +800,60 @@ Style/NumericLiteralPrefix:
|
|
475
800
|
Style/NumericLiterals:
|
476
801
|
MinDigits: 11
|
477
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
|
+
|
478
812
|
# Offense count: 2
|
479
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).
|
480
821
|
Style/RedundantException:
|
481
822
|
Exclude:
|
823
|
+
- 'lib/webtranslateit/safe/archive.rb'
|
482
824
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
825
|
+
- 'lib/webtranslateit/safe/ftp.rb'
|
826
|
+
- 'lib/webtranslateit/safe/gpg.rb'
|
827
|
+
- 'lib/webtranslateit/safe/local.rb'
|
483
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'
|
484
857
|
|
485
858
|
# Offense count: 1
|
486
859
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -489,13 +862,25 @@ Style/Semicolon:
|
|
489
862
|
Exclude:
|
490
863
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
491
864
|
|
492
|
-
# Offense count:
|
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
|
493
877
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
494
878
|
# Configuration parameters: RequireEnglish, EnforcedStyle.
|
495
879
|
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
496
880
|
Style/SpecialGlobalVars:
|
497
881
|
Exclude:
|
498
882
|
- 'lib/extensions/mktmpdir.rb'
|
883
|
+
- 'webtranslateit-safe.gemspec'
|
499
884
|
|
500
885
|
# Offense count: 2
|
501
886
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -504,13 +889,25 @@ Style/StderrPuts:
|
|
504
889
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
505
890
|
- 'lib/webtranslateit/safe/s3.rb'
|
506
891
|
|
507
|
-
# Offense count:
|
892
|
+
# Offense count: 5
|
508
893
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
509
894
|
# Configuration parameters: Mode.
|
510
895
|
Style/StringConcatenation:
|
511
896
|
Exclude:
|
512
897
|
- 'lib/webtranslateit/safe/cloudfiles.rb'
|
898
|
+
- 'lib/webtranslateit/safe/config/node.rb'
|
899
|
+
- 'lib/webtranslateit/safe/local.rb'
|
513
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'
|
514
911
|
|
515
912
|
# Offense count: 9
|
516
913
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -519,22 +916,30 @@ Style/StringConcatenation:
|
|
519
916
|
Style/SymbolArray:
|
520
917
|
EnforcedStyle: brackets
|
521
918
|
|
522
|
-
# Offense count:
|
919
|
+
# Offense count: 5
|
523
920
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
524
921
|
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
525
922
|
# AllowedMethods: define_method
|
526
923
|
Style/SymbolProc:
|
527
924
|
Exclude:
|
925
|
+
- 'lib/webtranslateit/safe/archive.rb'
|
528
926
|
- 'lib/webtranslateit/safe/s3.rb'
|
927
|
+
- 'lib/webtranslateit/safe/sftp.rb'
|
529
928
|
|
530
|
-
# Offense count:
|
929
|
+
# Offense count: 21
|
531
930
|
# This cop supports safe autocorrection (--autocorrect).
|
532
931
|
# Configuration parameters: EnforcedStyleForMultiline.
|
533
932
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
534
933
|
Style/TrailingCommaInHashLiteral:
|
535
934
|
Exclude:
|
935
|
+
- 'spec/webtranslateit/safe/archive_spec.rb'
|
536
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'
|
537
941
|
- 'spec/webtranslateit/safe/s3_spec.rb'
|
942
|
+
- 'spec/webtranslateit/safe/svndump_spec.rb'
|
538
943
|
|
539
944
|
# Offense count: 9
|
540
945
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -544,6 +949,14 @@ Style/WordArray:
|
|
544
949
|
EnforcedStyle: percent
|
545
950
|
MinSize: 3
|
546
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
|
+
|
547
960
|
# Offense count: 9
|
548
961
|
# This cop supports safe autocorrection (--autocorrect).
|
549
962
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|