<commit_before>h1. Closed Middleware

h2. 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.

h3. Usage

h4. Rails 3

in config/application.rb

@config.middleware.use Rack::Closed@<commit_msg>update rails install readme<commit_after>h1. Closed Middleware

h2. 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.

h3. Usage

h4. Rails 3

in Gemfile

@gem 'rack-closed'@

in config/application.rb

@config.middleware.use Rack::Closed@
{'fraction_non_alphanumeric': 0.059541984732824425, 'fraction_numerical': 0.021374045801526718, 'mean_word_length': 4.165354330708661, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3546457', 'n_tokens_mistral': 228, 'n_tokens_neox': 209, 'n_words': 90}