For websites that are open 9 till 5
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.textile
rack-closed.gemspec

README.textile

Closed Middleware

About

Rack Middleware for websites that are only open 9am till 5pm.
Outside these hours vistors are shown a static html page to tell them the website is closed.

Usage

Rails 3

in Gemfile

gem 'rack-closed'

in config/application.rb

config.middleware.use Rack::Closed