smart_proxy_onboard 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 76ee2e403d55f1f663a1f0eac106e89375607095
4
- data.tar.gz: 8fa9584e37a64fe339a3d7ef529d95da59b90568
2
+ SHA256:
3
+ metadata.gz: d308cf1090990e87d022dc344a128bb0b9921debdf8e2bdd0cdc1a7700ee2a7a
4
+ data.tar.gz: b034cf48794928e0f807602f32c1cd2e9e4f9f0f8b03941b174baf7c0ae71513
5
5
  SHA512:
6
- metadata.gz: 7dee6e9204e891011a3e147736f3768887a9e52ae53a2c1bb5dd648f4fdf2e80af237c0b662786c2f1438c786fff56ae2e91c53bcb4dd673f15c658ef2a843bb
7
- data.tar.gz: c47faa60f52cd515a2ef26fdc09c5eb4a4dc32ca8fa4e552d768ebf95195c132e9ebedff93ccbd5e07e78b5b2d37f89cb2494885e07dd84c59b69fbcc52a624d
6
+ metadata.gz: 98965a734e7c9e7e3d497d82fd35776c308d0e8f1e0ea2181b82e108126fd1ecfa7789d45cc3b2369002c1add5747f99202d33f3a8947a9f5ed32612a64e75a2
7
+ data.tar.gz: d5bc96628f97f990f1e68d242eff1194ce5b9c30cb93bf560713b4d9065f723c10eafcbcb5fe752063ce303e32e0ccc6326790229d679d0ae4f92f823bb21457
data/.gitignore CHANGED
@@ -4,7 +4,11 @@
4
4
  /_yardoc/
5
5
  /coverage/
6
6
  /doc/
7
- /logs/
7
+ /logs/*
8
8
  /pkg/
9
9
  /spec/reports/
10
10
  /tmp/
11
+ *.swp
12
+
13
+ # Ignore IntelliJ IDEA
14
+ /.idea
@@ -4,54 +4,30 @@ Metrics/ClassLength:
4
4
  Exclude:
5
5
  - 'test/**/*'
6
6
 
7
- # Offense count: 11
8
- Lint/AmbiguousRegexpLiteral:
9
- Enabled: false
10
-
11
- # Offense count: 14
12
- # Configuration parameters: AllowSafeAssignment.
13
- Lint/AssignmentInCondition:
14
- Enabled: false
15
-
16
- # Offense count: 3
17
- Lint/Eval:
18
- Enabled: false
19
-
20
- # Offense count: 13
21
- # Cop supports --auto-correct.
22
- Lint/RescueException:
23
- Enabled: false
24
-
25
- # Offense count: 9
26
7
  # Cop supports --auto-correct.
27
8
  Lint/StringConversionInInterpolation:
28
9
  Enabled: true
29
10
 
30
- # Offense count: 9
31
11
  # Cop supports --auto-correct.
32
12
  Lint/UnusedBlockArgument:
33
13
  Enabled: false
34
14
 
35
- # Offense count: 18
36
15
  # Cop supports --auto-correct.
37
16
  Lint/UnusedMethodArgument:
38
17
  Enabled: false
39
18
 
40
- # Offense count: 5
41
- Metrics/BlockNesting:
42
- Max: 4
43
-
44
- Style/SymbolProc:
45
- Enabled: false
19
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
20
+ # URISchemes: http, https
21
+ Metrics/LineLength:
22
+ Max: 165
46
23
 
47
- # Some logging methods need more params than usual
48
- Metrics/ParameterLists:
49
- Max: 8
24
+ # Configuration parameters: CountComments.
25
+ Metrics/MethodLength:
26
+ Max: 21
50
27
 
51
- Style/Lambda:
52
- Enabled: false
28
+ Metrics/AbcSize:
29
+ Exclude:
30
+ - 'test/**/*'
53
31
 
54
- # enable both hash-rocket and ruby19 hashmap syntax
55
- Style/HashSyntax:
32
+ Style/Documentation:
56
33
  Enabled: false
