Make open source

This commit is contained in:
John Lees-Miller
2018-10-27 16:46:26 +01:00
commit 6e82ba528b
163 changed files with 3912 additions and 0 deletions

0
lib/assets/.keep Normal file
View File

16
lib/rack/x_robots_tag.rb Normal file
View File

@ -0,0 +1,16 @@
module Rack
#
# Set X-Robots-Tag header to ask search engines not to index us.
#
class XRobotsTag
def initialize(app)
@app = app
end
def call(env)
status, headers, response = @app.call(env)
headers['X-Robots-Tag'] = 'none'
[status, headers, response]
end
end
end

0
lib/tasks/.keep Normal file
View File