Sha256: 92a132f21cfd38905406230ffb73009f78ed7b2ef1ec840cd1349c4d2315881c

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

require_relative "../base"

module Suspenders
  module Production
    class CompressionGenerator < Generators::Base
      def add_rack_deflater
        configure_environment(
          :production,
          %(config.middleware.use Rack::Deflater)
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
suspenders-20230113.0 lib/suspenders/generators/production/compression_generator.rb
suspenders-1.56.1 lib/suspenders/generators/production/compression_generator.rb
suspenders-1.55.1 lib/suspenders/generators/production/compression_generator.rb
suspenders-1.55.0 lib/suspenders/generators/production/compression_generator.rb