tisket 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tisket/manager.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78030c5e55f828b5366c7ed3953d149f045379fd
4
- data.tar.gz: 621d3dab5b69bd2aeac221583cfcd23b388c1bfd
3
+ metadata.gz: 297026a3b28d2d5c9ce04352af933aee61777237
4
+ data.tar.gz: d6243eddf1501b0a1bf0008517eec34a593bd5bc
5
5
  SHA512:
6
- metadata.gz: f621659078e2bea2a899412463082bbda9d340438d38940dd063ce2a517260925d544b6ff99e890795abfa1bcf951c06797063614b6b42775d2ac7d63a7b9d56
7
- data.tar.gz: 902e47e1bffce02c403a0e1f8f710049c1b74f544afb1908ad68a60667d58f4ea25b354a94d4c8cd754713504e12e13f4137ddc7fee2cc58002fe2c90a8dd8ec
6
+ metadata.gz: 356e59f38697d2cb1020aa9d5d3eaaf687a3b86123dac893d335f2b4285638eb77821af3f460a07cbca7e65eef0ff3b643cd04b0c6b9f768be13447085e1def3
7
+ data.tar.gz: 8bcab31ba9d43517ff67391ec6a68fe15be145a3465608ca2eff44c5f5365f4109a39a25509db1fa078e2dc15bb16e438b7e547cb995da745bdc3a40becddfa9
@@ -42,7 +42,7 @@ class Tisket::Manager
42
42
 
43
43
  def run_one(id)
44
44
  puts "running #{id}"
45
- spec = specs[id].dup
45
+ spec = (specs[id].try(:dup) || {})
46
46
  task = Object.const_get(
47
47
  spec.delete(:_class) || camelize(id)
48
48
  ).new(self, id: id, **spec)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tisket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael