job_notifier 1.4.0 → 1.5.0
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 +5 -5
- data/.rubocop.yml +56 -56
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +54 -51
- data/README.md +4 -1
- data/job_notifier.gemspec +1 -1
- data/lib/job_notifier/engine.rb +1 -1
- data/lib/job_notifier/notifier.rb +1 -1
- data/lib/job_notifier/version.rb +1 -1
- data/spec/factories/job_notifier_jobs.rb +1 -1
- data/spec/lib/job_notifier/notifier_spec.rb +17 -0
- data/spec/rails_helper.rb +2 -2
- metadata +37 -693
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 1dae04fb8534537cdeea85a48747afb37adb92deff069f9dea224ee2c8a7c862
         | 
| 4 | 
            +
              data.tar.gz: fb1595223748bb59bc90a5538bf5e7b5cafe4e3d259b3ac57e61fdb4a4b77370
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7736d50cd7b86fea14cc7697adec616c7bc469ac7f3f5ceb34eddc35907a91b038d1603199298587b1a0890a283e9b5e122f869b435dce662fba37affbdfb247
         | 
| 7 | 
            +
              data.tar.gz: 964922891b54d657904f0554151b059d00df6ba866a62cc642a609a7b864ea27fae14c949a3791ce900cfa09c0798de78665a27739a1fdc14cb6ad73d62bbd13
         | 
    
        data/.rubocop.yml
    CHANGED
    
    | @@ -10,7 +10,7 @@ AllCops: | |
| 10 10 | 
             
              DisplayCopNames: false
         | 
| 11 11 | 
             
              StyleGuideCopsOnly: false
         | 
| 12 12 | 
             
              TargetRubyVersion: 2.3
         | 
| 13 | 
            -
             | 
| 13 | 
            +
            Layout/AccessModifierIndentation:
         | 
| 14 14 | 
             
              Description: Check indentation of private/protected visibility modifiers.
         | 
| 15 15 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
         | 
| 16 16 | 
             
              Enabled: true
         | 
| @@ -18,7 +18,7 @@ Style/AccessModifierIndentation: | |
| 18 18 | 
             
              SupportedStyles:
         | 
| 19 19 | 
             
              - outdent
         | 
| 20 20 | 
             
              - indent
         | 
| 21 | 
            -
             | 
| 21 | 
            +
            Layout/AlignHash:
         | 
| 22 22 | 
             
              Description: Align the elements of a hash literal if they span more than one line.
         | 
| 23 23 | 
             
              Enabled: true
         | 
| 24 24 | 
             
              EnforcedHashRocketStyle: key
         | 
| @@ -29,7 +29,7 @@ Style/AlignHash: | |
| 29 29 | 
             
              - always_ignore
         | 
| 30 30 | 
             
              - ignore_implicit
         | 
| 31 31 | 
             
              - ignore_explicit
         | 
| 32 | 
            -
             | 
| 32 | 
            +
            Layout/AlignParameters:
         | 
| 33 33 | 
             
              Description: Align the parameters of a method call if they span more than one line.
         | 
| 34 34 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
         | 
| 35 35 | 
             
              Enabled: true
         | 
| @@ -63,11 +63,11 @@ Style/BracesAroundHashParameters: | |
| 63 63 | 
             
              - braces
         | 
| 64 64 | 
             
              - no_braces
         | 
| 65 65 | 
             
              - context_dependent
         | 
| 66 | 
            -
             | 
| 66 | 
            +
            Layout/CaseIndentation:
         | 
| 67 67 | 
             
              Description: Indentation of when in a case/when/[else/]end.
         | 
| 68 68 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
         | 
| 69 69 | 
             
              Enabled: true
         | 
| 70 | 
            -
               | 
| 70 | 
            +
              EnforcedStyle: case
         | 
| 71 71 | 
             
              SupportedStyles:
         | 
| 72 72 | 
             
              - case
         | 
| 73 73 | 
             
              - end
         | 
| @@ -108,7 +108,7 @@ Style/CommentAnnotation: | |
| 108 108 | 
             
              - OPTIMIZE
         | 
| 109 109 | 
             
              - HACK
         | 
| 110 110 | 
             
              - REVIEW
         | 
| 111 | 
            -
             | 
| 111 | 
            +
            Layout/DotPosition:
         | 
| 112 112 | 
             
              Description: Checks the position of the dot in multi-line method calls.
         | 
| 113 113 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
         | 
| 114 114 | 
             
              Enabled: true
         | 
| @@ -116,26 +116,26 @@ Style/DotPosition: | |
| 116 116 | 
             
              SupportedStyles:
         | 
| 117 117 | 
             
              - leading
         | 
| 118 118 | 
             
              - trailing
         | 
| 119 | 
            -
             | 
| 119 | 
            +
            Layout/EmptyLineBetweenDefs:
         | 
