<commit_before># Rack::TranslatingProxy
[![Build Status](https://travis-ci.org/promptworks/rack-translating_proxy.png?branch=master)](https://travis-ci.org/promptworks/rack-translating_proxy.png)
[![Gem Version](https://badge.fury.io/rb/rack-translating_proxy.svg)](http://badge.fury.io/rb/rack-translating_proxy)

A Proxy that `gsub`s the contents of the requests and responses in order to make a mostly transparent proxy.
Its purpose is to aid in development and testing of integration with external services, especially when the browser has to interact with those services directly.

Often, these services will only redirect to certain, predefined URLs, but your test suite spins up its services dynamically.
This includes services like OAuth/OpenId and payment gateways (e.g. Stripe, Cybersource).

## Usage

TODO: Write usage instructions here

## Installation

Add this line to your application's Gemfile:

    gem 'rack-translating_proxy'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rack-translating_proxy

## Contributing

1. Fork it ( http://github.com/promptworks/rack-translating_proxy/fork )
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>Fix typo in README<commit_after># Rack::TranslatingProxy
[![Build Status](https://travis-ci.org/promptworks/rack-translating_proxy.png?branch=master)](https://travis-ci.org/promptworks/rack-translating_proxy.png)
[![Gem Version](https://badge.fury.io/rb/rack-translating_proxy.svg)](http://badge.fury.io/rb/rack-translating_proxy)

An HTTP proxy that `gsub`s the contents of the requests and responses in order to make a mostly transparent proxy.
Its purpose is to aid in development and testing of integration with external services, especially when the browser has to interact with those services directly.

Often, these services will only redirect to certain, predefined URLs, but your test suite spins up its services dynamically.
This includes services like OAuth/OpenId and payment gateways (e.g. Stripe, Cybersource).

## Usage

TODO: Write usage instructions here

## Installation

Add this line to your application's Gemfile:

    gem 'rack-translating_proxy'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rack-translating_proxy

## Contributing

1. Fork it ( http://github.com/promptworks/rack-translating_proxy/fork )
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.0943327239488117, 'fraction_numerical': 0.003656307129798903, 'mean_word_length': 4.735849056603773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6374702', 'n_tokens_mistral': 828, 'n_tokens_neox': 777, 'n_words': 296}