Sha256: 894055541b832aa1a1ef8544c6f61c8ccc34804a6576bc51796f67f4fbdda7ab
Contents?: true
Size: 433 Bytes
Versions: 10
Compression:
Stored size: 433 Bytes
Contents
module Pah module Templates class RackDeflater < Pah::Template def call file = 'config/application.rb' inject = "\n\n config.middleware.use Rack::Deflater" options = { after: /config\.i18n\.locale = :'.*'/, verbose: false } inject_into_file file, inject, options git add: 'config/application.rb' git_commit 'Add Rack::Deflater middleware.' end end end end
Version data entries
10 entries across 10 versions & 1 rubygems