| 120 120 | 
             
              Description: Use empty lines between defs.
         | 
| 121 121 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
         | 
| 122 122 | 
             
              Enabled: true
         | 
| 123 123 | 
             
              AllowAdjacentOneLineDefs: false
         | 
| 124 | 
            -
             | 
| 124 | 
            +
            Layout/EmptyLinesAroundBlockBody:
         | 
| 125 125 | 
             
              Description: Keeps track of empty lines around block bodies.
         | 
| 126 126 | 
             
              Enabled: true
         | 
| 127 127 | 
             
              EnforcedStyle: no_empty_lines
         | 
| 128 128 | 
             
              SupportedStyles:
         | 
| 129 129 | 
             
              - empty_lines
         | 
| 130 130 | 
             
              - no_empty_lines
         | 
| 131 | 
            -
             | 
| 131 | 
            +
            Layout/EmptyLinesAroundClassBody:
         | 
| 132 132 | 
             
              Description: Keeps track of empty lines around class bodies.
         | 
| 133 133 | 
             
              Enabled: true
         | 
| 134 134 | 
             
              EnforcedStyle: no_empty_lines
         | 
| 135 135 | 
             
              SupportedStyles:
         | 
| 136 136 | 
             
              - empty_lines
         | 
| 137 137 | 
             
              - no_empty_lines
         | 
| 138 | 
            -
             | 
| 138 | 
            +
            Layout/EmptyLinesAroundModuleBody:
         | 
| 139 139 | 
             
              Description: Keeps track of empty lines around module bodies.
         | 
| 140 140 | 
             
              Enabled: true
         | 
| 141 141 | 
             
              EnforcedStyle: no_empty_lines
         | 
| @@ -155,7 +155,7 @@ Style/FileName: | |
| 155 155 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
         | 
| 156 156 | 
             
              Enabled: false
         | 
| 157 157 | 
             
              Exclude: []
         | 
| 158 | 
            -
             | 
| 158 | 
            +
            Layout/FirstParameterIndentation:
         | 
| 159 159 | 
             
              Description: Checks the indentation of the first parameter in a method call.
         | 
| 160 160 | 
             
              Enabled: true
         | 
| 161 161 | 
             
              EnforcedStyle: special_for_inner_method_call_in_parentheses
         | 
| @@ -206,12 +206,12 @@ Style/IfUnlessModifier: | |
| 206 206 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
         | 
| 207 207 | 
             
              Enabled: false
         | 
| 208 208 | 
             
              MaxLineLength: 80
         | 
| 209 | 
            -
             | 
| 209 | 
            +
            Layout/IndentationWidth:
         | 
| 210 210 | 
             
              Description: Use 2 spaces for indentation.
         | 
| 211 211 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
         | 
| 212 212 | 
             
              Enabled: true
         | 
| 213 213 | 
             
              Width: 2
         | 
| 214 | 
            -
             | 
| 214 | 
            +
            Layout/IndentHash:
         | 
| 215 215 | 
             
              Description: Checks the indentation of the first key in a hash literal.
         | 
| 216 216 | 
             
              Enabled: true
         | 
| 217 217 | 
             
              EnforcedStyle: special_inside_parentheses
         | 
| @@ -256,7 +256,7 @@ Style/MethodName: | |
| 256 256 | 
             
              SupportedStyles:
         | 
| 257 257 | 
             
              - snake_case
         | 
| 258 258 | 
             
              - camelCase
         | 
| 259 | 
            -
             | 
| 259 | 
            +
            Layout/MultilineOperationIndentation:
         | 
| 260 260 | 
             
              Description: Checks indentation of binary operations that span more than one line.
         | 
| 261 261 | 
             
              Enabled: true
         | 
| 262 262 | 
             
              EnforcedStyle: indented
         | 
| @@ -366,14 +366,14 @@ Style/StringLiteralsInInterpolation: | |
| 366 366 | 
             
              SupportedStyles:
         | 
| 367 367 | 
             
              - single_quotes
         | 
| 368 368 | 
             
              - double_quotes
         | 
| 369 | 
            -
             | 
| 369 | 
            +
            Layout/SpaceAroundBlockParameters:
         | 
| 370 370 | 
             
              Description: Checks the spacing inside and after block parameters pipes.
         | 
| 371 371 | 
             
              Enabled: true
         | 
| 372 372 | 
             
              EnforcedStyleInsidePipes: no_space
         | 
| 373 | 
            -
               | 
| 373 | 
            +
              SupportedStylesInsidePipes:
         | 
| 374 374 | 
             
              - space
         | 
| 375 375 | 
             
              - no_space
         | 
| 376 | 
            -
             | 
| 376 | 
            +
            Layout/SpaceAroundEqualsInParameterDefault:
         | 
| 377 377 | 
             
              Description: Checks that the equals signs in parameter default assignments have
         | 
| 378 378 | 
             
                or don't have surrounding space depending on configuration.
         | 
| 379 379 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
         | 
| @@ -382,14 +382,14 @@ Style/SpaceAroundEqualsInParameterDefault: | |
| 382 382 | 
             
              SupportedStyles:
         | 
| 383 383 | 
             
              - space
         | 
| 384 384 | 
             
              - no_space
         | 
| 385 | 
            -
             | 
| 385 | 
            +
            Layout/SpaceBeforeBlockBraces:
         | 
| 386 386 | 
             
              Description: Checks that the left block brace has or doesn't have space before it.
         | 
| 387 387 | 
             
              Enabled: true
         | 
| 388 388 | 
             
              EnforcedStyle: space
         | 
| 389 389 | 
             
              SupportedStyles:
         | 
| 390 390 | 
             
              - space
         | 
| 391 391 | 
             
              - no_space
         | 
| 392 | 
            -
             | 
| 392 | 
            +
            Layout/SpaceInsideBlockBraces:
         | 
| 393 393 | 
             
              Description: Checks that block braces have or don't have surrounding space. For
         | 
| 394 394 | 
             
                blocks taking parameters, checks that the left brace has or doesn't have trailing
         | 
| 395 395 | 
             
                space.
         | 
| @@ -400,7 +400,7 @@ Style/SpaceInsideBlockBraces: | |
| 400 400 | 
             
              - no_space
         | 
| 401 401 | 
             
              EnforcedStyleForEmptyBraces: no_space
         | 
| 402 402 | 
             
              SpaceBeforeBlockParameters: true
         | 
| 403 | 
            -
             | 
| 403 | 
            +
            Layout/SpaceInsideHashLiteralBraces:
         | 
| 404 404 | 
             
              Description: Use spaces inside hash literal braces - or don't.
         | 
| 405 405 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
         | 
| 406 406 | 
             
              Enabled: true
         | 
| @@ -414,7 +414,7 @@ Style/SymbolProc: | |
| 414 414 | 
             
              Enabled: true
         | 
| 415 415 | 
             
              IgnoredMethods:
         | 
| 416 416 | 
             
              - respond_to
         | 
| 417 | 
            -
             | 
| 417 | 
            +
            Layout/TrailingBlankLines:
         | 
| 418 418 | 
             
              Description: Checks trailing blank lines and final newline.
         | 
| 419 419 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
         | 
| 420 420 | 
             
              Enabled: true
         | 
| @@ -530,15 +530,15 @@ Lint/AssignmentInCondition: | |
| 530 530 | 
             
            Lint/EndAlignment:
         | 
| 531 531 | 
             
              Description: Align ends correctly.
         | 
| 532 532 | 
             
              Enabled: true
         | 
| 533 | 
            -
               | 
| 534 | 
            -
               | 
| 533 | 
            +
              EnforcedStyleAlignWith: keyword
         | 
| 534 | 
            +
              SupportedStylesAlignWith:
         | 
| 535 535 | 
             
              - keyword
         | 
| 536 536 | 
             
              - variable
         | 
| 537 537 | 
             
            Lint/DefEndAlignment:
         | 
| 538 538 | 
             
              Description: Align ends corresponding to defs correctly.
         | 
| 539 539 | 
             
              Enabled: true
         | 
| 540 | 
            -
               | 
| 541 | 
            -
               | 
| 540 | 
            +
              EnforcedStyleAlignWith: start_of_line
         | 
| 541 | 
            +
              SupportedStylesAlignWith:
         | 
| 542 542 | 
             
              - start_of_line
         | 
| 543 543 | 
             
              - def
         | 
| 544 544 | 
             
            Rails/ActionFilter:
         | 
| @@ -589,7 +589,7 @@ Style/SymbolArray: | |
| 589 589 | 
             
              Description: Use %i or %I for arrays of symbols.
         | 
| 590 590 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
         | 
| 591 591 | 
             
              Enabled: false
         | 
| 592 | 
            -
             | 
| 592 | 
            +
            Layout/ExtraSpacing:
         | 
| 593 593 | 
             
              Description: Do not use unnecessary spacing.
         | 
| 594 594 | 
             
              Enabled: false
         | 
| 595 595 | 
             
            Style/AccessorMethodName:
         | 
| @@ -599,7 +599,7 @@ Style/Alias: | |
| 599 599 | 
             
              Description: Use alias_method instead of alias.
         | 
| 600 600 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
         | 
| 601 601 | 
             
              Enabled: false
         | 
| 602 | 
            -
             | 
| 602 | 
            +
            Layout/AlignArray:
         | 
| 603 603 | 
             
              Description: Align the elements of an array literal if they span more than one line.
         | 
| 604 604 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
         | 
| 605 605 | 
             
              Enabled: true
         | 
| @@ -627,7 +627,7 @@ Style/BlockComments: | |
| 627 627 | 
             
              Description: Do not use block comments.
         | 
| 628 628 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
         | 
| 629 629 | 
             
              Enabled: false
         | 
| 630 | 
            -
             | 
| 630 | 
            +
            Layout/BlockEndNewline:
         | 
| 631 631 | 
             
              Description: Put end statement of multiline block on its own line.
         | 
| 632 632 | 
             
              Enabled: true
         | 
| 633 633 | 
             
            Style/CaseEquality:
         | 
| @@ -654,7 +654,7 @@ Style/ColonMethodCall: | |
| 654 654 | 
             
              Description: 'Do not use :: for method call.'
         | 
| 655 655 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
         | 
| 656 656 | 
             
              Enabled: false
         | 
| 657 | 
            -
             | 
| 657 | 
            +
            Layout/CommentIndentation:
         | 
| 658 658 | 
             
              Description: Indentation of comments.
         | 
| 659 659 | 
             
              Enabled: true
         | 
| 660 660 | 
             
            Style/ConstantName:
         | 
| @@ -679,19 +679,19 @@ Style/DoubleNegation: | |
| 679 679 | 
             
            Style/EachWithObject:
         | 
| 680 680 | 
             
              Description: Prefer `each_with_object` over `inject` or `reduce`.
         | 
| 681 681 | 
             
              Enabled: false
         | 
| 682 | 
            -
             | 
| 682 | 
            +
            Layout/ElseAlignment:
         | 
| 683 683 | 
             
              Description: Align elses and elsifs correctly.
         | 
| 684 684 | 
             
              Enabled: true
         | 
| 685 685 | 
             
            Style/EmptyElse:
         | 
| 686 686 | 
             
              Description: Avoid empty else-clauses.
         | 
| 687 687 | 
             
              Enabled: true
         | 
| 688 | 
            -
             | 
| 688 | 
            +
            Layout/EmptyLines:
         | 
| 689 689 | 
             
              Description: Don't use several empty lines in a row.
         | 
| 690 690 | 
             
              Enabled: true
         | 
| 691 | 
            -
             | 
| 691 | 
            +
            Layout/EmptyLinesAroundAccessModifier:
         | 
| 692 692 | 
             
              Description: Keep blank lines around access modifiers.
         | 
| 693 693 | 
             
              Enabled: true
         | 
| 694 | 
            -
             | 
| 694 | 
            +
            Layout/EmptyLinesAroundMethodBody:
         | 
| 695 695 | 
             
              Description: Keeps track of empty lines around method bodies.
         | 
| 696 696 | 
             
              Enabled: true
         | 
| 697 697 | 
             
            Style/EmptyLiteral:
         | 
| @@ -702,7 +702,7 @@ Style/EndBlock: | |
| 702 702 | 
             
              Description: Avoid the use of END blocks.
         | 
| 703 703 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
         | 
| 704 704 | 
             
              Enabled: true
         | 
| 705 | 
            -
             | 
| 705 | 
            +
            Layout/EndOfLine:
         | 
| 706 706 | 
             
              Description: Use Unix-style line endings.
         | 
| 707 707 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
         | 
| 708 708 | 
             
              Enabled: true
         | 
| @@ -718,10 +718,10 @@ Style/IfWithSemicolon: | |
| 718 718 | 
             
              Description: Do not use if x; .... Use the ternary operator instead.
         | 
| 719 719 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
         | 
| 720 720 | 
             
              Enabled: false
         | 
| 721 | 
            -
             | 
| 721 | 
            +
            Layout/IndentationConsistency:
         | 
| 722 722 | 
             
              Description: Keep indentation straight.
         | 
| 723 723 | 
             
              Enabled: true
         | 
| 724 | 
            -
             | 
| 724 | 
            +
            Layout/IndentArray:
         | 
| 725 725 | 
             
              Description: Checks the indentation of the first element in an array literal.
         | 
| 726 726 | 
             
              Enabled: true
         | 
| 727 727 | 
             
            Style/InfiniteLoop:
         | 
| @@ -732,7 +732,7 @@ Style/Lambda: | |
| 732 732 | 
             
              Description: Use the new lambda literal syntax for single-line blocks.
         | 
| 733 733 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
         | 
| 734 734 | 
             
              Enabled: false
         | 
| 735 | 
            -
             | 
| 735 | 
            +
            Layout/LeadingCommentSpace:
         | 
| 736 736 | 
             
              Description: Comments should start with a space.
         | 
| 737 737 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
         | 
| 738 738 | 
             
              Enabled: true
         | 
| @@ -740,7 +740,7 @@ Style/LineEndConcatenation: | |
| 740 740 | 
             
              Description: Use \ instead of + or << to concatenate two string literals at line
         | 
| 741 741 | 
             
                end.
         | 
| 742 742 | 
             
              Enabled: false
         | 
| 743 | 
            -
            Style/ | 
| 743 | 
            +
            Style/MethodCallWithoutArgsParentheses:
         | 
| 744 744 | 
             
              Description: Do not use parentheses for method calls with no arguments.
         | 
| 745 745 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
         | 
| 746 746 | 
             
              Enabled: true
         | 
| @@ -752,7 +752,7 @@ Style/MultilineBlockChain: | |
| 752 752 | 
             
              Description: Avoid multi-line chains of blocks.
         | 
| 753 753 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
         | 
| 754 754 | 
             
              Enabled: false
         | 
| 755 | 
            -
             | 
| 755 | 
            +
            Layout/MultilineBlockLayout:
         | 
| 756 756 | 
             
              Description: Ensures newlines after multiline block do statements.
         | 
| 757 757 | 
             
              Enabled: false
         | 
| 758 758 | 
             
            Style/MultilineIfThen:
         | 
| @@ -820,56 +820,56 @@ Style/SelfAssignment: | |
| 820 820 | 
             
                used.
         | 
| 821 821 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
         | 
| 822 822 | 
             
              Enabled: false
         | 
| 823 | 
            -
             | 
| 823 | 
            +
            Layout/SpaceAfterColon:
         | 
| 824 824 | 
             
              Description: Use spaces after colons.
         | 
| 825 825 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
         | 
| 826 826 | 
             
              Enabled: true
         | 
| 827 | 
            -
             | 
| 827 | 
            +
            Layout/SpaceAfterComma:
         | 
| 828 828 | 
             
              Description: Use spaces after commas.
         | 
| 829 829 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
         | 
| 830 830 | 
             
              Enabled: true
         | 
| 831 | 
            -
             | 
| 831 | 
            +
            Layout/SpaceAroundKeyword:
         | 
| 832 832 | 
             
              Description: Use a space around keywords if appropriate.
         | 
| 833 833 | 
             
              Enabled: true
         | 
| 834 | 
            -
             | 
| 834 | 
            +
            Layout/SpaceAfterMethodName:
         | 
| 835 835 | 
             
              Description: Do not put a space between a method name and the opening parenthesis
         | 
| 836 836 | 
             
                in a method definition.
         | 
| 837 837 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
         | 
| 838 838 | 
             
              Enabled: true
         | 
| 839 | 
            -
             | 
| 839 | 
            +
            Layout/SpaceAfterNot:
         | 
| 840 840 | 
             
              Description: Tracks redundant space after the ! operator.
         | 
| 841 841 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
         | 
| 842 842 | 
             
              Enabled: true
         | 
| 843 | 
            -
             | 
| 843 | 
            +
            Layout/SpaceAfterSemicolon:
         | 
| 844 844 | 
             
              Description: Use spaces after semicolons.
         | 
| 845 845 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
         | 
| 846 846 | 
             
              Enabled: true
         | 
| 847 | 
            -
             | 
| 847 | 
            +
            Layout/SpaceBeforeComma:
         | 
| 848 848 | 
             
              Description: No spaces before commas.
         | 
| 849 849 | 
             
              Enabled: true
         | 
| 850 | 
            -
             | 
| 850 | 
            +
            Layout/SpaceBeforeComment:
         | 
| 851 851 | 
             
              Description: Checks for missing space between code and a comment on the same line.
         | 
| 852 852 | 
             
              Enabled: true
         | 
| 853 | 
            -
             | 
| 853 | 
            +
            Layout/SpaceBeforeFirstArg:
         | 
| 854 854 | 
             
              Description: Put a space between a method name and the first argument in a method
         | 
| 855 855 | 
             
                call without parentheses.
         | 
| 856 856 | 
             
              Enabled: true
         | 
| 857 | 
            -
             | 
| 857 | 
            +
            Layout/SpaceBeforeSemicolon:
         | 
| 858 858 | 
             
              Description: No spaces before semicolons.
         | 
| 859 859 | 
             
              Enabled: true
         | 
| 860 | 
            -
             | 
| 860 | 
            +
            Layout/SpaceAroundOperators:
         | 
| 861 861 | 
             
              Description: Use spaces around operators.
         | 
| 862 862 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
         | 
| 863 863 | 
             
              Enabled: true
         | 
| 864 | 
            -
             | 
| 864 | 
            +
            Layout/SpaceInsideBrackets:
         | 
| 865 865 | 
             
              Description: No spaces after [ or before ].
         | 
| 866 866 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
         | 
| 867 867 | 
             
              Enabled: true
         | 
| 868 | 
            -
             | 
| 868 | 
            +
            Layout/SpaceInsideParens:
         | 
| 869 869 | 
             
              Description: No spaces after ( or before ).
         | 
| 870 870 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
         | 
| 871 871 | 
             
              Enabled: true
         | 
