wavefront-sdk 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +2 -0
  3. data/.rubocop.yml +62 -72
  4. data/.travis.yml +5 -4
  5. data/README.md +10 -0
  6. data/lib/wavefront-sdk/base.rb +28 -8
  7. data/lib/wavefront-sdk/constants.rb +3 -0
  8. data/lib/wavefront-sdk/credentials.rb +36 -17
  9. data/lib/wavefront-sdk/mixins.rb +3 -22
  10. data/lib/wavefront-sdk/notificant.rb +1 -1
  11. data/lib/wavefront-sdk/parse_time.rb +58 -0
  12. data/lib/wavefront-sdk/response.rb +7 -6
  13. data/lib/wavefront-sdk/search.rb +5 -2
  14. data/lib/wavefront-sdk/user.rb +7 -0
  15. data/lib/wavefront-sdk/validators.rb +15 -7
  16. data/lib/wavefront-sdk/version.rb +1 -1
  17. data/lib/wavefront-sdk/write.rb +29 -3
  18. data/spec/.rubocop.yml +3 -0
  19. data/spec/spec_helper.rb +24 -18
  20. data/spec/wavefront-sdk/alert_spec.rb +5 -0
  21. data/spec/wavefront-sdk/base_spec.rb +9 -9
  22. data/spec/wavefront-sdk/credentials_spec.rb +123 -4
  23. data/spec/wavefront-sdk/event_spec.rb +4 -5
  24. data/spec/wavefront-sdk/externallink_spec.rb +1 -1
  25. data/spec/wavefront-sdk/maintenancewindow_spec.rb +2 -2
  26. data/spec/wavefront-sdk/metric_spec.rb +2 -2
  27. data/spec/wavefront-sdk/mixins_spec.rb +1 -1
  28. data/spec/wavefront-sdk/parse_time_spec.rb +65 -0
  29. data/spec/wavefront-sdk/resources/test2.conf +4 -0
  30. data/spec/wavefront-sdk/response_spec.rb +3 -5
  31. data/spec/wavefront-sdk/savedsearch_spec.rb +1 -1
  32. data/spec/wavefront-sdk/source_spec.rb +1 -1
  33. data/spec/wavefront-sdk/user_spec.rb +5 -3
  34. data/spec/wavefront-sdk/validators_spec.rb +65 -62
  35. data/spec/wavefront-sdk/webhook_spec.rb +1 -1
  36. data/spec/wavefront-sdk/write_spec.rb +19 -1
  37. data/wavefront-sdk.gemspec +4 -3
  38. metadata +29 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2ae6f5787f80de5c4213dbf4ea9e3cbeb433a523
4
- data.tar.gz: 125ddd35f07e932244709277f2e046d7a9b7c518
2
+ SHA256:
3
+ metadata.gz: a87c2b323f2d41000dac86a0356ba57e7dceae0ae33ab112de779eb13f480c54
4
+ data.tar.gz: cb918969b9a01e852db775b62db6db03b40bee48a10eb11e487c2772389effeb
5
5
  SHA512:
6
- metadata.gz: 7ed38e245d4be4344e0f92b23962957afdd8d84ff0bcb3ee9e5f342c707014288f3fbbc43313b4f37c7a51df8cb7b65e7d048c8965b95217f9aff387eb6dbe74
7
- data.tar.gz: d66915ee499574bfd0175d0472970f32f1677b2552a9943dd27691ee6a949167377f7676b6a0ecda9bf9c7c1cc0d5a9804c8505d0b1a89a5280505ffedc72885
6
+ metadata.gz: 15cfd22598cea1defea84024274d85b51b1e5a57f1767f5822a82e9cc9efc12b0ebf494150ed575f340dc538cd67c7772c9a620f2f6b9105bfd5e0cbc203874a
7
+ data.tar.gz: 129b3b2ad6c00a9173d4bc76322cc62419236c349c9d370af22bef1200fd3770e555dd10fc3718e591b9d3a61783eb7137f4346fa912bb6398de9f8b7388e5b0
data/.gitignore CHANGED
@@ -2,3 +2,5 @@
2
2
  /doc
3
3
  .*swp
4
4
  *.gem
5
+ coverage
6
+ Gemfile.lock
@@ -82,7 +82,7 @@ Lint/EnsureReturn:
82
82
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
83
83
  Enabled: true
84
84
 
85
- Lint/Eval:
85
+ Security/Eval:
86
86
  Description: 'The use of eval represents a serious security risk.'
87
87
  Enabled: true
88
88
 
@@ -95,16 +95,6 @@ Lint/HandleExceptions:
95
95
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
96
96
  Enabled: true
97
97
 
98
- Lint/InvalidCharacterLiteral:
99
- Description: >-
100
- Checks for invalid character literals with a non-escaped
101
- whitespace character.
102
- Enabled: true
103
-
104
- Lint/LiteralInCondition:
105
- Description: 'Checks of literals used in conditions.'
106
- Enabled: true
107
-
108
98
  Lint/LiteralInInterpolation:
109
99
  Description: 'Checks for literals used in interpolation.'
110
100
  Enabled: true
@@ -368,12 +358,12 @@ Rails/Validation:
368
358
 
369
359
  ################## Style #################################
370
360
 
371
- Style/AccessModifierIndentation:
361
+ Layout/AccessModifierIndentation:
372
362
  Description: Check indentation of private/protected visibility modifiers.
373
363
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected'
374
364
  Enabled: false
375
365
 
376
- Style/AccessorMethodName:
366
+ Naming/AccessorMethodName:
377
367
  Description: Check the naming of accessor methods for get_/set_.
378
368
  Enabled: false
379
369
 
@@ -382,20 +372,20 @@ Style/Alias:
382
372
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
383
373
  Enabled: false
384
374
 
385
- Style/AlignArray:
375
+ Layout/AlignArray:
386
376
  Description: >-
387
377
  Align the elements of an array literal if they span more than
388
378
  one line.
389
379
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
390
380
  Enabled: false
391
381
 
392
- Style/AlignHash:
382
+ Layout/AlignHash:
393
383
  Description: >-
394
384
  Align the elements of a hash literal if they span more than
395
385
  one line.
396
386
  Enabled: false
397
387
 
398
- Style/AlignParameters:
388
+ Layout/AlignParameters:
399
389
  Description: >-
400
390
  Align the parameters of a method call if they span more
401
391
  than one line.
@@ -417,7 +407,7 @@ Style/AsciiComments:
417
407
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
418
408
  Enabled: false
419
409
 
420
- Style/AsciiIdentifiers:
410
+ Naming/AsciiIdentifiers:
421
411
  Description: 'Use only ascii symbols in identifiers.'
422
412
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
423
413
  Enabled: false
@@ -442,7 +432,7 @@ Style/BlockComments:
442
432
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-block-comments'
443
433
  Enabled: false
444
434
 
445
- Style/BlockEndNewline:
435
+ Layout/BlockEndNewline:
446
436
  Description: 'Put end statement of multiline block on its own line.'
447
437
  Enabled: false
448
438
 
@@ -463,7 +453,7 @@ Style/CaseEquality:
463
453
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
464
454
  Enabled: false
465
455
 
466
- Style/CaseIndentation:
456
+ Layout/CaseIndentation:
467
457
  Description: 'Indentation of when in a case/when/[else/]end.'
468
458
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-when-to-case'
469
459
  Enabled: false
@@ -473,7 +463,7 @@ Style/CharacterLiteral:
473
463
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-character-literals'
474
464
  Enabled: false
475
465
 
476
- Style/ClassAndModuleCamelCase:
466
+ Naming/ClassAndModuleCamelCase:
477
467
  Description: 'Use CamelCase for classes and modules.'
478
468
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#camelcase-classes'
479
469
  Enabled: false
@@ -496,7 +486,7 @@ Style/ClassVars:
496
486
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
497
487
  Enabled: false
498
488
 
499
- Style/ClosingParenthesisIndentation:
489
+ Layout/ClosingParenthesisIndentation:
500
490
  Description: 'Checks the indentation of hanging closing parentheses.'
501
491
  Enabled: false
502
492
 
@@ -515,11 +505,11 @@ Style/CommentAnnotation:
515
505
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#annotate-keywords'
516
506
  Enabled: false
517
507
 
518
- Style/CommentIndentation:
508
+ Layout/CommentIndentation:
519
509
  Description: 'Indentation of comments.'
520
510
  Enabled: false
521
511
 
522
- Style/ConstantName:
512
+ Naming/ConstantName:
523
513
  Description: 'Constants should use SCREAMING_SNAKE_CASE.'
524
514
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#screaming-snake-case'
525
515
  Enabled: false
@@ -538,7 +528,7 @@ Style/Documentation:
538
528
  Description: 'Document classes and non-namespace modules.'
539
529
  Enabled: false
540
530
 
