semantic_puppet 0.1.3 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 38ebb59dfcd6e82ac6ea128d8515b2662acbd3e1
4
- data.tar.gz: f09b3b0f9d3df0e086fcc577621352e0e876d8cf
2
+ SHA256:
3
+ metadata.gz: f3c25c681bbdc25c5314544df8ef06c0ddbd3757af6a5de7fd7b4999bce88c17
4
+ data.tar.gz: e930096e61ccc839c6ccdf11a1b93e34db1446cc12f3c1bce5b352a307aced4b
5
5
  SHA512:
6
- metadata.gz: 270364d1106aaf1e1a23921f7e0a65e94f21d66e8f05ff1f96f10ebd68da177d3d0127f5f09a6c7adfba16969878cbdf9b72429d298ac9fa6a5ccda9d6c29605
7
- data.tar.gz: 1b7e6f4b605d5f9ffefd312933048a9c9e0b17efea59eb09a6b215c2a117ec1ca275e18efbe640e991267d35d19b27b3c66dc4135b323dc9a8eb3c1be9b7f77b
6
+ metadata.gz: 13fed0e5b789b80a9ed8cb2f1f739d9f77e5d5ebe72a73acd53466c969513f165508c1bd7ce62bfea05cd0f19369f5041992c9e0cf86f17cae3199ec32739fb1
7
+ data.tar.gz: e6b4d574369a2f8b82fda07e2ba1847d8bece8665f191e92027121a07d81d01c2bd8e6bb273a71eef435c39e86baa75ab204590c3910061f737d14ef81cf5aa4
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ doc
6
6
  .idea/
7
7
  /.project
8
8
  Gemfile.lock
9
+ locales/semantic_puppet.pot
@@ -0,0 +1,672 @@
1
+ AllCops:
2
+ Include:
3
+ - 'lib/**/*.rb'
4
+ Exclude:
5
+ - 'spec/**/*'
6
+
7
+ Lint/ConditionPosition:
8
+ Enabled: true
9
+
10
+ Lint/ElseLayout:
11
+ Enabled: true
12
+
13
+ Lint/UnreachableCode:
14
+ Enabled: true
15
+
16
+ Lint/UselessComparison:
17
+ Enabled: true
18
+
19
+ # MAYBE useful - no return inside ensure block.
20
+ Lint/EnsureReturn:
21
+ Enabled: false
22
+
23
+ # MAYBE useful - errors when rescue {} happens.
24
+ Lint/HandleExceptions:
25
+ Enabled: false
26
+
27
+ # MAYBE useful - catches while 1
28
+ Lint/LiteralInCondition:
29
+ Enabled: false
30
+
31
+ Lint/ShadowingOuterLocalVariable:
32
+ Enabled: true
33
+
34
+ # Can catch complicated strings.
35
+ Lint/LiteralInInterpolation:
36
+ Enabled: true
37
+
38
+
39
+ # DISABLED really useless. Detects return as last statement.
40
+ Style/RedundantReturn:
41
+ Enabled: false
42
+
43
+ # Disabled. Throws an error trying to run.
44
+ Style/RedundantParentheses:
45
+ Enabled: false
46
+
47
+ # DISABLED since the instances do not seem to indicate any specific errors.
48
+ Lint/AmbiguousOperator:
49
+ Enabled: false
50
+
51
+ # DISABLED since for all the checked, we are basically checking nil
52
+ # TODO: Change the checking so that if the variable being assigned to has
53
+ # a value ALREADY, then raise an error.
54
+ Lint/AssignmentInCondition:
55
+ Enabled: false
56
+
57
+ # DISABLED - not useful
58
+ Style/SpaceBeforeComment:
59
+ Enabled: false
60
+
61
+ # DISABLED - not useful
62
+ Style/HashSyntax:
63
+ Enabled: false
64
+
65
+ # USES: as shortcut for non nil&valid checking a = x() and a.empty?
66
+ # DISABLED - not useful
67
+ Style/AndOr:
68
+ Enabled: false
69
+
70
+ # DISABLED - not useful
71
+ Style/RedundantSelf:
72
+ Enabled: false
73
+
74
+ # DISABLED - not useful
75
+ Metrics/MethodLength:
76
+ Enabled: false
77
+
78
+ # DISABLED - not useful
79
+ Style/WhileUntilModifier:
80
+ Enabled: false
81
+
82
+ # DISABLED - the offender is just haskell envy
83
+ Lint/AmbiguousRegexpLiteral:
84
+ Enabled: false
85
+
86
+ # DISABLED
87
+ Lint/Eval:
88
+ Enabled: false
89
+ # DISABLED
90
+ Lint/BlockAlignment:
91
+ Enabled: false
92
+
93
+ # DISABLED
94
+ Lint/DefEndAlignment:
95
+ Enabled: false
96
+
97
+ # DISABLED
98
+ Lint/EndAlignment:
99
+ Enabled: false
100
+
101
+ # DISABLED
102
+ Lint/DeprecatedClassMethods:
103
+ Enabled: false
104
+
105
+ # DISABLED
106
+ Lint/Loop:
107
+ Enabled: false
108
+
109
+ # DISABLED
110
+ Lint/ParenthesesAsGroupedExpression:
111
+ Enabled: false
112
+
113
+ Lint/RescueException:
114
+ Enabled: false
115
+
116
+ Lint/StringConversionInInterpolation:
117
+ Enabled: false
118
+
119
+ Lint/UnusedBlockArgument:
120
+ Enabled: false
121
+
122
+ Lint/UnusedMethodArgument:
123
+ Enabled: false
124
+
125
+ # DISABLED - TODO
126
+ Lint/UselessAccessModifier:
127
+ Enabled: false
128
+
129
+ # DISABLED - TODO
130
+ Lint/UselessAssignment:
131
+ Enabled: false
132
+
133
+ # DISABLED - TODO
134
+ Lint/Void:
135
+ Enabled: false
136
+
137
+ Style/AccessModifierIndentation:
138
+ Enabled: false
139
+
140
+ Style/AccessorMethodName:
141
+ Enabled: false
142
+
143
+ Style/Alias:
144
+ Enabled: false
145
+
146
+ Style/AlignArray:
147
+ Enabled: false
148
+
149
+ Style/AlignHash:
150
+ Enabled: false
151
+
152
+ Style/AlignParameters:
153
+ Enabled: false
154
+
155
+ Metrics/BlockNesting:
156
+ Enabled: false
157
+
158
+ Style/AsciiComments:
159
+ Enabled: false
160
+
161
+ Style/Attr:
162
+ Enabled: false
163
+
164
+ Style/BracesAroundHashParameters:
165
+ Enabled: false
166
+
167
+ Style/CaseEquality:
168
+ Enabled: false
169
+
170
+ Style/CaseIndentation:
171
+ Enabled: false
172
+
173
+ Style/CharacterLiteral:
174
+ Enabled: false
175
+
176
+ Style/ClassAndModuleCamelCase:
177
+ Enabled: false
178
+
179
+ Style/ClassAndModuleChildren:
180
+ Enabled: false
181
+
182
+ Style/ClassCheck:
183
+ Enabled: false
184
+
185
+ Metrics/ClassLength:
186
+ Enabled: false
187
+
188
+ Style/ClassMethods:
189
+ Enabled: false
190
+
191
+ Style/ClassVars:
192
+ Enabled: false
193
+
194
+ Style/WhenThen:
195
+ Enabled: false
196
+
197
+
198
+ # DISABLED - not useful
199
+ Style/WordArray:
200
+ Enabled: false
201
+
202
+ Style/UnneededPercentQ:
203
+ Enabled: false
204
+
205
+ Style/Tab:
206
+ Enabled: false
207
+
208
+ Style/SpaceBeforeSemicolon:
209
+ Enabled: false
210
+
211
+ Style/TrailingBlankLines:
212
+ Enabled: false
213
+
214
+ Style/SpaceInsideBlockBraces:
215
+ Enabled: false
216
+
217
+ Style/SpaceInsideBrackets:
218
+ Enabled: false
219
+
220
+ Style/SpaceInsideHashLiteralBraces:
221
+ Enabled: false
222
+
223
+ Style/SpaceInsideParens:
224
+ Enabled: false
225
+
226
+ Style/LeadingCommentSpace:
227
+ Enabled: false
228
+
229
+ Style/SpaceAfterColon:
230
+ Enabled: false
231
+
232
+ Style/SpaceAfterComma:
233
+ Enabled: false
234
+
235
+ Style/SpaceAroundKeyword:
236
+ Enabled: false
237
+
238
+ Style/SpaceAfterMethodName:
239
+ Enabled: false
240
+
241
+ Style/SpaceAfterNot:
242
+ Enabled: false
243
+
244
+ Style/SpaceAfterSemicolon:
245
+ Enabled: false
246
+
247
+ Style/SpaceAroundEqualsInParameterDefault:
248
+ Enabled: false
249
+
250
+ Style/SpaceAroundOperators:
251
+ Enabled: false
252
+
253
+ Style/SpaceBeforeBlockBraces:
254
+ Enabled: false
255
+
256
+ Style/SpaceBeforeComma:
257
+ Enabled: false
258
+
259
+
260
+ Style/CollectionMethods:
261
+ Enabled: false
262
+
263
+ Style/CommentIndentation:
264
+ Enabled: false
265
+
266
+ Style/ColonMethodCall:
267
+ Enabled: false
268
+
269
+ Style/CommentAnnotation:
270
+ Enabled: false
271
+
272
+ Metrics/CyclomaticComplexity:
273
+ Enabled: false
274
+
275
+ Style/ConstantName:
276
+ Enabled: false
277
+
278
+ Style/Documentation:
279
+ Enabled: false
280
+
281
+ Style/DefWithParentheses:
282
+ Enabled: false
283
+
284
+ Style/DeprecatedHashMethods:
285
+ Enabled: false
286
+
287
+ Style/DotPosition:
288
+ Enabled: false
289
+
290
+ # DISABLED - used for converting to bool
291
+ Style/DoubleNegation:
292
+ Enabled: false
293
+
294
+ Style/EachWithObject:
295
+ Enabled: false
296
+
297
+ Style/EmptyLineBetweenDefs:
298
+ Enabled: false
299
+
300
+ Style/IndentArray:
301
+ Enabled: false
302
+
303
+ Style/IndentHash:
304
+ Enabled: false
305
+
306
+ Style/IndentationConsistency:
307
+ Enabled: false
308
+
309
+ Style/IndentationWidth:
310
+ Enabled: false
311
+
312
+ Style/EmptyLines:
313
+ Enabled: false
314
+
315
+ Style/EmptyLinesAroundAccessModifier:
316
+ Enabled: false
317
+
318
+ Style/EmptyLiteral:
319
+ Enabled: false
320
+
321
+ Metrics/LineLength:
322
+ Enabled: false
323
+
324
+ Style/MethodCallParentheses:
325
+ Enabled: false
326
+
327
+ Style/MethodDefParentheses:
328
+ Enabled: false
329
+
330
+ Style/LineEndConcatenation:
331
+ Enabled: false
332
+
333
+ Style/TrailingWhitespace:
334
+ Enabled: false
335
+
336
+ Style/StringLiterals:
337
+ Enabled: false
338
+
339
+ Style/TrailingCommaInLiteral:
340
+ Enabled: false
341
+
342
+ Style/TrailingCommaInArguments:
343
+ Enabled: false
344
+
345
+ Style/GlobalVars:
346
+ Enabled: false
347
+
348
+ Style/GuardClause:
349
+ Enabled: false
350
+
351
+ Style/IfUnlessModifier:
352
+ Enabled: false
353
+
354
+ Style/MultilineIfThen:
355
+ Enabled: false
356
+
357
+ Style/NegatedIf:
358
+ Enabled: false
359
+
360
+ Style/NegatedWhile:
361
+ Enabled: false
362
+
363
+ Style/Next:
364
+ Enabled: false
365
+
366
+ Style/SingleLineBlockParams:
367
+ Enabled: false
368
+
369
+ Style/SingleLineMethods:
370
+ Enabled: false
371
+
372
+ Style/SpecialGlobalVars:
373
+ Enabled: false
374
+
375
+
376
+ Style/TrivialAccessors:
377
+ Enabled: false
378
+
379
+ Style/UnlessElse:
380
+ Enabled: false
381
+
382
+ Style/VariableInterpolation:
383
+ Enabled: false
384
+
385
+ Style/VariableName:
386
+ Enabled: false
387
+
388
+ Style/WhileUntilDo:
389
+ Enabled: false
390
+
391
+ Style/EvenOdd:
392
+ Enabled: false
393
+
394
+ Style/FileName:
395
+ Enabled: false
396
+
397
+ Style/For:
398
+ Enabled: false
399
+
400
+ Style/Lambda:
401
+ Enabled: false
402
+
403
+ Style/MethodName:
404
+ Enabled: false
405
+
406
+ Style/MultilineTernaryOperator:
407
+ Enabled: false
408
+
409
+ Style/NestedTernaryOperator:
410
+ Enabled: false
411
+
412
+ Style/NilComparison:
413
+ Enabled: false
414
+
415
+ Style/FormatString:
416
+ Enabled: false
417
+
418
+ Style/MultilineBlockChain:
419
+ Enabled: false
420
+
421
+ Style/Semicolon:
422
+ Enabled: false
423
+
424
+ Style/SignalException:
425
+ Enabled: false
426
+
427
+ Style/NonNilCheck:
428
+ Enabled: false
429
+
430
+ Style/Not:
431
+ Enabled: false
432
+
433
+ Style/NumericLiterals:
434
+ Enabled: false
435
+
436
+ Style/OneLineConditional:
437
+ Enabled: false
438
+
439
+ Style/OpMethod:
440
+ Enabled: false
441
+
442
+ Style/ParenthesesAroundCondition:
443
+ Enabled: false
444
+
445
+ Style/PercentLiteralDelimiters:
446
+ Enabled: false
447
+
448
+ Style/PerlBackrefs:
449
+ Enabled: false
450
+
451
+ Style/PredicateName:
452
+ Enabled: false
453
+
454
+ Style/RedundantException:
455
+ Enabled: false
456
+
457
+ Style/SelfAssignment:
458
+ Enabled: false
459
+
460
+ Style/Proc:
461
+ Enabled: false
462
+
463
+ Style/RaiseArgs:
464
+ Enabled: false
465
+
466
+ Style/RedundantBegin:
467
+ Enabled: false
468
+
469
+ Style/RescueModifier:
470
+ Enabled: false
471
+
472
+ Style/RegexpLiteral:
473
+ Enabled: false
474
+
475
+ Lint/UnderscorePrefixedVariableName:
476
+ Enabled: false
477
+
478
+ Metrics/ParameterLists:
479
+ Enabled: false
480
+
481
+ Lint/RequireParentheses:
482
+ Enabled: false
483
+
484
+ Style/SpaceBeforeFirstArg:
485
+ Enabled: false
486
+
487
+ Style/ModuleFunction:
488
+ Enabled: false
489
+
490
+ Lint/Debugger:
491
+ Enabled: false
492
+
493
+ Style/IfWithSemicolon:
494
+ Enabled: false
495
+
496
+ Style/Encoding:
497
+ Enabled: false
498
+
499
+ Metrics/PerceivedComplexity:
500
+ Enabled: false
501
+
502
+ Style/SymbolProc:
503
+ Enabled: false
504
+
505
+ Style/SpaceInsideRangeLiteral:
506
+ Enabled: false
507
+
508
+ Style/InfiniteLoop:
509
+ Enabled: false
510
+
511
+ Style/BarePercentLiterals:
512
+ Enabled: false
513
+
514
+ Style/PercentQLiterals:
515
+ Enabled: false
516
+
517
+ Style/MultilineBlockLayout:
518
+ Enabled: false
519
+
520
+ Metrics/AbcSize:
521
+ Enabled: false
522
+
523
+ Style/MutableConstant:
524
+ Enabled: false
525
+
526
+ Style/BlockDelimiters:
527
+ Enabled: false
528
+
529
+ Style/EmptyLinesAroundClassBody:
530
+ Enabled: false
531
+
532
+ Style/ConditionalAssignment:
533
+ Enabled: false
534
+
535
+ Style/ExtraSpacing:
536
+ Enabled: false
537
+
538
+ Style/EmptyLinesAroundBlockBody:
539
+ Enabled: false
540
+
541
+ Style/EmptyLinesAroundModuleBody:
542
+ Enabled: false
543
+
544
+ Style/MultilineOperationIndentation:
545
+ Enabled: false
546
+
547
+ Style/EmptyElse:
548
+ Enabled: false
549
+
550
+ Style/StringLiteralsInInterpolation:
551
+ Enabled: false
552
+
553
+ Style/MultilineMethodCallIndentation:
554
+ Enabled: false
555
+
556
+ Metrics/ModuleLength:
557
+ Enabled: false
558
+
559
+ Style/EmptyLinesAroundMethodBody:
560
+ Enabled: false
561
+
562
+ Lint/IneffectiveAccessModifier:
563
+ Enabled: false
564
+
565
+ Performance/StringReplacement:
566
+ Enabled: false
567
+
568
+ Style/ClosingParenthesisIndentation:
569
+ Enabled: false
570
+
571
+ Style/UnneededInterpolation:
572
+ Enabled: false
573
+
574
+ Style/ElseAlignment:
575
+ Enabled: false
576
+
577
+ Style/FrozenStringLiteralComment:
578
+ Enabled: false
579
+
580
+ Style/FirstParameterIndentation:
581
+ Enabled: false
582
+
583
+ Style/IfInsideElse:
584
+ Enabled: false
585
+
586
+ Style/IndentAssignment:
587
+ Enabled: false
588
+
589
+ Style/SpaceAroundBlockParameters:
590
+ Enabled: false
591
+
592
+ Style/ParallelAssignment:
593
+ Enabled: false
594
+
595
+ Performance/RedundantBlockCall:
596
+ Enabled: false
597
+
598
+ Style/IdenticalConditionalBranches:
599
+ Enabled: false
600
+
601
+ Performance/RedundantMatch:
602
+ Enabled: false
603
+
604
+ Style/CommandLiteral:
605
+ Enabled: false
606
+
607
+ Performance/Casecmp:
608
+ Enabled: false
609
+
610
+ Lint/NestedMethodDefinition:
611
+ Enabled: false
612
+
613
+ Style/SpaceInsideStringInterpolation:
614
+ Enabled: false
615
+
616
+ Performance/RedundantMerge:
617
+ Enabled: false
618
+
619
+ Performance/ReverseEach:
620
+ Enabled: false
621
+
622
+ Style/NestedModifier:
623
+ Enabled: false
624
+
625
+ Lint/NonLocalExitFromIterator:
626
+ Enabled: false
627
+
628
+ Performance/Count:
629
+ Enabled: false
630
+
631
+ Style/NestedParenthesizedCalls:
632
+ Enabled: false
633
+
634
+ Style/RescueEnsureAlignment:
635
+ Enabled: false
636
+
637
+ Lint/DuplicateMethods:
638
+ Enabled: false
639
+
640
+ Performance/RangeInclude:
641
+ Enabled: false
642
+
643
+ Style/TrailingUnderscoreVariable:
644
+ Enabled: false
645
+
646
+ Lint/LiteralInInterpolation:
647
+ Enabled: false
648
+
649
+ Performance/DoubleStartEndWith:
650
+ Enabled: false
651
+
652
+ Performance/RedundantSortBy:
653
+ Enabled: false
654
+
655
+ Performance/TimesMap:
656
+ Enabled: false
657
+
658
+ Style/InitialIndentation:
659
+ Enabled: false
660
+
661
+ Style/StructInheritance:
662
+ Enabled: false
663
+
664
+ Style/SymbolLiteral:
665
+ Enabled: false
666
+
667
+ Style/IfUnlessModifierOfIfUnless:
668
+ Enabled: false
669
+
670
+ Style/ZeroLengthPredicate:
671
+ Enabled: false
672
+