tisket 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tisket/manager.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: f47e5fc26a0fc97ea380b70d2b782f9b8b4942d9
|
4
|
+
data.tar.gz: bc731c7d0b6e4d0e2f016fc67d16f0f4b4928b89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80cc482655916917796a21d7ca2e05ce9b77c62cf583c7ac66433fbabb95bc12ee9942f2b9f03b379a46322df87b445bd2087a6b70cabfcb9700b15c33dc4514
|
7
|
+
data.tar.gz: ba08aed850d04292521c16d1114a7d2a8311887290357b81932a6a8d3d3cc374d95434b7f51a5fc20d640ac21abd3fbbdd08eef2cf1b4af3fb696ae70a0c0086
|
data/lib/tisket/manager.rb
CHANGED
@@ -44,7 +44,7 @@ class Tisket::Manager
|
|
44
44
|
puts "running #{id}"
|
45
45
|
spec = (specs[id] ? specs[id].dup : {})
|
46
46
|
task = Object.const_get(
|
47
|
-
spec.delete(:_class) || camelize(id)
|
47
|
+
spec.delete(:_class) || camelize(id.to_s)
|
48
48
|
).new(self, id: id, **spec)
|
49
49
|
th = Thread.new{ task.run }
|
50
50
|
th.run
|