<commit_before># Rack::BodyClasses

Decorate your `<body>` with CSS Classes indicating platform, browser, browser version, and more.

## Project Status

- Build: [![Build Status](https://secure.travis-ci.org/xentek/rack-body_classes.png)](http://travis-ci.org/xentek/rack-body_classes)
- Dependencies: [![Dependency Status](https://gemnasium.com/xentek/rack-body_classes.png)](https://gemnasium.com/xentek/rack-body_classes)
- Code Quality: [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/xentek/rack-body_classes)

## Installation

Add this line to your application's Gemfile:

    gem 'rack-body_classes'

And then execute:

    $ bundle

## Usage

First, add the middlware to your application...

#### Rack/Sinatra

    use Rack::BodyClasses

#### Rails

    config.middleware.use Rack::BodyClasses


Then, in your layout, output `env['rack.body_classes']` in your `<body>` tag's `class` attribute.

Here's a trivial layout file, formatted with the `slim` templating engine, to give you an example:

    html
      head
      body class="#{env['rack.body_classes']}"
        == yield

    
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
<commit_msg>updates code climate badge img url<commit_after># Rack::BodyClasses

Decorate your `<body>` with CSS Classes indicating platform, browser, browser version, and more.

## Project Status

- Build: [![Build Status](https://secure.travis-ci.org/xentek/rack-body_classes.png)](http://travis-ci.org/xentek/rack-body_classes)
- Dependencies: [![Dependency Status](https://gemnasium.com/xentek/rack-body_classes.png)](https://gemnasium.com/xentek/rack-body_classes)
- Code Quality: [![Code Climate](https://d3s6mut3hikguw.cloudfront.net/github/xentek/rack-body_classes.png)](https://codeclimate.com/github/xentek/rack-body_classes)

## Installation

Add this line to your application's Gemfile:

    gem 'rack-body_classes'

And then execute:

    $ bundle

## Usage

First, add the middlware to your application...

#### Rack/Sinatra

    use Rack::BodyClasses

#### Rails

    config.middleware.use Rack::BodyClasses


Then, in your layout, output `env['rack.body_classes']` in your `<body>` tag's `class` attribute.

Here's a trivial layout file, formatted with the `slim` templating engine, to give you an example:

    html
      head
      body class="#{env['rack.body_classes']}"
        == yield

    
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

{'fraction_non_alphanumeric': 0.13550904576090814, 'fraction_numerical': 0.0046115643845335225, 'mean_word_length': 4.1838235294117645, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 10, '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': '1287088', 'n_tokens_mistral': 958, 'n_tokens_neox': 895, 'n_words': 255}