README.md in job_spec-0.2.0 vs README.md in job_spec-0.2.1
- old
+ new
@@ -1,7 +1,9 @@
# 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:
@@ -13,11 +15,11 @@
## Usage
Create a job specification for a role:
``` ruby
-JobSpec::Role.definition "Engineer" do
- expected "to be cool"
+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: