dont-stall-my-process 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dont-stall-my-process/exceptions.rb +3 -3
- data/lib/dont-stall-my-process/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e59d6719f41a7d713ecb2244c04ff48254e7f54c
|
4
|
+
data.tar.gz: 61e687dd3c25bacb5c3fdd4d37b08d31416cd4fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdb6e16a12ae0f9129bdb49c7d05b10e0b3edb6425353ffd4eec8aa0d558cd4c84c4cc35e6824b516ece8158eb9f203adc6155ecc068ac3f732013b971a9342b
|
7
|
+
data.tar.gz: e95f284b5c08199ace8d7705bcb50ee0f1d84fbfae687046fde413cb831c2e6e61639d06bc00338b457efc2298c12bca6d14350817cc030e5953534261d6a5fa
|
@@ -2,13 +2,13 @@ module DontStallMyProcess
|
|
2
2
|
DontStallMyProcessError = Class.new(StandardError)
|
3
3
|
|
4
4
|
# This exception is raised when the watchdog bites.
|
5
|
-
TimeoutExceeded = Class.new(
|
5
|
+
TimeoutExceeded = Class.new(DontStallMyProcessError)
|
6
6
|
|
7
7
|
# This exception is raised when the subprocess could not be created, or
|
8
8
|
# its initialization failed.
|
9
|
-
SubprocessInitializationFailed = Class.new(
|
9
|
+
SubprocessInitializationFailed = Class.new(DontStallMyProcessError)
|
10
10
|
|
11
11
|
# This exception is raised when a forbidden Kernel method is called.
|
12
12
|
# These methods do not get forwarded over the DRb.
|
13
|
-
KernelMethodCalled = Class.new(
|
13
|
+
KernelMethodCalled = Class.new(DontStallMyProcessError)
|
14
14
|
end
|