Skip to content

Instantly share code, notes, and snippets.

@pbyrne
pbyrne / google_bot_aware.gemspec
Created November 13, 2012 16:50 — forked from rchampourlier/google_bot_aware.rb
Rack middleware to make Rails deal correctly with GoogleBot's '*/*;q=0.6' Accept header
Gem::Specification.new do |s|
s.name = 'google_bot_aware'
s.version = '0.1.0'
s.platform = Gem::Platform::RUBY
s.author = 'Romain Champourlier'
s.email = 'romain@softr.li'
s.summary = 'Google Bot Aware'
s.description = "Strip extra characters from Google Bot's Accept header so that Rails knows to use default MIME type in response."
s.files = ['google_bot_aware.rb']