<commit_before># TurkishSupport

A gem for Turkish character support for `String#upcase`, `String#downcase`, `String#capitalize` methods and their destructive versions like `String#upcase!`. In other words; this gem is a lighter version of the UnicodeUtils gem.

## Requirements
TurkishSupport uses refinements instead of monkey patching. So, you need to install at least v2.0.0 of Ruby.

## Installation

Add this line to your application's Gemfile:

    gem 'turkish_support'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install turkish_support

## Usage

After installing the gem, you want to add a line before using Turkish supported version of the methods.

```ruby
  using TurkishSupport
```

Now you can use your shiny new methods like below:

```ruby
  str = 'Bağcılar'
  str.upcase  #=> "BAĞCILAR"
  str         #=> "Bağcılar"
<commit_msg>Add sample gist to readme<commit_after># TurkishSupport

A gem for Turkish character support for `String#upcase`, `String#downcase`, `String#capitalize` methods and their destructive versions like `String#upcase!`. In other words; this gem is a lighter version of the UnicodeUtils gem.

## Requirements
TurkishSupport uses refinements instead of monkey patching. So, you need to install at least v2.0.0 of Ruby.

## Installation

Add this line to your application's Gemfile:

    gem 'turkish_support'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install turkish_support

## Usage

After installing the gem, you want to add a line before using Turkish supported version of the methods.

```ruby
  using TurkishSupport
```

If you want to see a simple [gist](https://gist.github.com/sbagdat/9964521) that shows how should you use it.

Now you can use your shiny new methods like below:

```ruby
  str = 'Bağcılar'
  str.upcase  #=> "BAĞCILAR"
  str         #=> "Bağcılar"

{'fraction_non_alphanumeric': 0.07794981313400962, 'fraction_numerical': 0.0069407367859049655, 'mean_word_length': 4.064864864864865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '1387742', 'n_tokens_mistral': 597, 'n_tokens_neox': 550, 'n_words': 241}