Sha256: 8473cf7ec7e58aabfebe4ce67b260bbbaeaf8b76ff26c185ac53626987589159

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

# JobSpec

A ruby gem for defining job specifications in a nice DSL that enables composition of expectations between roles.

## Installing

To use from the command line:

```
gem install job_spec
```

## Usage

Create a job specification for a role:

``` ruby
JobSpec::Role.definition "Engineer" do
  expected "to be cool"
end
```

Save that into a file `roles/engineer.rb`. Now from the command line in the directory that contains the `roles/` directory:

```
jobspec build --in=roles --out=dist
```

And you will see your job roles printed out.

## Examples

See the [`example/`](example) directory and also the RSpec examples in [`spec/`](spec).

## License

MIT

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
job_spec-0.2.0 README.md