• Yorick Peterse's avatar
    Extend cop for verifying injecting of EE modules · 3e18bf13
    Yorick Peterse authored
    This extends the InjectEnterpriseEditionModule RuboCop cop so that it
    verifies the following:
    
    1. The line number the injection occurs on (as before).
    2. The method used (e.g. prepend instead of prepend_if_ee).
    3. The argument type passed when using the new module injection methods.
    3e18bf13
inject_enterprise_edition_module.rb 2.74 KB