job_spec 0.2.2 → 0.2.3

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: 100b4df92d19b8bd5efcf77fa5c5009bb0d64bb9
4
- data.tar.gz: 12f8e5886b6799d9c6eb7f33426843255c49e86c
3
+ metadata.gz: 79b602ff7e317683102ed14f53dfc72da480d914
4
+ data.tar.gz: 241c6303fb7edf5d8801775db56dca4bc10afa93
5
5
  SHA512:
6
- metadata.gz: 2912529335030d83e043e221aa9cbeed999a0a47a3fa6cba5f43fc4fe356e9cd7b5e045416be5a66c3289692a1850ec3b91e8f22c44c88cd06dce7a20fb5dbe1
7
- data.tar.gz: 4001a19c268f95a492f3a413f2933bbce6992bfa6da4fd8392146363a4c18b10be771497fea41137ee8f058fbf206fe1f2e61f6923200c2b51287b82a35e42f8
6
+ metadata.gz: 5a17ebcf9168fd3d25d65baf8c598edf6e6b9d44f77e66c6ac60873366070298c611832bb53a7417a7707a1787ab472a0a1aa77672473d221352806dd2ce62ab
7
+ data.tar.gz: 55a3cd1225e51a0283b99e132ee360e87cd13fec7e7e7c9304f4fd89a1bdf7a1893363efc2edb53cfb9a8184846b0bb0ae1fdbdd244ae179bce22cd068000b23
data/lib/job_spec/role.rb CHANGED
@@ -40,9 +40,9 @@ module JobSpec
40
40
  end
41
41
 
42
42
  class Expectations
43
- def self.expected(expectation)
43
+ def self.expected(expectation, description = nil)
44
44
  @role ||= Role.new(self.class.name)
45
- @role.expected(expectation)
45
+ @role.expected(expectation, description)
46
46
  end
47
47
 
48
48
  def self.to_a
@@ -1,3 +1,3 @@
1
1
  module JobSpec
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton