cellect-server 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cellect/server/adapters/default.rb +2 -1
- data/lib/cellect/server/api.rb +1 -1
- data/lib/cellect/server/workflow.rb +0 -1
- data/lib/cellect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2329c741f3e1c93571991a828999c115ffd4d052
|
4
|
+
data.tar.gz: 55c3766d563da3f902dde9b2a18557d3d99d26b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5f12c17737323843881ce4bd8e53b730ee5a896feef7909a849fed5ab85b1bebda409b4e0cc5a683359da303cda75491cfa0a3773a0636e299643c76ee5abb
|
7
|
+
data.tar.gz: 3cb690279afa355a07034cf45519d3f7faa58f399b663fc6f197622f02fe60844d25bb3f3fe01aba4ae09dedff16a0a4e5fc4c14bc3667a61904bfa4fd832920
|
@@ -57,7 +57,8 @@ module Cellect
|
|
57
57
|
|
58
58
|
def workflow_for(opts = { })
|
59
59
|
workflow_klass = opts.fetch('grouped', false) ? GroupedWorkflow : Workflow
|
60
|
-
workflow_klass[opts['name']] = opts
|
60
|
+
workflow_klass[opts['name']] = opts
|
61
|
+
workflow_klass[opts['name']].load_data
|
61
62
|
workflow_klass[opts['name']]
|
62
63
|
end
|
63
64
|
end
|
data/lib/cellect/server/api.rb
CHANGED
@@ -21,7 +21,7 @@ module Cellect
|
|
21
21
|
{
|
22
22
|
memory: usage.call('%mem'),
|
23
23
|
cpu: usage.call('%cpu'),
|
24
|
-
instance: instance.id,
|
24
|
+
instance: instance.try(:id),
|
25
25
|
status: Cellect::Server.adapter.status.merge({
|
26
26
|
workflows_ready: Cellect::Server.ready?,
|
27
27
|
workflows: Workflow.all.map(&:status)
|
data/lib/cellect/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cellect-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Parrish
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|