| 872 | 
            -
             | 
| 872 | 
            +
            Layout/SpaceInsideRangeLiteral:
         | 
| 873 873 | 
             
              Description: No spaces inside range literals.
         | 
| 874 874 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
         | 
| 875 875 | 
             
              Enabled: true
         | 
| @@ -881,11 +881,11 @@ Style/StructInheritance: | |
| 881 881 | 
             
              Description: Checks for inheritance from Struct.new.
         | 
| 882 882 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
         | 
| 883 883 | 
             
              Enabled: true
         | 
| 884 | 
            -
             | 
| 884 | 
            +
            Layout/Tab:
         | 
| 885 885 | 
             
              Description: No hard tabs.
         | 
| 886 886 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
         | 
| 887 887 | 
             
              Enabled: true
         | 
| 888 | 
            -
             | 
| 888 | 
            +
            Layout/TrailingWhitespace:
         | 
| 889 889 | 
             
              Description: Avoid trailing whitespace.
         | 
| 890 890 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
         | 
| 891 891 | 
             
              Enabled: true
         | 
| @@ -955,7 +955,7 @@ Lint/EnsureReturn: | |
| 955 955 | 
             
              Description: Do not use return in an ensure block.
         | 
| 956 956 | 
             
              StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
         | 
| 957 957 | 
             
              Enabled: true
         | 
| 958 | 
            -
             | 
| 958 | 
            +
            Security/Eval:
         | 
| 959 959 | 
             
              Description: The use of eval represents a serious security risk.
         | 
| 960 960 | 
             
              Enabled: true
         | 
