bpm_manager 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bpm_manager/red_hat.rb +2 -2
- data/lib/bpm_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92aa881364951d1f3dd8104d39c8659daf25e38a
|
4
|
+
data.tar.gz: 9a79574eeeb61df8d78622e8928af1458a6eaa4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03850882d85721ef3fd4db0fb2150939631aac98ccea3bec009457057ff129372bd338e96c5f15fa11d9110f8d1d6e3d2682cfe98ad3df51bf030ed73668ff6e
|
7
|
+
data.tar.gz: f61617e29e932b6015b66a5515b01664776521027dfd008fe3db9a9aeca6246a95ee4373f97df6de1f2b7311267346a3f3a23c07b850434c6674b9784984c00b
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -28,11 +28,11 @@ module BpmManager
|
|
28
28
|
def self.process_instance_variables(process_instance_id)
|
29
29
|
begin
|
30
30
|
result = Hash.new
|
31
|
-
JSON.parse(BpmManager.server['/history/instance/' + process_instance_id.to_s + '/variable'].get)['historyLogList'].each{|e| result[e['variable-
|
31
|
+
JSON.parse(BpmManager.server['/history/instance/' + process_instance_id.to_s + '/variable'].get)['historyLogList'].each{|e| result[e.first.second['variable-id']] = e.first.second['value']}
|
32
32
|
|
33
33
|
return result
|
34
34
|
rescue
|
35
|
-
return
|
35
|
+
return {} # same result as not found record in jbpm
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
data/lib/bpm_manager/version.rb
CHANGED