<commit_before>SimpleWorker
============

Distribute automation scripts on multiple machines.

Usage
=====

Create `simpleworker.yml` in the projects working directory.  Ruby must be
setup on the remote host such that it is available in the login shell.

```yml
---
workers:
  - type: ssh                      # type of worker
    directory: /tmp/foobar         # directory on remote host
    user: bill                     # user on remote host
    host: my.remote.host.com       # remote host name
    out: worker.log                # redirect stdout and stderr to log file
```

```ruby
require 'simpleworker'

# execute with workers configured in $PWD/simpleworker.yml
SimpleWorker::Runnner.run "my-command"

# execute with a special worker configuration
SimpleWorker::Runner.load("my-worker-config.yml").run "my-command"
```

Note on Patches/Pull Requests
=============================

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.<commit_msg>ouputing to file not supported<commit_after>SimpleWorker
============

Distribute automation scripts on multiple machines.

Usage
=====

Create `simpleworker.yml` in the projects working directory.  Ruby must be
setup on the remote host such that it is available in the login shell.

```yml
---
workers:
  - type: ssh                      # type of worker
    directory: /tmp/foobar         # directory on remote host
    user: bill                     # user on remote host
    host: my.remote.host.com       # remote host name
```

```ruby
require 'simpleworker'

# execute with workers configured in $PWD/simpleworker.yml
SimpleWorker::Runnner.run "my-command"

# execute with a special worker configuration
SimpleWorker::Runner.load("my-worker-config.yml").run "my-command"
```

Note on Patches/Pull Requests
=============================

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
  future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
{'fraction_non_alphanumeric': 0.11713367018833257, 'fraction_numerical': 0.0, 'mean_word_length': 3.2127659574468086, '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': '1609426', 'n_tokens_mistral': 609, 'n_tokens_neox': 568, 'n_words': 242}