57
-
@@ -1,520 +1,19 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config --exclude-limit 0`
3
- # on 2016-02-17 11:54:01 -0800 using RuboCop version 0.37.1.
2
+ # `rubocop --auto-gen-config`
3
+ # on 2017-09-21 19:29:36 -0500 using RuboCop version 0.50.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: 1
10
- Lint/AmbiguousOperator:
11
- Enabled: false
12
-
13
- # Offense count: 153
9
+ # Offense count: 2
14
10
  Metrics/AbcSize:
15
- Max: 106
16
-
17
- # Offense count: 14
18
- # Configuration parameters: CountComments.
19
- Metrics/ClassLength:
20
- Max: 409
21
-
22
- # Offense count: 30
23
- Metrics/CyclomaticComplexity:
24
11
  Max: 25
25
12
 
26
- # Offense count: 1019
27
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
28
- # URISchemes: http, https
29
- Metrics/LineLength:
30
- Max: 203
31
-
32
- # Offense count: 110
33
- # Configuration parameters: CountComments.
34
- Metrics/MethodLength:
35
- Max: 59
36
-
37
- # Offense count: 3
38
- # Configuration parameters: CountComments.
39
- Metrics/ModuleLength:
40
- Max: 158
41
-
42
- # Offense count: 26
43
- Metrics/PerceivedComplexity:
44
- Max: 22
45
-
46
- # Offense count: 9
47
- # Cop supports --auto-correct.
48
- Performance/StringReplacement:
49
- Enabled: false
50
-
51
- # Offense count: 3
52
- # Cop supports --auto-correct.
53
- # Configuration parameters: EnforcedStyle, SupportedStyles.
54
- # SupportedStyles: prefer_alias, prefer_alias_method
55
- Style/Alias:
56
- Enabled: false
57
-
58
- # Offense count: 1
59
- # Cop supports --auto-correct.
60
- # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
61
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
62
- Style/AlignHash:
63
- Enabled: false
64
-
65
- # Offense count: 104
66
- # Cop supports --auto-correct.
67
- # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
68
- # SupportedStyles: case, end
69
- Style/CaseIndentation:
70
- Enabled: false
71
-
72
- # Offense count: 122
73
- # Configuration parameters: EnforcedStyle, SupportedStyles.
74
- # SupportedStyles: nested, compact
75
- Style/ClassAndModuleChildren:
76
- Enabled: false
77
-
78
- # Offense count: 9
79
- Style/ClassVars:
80
- Enabled: false
81
-
82
- # Offense count: 3
83
- # Cop supports --auto-correct.
84
- Style/ClosingParenthesisIndentation:
85
- Enabled: false
86
-
87
- # Offense count: 11
88
- # Cop supports --auto-correct.
89
- Style/ColonMethodCall:
90
- Enabled: false
91
-
92
- # Offense count: 1
93
- # Cop supports --auto-correct.
94
- # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerBackticks.
95
- # SupportedStyles: backticks, percent_x, mixed
96
- Style/CommandLiteral:
97
- Enabled: false
98
-
99
- # Offense count: 3
100
- # Cop supports --auto-correct.
101
- # Configuration parameters: Keywords.
102
- # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
103
- Style/CommentAnnotation:
104
- Enabled: false
105
-
106
- # Offense count: 4
107
- # Cop supports --auto-correct.
108
- Style/CommentIndentation:
109
- Enabled: false
110
-
111
- # Offense count: 3
112
- # Cop supports --auto-correct.
113
- # Configuration parameters: SingleLineConditionsOnly.
114
- Style/ConditionalAssignment:
115
- Enabled: false
116
-
117
- # Offense count: 1
118
- Style/ConstantName:
119
- Enabled: false
120
-
121
- # Offense count: 6
122
- # Cop supports --auto-correct.
123
- Style/DeprecatedHashMethods:
124
- Enabled: false
125
-
126
- # Offense count: 148
127
- Style/Documentation:
128
- Enabled: false
129
-
130
- # Offense count: 15
131
- # Cop supports --auto-correct.
132
- # Configuration parameters: EnforcedStyle, SupportedStyles.
133
- # SupportedStyles: leading, trailing
134
- Style/DotPosition:
135
- Enabled: false
136
-
137
- # Offense count: 4
138
- Style/DoubleNegation:
139
- Enabled: false
140
-
141
- # Offense count: 5
142
- Style/EachWithObject:
143
- Enabled: false
144
-
145
- # Offense count: 14
146
- # Cop supports --auto-correct.
147
- # Configuration parameters: AllowAdjacentOneLineDefs.
148
- Style/EmptyLineBetweenDefs:
149
- Enabled: false
150
-
151
- # Offense count: 5
152
- # Cop supports --auto-correct.
153
- Style/EmptyLines:
154
- Enabled: false
155
-
156
- # Offense count: 9
157
- # Cop supports --auto-correct.
158
- Style/EmptyLinesAroundAccessModifier:
159
- Enabled: false
160
-
161
- # Offense count: 25
162
- # Cop supports --auto-correct.
163
- # Configuration parameters: EnforcedStyle, SupportedStyles.
164
- # SupportedStyles: empty_lines, no_empty_lines
165
- Style/EmptyLinesAroundClassBody:
166
- Enabled: false
167
-
168
- # Offense count: 4
169
- # Cop supports --auto-correct.
170
- Style/EmptyLinesAroundMethodBody:
171
- Enabled: false
172
-
173
- # Offense count: 6
174
- # Cop supports --auto-correct.
175
- # Configuration parameters: EnforcedStyle, SupportedStyles.
176
- # SupportedStyles: empty_lines, no_empty_lines
177
- Style/EmptyLinesAroundModuleBody:
178
- Enabled: false
179
-
180
- # Offense count: 4
181
- # Cop supports --auto-correct.
182
- Style/EmptyLiteral:
183
- Enabled: false
184
-
185
- # Offense count: 35
186
- # Cop supports --auto-correct.
187
- # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
188
- Style/ExtraSpacing:
189
- Enabled: false
190
-
191
- # Offense count: 4
192
- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
193
- Style/FileName:
194
- Enabled: false
195
-
196
- # Offense count: 19
197
- # Cop supports --auto-correct.
198
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
199
- # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
200
- Style/FirstParameterIndentation:
201
- Enabled: false
202
-
203
- # Offense count: 3
204
- # Configuration parameters: EnforcedStyle, SupportedStyles.
205
- # SupportedStyles: for, each
206
- Style/For:
207
- Enabled: false
208
-
209
- # Offense count: 4
210
- # Configuration parameters: EnforcedStyle, SupportedStyles.
211
- # SupportedStyles: format, sprintf, percent
212
- Style/FormatString:
213
- Enabled: false
214
-
215
- # Offense count: 13
216
- # Configuration parameters: MinBodyLength.
217
- Style/GuardClause:
218
- Enabled: false
219
-
220
- # Offense count: 9
221
- # Cop supports --auto-correct.
222
- # Configuration parameters: MaxLineLength.
223
- Style/IfUnlessModifier:
224
- Enabled: false
225
-
226
- # Offense count: 1
227
- # Cop supports --auto-correct.
228
- # Configuration parameters: SupportedStyles, IndentationWidth.
229
- # SupportedStyles: special_inside_parentheses, consistent, align_brackets
230
- Style/IndentArray:
231
- EnforcedStyle: consistent
232
-
233
- # Offense count: 24
234
- # Cop supports --auto-correct.
235
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
236
- # SupportedStyles: special_inside_parentheses, consistent, align_braces
237
- Style/IndentHash:
238
- Enabled: false
239
-
240
- # Offense count: 9
241
- # Cop supports --auto-correct.
242
- # Configuration parameters: EnforcedStyle, SupportedStyles.
243
- # SupportedStyles: normal, rails
244
- Style/IndentationConsistency:
245
- Enabled: false
246
-
247
- # Offense count: 10
248
- # Cop supports --auto-correct.
249
- # Configuration parameters: Width.
250
- Style/IndentationWidth:
251
- Enabled: false
252
-
253
- # Offense count: 15
254
- # Cop supports --auto-correct.
255
- Style/LeadingCommentSpace:
256
- Enabled: false
257
-
258
- # Offense count: 6
259
- # Cop supports --auto-correct.
260
- Style/MethodCallParentheses:
261
- Enabled: false
262
-
263
- # Offense count: 104
264
- # Cop supports --auto-correct.
265
- # Configuration parameters: EnforcedStyle, SupportedStyles.
266
- # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
267
- Style/MethodDefParentheses:
268
- Enabled: false
269
-
270
- # Offense count: 9
271
- # Configuration parameters: EnforcedStyle, SupportedStyles.
272
- # SupportedStyles: snake_case, camelCase
273
- Style/MethodName:
274
- Enabled: false
275
-
276
- # Offense count: 1
277
- Style/MultilineBlockChain:
278
- Enabled: false
279
-
280
- # Offense count: 4
281
- # Cop supports --auto-correct.
282
- Style/MultilineIfThen:
283
- Enabled: false
284
-
285
- # Offense count: 2
286
- # Cop supports --auto-correct.
287
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
288
- # SupportedStyles: aligned, indented
289
- Style/MultilineOperationIndentation:
290
- Enabled: false
291
-
292
- # Offense count: 9
293
- # Cop supports --auto-correct.
294
- Style/MutableConstant:
295
- Enabled: false
296
-
297
- # Offense count: 9
298
- # Cop supports --auto-correct.
299
- Style/NegatedIf:
300
- Enabled: false
301
-
302
- # Offense count: 4
303
- # Cop supports --auto-correct.
304
- # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
305
- # SupportedStyles: skip_modifier_ifs, always
306
- Style/Next:
307
- Enabled: false
308
-
309
- # Offense count: 1
310
- # Cop supports --auto-correct.
311
- Style/Not:
312
- Enabled: false
313
-
314
- # Offense count: 13
315
- # Cop supports --auto-correct.
316
- # Configuration parameters: PreferredDelimiters.
317
- Style/PercentLiteralDelimiters:
318
- Enabled: false
319
-
320
- # Offense count: 37
321
- # Cop supports --auto-correct.
322
- Style/PerlBackrefs:
323
- Enabled: false
324
-
325
13
  # Offense count: 1
326
- # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
327
- # NamePrefix: is_, has_, have_
328
- # NamePrefixBlacklist: is_, has_, have_
329
- # NameWhitelist: is_a?
330
- Style/PredicateName:
331
- Enabled: false
332
-
333
- # Offense count: 47
334
- # Configuration parameters: EnforcedStyle, SupportedStyles.
335
- # SupportedStyles: compact, exploded
336
- Style/RaiseArgs:
337
- Enabled: false
338
-
339
- # Offense count: 13
340
- # Cop supports --auto-correct.
341
- # Configuration parameters: AllowMultipleReturnValues.
342
- Style/RedundantReturn:
343
- Enabled: false
344
-
345
- # Offense count: 9
346
- # Cop supports --auto-correct.
347
- Style/RedundantSelf:
348
- Enabled: false
349
-
350
- # Offense count: 7
351
- # Cop supports --auto-correct.
352
- # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
353
- # SupportedStyles: slashes, percent_r, mixed
354
- Style/RegexpLiteral:
355
- Enabled: false
356
-
357
- # Offense count: 2
358
- # Cop supports --auto-correct.
359
- Style/RescueEnsureAlignment:
360
- Enabled: false
361
-
362
- # Offense count: 16
363
- # Cop supports --auto-correct.
364
- Style/RescueModifier:
365
- Enabled: false
366
-
367
- # Offense count: 2
368
- # Cop supports --auto-correct.
369
- Style/SelfAssignment:
370
- Enabled: false
371
-
372
- # Offense count: 20
373
- # Cop supports --auto-correct.
374
- # Configuration parameters: AllowAsExpressionSeparator.
375
- Style/Semicolon:
376
- Enabled: false
377
-
378
- # Offense count: 4
379
- # Cop supports --auto-correct.
380
- # Configuration parameters: EnforcedStyle, SupportedStyles.
381
- # SupportedStyles: only_raise, only_fail, semantic
382
- Style/SignalException:
383
- Enabled: false
384
-
385
- # Offense count: 6
386
- # Configuration parameters: Methods.
387
- # Methods: {"reduce"=>["a", "e"]}, {"inject"=>["a", "e"]}
388
- Style/SingleLineBlockParams:
389
- Enabled: false
390
-
391
- # Offense count: 2
392
- # Cop supports --auto-correct.
393
- # Configuration parameters: AllowIfMethodIsEmpty.
394
- Style/SingleLineMethods:
395
- Enabled: false
396
-
397
- # Offense count: 114
398
- # Cop supports --auto-correct.
399
- Style/SpaceAfterComma:
400
- Enabled: false
401
-
402
- # Offense count: 2
403
- # Cop supports --auto-correct.
404
- # Configuration parameters: EnforcedStyleInsidePipes, SupportedStyles.
405
- # SupportedStyles: space, no_space
406
- Style/SpaceAroundBlockParameters:
407
- Enabled: false
408
-
409
- # Offense count: 38
410
- # Cop supports --auto-correct.
411
- # Configuration parameters: EnforcedStyle, SupportedStyles.
412
- # SupportedStyles: space, no_space
413
- Style/SpaceAroundEqualsInParameterDefault:
414
- Enabled: false
415
-
416
- # Offense count: 134
417
- # Cop supports --auto-correct.
418
- # Configuration parameters: AllowForAlignment.
419
- Style/SpaceAroundOperators:
420
- Enabled: false
421
-
422
- # Offense count: 21
423
- # Cop supports --auto-correct.
424
- # Configuration parameters: EnforcedStyle, SupportedStyles.
425
- # SupportedStyles: space, no_space
426
- Style/SpaceBeforeBlockBraces:
427
- Enabled: false
428
-
429
- # Offense count: 90
430
- # Cop supports --auto-correct.
431
- # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
432
- # SupportedStyles: space, no_space
433
- Style/SpaceInsideBlockBraces:
434
- Enabled: false
435
-
436
- # Offense count: 20
437
- # Cop supports --auto-correct.
438
- Style/SpaceInsideBrackets:
439
- Enabled: false
440
-
441
- # Offense count: 145
442
- # Cop supports --auto-correct.
443
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
444
- # SupportedStyles: space, no_space
445
- Style/SpaceInsideHashLiteralBraces:
446
- Enabled: false
447
-
448
- # Offense count: 2
449
- # Cop supports --auto-correct.
450
- Style/SpaceInsideParens:
451
- Enabled: false
452
-
453
- # Offense count: 14
454
- # Cop supports --auto-correct.
455
- # Configuration parameters: EnforcedStyle, SupportedStyles.
456
- # SupportedStyles: use_perl_names, use_english_names
457
- Style/SpecialGlobalVars:
458
- Enabled: false
459
-
460
- # Offense count: 1896
461
- # Cop supports --auto-correct.
462
- # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
463
- # SupportedStyles: single_quotes, double_quotes
464
- Style/StringLiterals:
465
- Enabled: false
466
-
467
- # Offense count: 7
468
- # Cop supports --auto-correct.
469
- # Configuration parameters: EnforcedStyle, SupportedStyles.
470
- # SupportedStyles: single_quotes, double_quotes
471
- Style/StringLiteralsInInterpolation:
472
- Enabled: false
473
-
474
- # Offense count: 19
475
- # Cop supports --auto-correct.
476
- # Configuration parameters: EnforcedStyle, SupportedStyles.
477
- # SupportedStyles: final_newline, final_blank_line
478
- Style/TrailingBlankLines:
479
- Enabled: false
480
-
481
- # Offense count: 9
482
- # Cop supports --auto-correct.
483
- # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
484
- # SupportedStyles: comma, consistent_comma, no_comma
485
- Style/TrailingCommaInLiteral:
486
- Enabled: false
487
-
488
- # Offense count: 3
489
- # Cop supports --auto-correct.
490
- # Configuration parameters: AllowNamedUnderscoreVariables.
491
- Style/TrailingUnderscoreVariable:
492
- Enabled: false
493
-
494
- # Offense count: 10
495
- # Cop supports --auto-correct.
496
- Style/TrailingWhitespace:
497
- Enabled: false
14
+ Metrics/CyclomaticComplexity:
15
+ Max: 8
498
16
 
499
17
  # Offense count: 1
500
- # Cop supports --auto-correct.
501
- # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
502
- # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
503
- Style/TrivialAccessors:
504
- Enabled: false
505
-
506
- # Offense count: 4
507
- Style/UnlessElse:
508
- Enabled: false
509
-
510
- # Offense count: 9
511
- # Cop supports --auto-correct.
512
- Style/UnneededPercentQ:
513
- Enabled: false
514
-
515
- # Offense count: 28
516
- # Cop supports --auto-correct.
517
- # Configuration parameters: EnforcedStyle, SupportedStyles, MinSize, WordRegex.
518
- # SupportedStyles: percent, brackets
519
- Style/WordArray:
520
- Enabled: false
18
+ Metrics/PerceivedComplexity:
19
+ Max: 10