job_spec 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f22f45a0f55d70cc8e2654637dd04c308373118
4
- data.tar.gz: c9f013e894133a601a24ec387aa7e2c5fb4ea0ef
3
+ metadata.gz: 34e0e60ce34085d1accbd0b08fa5c2818111e8de
4
+ data.tar.gz: fe3fb2ce6f79bac5f82c7b3b482b3df99b2589bc
5
5
  SHA512:
6
- metadata.gz: df1d6ddf2fa1dfff30e7bc6d0ce272a48e4bca7f445b0b88e86fec78d4bb5809201a82ba6635c715234cfd68af04c16f5131387e724e4280e8da69daffcd7b84
7
- data.tar.gz: b339882289260efc2e022c32a1c6673be2f29d0f21a1e55902bd4dacf521857ca6d47ed4ea34560b60b40f51784a7a3241597db5505db4764fb9df83125c4c0c
6
+ metadata.gz: c477f9443965d74477b75c99a78e9b96db5f0e6a6d93b266ac2c2fae34f7df32013366c848ad8c9b7c0941b635e585b11dd687c2647b6b4ee9af5becdb7abf97
7
+ data.tar.gz: ceeda97e7bebef885830430aaa97ca6da38418530fd33a4ffc5103995d018f659bbbe906d0c11db4287889e05a3d10423eb96bf642d9e59586a63462011638ad
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # JobSpec
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/job_spec.svg)](https://badge.fury.io/rb/job_spec)
4
+
3
5
  A ruby gem for defining job specifications in a nice DSL that enables composition of expectations between roles.
4
6
 
5
7
  ## Installing
@@ -15,8 +17,8 @@ gem install job_spec
15
17
  Create a job specification for a role:
16
18
 
17
19
  ``` ruby
18
- JobSpec::Role.definition "Engineer" do
19
- expected "to be cool"
20
+ JobSpec::Role.definition 'Engineer' do
21
+ expected 'to be cool'
20
22
  end
21
23
  ```
22
24
 
@@ -13,7 +13,7 @@ module JobSpec
13
13
 
14
14
  role.expectations.map(&:values).each do |(expectation, description)|
15
15
  markdown << "## #{expectation.capitalize}"
16
- markdown << description.capitalize unless description.nil?
16
+ markdown << description unless description.nil?
17
17
  end
18
18
 
19
19
  markdown.join("\n\n")
@@ -1,3 +1,3 @@
1
1
  module JobSpec
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: job_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton