<commit_before># magnum-addon-hipchat

[Hipchat](http://hipchat.com) notifier addon for Magnum CI

## Usage

Load:

```ruby
require "magnum/addon/hipchat"
```

Send notification:

```ruby
addon = Magnum::Addon::Hipchat.new(api_token: "token", room: "room")
addon.run(build_payload)
```

## Configuration

Available options:

- `api_token` - Hipchat API v2 token (v1 is not supported)
- `room` - Hipchat room ID<commit_msg>Readme update<commit_after># Hipchat Addon

Send [Magnum CI](http://magnum-ci.com) build notifications to a [Hipchat](http://hipchat.com) room

## Usage

Example:

```ruby
require "magnum/addons/hipchat"

# Initialize addon
addon = Magnum::Addon::Hipchat.new(api_token: "token", room: "room")

# Send build payload
addon.run(build_payload)
```

## Configuration

Available options:

- `api_token` - Hipchat API v2 token (v1 is not supported)
- `room` - Hipchat room ID
{'fraction_non_alphanumeric': 0.14831460674157304, 'fraction_numerical': 0.0044943820224719105, 'mean_word_length': 5.061224489795919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6752465', 'n_tokens_mistral': 341, 'n_tokens_neox': 321, 'n_words': 82}