<commit_before>TBK-Rails
=========

Provides [TBK][tbk] integration with Rails.

 [tbk]: http://sagmor.com/tbk/


Installation
------------

Add this to your Gemfile and run the `bundle` command.

```
gem 'tbk-rails', git: 'https://github.com/kiel-cristian/tbk-rails.git'
```

This installs both the `tbk` and `tbk-rails` gems.<commit_msg>Update Readme with installation instructions<commit_after>TBK-Rails
=========

Provides [TBK][tbk] integration with Rails.

 [tbk]: http://sagmor.com/tbk/


Installation
------------

Add this to your Gemfile and run the `bundle` command.

```
gem 'tbk-rails', git: 'https://github.com/kiel-cristian/tbk-rails.git'
```

This installs both the `tbk` and `tbk-rails` gems.


Installing WebPay controller and related views 
----------------------------------------------

After successful bundle installation, you need to run the following command inside your Rails Application to generate WebPay controller

```
rails g tbk_rails:install
```

After entering the given command, you will be asked if you want a minimal installation or not ( both installations brings Twitter Bootstrap markup integration,
this means that, the gem doesn't install bootstrap-rails, only generate compatible views for you)


```
Would you like to create complete views (also integrated with Bootstrap layout)? [Y/n]
```

Type '__Y__[es]' or '__n__[o]' in order to continue.

If everything went ok, you should see in your shell somenthing like this:

```

```

__(readme under construction)__
{'fraction_non_alphanumeric': 0.1547144754316069, 'fraction_numerical': 0.0, 'mean_word_length': 3.6512345679012346, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '432071', 'n_tokens_mistral': 479, 'n_tokens_neox': 434, 'n_words': 168}