<commit_before># fewer

Rack middleware to bundle assets and help you make fewer HTTP requests.

## How to use in Rails (3)

    config.middleware.insert 0, Fewer::App, {
      :engine => Fewer::Engines::Css,
      :mount => '/stylesheets',
      :root => Rails.root.join('public', 'stylesheets')
    }

## Copyright

Copyright (c) 2010 <NAME>. See LICENSE for details.
<commit_msg>Added usage info to README about MiddleWare and App versions<commit_after># fewer

Rack middleware to bundle assets and help you make fewer HTTP requests.

## How to use as a Rack app (config.ru example)

    app = Rack::Builder.new do
      map '/stylesheets' do
        run Fewer::App,
          :root => File.dirname(__FILE__)+'/less_css',
          :engine => Fewer::Engines::Less
      end

      map '/' do
        run MyApp
      end
    end

    run app

## How to use in Rails 3 router

    match '/stylesheets/:data.css', :to => Fewer::App.new(
      :engine => Fewer::Engines::Less,
      :root => Rails.root.join('app', 'stylesheets')
    )

## How to use in Rails as middleware

    config.middleware.use Fewer::MiddleWare, {
      :engine => Fewer::Engines::Less,
      :mount => '/stylesheets',
      :root => Rails.root.join('app', 'stylesheets')
    }

## Copyright

Copyright (c) 2010 <NAME>. See LICENSE for details.

{'fraction_non_alphanumeric': 0.13201820940819423, 'fraction_numerical': 0.00834597875569044, 'mean_word_length': 2.8121387283236996, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '3968085', 'n_tokens_mistral': 446, 'n_tokens_neox': 407, 'n_words': 133}