<commit_before># specroutes

[![Build Status](https://travis-ci.org/0robustus1/specroutes.svg?branch=master)](https://travis-ci.org/0robustus1/specroutes)
[![Coverage Status](https://img.shields.io/coveralls/0robustus1/specroutes.svg)](https://coveralls.io/r/0robustus1/specroutes)

- autogenerate WADL-specification from routes
- Add mechanism to create routes based on query-string and hierarchical part

## Installation

Just add `gem 'specroutes', '~> 0.0.1'` to your *Gemfile*, perform
`bundle install` and your ready.

Additionally you'll need to make a change to your *config/routes.rb*:

```ruby
# If you Application is named 'Dummy::Application'
Specroutes.define(Dummy::Application.routes) do
  # ...
end
```

## Usage<commit_msg>document the generator.<commit_after># specroutes

[![Build Status](https://travis-ci.org/0robustus1/specroutes.svg?branch=master)](https://travis-ci.org/0robustus1/specroutes)
[![Coverage Status](https://img.shields.io/coveralls/0robustus1/specroutes.svg)](https://coveralls.io/r/0robustus1/specroutes)

- autogenerate WADL-specification from routes
- Add mechanism to create routes based on query-string and hierarchical part

## Installation

Just add `gem 'specroutes', '~> 0.0.1'` to your *Gemfile*, perform
`bundle install` and your ready.

Additionally you'll need to make a change to your *config/routes.rb*:

```ruby
# If you Application is named 'Dummy::Application'
Specroutes.define(Dummy::Application.routes) do
  # ...
end
```

Alternatively you can just run the generator provided by the gem:

- `rails generate specroutes:routes`

## Usage
{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.013793103448275862, 'mean_word_length': 5.333333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '7669886', 'n_tokens_mistral': 541, 'n_tokens_neox': 533, 'n_words': 129}