<commit_before># A WebKit RSpec Formatter

This is a formatter for RSpec 2 that takes advantage of features in [WebKit](http://webkit.org/) to make the output from RSpec in Textmate more fun.

Test output looks like this:

![Example Output](docs/tmrspec-example.png)

## Installation

To get started, install the `webkit-rspec-formatter` gem:

    $ gem install webkit-rspec-formatter

If you're running specs in Textmate via [the RSpec bundle](http://github.com/rspec/rspec-tmbundle), you can use the webkit formatter by opening Textmate's 'Advanced' Preferences and adding a `TM_RSPEC_OPTS` Shell Variable with the value `--format RSpec::Core::Formatters::WebKit`:

![Setting TM_RSPEC_OPTS](docs/tmrspecopts-shellvar.png)

That's it!

## Miscellaneous

It's also usable anywhere else the standard HTML formatter is, of course. Also, while it's specifically intended to be used under the Textmate HTML viewer that the RSpec bundle uses, the output should work fine under recent Gecko/Firefox-based viewers, as well. 

Patches/suggestions welcomed.

<commit_msg>Absolute offworld image URLs, then?<commit_after># A WebKit RSpec Formatter

This is a formatter for RSpec 2 that takes advantage of features in [WebKit](http://webkit.org/) to make the output from RSpec in Textmate more fun.

Test output looks like this:

![Example Output](http://deveiate.org/images/tmrspec-example.png)

## Installation

To get started, install the `webkit-rspec-formatter` gem:

    $ gem install webkit-rspec-formatter

If you're running specs in Textmate via [the RSpec bundle](http://github.com/rspec/rspec-tmbundle), you can use the webkit formatter by opening Textmate's 'Advanced' Preferences and adding a `TM_RSPEC_OPTS` Shell Variable with the value `--format RSpec::Core::Formatters::WebKit`:

![Setting TM_RSPEC_OPTS](http://deveiate.org/images/tmrspecopts-shellvar.png)

That's it!

## Miscellaneous

It's also usable anywhere else the standard HTML formatter is, of course. Also, while it's specifically intended to be used under the Textmate HTML viewer that the RSpec bundle uses, the output should work fine under recent Gecko/Firefox-based viewers, as well. 

Patches/suggestions welcomed.


{'fraction_non_alphanumeric': 0.08493150684931507, 'fraction_numerical': 0.0009132420091324201, 'mean_word_length': 4.970027247956403, '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': '5138470', 'n_tokens_mistral': 679, 'n_tokens_neox': 630, 'n_words': 258}