| 961 961 | 
             
            Lint/HandleExceptions:
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 2 | 
             
              remote: .
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                job_notifier (1. | 
| 4 | 
            +
                job_notifier (1.5.0)
         | 
| 5 5 | 
             
                  colorize (>= 0.7.7)
         | 
| 6 6 | 
             
                  enumerize (>= 1.0)
         | 
| 7 7 | 
             
                  rails (>= 4.2.0)
         | 
| @@ -10,36 +10,36 @@ PATH | |
| 10 10 | 
             
            GEM
         | 
| 11 11 | 
             
              remote: https://rubygems.org/
         | 
| 12 12 | 
             
              specs:
         | 
| 13 | 
            -
                actionmailer (4.2. | 
| 14 | 
            -
                  actionpack (= 4.2. | 
| 15 | 
            -
                  actionview (= 4.2. | 
| 16 | 
            -
                  activejob (= 4.2. | 
| 13 | 
            +
                actionmailer (4.2.10)
         | 
| 14 | 
            +
                  actionpack (= 4.2.10)
         | 
| 15 | 
            +
                  actionview (= 4.2.10)
         | 
| 16 | 
            +
                  activejob (= 4.2.10)
         | 
| 17 17 | 
             
                  mail (~> 2.5, >= 2.5.4)
         | 
| 18 18 | 
             
                  rails-dom-testing (~> 1.0, >= 1.0.5)
         | 
| 19 | 
            -
                actionpack (4.2. | 
| 20 | 
            -
                  actionview (= 4.2. | 
| 21 | 
            -
                  activesupport (= 4.2. | 
| 19 | 
            +
                actionpack (4.2.10)
         | 
| 20 | 
            +
                  actionview (= 4.2.10)
         | 
| 21 | 
            +
                  activesupport (= 4.2.10)
         | 
| 22 22 | 
             
                  rack (~> 1.6)
         | 
| 23 23 | 
             
                  rack-test (~> 0.6.2)
         | 
| 24 24 | 
             
                  rails-dom-testing (~> 1.0, >= 1.0.5)
         | 
| 25 25 | 
             
                  rails-html-sanitizer (~> 1.0, >= 1.0.2)
         | 
| 26 | 
            -
                actionview (4.2. | 
| 27 | 
            -
                  activesupport (= 4.2. | 
| 26 | 
            +
                actionview (4.2.10)
         | 
| 27 | 
            +
                  activesupport (= 4.2.10)
         | 
| 28 28 | 
             
                  builder (~> 3.1)
         | 
| 29 29 | 
             
                  erubis (~> 2.7.0)
         | 
| 30 30 | 
             
                  rails-dom-testing (~> 1.0, >= 1.0.5)
         | 
| 31 31 | 
             
                  rails-html-sanitizer (~> 1.0, >= 1.0.3)
         | 
| 32 | 
            -
                activejob (4.2. | 
| 33 | 
            -
                  activesupport (= 4.2. | 
| 32 | 
            +
                activejob (4.2.10)
         | 
| 33 | 
            +
                  activesupport (= 4.2.10)
         | 
| 34 34 | 
             
                  globalid (>= 0.3.0)
         | 
| 35 | 
            -
                activemodel (4.2. | 
| 36 | 
            -
                  activesupport (= 4.2. | 
| 35 | 
            +
                activemodel (4.2.10)
         | 
| 36 | 
            +
                  activesupport (= 4.2.10)
         | 
| 37 37 | 
             
                  builder (~> 3.1)
         | 
| 38 | 
            -
                activerecord (4.2. | 
| 39 | 
            -
                  activemodel (= 4.2. | 
| 40 | 
            -
                  activesupport (= 4.2. | 
| 38 | 
            +
                activerecord (4.2.10)
         | 
| 39 | 
            +
                  activemodel (= 4.2.10)
         | 
| 40 | 
            +
                  activesupport (= 4.2.10)
         | 
| 41 41 | 
             
                  arel (~> 6.0)
         | 
| 42 | 
            -
                activesupport (4.2. | 
| 42 | 
            +
                activesupport (4.2.10)
         | 
| 43 43 | 
             
                  i18n (~> 0.7)
         | 
| 44 44 | 
             
                  minitest (~> 5.1)
         | 
| 45 45 | 
             
                  thread_safe (~> 0.3, >= 0.3.4)
         | 
| @@ -55,62 +55,65 @@ GEM | |
| 55 55 | 
             
                  term-ansicolor (~> 1.3)
         | 
| 56 56 | 
             
                  thor (~> 0.19.1)
         | 
| 57 57 | 
             
                  tins (~> 1.6)
         | 
| 58 | 
            +
                crass (1.0.3)
         | 
| 58 59 | 
             
                diff-lcs (1.3)
         | 
| 59 60 | 
             
                docile (1.1.5)
         | 
| 60 | 
            -
                enumerize (2. | 
| 61 | 
            +
                enumerize (2.2.2)
         | 
| 61 62 | 
             
                  activesupport (>= 3.2)
         | 
| 62 63 | 
             
                erubis (2.7.0)
         | 
| 63 | 
            -
                 | 
| 64 | 
            +
                factory_bot (4.8.2)
         | 
| 64 65 | 
             
                  activesupport (>= 3.0.0)
         | 
| 65 | 
            -
                 | 
| 66 | 
            -
                   | 
| 66 | 
            +
                factory_bot_rails (4.8.2)
         | 
| 67 | 
            +
                  factory_bot (~> 4.8.2)
         | 
| 67 68 | 
             
                  railties (>= 3.0.0)
         | 
| 68 69 | 
             
                globalid (0.4.1)
         | 
| 69 70 | 
             
                  activesupport (>= 4.2.0)
         | 
| 70 | 
            -
                i18n (0. | 
| 71 | 
            +
                i18n (0.9.5)
         | 
| 72 | 
            +
                  concurrent-ruby (~> 1.0)
         | 
| 71 73 | 
             
                json (2.0.3)
         | 
| 72 | 
            -
                loofah (2. | 
| 74 | 
            +
                loofah (2.2.2)
         | 
| 75 | 
            +
                  crass (~> 1.0.2)
         | 
| 73 76 | 
             
                  nokogiri (>= 1.5.9)
         | 
| 74 77 | 
             
                mail (2.7.0)
         | 
| 75 78 | 
             
                  mini_mime (>= 0.1.1)
         | 
| 76 79 | 
             
                method_source (0.8.2)
         | 
| 77 | 
            -
                mini_mime (1.0. | 
| 78 | 
            -
                mini_portile2 (2. | 
| 79 | 
            -
                minitest (5. | 
| 80 | 
            -
                nokogiri (1. | 
| 81 | 
            -
                  mini_portile2 (~> 2. | 
| 80 | 
            +
                mini_mime (1.0.1)
         | 
| 81 | 
            +
                mini_portile2 (2.3.0)
         | 
| 82 | 
            +
                minitest (5.11.3)
         | 
| 83 | 
            +
                nokogiri (1.8.2)
         | 
| 84 | 
            +
                  mini_portile2 (~> 2.3.0)
         | 
| 82 85 | 
             
                pry (0.10.4)
         | 
| 83 86 | 
             
                  coderay (~> 1.1.0)
         | 
| 84 87 | 
             
                  method_source (~> 0.8.1)
         | 
| 85 88 | 
             
                  slop (~> 3.4)
         | 
| 86 | 
            -
                rack (1.6. | 
| 89 | 
            +
                rack (1.6.9)
         | 
| 87 90 | 
             
                rack-test (0.6.3)
         | 
| 88 91 | 
             
                  rack (>= 1.0)
         | 
| 89 | 
            -
                rails (4.2. | 
| 90 | 
            -
                  actionmailer (= 4.2. | 
| 91 | 
            -
                  actionpack (= 4.2. | 
| 92 | 
            -
                  actionview (= 4.2. | 
| 93 | 
            -
                  activejob (= 4.2. | 
| 94 | 
            -
                  activemodel (= 4.2. | 
| 95 | 
            -
                  activerecord (= 4.2. | 
| 96 | 
            -
                  activesupport (= 4.2. | 
| 92 | 
            +
                rails (4.2.10)
         | 
| 93 | 
            +
                  actionmailer (= 4.2.10)
         | 
| 94 | 
            +
                  actionpack (= 4.2.10)
         | 
| 95 | 
            +
                  actionview (= 4.2.10)
         | 
| 96 | 
            +
                  activejob (= 4.2.10)
         | 
| 97 | 
            +
                  activemodel (= 4.2.10)
         | 
| 98 | 
            +
                  activerecord (= 4.2.10)
         | 
| 99 | 
            +
                  activesupport (= 4.2.10)
         | 
| 97 100 | 
             
                  bundler (>= 1.3.0, < 2.0)
         | 
| 98 | 
            -
                  railties (= 4.2. | 
| 101 | 
            +
                  railties (= 4.2.10)
         | 
| 99 102 | 
             
                  sprockets-rails
         | 
| 100 103 | 
             
                rails-deprecated_sanitizer (1.0.3)
         | 
| 101 104 | 
             
                  activesupport (>= 4.2.0.alpha)
         | 
| 102 | 
            -
                rails-dom-testing (1.0. | 
| 103 | 
            -
                  activesupport (>= 4.2.0 | 
| 105 | 
            +
                rails-dom-testing (1.0.9)
         | 
| 106 | 
            +
                  activesupport (>= 4.2.0, < 5.0)
         | 
| 104 107 | 
             
                  nokogiri (~> 1.6)
         | 
| 105 108 | 
             
                  rails-deprecated_sanitizer (>= 1.0.1)
         | 
| 106 | 
            -
                rails-html-sanitizer (1.0. | 
| 107 | 
            -
                  loofah (~> 2. | 
| 108 | 
            -
                railties (4.2. | 
| 109 | 
            -
                  actionpack (= 4.2. | 
| 110 | 
            -
                  activesupport (= 4.2. | 
| 109 | 
            +
                rails-html-sanitizer (1.0.4)
         | 
| 110 | 
            +
                  loofah (~> 2.2, >= 2.2.2)
         | 
| 111 | 
            +
                railties (4.2.10)
         | 
| 112 | 
            +
                  actionpack (= 4.2.10)
         | 
| 113 | 
            +
                  activesupport (= 4.2.10)
         | 
| 111 114 | 
             
                  rake (>= 0.8.7)
         | 
| 112 115 | 
             
                  thor (>= 0.18.1, < 2.0)
         | 
| 113 | 
            -
                rake (12. | 
| 116 | 
            +
                rake (12.3.1)
         | 
| 114 117 | 
             
                rspec-core (3.4.4)
         | 
| 115 118 | 
             
                  rspec-support (~> 3.4.0)
         | 
| 116 119 | 
             
                rspec-expectations (3.4.0)
         | 
| @@ -135,7 +138,7 @@ GEM | |
| 135 138 | 
             
                  simplecov-html (~> 0.10.0)
         | 
| 136 139 | 
             
                simplecov-html (0.10.0)
         | 
| 137 140 | 
             
                slop (3.6.0)
         | 
| 138 | 
            -
                sprockets (3.7. | 
| 141 | 
            +
                sprockets (3.7.2)
         | 
| 139 142 | 
             
                  concurrent-ruby (~> 1.0)
         | 
| 140 143 | 
             
                  rack (> 1, < 3)
         | 
| 141 144 | 
             
                sprockets-rails (3.2.1)
         | 
| @@ -148,7 +151,7 @@ GEM | |
| 148 151 | 
             
                thor (0.19.4)
         | 
| 149 152 | 
             
                thread_safe (0.3.6)
         | 
| 150 153 | 
             
                tins (1.13.2)
         | 
| 151 | 
            -
                tzinfo (1.2. | 
| 154 | 
            +
                tzinfo (1.2.5)
         | 
| 152 155 | 
             
                  thread_safe (~> 0.1)
         | 
| 153 156 |  | 
| 154 157 | 
             
            PLATFORMS
         | 
| @@ -156,11 +159,11 @@ PLATFORMS | |
| 156 159 |  | 
| 157 160 | 
             
            DEPENDENCIES
         | 
| 158 161 | 
             
              coveralls
         | 
| 159 | 
            -
               | 
| 162 | 
            +
              factory_bot_rails
         | 
| 160 163 | 
             
              job_notifier!
         | 
| 161 164 | 
             
              pry
         | 
| 162 165 | 
             
              rspec-rails (~> 3.4.0)
         | 
| 163 166 | 
             
              sqlite3
         | 
| 164 167 |  | 
| 165 168 | 
             
            BUNDLED WITH
         | 
| 166 | 
            -
               1.16. | 
| 169 | 
            +
               1.16.3
         |