Skip to content
  • Zeger-Jan van de Weg's avatar
    Remove dependencies on Linguist · b93b2c14b2a2
    Zeger-Jan van de Weg authored
    This saves about 128 MB of baseline RAM usage per Unicorn and
    Sidekiq process (!).
    
    Linguist wasn't detecting languages anymore from CE/EE since
    9ae8b57467ac8b38f1fa9020a466d94a93cbb9dd. However, Linguist::BlobHelper
    was still being depended on by BlobLike and others.
    
    This removes the Linguist gem, given it isn't required anymore.
    EscapeUtils were pulled in as dependency, but given Banzai depends on
    it, it is now added explicitly.
    
    Previously, Linguist was used to detect the best ACE mode. Instead,
    we rely on ACE to guess the best mode based on the file extension.
    b93b2c14b2a2
This project manages its dependencies using Bundler. Learn more