<commit_before># Secret Bambino

[New Bamboo](https://www.new-bamboo.co.uk) style [Secret Santa](http://en.wikipedia.org/wiki/Secret_Santa).

## Synopsis

This is a little command line app to randomly assign participating Bambinos to Secret Santas (Secret Bambinos), and email them (the Secret Bambinos) their assignments.  It uses ERB to render the email messages, and the SMTP server associated with your GMail (or Google Apps) account to send them.

## Setup

1. Clone this repository:
```bash
git clone https://github.com/mygulamali/secret_bambino.git
```

2. Install the required gems:
```bash
bundle install
```

3. Copy the `.env.example` file to `.env` and populate with your settings.  You can test that your GMail SMTP server settings work correctly by executing the command:
```bash
./secret_bambino.exe test EMAIL_ADDRESS MESSAGE
```

4. Create a YAML file containing the names and email addresses of participating Bambinos.  See the `bambinos.yaml` file as an example.

5. Edit the `templates/message.html.erb` and the `templates/message.txt.erb` files to contain your HTML and plain text email messages, respectively, to participating Bambinos.

## Usage

Run:
```bash
./secret_bambino.exe assign BAMBINOS_YAML
```
where `BAMBINOS_YAML` is the YAML file created in step 4. above

## License
<commit_msg>Fix bulleted item numbers in README.<commit_after># Secret Bambino

[New Bamboo](https://www.new-bamboo.co.uk) style [Secret Santa](http://en.wikipedia.org/wiki/Secret_Santa).

## Synopsis

This is a little command line app to randomly assign participating Bambinos to Secret Santas (Secret Bambinos), and email them (the Secret Bambinos) their assignments.  It uses ERB to render the email messages, and the SMTP server associated with your GMail (or Google Apps) account to send them.

## Setup

1. Clone this repository:
```bash
git clone https://github.com/mygulamali/secret_bambino.git
```
2. Install the required gems:
```bash
bundle install
```
3. Copy the `.env.example` file to `.env` and populate with your settings.  You can test that your GMail SMTP server settings work correctly by executing the command:
```bash
./secret_bambino.exe test EMAIL_ADDRESS MESSAGE
```
4. Create a YAML file containing the names and email addresses of participating Bambinos.  See the `bambinos.yaml` file as an example.
5. Edit the `templates/message.html.erb` and the `templates/message.txt.erb` files to contain your HTML and plain text email messages, respectively, to participating Bambinos.

## Usage

Run:
```bash
./secret_bambino.exe assign BAMBINOS_YAML
```
where `BAMBINOS_YAML` is the YAML file created in step 4. above

## License

{'fraction_non_alphanumeric': 0.09084055785902752, 'fraction_numerical': 0.004523181304183943, 'mean_word_length': 4.5873684210526315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5462092', 'n_tokens_mistral': 836, 'n_tokens_neox': 783, 'n_words': 337}