aric 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: bd665b5783312789c7de794c28abc21cae7e97e5
4
- data.tar.gz: 4f976e9ddf8ba0271df1c61f84d37272700ff080
3
+ metadata.gz: 837a9fe94123f20690efa2dc1d7f7d2e6ab8b428
4
+ data.tar.gz: d4c612392cd3ab7c3051d68690559e27f0d12209
5
5
  SHA512:
6
- metadata.gz: c5fa01dfa3e3a4af93a72e3ed77651f480fd7fe560e8314f96b4f07083921d72125f78a8e12e5053cb7f8837299b3c89966f22ead74805e11e5cf010170b6150
7
- data.tar.gz: 936dbf37e18e1713055d72d5a21c777064cf7356561d0f1cb411d64630772c5e708885c30fa4d118989f6ce25f2cadeb5149ecac68925685a71ab07f4dd949d9
6
+ metadata.gz: f5a0296d9742d059aba3e5d0d28531ba63675e6245acc458eec4569cc0d0ee2fd998c463cce580eaad48dbd037a90330550cbd0636e6b33dd11329120a5d89c4
7
+ data.tar.gz: 243a30fd5d7ae107a208d9a0bc63f1e988d7c16fb869c634555b5e005b9335c4a3d7616ff40b187f96b2e47f962e771eeec32c9585f40e2e3c652f781e563822
@@ -7,7 +7,7 @@ module Aric
7
7
  end
8
8
 
9
9
  def to_s
10
- "#{@message} in #{cmd}"
10
+ "#{@message} in #{@cmd}"
11
11
  end
12
12
  end
13
13
  end
@@ -51,7 +51,7 @@ module Aric
51
51
 
52
52
  # Return Job class that has job_name method
53
53
  def job_class
54
- raise JobNotFound if job_not_found?
54
+ raise Aric::Error::JobNotFound.new(@job_name) if job_not_found?
55
55
  JobHandler.job_class_hash.find { |_, v| v.include?(@job_name) }.first
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Aric
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: aric
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
  - ganmacs