<commit_before># DockerComposeRuby

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/docker_compose_ruby`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'docker_compose_ruby'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install docker_compose_ruby

## Usage

TODO: Write usage instructions here

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
<commit_msg>adding readme<commit_after># DockerComposeRuby

Simple Ruby wrapper for the docker compose cli

TODO: Delete this and the text above, and describe your gem

## Installation

You need to have the docker compose cli installed. 

Add this line to your application's Gemfile:

```ruby
gem 'docker_compose_ruby'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install docker_compose_ruby

## Usage

Set the path to your docker file. 

    $ DockerCompose.set_yaml_path('/path/to/docker-compose.yml')

Set the project name (if no name is set it will be tthe name of the compose file's directory). 

    $ DockerCompose.set_project_name('test_project')

Up the compose project containers. 

    $ DockerCompose.up

Delete the compose project containers. 

    $ DockerCompose.delete

Stop the compose project containers. 

    $ DockerCompose.stop

Start the compose project containers. 

    $ DockerCompose.start

## Development

I wanted something to use in a project I'm building, and there really wasn't anything out there that gives me the simplicity of the cli, but without having to repeat myself. 

{'fraction_non_alphanumeric': 0.0636165577342048, 'fraction_numerical': 0.0, 'mean_word_length': 4.046153846153846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6211616', 'n_tokens_mistral': 684, 'n_tokens_neox': 615, 'n_words': 312}