job_spec 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 245a315b2ac01afe6198c8a94ca548d29f3f9ea2bfc75c4fb2ed965dfff25e17
4
- data.tar.gz: b80f2205ba9a3b6dcf0cab71fb3253cd5c2629c4afdd43d7c07286d90c5fcd22
3
+ metadata.gz: b0ec78dd9dcd780c0498d0e41b2a12c8cb1fc2880d27c2f54b5fd2cde7cc82f6
4
+ data.tar.gz: 1578e295950d32854e30850b534f22b9f75751cbc05b29f10c762fb049736790
5
5
  SHA512:
6
- metadata.gz: e69e12a3600e616f3c787beb73d2ca7599fd26ee2f7ae8960b289b9e913583a41a615b77696aedbf75b46bd843f64c355fea1046f1d90b44971a7dac1e324136
7
- data.tar.gz: 63fe1f1ea5c04ff1a40c79b5f89ea4cab76cc0e067c863f7aab7df41aab416b97c41a41e61dc213ff9f78f03e8f3fb80d324124f3f24e5e601f0b40d56245a14
6
+ metadata.gz: d85ef012e310e2a7ff5a4c5438817554052d955534c4d5e0665ef85212ebb38c8c12e2beeb32f8cbc91cbf34aab1dd64d3e052571a731da153c14fc8faa696a1
7
+ data.tar.gz: 9e09df086e9d78218de02ebbfd96e25af74f8664a007f164b7df8e0448500bb2ec95b6db70bd6ea3dd374b16b3041b2e13aa96decfe73ee48b847a7a4cbc9cde
@@ -10,6 +10,8 @@ module JobSpec
10
10
  end
11
11
 
12
12
  def self.roles
13
+ return [] if @expectations.nil?
14
+
13
15
  roles = {}
14
16
  @expectations.each do |expectation|
15
17
  expectation.to_a.each do |role_expectation|
@@ -1,3 +1,3 @@
1
1
  module JobSpec
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton