bpm_manager 1.0.16 → 1.0.17

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: 22b3a7a507e4bca97b977caef703c69da2ac64b8
4
- data.tar.gz: e699b2ebf3f982fbf8228ae1c61f00c81556fb14
3
+ metadata.gz: c935779549a684c6d571b1120936cf2665c27504
4
+ data.tar.gz: 5e9f36153ad208567bcc7fcc4f9e5304cbff2214
5
5
  SHA512:
6
- metadata.gz: ee128a127cb06be6223d69be3fa841a08ea312428c6bf29e69d76b14827ce9e2e944ee79549fe5ab19662738ba46bb77df72723c4978d563bd2fcea5041ab7cd
7
- data.tar.gz: 0d036f7db0d9205bba7120839645007279abad4b270f0a93a983baf9efe3cb159caebe8cb471c3a455c6dd608c16673218f92ee08514aeb94f40298bc45f4a17
6
+ metadata.gz: 78924013883104ac3bb5292f173b67171a7a4191adfde277bf1266b64bfa9d404c3a9b8b0b86442d2eaf6b5950655216e1807f15c2d49c2ef733f24220eb3457
7
+ data.tar.gz: a4e4656d006ce3ee85359faf794e66bbe8dca2fc44e13b8308f6567ce66861d449baa0c707f5dd9f3b5632f4389beda4f32e4fd10a78076dfb00ebe215698ba3
@@ -16,7 +16,7 @@ module BpmManager
16
16
 
17
17
  # Creates a new Process
18
18
  def self.create_process(deployment_id, process_definition_id, opts = {})
19
- JSON.parse(BpmManager.server['/query/runtime/process/' + (opts.empty? ? '' : '?' + opts.map{|k,v| (v.class == Array) ? v.map{|e| k.to_s + '=' + e.to_s}.join('&') : k.to_s + '=' + v.to_s}.join('&'))].get)['taskInfoList']
19
+ BpmManager.server['/runtime/' + deployment_id.to_s + '/process/' + process_definition_id.to_s + '/start'].post(opts)
20
20
  end
21
21
 
22
22
  # Gets all Process Instances
@@ -244,7 +244,7 @@ module BpmManager
244
244
  my_task.creator = task_query(task['id'])['taskData']['created-by']
245
245
  my_task.owner = task['actual-owner']
246
246
  my_task.data = task
247
-
247
+
248
248
  my_task.process = OpenStruct.new
249
249
  my_task.process.data = self.process_instance(task['process-instance-id'])
250
250
  my_task.process.deployment_id = task['deployment-id']
@@ -289,7 +289,7 @@ module BpmManager
289
289
  my_task.creator = task_query['taskData']['created-by']
290
290
  my_task.owner = task['actual-owner']
291
291
  my_task.data = task
292
-
292
+
293
293
  my_task.process = OpenStruct.new
294
294
  my_task.process.data = self.process_instance(task['process-instance-id'])
295
295
  my_task.process.deployment_id = task['deployment-id']
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
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: 1.0.16
4
+ version: 1.0.17
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-07-14 00:00:00.000000000 Z
11
+ date: 2016-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client