541
- Style/DotPosition:
531
+ Layout/DotPosition:
542
532
  Description: 'Checks the position of the dot in multi-line method calls.'
543
533
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
544
534
  Enabled: false
@@ -552,7 +542,7 @@ Style/EachWithObject:
552
542
  Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
553
543
  Enabled: false
554
544
 
555
- Style/ElseAlignment:
545
+ Layout/ElseAlignment:
556
546
  Description: 'Align elses and elsifs correctly.'
557
547
  Enabled: false
558
548
 
@@ -560,32 +550,32 @@ Style/EmptyElse:
560
550
  Description: 'Avoid empty else-clauses.'
561
551
  Enabled: false
562
552
 
563
- Style/EmptyLineBetweenDefs:
553
+ Layout/EmptyLineBetweenDefs:
564
554
  Description: 'Use empty lines between defs.'
565
555
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods'
566
556
  Enabled: false
567
557
 
568
- Style/EmptyLines:
558
+ Layout/EmptyLines:
569
559
  Description: "Don't use several empty lines in a row."
570
560
  Enabled: false
571
561
 
572
- Style/EmptyLinesAroundAccessModifier:
562
+ Layout/EmptyLinesAroundAccessModifier:
573
563
  Description: "Keep blank lines around access modifiers."
574
564
  Enabled: false
575
565
 
576
- Style/EmptyLinesAroundBlockBody:
566
+ Layout/EmptyLinesAroundBlockBody:
577
567
  Description: "Keeps track of empty lines around block bodies."
578
568
  Enabled: false
579
569
 
580
- Style/EmptyLinesAroundClassBody:
570
+ Layout/EmptyLinesAroundClassBody:
581
571
  Description: "Keeps track of empty lines around class bodies."
582
572
  Enabled: false
583
573
 
584
- Style/EmptyLinesAroundModuleBody:
574
+ Layout/EmptyLinesAroundModuleBody:
585
575
  Description: "Keeps track of empty lines around module bodies."
586
576
  Enabled: false
587
577
 
588
- Style/EmptyLinesAroundMethodBody:
578
+ Layout/EmptyLinesAroundMethodBody:
589
579
  Description: "Keeps track of empty lines around method bodies."
590
580
  Enabled: false
591
581
 
@@ -599,7 +589,7 @@ Style/EndBlock:
599
589
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-END-blocks'
600
590
  Enabled: false
601
591
 
602
- Style/EndOfLine:
592
+ Layout/EndOfLine:
603
593
  Description: 'Use Unix-style line endings.'
604
594
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#crlf'
605
595
  Enabled: false
@@ -609,21 +599,21 @@ Style/EvenOdd:
609
599
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
610
600
  Enabled: false
611
601
 
612
- Style/ExtraSpacing:
602
+ Layout/ExtraSpacing:
613
603
  Description: 'Do not use unnecessary spacing.'
614
604
  Enabled: false
615
605
 
616
- Style/FileName:
606
+ Naming/FileName:
617
607
  Description: 'Use snake_case for source file names.'
618
608
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
619
609
  Enabled: false
620
610
 
621
- Style/InitialIndentation:
611
+ Layout/InitialIndentation:
622
612
  Description: >-
623
613
  Checks the indentation of the first non-blank non-comment line in a file.
624
614
  Enabled: false
625
615
 
626
- Style/FirstParameterIndentation:
616
+ Layout/FirstParameterIndentation:
627
617
  Description: 'Checks the indentation of the first parameter in a method call.'
628
618
  Enabled: false
629
619
 
@@ -672,22 +662,22 @@ Style/IfWithSemicolon:
672
662
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
673
663
  Enabled: false
674
664
 
675
- Style/IndentationConsistency:
665
+ Layout/IndentationConsistency:
676
666
  Description: 'Keep indentation straight.'
677
667
  Enabled: false
678
668
 
679
- Style/IndentationWidth:
669
+ Layout/IndentationWidth:
680
670
  Description: 'Use 2 spaces for indentation.'
681
671
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
682
672
  Enabled: false
683
673
 
684
- Style/IndentArray:
674
+ Layout/IndentArray:
685
675
  Description: >-
686
676
  Checks the indentation of the first element in an array
687
677
  literal.
688
678
  Enabled: false
689
679
 
690
- Style/IndentHash:
680
+ Layout/IndentHash:
691
681
  Description: 'Checks the indentation of the first key in a hash literal.'
692
682
  Enabled: false
693
683
 
