rbbt-util 5.26.148 → 5.26.149

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf3004b4e61c1bd21d810ca71531a16c1fdfc7f1378ad611066adc769889eb19
4
- data.tar.gz: f2d1291cda6e4624a748fe183813ef1db0d5bba9839bb68da5925b7412728206
3
+ metadata.gz: 9288b508316c4ba26d477e254e59adf2c30b3ccaa1ff21bd66517c5a5a4bbc18
4
+ data.tar.gz: ee3cd1659a7541fc506a818080d39a08d49c5bc08691bc00d6a118138a7d0bee
5
5
  SHA512:
6
- metadata.gz: 613b76e53fd61498015a0a9d21a138235691e1d34caa099bd2c7704839901b8052283bba59aba507991aea2c0c346d7f611812221597caba2e651a832829d362
7
- data.tar.gz: 4a42b2057154f9ffea5473d31516fb56eb5d2a5c591d15a5f303fb6da102b2b99b4af3ade7018cba14027e8672e5e5da104dc2589970ebe138dc05ae2fb1dc90
6
+ metadata.gz: 7148561f867bd9f3bec6e35d1c23ab0060896dd6166a272fdc450b9bdfc2e0a3961f8f088da3669bf101001ef500325e1b9b2c18c4064b5721596cdadcb0cc97
7
+ data.tar.gz: 443d66df9200fe9c68ba267a7fcea48652b3127c50c4183e75ce71797087fc7ef179ce0384637ed4ac48aeee4a90bc0447832dd8c57927d7d22e5fb1e8582b72
@@ -1,6 +1,6 @@
1
1
  # This is used by rbbt-rest when issuing a new job
2
2
 
3
- $rest_cache_semaphore = "/REST_SEMAPHORE"
3
+ $rest_cache_semaphore = ENV["RBBT_REST_CACHE_SEMAPHORE"] || "/REST_SEMAPHORE"
4
4
  parallel_rest_jobs = Rbbt::Config.get('parallel_rest_jobs', :parallel_rest_jobs, :rest_jobs, :default => 2)
5
5
 
6
6
  parallel_rest_jobs = parallel_rest_jobs.to_i if String === parallel_rest_jobs
@@ -1,6 +1,12 @@
1
1
  class Step
2
2
 
3
- INFO_SERIALIAZER = Marshal
3
+ INFO_SERIALIAZER = begin
4
+ if ENV["RBBT_INFO_SERIALIZER"]
5
+ Kernel.const_get ENV["RBBT_INFO_SERIALIZER"]
6
+ else
7
+ Marshal
8
+ end
9
+ end
4
10
 
5
11
  def self.wait_for_jobs(jobs)
6
12
  jobs = [jobs] if Step === jobs
data/lib/rbbt/workflow.rb CHANGED
@@ -398,7 +398,7 @@ module Workflow
398
398
  dependencies = real_dependencies(task, jobname, defaults.merge(inputs), task_dependencies[taskname] || [])
399
399
  overriden = has_overriden_inputs || dependencies.select{|dep| dep.overriden }.any?
400
400
 
401
- if real_inputs.empty? and not Workflow::TAG == :inputs and not overriden
401
+ if real_inputs.empty? && Workflow::TAG != :inputs && ! overriden
402
402
  step_path = step_path taskname, jobname, [], [], task.extension
403
403
  input_values = task.take_input_values(inputs)
404
404
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.26.148
4
+ version: 5.26.149
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake