bpm_manager 0.10.3 → 0.10.4

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: 54c829bd5df2a65a364ea08c042236831ffdc510
4
- data.tar.gz: 7e1d9b794d05afc0ee6ec7eb969d6f091692eab8
3
+ metadata.gz: 3b7c587e32e894eb2db1ffa89769dd16f6900259
4
+ data.tar.gz: 27b5517d96561b61d920460c1278bda07b4cbfb7
5
5
  SHA512:
6
- metadata.gz: 7265f03127359956e532bb2341bc1086898174c357584cffdb4b4a2c39f284323e3b0350a1237958280a9af1af611f4a215fbdc0712d027e2439b243c8085877
7
- data.tar.gz: d93f30bc67665a046dbcd7d218d9adb859bda69b50023ed8bf143453ae6f626f141b2cb1ae85c9a301cb28dde10abb3c962a99fbb577da169a3606670150d980
6
+ metadata.gz: 02227327bfe8b3933f51337eb113536eaa90834dfb63e384afb37dd65924cbdaf6a28333fe4876a92c08c5dd828924686e9026dce767a5bf47fb18d86da69607
7
+ data.tar.gz: 0068f7d65fe32f18569cf3724d8d4c1316ffb43396b65edfb0611d81fdfdd6c7074307a67430aad97bb043098b352434b552a82cbfb1a78c3487b7ccfe9ff9a1
@@ -32,7 +32,7 @@ module BpmManager
32
32
 
33
33
  return result
34
34
  rescue
35
- return {}
35
+ return []
36
36
  end
37
37
  end
38
38
 
@@ -191,11 +191,11 @@ module BpmManager
191
191
  private
192
192
  def self.structure_task_data(input)
193
193
  tasks = []
194
+ logger.info '---> Enter input: ' + input.inspect
194
195
 
195
196
  unless input['taskSummaryList'].nil? || input['taskSummaryList'].empty?
196
197
  input['taskSummaryList'].each do |task|
197
198
  my_task = OpenStruct.new
198
- my_task.process = OpenStruct.new
199
199
  my_task.id = task['task-summary']['id']
200
200
  my_task.process_instance_id = task['task-summary']['process-instance-id']
201
201
  my_task.parent_id = task['task-summary']['parent_id']
@@ -209,6 +209,10 @@ module BpmManager
209
209
  my_task.subject = task['task-summary']['subject']
210
210
  my_task.description = task['task-summary']['description']
211
211
  my_task.data = task['task-summary']
212
+
213
+ logger.info '---> Task data: ' + my_task.inspect
214
+
215
+ my_task.process = OpenStruct.new
212
216
  my_task.process.data = self.process_instance(task['task-summary']['process-instance-id'])
213
217
  my_task.process.deployment_id = task['task-summary']['deployment-id']
214
218
  my_task.process.id = my_task.process.data['process-id']
@@ -218,10 +222,15 @@ module BpmManager
218
222
  my_task.process.version = my_task.process.data['process-version']
219
223
  my_task.process.creator = my_task.process.data['identity']
220
224
  my_task.process.variables = self.process_instance_variables(my_task.process.instance_id)
225
+
226
+ logger.info '---> Process data: ' + my_task.process.inspect
227
+
221
228
  tasks << my_task
222
229
  end
223
230
  end
224
231
 
232
+ logger.info '---> Array data: ' + tasks.inspect
233
+
225
234
  return tasks
226
235
  end
227
236
  end
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.10.3"
2
+ VERSION = "0.10.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.4.2
112
+ rubygems_version: 2.5.1
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: BPM Manager Gem for RedHat jBPM engine.