workflow_manager 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,8 +82,10 @@ module WorkflowManager
82
82
  def initialize
83
83
  @interval = config.interval
84
84
  @resubmit = config.resubmit
85
- @db_stat = File.join(config.db_dir, 'statuses.kch')
86
- @db_logs = File.join(config.db_dir, 'logs.kch')
85
+ extension = NO_KYOTO ? '.pstore' : '.kch'
86
+ db_mode = NO_KYOTO ? 'PStore' : 'KyotoCabinet'
87
+ @db_stat = File.join(config.db_dir, 'statuses'+extension)
88
+ @db_logs = File.join(config.db_dir, 'logs'+extension)
87
89
 
88
90
  @log_dir = File.expand_path(config.log_dir)
89
91
  @db_dir = File.expand_path(config.db_dir)
@@ -96,6 +98,8 @@ module WorkflowManager
96
98
  @system_log = File.join(@log_dir, "system.log")
97
99
  @mutex = Mutex.new
98
100
  @cluster = config.cluster
101
+ puts("DB = #{db_mode}")
102
+ log_puts("DB = #{db_mode}")
99
103
  log_puts("Server starts")
100
104
  end
101
105
  def hello
@@ -1,3 +1,3 @@
1
1
  module WorkflowManager
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-08 00:00:00.000000000 Z
12
+ date: 2013-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &2152025360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '1.3'
24
+ version_requirements: *2152025360
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: rake
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &2152024840 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,12 +32,7 @@ dependencies:
37
32
  version: '0'
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *2152024840
46
36
  description: Workflow Manager manages job submissions using dRuby.
47
37
  email:
48
38
  - masaomi.hatakeyama@fgcz.uzh.ch
@@ -98,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
88
  version: '0'
99
89
  requirements: []
100
90
  rubyforge_project:
101
- rubygems_version: 1.8.24
91
+ rubygems_version: 1.8.5
102
92
  signing_key:
103
93
  specification_version: 3
104
94
  summary: Workflow Manager manages job submissions using dRuby.