<commit_before># GzippedStrings

Monkey patches String class to enable Gzip
compression/decompression. Adds String#gz_compress and
String#gz_decompress

Zlib doesn't provide methods such methods for a reason: ungzipping
files in memory may be considered an antipattern. But if your files
are really small and you understand the dangers then why not get some
convenience with this gem?

## Installation

Add this line to your application's Gemfile:

    gem 'gzipped_strings'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install gzipped_strings

## Usage

    # compress a string
    gzipped_string = "hello".gz_compress

    # decompress it
    gzipped_string.gz_decompress

<commit_msg>updated docs: the gem is not pushed to rubygems yet<commit_after># GzippedStrings

Monkey patches String class to enable Gzip
compression/decompression. Adds String#gz_compress and
String#gz_decompress

Zlib doesn't provide methods such methods for a reason: ungzipping
files in memory may be considered an antipattern. But if your files
are really small and you understand the dangers then why not get some
convenience with this gem?

## Installation

Add this line to your application's Gemfile:

    gem 'gzipped_strings', :git => "git://github.com/iosadchii/gzipped_strings.git"

And then execute:

    $ bundle

## Usage

    # compress a string
    gzipped_string = "hello".gz_compress

    # decompress it
    gzipped_string.gz_decompress


{'fraction_non_alphanumeric': 0.05065023956194387, 'fraction_numerical': 0.0, 'mean_word_length': 4.258992805755396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5842958', 'n_tokens_mistral': 437, 'n_tokens_neox': 411, 'n_words': 171}