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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfc7b76cfb8d6ee4c28fb91dd6b4b9e2b0d3a2df
4
- data.tar.gz: 5ae2d40c2ba43d0c2f0676e9ebb93713eddbd4d3
3
+ metadata.gz: 92aa881364951d1f3dd8104d39c8659daf25e38a
4
+ data.tar.gz: 9a79574eeeb61df8d78622e8928af1458a6eaa4f
5
5
  SHA512:
6
- metadata.gz: f56f5f58d4c6f650b631465d3e5875e14097a819a9ab7afba8ca9c2c702285067af036bc2980d7b003bc6a85061f5373cd182f0a46f9c9f396e4b236666e2ab4
7
- data.tar.gz: fca596b7c2fba721a7ded2cb8e9c60b58f61cc4038cff3a227dfd97b00a55fdcc1475832d130740c7a2012aa3774781c6df2549f8d66cbf6b8b34785045cd79b
6
+ metadata.gz: 03850882d85721ef3fd4db0fb2150939631aac98ccea3bec009457057ff129372bd338e96c5f15fa11d9110f8d1d6e3d2682cfe98ad3df51bf030ed73668ff6e
7
+ data.tar.gz: f61617e29e932b6015b66a5515b01664776521027dfd008fe3db9a9aeca6246a95ee4373f97df6de1f2b7311267346a3f3a23c07b850434c6674b9784984c00b
@@ -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-instance-log']['variable-id']] = e['variable-instance-log']['value']}
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
 
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa