Sha256: e7ec644701d12fc5c89424825c9bc446f9f4630c6a4bbce1d5e33f8e72e94284

Contents?: true

Size: 650 Bytes

Versions: 1

Compression:

Stored size: 650 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 roles
```

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.1.0 README.md