skyrunner 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/skyrunner/job.rb +2 -2
- data/lib/skyrunner/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: 5c4e44b5a9811a4d7fcf2ccf17f6a8c437db1345
|
4
|
+
data.tar.gz: ab38be97a84380e056dccb2341224238fd07a164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc58f78a2ccef301a0afadf1804526cf3b3e0ddb478c9064f69d8fafe3d0bf86dd00565a77c1223825ab767436973cd73bd4a153c846b72c944146519c3e9514
|
7
|
+
data.tar.gz: 01a7d986072167c61b40df806931ca35907add49ddef0678b5d46b4c53a551104d491bf321c00f31fba278f8a6ffdd5ba33dcd0be9b512a14793f4d52e2de28e
|
data/lib/skyrunner/job.rb
CHANGED
@@ -7,11 +7,11 @@ module SkyRunner::Job
|
|
7
7
|
end
|
8
8
|
|
9
9
|
module ClassMethods
|
10
|
-
def on_completed(methods)
|
10
|
+
def on_completed(*methods)
|
11
11
|
add_job_event_methods(methods, :completed)
|
12
12
|
end
|
13
13
|
|
14
|
-
def on_failed(methods)
|
14
|
+
def on_failed(*methods)
|
15
15
|
add_job_event_methods(methods, :failed)
|
16
16
|
end
|
17
17
|
|
data/lib/skyrunner/version.rb
CHANGED