@@ -706,7 +696,7 @@ Style/LambdaCall:
706
696
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc-call'
707
697
  Enabled: false
708
698
 
709
- Style/LeadingCommentSpace:
699
+ Layout/LeadingCommentSpace:
710
700
  Description: 'Comments should start with a space.'
711
701
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'
712
702
  Enabled: false
@@ -729,7 +719,7 @@ Style/MethodDefParentheses:
729
719
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
730
720
  Enabled: false
731
721
 
732
- Style/MethodName:
722
+ Naming/MethodName:
733
723
  Description: 'Use the configured style when naming methods.'
734
724
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
735
725
  Enabled: false
@@ -744,7 +734,7 @@ Style/MultilineBlockChain:
744
734
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
745
735
  Enabled: false
746
736
 
747
- Style/MultilineBlockLayout:
737
+ Layout/MultilineBlockLayout:
748
738
  Description: 'Ensures newlines after multiline block do statements.'
749
739
  Enabled: false
750
740
 
@@ -753,7 +743,7 @@ Style/MultilineIfThen:
753
743
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-then'
754
744
  Enabled: false
755
745
 
756
- Style/MultilineOperationIndentation:
746
+ Layout/MultilineOperationIndentation:
757
747
  Description: >-
758
748
  Checks indentation of binary operations that span more than
759
749
  one line.
@@ -817,7 +807,7 @@ Style/OneLineConditional:
817
807
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
818
808
  Enabled: false
819
809
 
820
- Style/OpMethod:
810
+ Naming/BinaryOperatorParameterName:
821
811
  Description: 'When defining binary operators, name the argument other.'
822
812
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
823
813
  Enabled: false
@@ -859,7 +849,7 @@ Style/PerlBackrefs:
859
849
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
860
850
  Enabled: false
861
851
 
862
- Style/PredicateName:
852
+ Naming/PredicateName:
863
853
  Description: 'Check the names of predicate methods.'
864
854
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
865
855
  Enabled: false
@@ -899,7 +889,7 @@ Style/RegexpLiteral:
899
889
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
900
890
  Enabled: false
901
891
 
902
- Style/RescueEnsureAlignment:
892
+ Layout/RescueEnsureAlignment:
903
893
  Description: 'Align rescues and ensures correctly.'
904
894
  Enabled: false
905
895
 
@@ -935,75 +925,75 @@ Style/SingleLineMethods:
935
925
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
936
926
  Enabled: false
937
927
 
938
- Style/SpaceBeforeFirstArg:
928
+ Layout/SpaceBeforeFirstArg:
939
929
  Description: >-
940
930
  Checks that exactly one space is used between a method name
941
931
  and the first argument for method calls without parentheses.
942
932
  Enabled: true
943
933
 
944
- Style/SpaceAfterColon:
934
+ Layout/SpaceAfterColon:
945
935
  Description: 'Use spaces after colons.'
946
936
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
947
937
  Enabled: false
948
938
 
949
- Style/SpaceAfterComma:
939
+ Layout/SpaceAfterComma:
950
940
  Description: 'Use spaces after commas.'
951
941
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
952
942
  Enabled: false
953
943
 
954
- Style/SpaceAroundKeyword:
944
+ Layout/SpaceAroundKeyword:
955
945
  Description: 'Use spaces around keywords.'
956
946
  Enabled: false
957
947
 
958
- Style/SpaceAfterMethodName:
948
+ Layout/SpaceAfterMethodName:
959
949
  Description: >-
960
950
  Do not put a space between a method name and the opening
961
951
  parenthesis in a method definition.
962
952
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
963
953
  Enabled: false
964
954
 
965
- Style/SpaceAfterNot:
955
+ Layout/SpaceAfterNot:
966
956
  Description: Tracks redundant space after the ! operator.
967
957
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-bang'
968
958
  Enabled: false
969
959
 
970
- Style/SpaceAfterSemicolon:
960
+ Layout/SpaceAfterSemicolon:
971
961
  Description: 'Use spaces after semicolons.'
972
962
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
973
963
  Enabled: false
974
964
 
975
- Style/SpaceBeforeBlockBraces:
965
+ Layout/SpaceBeforeBlockBraces:
976
966
  Description: >-
977
967
  Checks that the left block brace has or doesn't have space
978
968
  before it.
979
969
  Enabled: false
980
970
 
981
- Style/SpaceBeforeComma:
971
+ Layout/SpaceBeforeComma:
982
972
  Description: 'No spaces before commas.'
