<commit_before># Barrister::Sinatra

A Sinatra container for services using Barrister RPC framework

## Installation

Add this line to your application's Gemfile:

    gem 'barrister-sinatra'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install barrister-sinatra

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it ( http://github.com/<my-github-username>/barrister-sinatra/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Updating README with usage steps<commit_after># Barrister::Sinatra

A Sinatra container for services using Barrister RPC framework

## Usage

Instantiating a Sinatra container is easy:

```ruby

json_path  = './user_service.json'
mount_path = '/user_service'
handlers   = [UserService]

container = Barrister::SinatraContainer.new json_path, mount_path, handlers
container.start

```

Calling the 'start' method of an instantiated SinatraContainer will start the
underlying HTTP server and Sinatra application.

## Installation

Add this line to your application's Gemfile:

    gem 'barrister-sinatra'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install barrister-sinatra

## Contributing

1. Fork it ( http://github.com/<my-github-username>/barrister-sinatra/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.09227985524728588, 'fraction_numerical': 0.006031363088057901, 'mean_word_length': 4.2834394904458595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '432410', 'n_tokens_mistral': 517, 'n_tokens_neox': 487, 'n_words': 188}