Sha256: 708dc7ec1f383bb753e0d36efb8826a552f38fda215300b9a27fb80ff0deab7a

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

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.'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.15 lib/pah/partials/_rack_deflater.rb