workflow_manager 0.7.0 → 0.7.1

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: 81101870809e71203ee0a00d65a210fb3b43077273515e51329ad443396621a8
4
- data.tar.gz: 9651fae73c5e930ad5fb424eff4d27888f6aa667b480cf2381607d74b5cfb624
3
+ metadata.gz: 6ea3816ec54cac7bf1097d94f410aeb9d17641755494de742814c4151a20d4de
4
+ data.tar.gz: 8adcaf1765299151ccddc6f68740989e265b68b7829c07a4e49ee751bb0ff608
5
5
  SHA512:
6
- metadata.gz: dceef4d0268fd963c5c9b2285d38301973a32c10c976393b90fcc125dd07c750c9c29c75b4d3f10fcad5f770329507453d9e9b2a4b075e88f86a66d40d2e94e2
7
- data.tar.gz: cfe1de2fd651090060dba921b37fd01d8f442876c5581831a6d41ccafd1597eb0e9c31513741482f2ee3d7fe168daf015841aaaffa4530e27fa511bf8115e52a
6
+ metadata.gz: fb11c23c1346ca6fff218b2283b6254cf18ef3872725c1f7a068c8261d1af2217d7d13686c61ea28f2d4c01b7c1f1b242862f9ae60e223ffb64f70d0646aae2b
7
+ data.tar.gz: 764e474e5fbbf9fffb411f5484c774bff60e517893ef983e7307ca923d8c12f982ac4c4f20468015d7b78a2b0ff4c9adab8cbf465c0a9fb09bf46170bd9eea69
data/bin/workflow_manager CHANGED
@@ -33,7 +33,9 @@ if opt.mode
33
33
  default_config_file = File.join(default_config_dir, opt.mode+".rb")
34
34
  if File.exist?(default_config_file)
35
35
  default_redis_config_file = File.join(default_config_dir, "redis.conf")
36
+ default_sidekiq_config_file = File.join(default_config_dir, "sidekiq.conf")
36
37
  FileUtils.cp(default_redis_config_file, config_dir)
38
+ FileUtils.cp(default_sidekiq_config_file, config_dir)
37
39
  FileUtils.cp(default_config_file, config_file)
38
40
  else
39
41
  raise "Configure file does not exist: #{config_file}"
@@ -48,7 +50,9 @@ puts DRb.uri
48
50
  sleep 1
49
51
 
50
52
  sidekiq_pid = fork do
51
- exec("sidekiq -C config/environments/sidekiq.yml -r ./lib/job_checker.rb")
53
+ app_dir = File.expand_path('..', __FILE__)
54
+ job_checker = File.join(app_dir, "../lib/job_checker.rb")
55
+ exec("sidekiq -C config/environments/sidekiq.yml -r #{job_checker}")
52
56
  end
53
57
 
54
58
  begin
@@ -1,3 +1,3 @@
1
1
  module WorkflowManager
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workflow_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Functional Genomics Center Zurich