Skip to content
Define job specs in ruby and publish to markdown
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
example/engineering
example_out
lib
spec
.gitignore
.rspec
Gemfile
README.md
Rakefile
job_spec.gemspec

README.md

JobSpec

Gem Version

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:

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/ directory and also the RSpec examples in spec/.

License

MIT

You can’t perform that action at this time.