No commit activity in last 3 years
No release in over 3 years
Rack middleware to 404 touch icon requests from iOS devices
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 0.6.2
>= 0
 Project Readme

BounceTouchIcon

Rack middleware to 404 touch icon requests from iOS devices. These include requests like:

  • /apple-touch-icon.png
  • /apple-touch-icon-120x120.png
  • /apple-touch-icon-precomposed.png
  • /apple-touch-icon-120x120-precomposed.png

If you don't have these, you are probably already 404ing, so why not 404 before it hits your main app?

Installation

Add this line to your application's Gemfile:

gem 'bounce_touch_icon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bounce_touch_icon

Usage

Inject into your rack middleware accordingly:

use BounceTouchIcon::Middleware

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request