Sha256: cb2f92802533ee10b498f58e56e47a2789355f725608026bfcddd370e74b1f04
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
# Rack::Manifest This is a Rack middleware for managing your HTML5 manifest file (used for Service Worker, WebApp Icon, etc.) by yaml. It can be easily implemented into your Rails application. ## Installation Add this line to your application's Gemfile: ```ruby gem 'rack-manifest' ``` ## Usage ### Rails * Set your manifest.yml file like this one into your `config` directory. * ERB format and asset path helpers are available. ```yaml name: Rack Manifest short_name: Manifest icons: - src: <%= image_path('icon.png') %> sizes: 512x512 type: image/png start_url: / display: standalone ``` ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-manifest-0.1.4 | README.md |
rack-manifest-0.1.3 | README.md |