Sha256: e0c664739ce2ba94a63af19a70c405b30c4e97cd5d0217c929635d3fa27e5dee

Contents?: true

Size: 758 Bytes

Versions: 8

Compression:

Stored size: 758 Bytes

Contents

# JobSpec

[![Gem Version](https://badge.fury.io/rb/job_spec.svg)](https://badge.fury.io/rb/job_spec)

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

8 entries across 8 versions & 1 rubygems

Version Path
job_spec-0.3.2 README.md
job_spec-0.3.1 README.md
job_spec-0.3.0 README.md
job_spec-0.2.5 README.md
job_spec-0.2.4 README.md
job_spec-0.2.3 README.md
job_spec-0.2.2 README.md
job_spec-0.2.1 README.md