<commit_before>RestClientPlus
==============

Extensions to Ruby's RestClient

## Installation

Tested against ruby versions

    not working
      1.8.7

     working
      1.9.3-p484
      2.0.0-p353
      2.1.0dev (2013-11-23 trunk 43807)

Add this line to your application's Gemfile:

    gem 'rest_client_plus'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rest_client_plus
    
Require using: 

    $ require 'rest_client_plus'

## Issues

  Warning: You are using Excon 0.20.1. WebMock supports version >= 0.27.5.

## Usage

  RestClientPlus provides GET, POST and PUT methods which return a Ruby hash if json is received.

  ArrayHelper.unwrap_from_array will unwrap a hash from a single-element array. Array is also extended as
  Array#unwrap_from_array so:

    [ {:key => "value"} ].unwrap_from_array  #=> {:key => "value"}
<commit_msg>Corrected typo in method description in README<commit_after>RestClientPlus
==============

Extensions to Ruby's RestClient

## Installation

Tested against ruby versions

    not working
      1.8.7

     working
      1.9.3-p484
      2.0.0-p353
      2.1.0dev (2013-11-23 trunk 43807)

Add this line to your application's Gemfile:

    gem 'rest_client_plus'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rest_client_plus
    
Require using: 

    $ require 'rest_client_plus'

## Issues

  Warning: You are using Excon 0.20.1. WebMock supports version >= 0.27.5.

## Usage

  RestClientPlus provides GET, POST and PUT methods which return a Ruby hash if json is received.

  ArrayHelper.unwrap_from_array will unwrap a hash from a single-element array. Array is also extended as
  Array#unwrap_from_array so:

    [ {:key => "value"} ].unwrap_from_array!  #=> {:key => "value"}

{'fraction_non_alphanumeric': 0.09632516703786191, 'fraction_numerical': 0.043429844097995544, 'mean_word_length': 3.1121281464530894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '2664467', 'n_tokens_mistral': 634, 'n_tokens_neox': 562, 'n_words': 194}