tisket 0.1.2 → 0.1.3

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: 297026a3b28d2d5c9ce04352af933aee61777237
4
- data.tar.gz: d6243eddf1501b0a1bf0008517eec34a593bd5bc
3
+ metadata.gz: 837107c8f3071cd99e0da901c127c7baa2716fb2
4
+ data.tar.gz: f47a9aad2c155b60182b5f365d710c10f13b229a
5
5
  SHA512:
6
- metadata.gz: 356e59f38697d2cb1020aa9d5d3eaaf687a3b86123dac893d335f2b4285638eb77821af3f460a07cbca7e65eef0ff3b643cd04b0c6b9f768be13447085e1def3
7
- data.tar.gz: 8bcab31ba9d43517ff67391ec6a68fe15be145a3465608ca2eff44c5f5365f4109a39a25509db1fa078e2dc15bb16e438b7e547cb995da745bdc3a40becddfa9
6
+ metadata.gz: d49a8d3fead562c81b90dd8a848e645de906603315458743a1df224e7ceccbf9106fe75de8699ac2dbe03342df4c24cca67b77e26a0d85032c196b7b3277bb4f
7
+ data.tar.gz: ec2397838b944f60aa5fd9c895375baffecf41bf3e51ad059d8b342d5587b758d0ec883e05f15d8a949a59aa2072aae92c6a827b290f102b8800edfda029d463
@@ -42,7 +42,7 @@ class Tisket::Manager
42
42
 
43
43
  def run_one(id)
44
44
  puts "running #{id}"
45
- spec = (specs[id].try(:dup) || {})
45
+ spec = (specs[id] ? specs[id].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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael