Sha256: fa23abea758aa8ed67541ebca04d4fbc4b0b6050073f33eacbb8dd62fd4f141f

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 KB

Contents

# CHANGELOG

## 0.0.12
Support for matching out and running code on match.

 - FEAT: Out matching with `out.on /regexp/, block`.
 - EXAMPLES: `stderr_to_out.rb`, `in_shell.rb` and `nano_match.rb`

## 0.0.11
STDIN support.

 - FEAT: Support for writing to STDIN with `k.in << "hello"`
 - EXAMPLES: `in` and `nano` added.

## 0.0.10
ENV variable interpolation.

 - FEAT: Support for ENV variables like `Kommando.new "$ echo $HELLO", { env: { HELLO: "world" } }`
 - EXAMPLES: `env` added.

## 0.0.9
Support for shell (bash) commands.

 - FEAT: Support for running shell commands with `Kommando.new "$ echo hello | rev"`
 - EXAMPLES: `shell` added.

## 0.0.8
Improves killing, tries to fix Linux specific issues.

 - FIX: Killed process has status code 137.
 - MAYBEFIX: Linux: undefined method `exitstatus' for nil:NilClass (NoMethodError)`

## 0.0.7
Async running, killing the run.

 - FEAT: Support async running with `k.run_async`
 - FEAT: Support for killing the process.
 - EXAMPLES: `async` and `kill` added.

## 0.0.6
Fix Linux harder.

 - FIX: Changed strategy.

## 0.0.5
Fixes.

 - FIX: File output is flushed in sync.
 - FIX: Linux compatibility attempt.

## 0.0.4
Writes standard out to file and timeouts.

 - FEAT: Support for command run timeouts with `Kommando.new "ping -c 1 google.com", timeout: 3.5`
 - FEAT: Write output to file with `Kommando.new "ping -c 1 google.com", output: "path/to/file.txt"`
 - EXAMPLES: `stdout_to_file` and `timeout` added.

## 0.0.3
Outputs to standard out while executing.

 - FEAT: Output with `Kommando.new "ping -c 1 google.com", output: true`
 - EXAMPLES: `live_output` added.

## 0.0.2
Actually useful initial release.

 - FEAT: Runs commands with arguments `Kommando.new "ping -c 1 google.com"`
 - FEAT: Captures error code in `k.code`
 - EXAMPLES: `ping` and `exit` added.

## 0.0.1
Initial release.

 - FEAT: Runs command without arguments.
 - FEAT: Records the standard out in `k.out`
 - EXAMPLES: `uptime`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kommando-0.0.12 CHANGELOG.md