• Yorick Peterse's avatar
    Extend cop for verifying injecting of EE modules · cc6619a8
    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.
    cc6619a8
inject_enterprise_edition_module.rb 2.74 KB