983
973
  Enabled: false
984
974
 
985
- Style/SpaceBeforeComment:
975
+ Layout/SpaceBeforeComment:
986
976
  Description: >-
987
977
  Checks for missing space between code and a comment on the
988
978
  same line.
989
979
  Enabled: false
990
980
 
991
- Style/SpaceBeforeSemicolon:
981
+ Layout/SpaceBeforeSemicolon:
992
982
  Description: 'No spaces before semicolons.'
993
983
  Enabled: false
994
984
 
995
- Style/SpaceInsideBlockBraces:
985
+ Layout/SpaceInsideBlockBraces:
996
986
  Description: >-
997
987
  Checks that block braces have or don't have surrounding space.
998
988
  For blocks taking parameters, checks that the left brace has
999
989
  or doesn't have trailing space.
1000
990
  Enabled: false
1001
991
 
1002
- Style/SpaceAroundBlockParameters:
992
+ Layout/SpaceAroundBlockParameters:
1003
993
  Description: 'Checks the spacing inside and after block parameters pipes.'
1004
994
  Enabled: false
1005
995
 
1006
- Style/SpaceAroundEqualsInParameterDefault:
996
+ Layout/SpaceAroundEqualsInParameterDefault:
1007
997
  Description: >-
1008
998
  Checks that the equals signs in parameter default assignments
1009
999
  have or don't have surrounding space depending on
@@ -1011,32 +1001,32 @@ Style/SpaceAroundEqualsInParameterDefault:
1011
1001
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-around-equals'
1012
1002
  Enabled: false
1013
1003
 
1014
- Style/SpaceAroundOperators:
1004
+ Layout/SpaceAroundOperators:
1015
1005
  Description: 'Use a single space around operators.'
1016
1006
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1017
1007
  Enabled: false
1018
1008
 
1019
- Style/SpaceInsideBrackets:
1009
+ Layout/SpaceInsideBrackets:
1020
1010
  Description: 'No spaces after [ or before ].'
1021
1011
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1022
1012
  Enabled: false
1023
1013
 
1024
- Style/SpaceInsideHashLiteralBraces:
1014
+ Layout/SpaceInsideHashLiteralBraces:
1025
1015
  Description: "Use spaces inside hash literal braces - or don't."
1026
1016
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1027
1017
  Enabled: false
1028
1018
 
1029
- Style/SpaceInsideParens:
1019
+ Layout/SpaceInsideParens:
1030
1020
  Description: 'No spaces after ( or before ).'
1031
1021
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1032
1022
  Enabled: false
1033
1023
 
1034
- Style/SpaceInsideRangeLiteral:
1024
+ Layout/SpaceInsideRangeLiteral:
1035
1025
  Description: 'No spaces inside range literals.'
1036
1026
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals'
1037
1027
  Enabled: false
1038
1028
 
1039
- Style/SpaceInsideStringInterpolation:
1029
+ Layout/SpaceInsideStringInterpolation:
1040
1030
  Description: 'Checks for padding/surrounding spaces inside string interpolation.'
1041
1031
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#string-interpolation'
1042
1032
  Enabled: false
@@ -1070,12 +1060,12 @@ Style/SymbolProc:
1070
1060
  Description: 'Use symbols as procs instead of blocks when possible.'
1071
1061
  Enabled: false
1072
1062
 
1073
- Style/Tab:
1063
+ Layout/Tab:
1074
1064
  Description: 'No hard tabs.'
1075
1065
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
1076
1066
  Enabled: false
1077
1067
 
1078
- Style/TrailingBlankLines:
1068
+ Layout/TrailingBlankLines:
1079
1069
  Description: 'Checks trailing blank lines and final newline.'
1080
1070
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
1081
1071
  Enabled: false
@@ -1090,7 +1080,7 @@ Style/TrailingCommaInLiteral:
1090
1080
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
1091
1081
  Enabled: false
1092
1082
 
1093
- Style/TrailingWhitespace:
1083
+ Layout/TrailingWhitespace:
1094
1084
  Description: 'Avoid trailing whitespace.'
1095
1085
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace'
1096
1086
  Enabled: false
@@ -1129,7 +1119,7 @@ Style/VariableInterpolation:
1129
1119
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
1130
1120
  Enabled: false
1131
1121
 
1132
- Style/VariableName:
1122
+ Naming/VariableName:
1133
1123
  Description: 'Use the configured style when naming variables.'
1134
1124
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
1135
1125
  Enabled: false