bpm_manager 0.11.2 → 0.11.3
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: 621680a16f051d826b888fedd06c2b580218d9bd
|
4
|
+
data.tar.gz: 3b50b47995fca7b69e57c6afa1520e4519380952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92794d47d3a2aaec8c318a923a768d459f3980df853f190ad3faa0e3113eb7c05c56bed5ede483d21dba2d705a53ef05d91017781cf0bfe5085ab62f2004221b
|
7
|
+
data.tar.gz: 7f639d9f29c221c59f06f5cab53e6e279c3a7c7be8a199a6df2aa59e8ad43a663112d2b642e3c2f5834d9e247032dd54f3fddee2cea291396809b7af6293beb7
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -38,12 +38,12 @@ module BpmManager
|
|
38
38
|
|
39
39
|
# Gets all tasks, optionally you could specify an user id
|
40
40
|
def self.tasks(user_id = '')
|
41
|
-
self.structure_task_data(JSON.parse(BpmManager.server['/task/query'].get
|
41
|
+
self.structure_task_data(JSON.parse(BpmManager.server['/task/query?taskOwner=' + user_id].get))
|
42
42
|
end
|
43
43
|
|
44
44
|
# Gets all tasks with options
|
45
45
|
def self.tasks_with_opts(opts = {})
|
46
|
-
self.structure_task_data(JSON.parse(BpmManager.server['/task/query'].get
|
46
|
+
self.structure_task_data(JSON.parse(BpmManager.server['/task/query' + (opts.empty? ? '' : '?' + opts.map{|k,v| k.to_s + '=' + v.to_s}.join('&'))].get))
|
47
47
|
end
|
48
48
|
|
49
49
|
# Assigns a Task for an User
|
data/lib/bpm_manager/version.rb
CHANGED