cpee-worklist 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee-worklist.gemspec +1 -1
- data/lib/cpee-worklist/implementation.rb +3 -2
- data/tools/cpee-worklist +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6713f404c79214aa4ec557ee3cf5606d47fca1fb3d7f4f64fefb352cde21fd46
|
4
|
+
data.tar.gz: 837b838cd8ae36f3ff110bae123d786ad8d35d81708184ad0bda189ec8ef4405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4551fa6484b3e8b0c4344994d6ad8d09cdd53272c6f35f332640aa16a845a50a9b69c0e9d6fc835f17d09c81845ea0f1bb83ad48013bef0ff863beb756719e4
|
7
|
+
data.tar.gz: '018294928c3d1279480cf7734e33563376a493c5b8cb5abf7df0ee2685c207aa421a305c7e2f56062d65364d797c661a7f4ac4d1d52cd7f151a134b50ad56631'
|
data/cpee-worklist.gemspec
CHANGED
@@ -271,7 +271,8 @@ module CPEE
|
|
271
271
|
class TaskGiveBack < Riddl::Implementation #{{{
|
272
272
|
def response
|
273
273
|
index = @a[0].activities.index{ |c| c["id"] == @r.last }
|
274
|
-
|
274
|
+
|
275
|
+
if index && (@a[0].activities[index]['user'].include?(@r[-3]))
|
275
276
|
activity = @a[0].activities[index]
|
276
277
|
activity['user'] = []
|
277
278
|
callback_id = @a[0].activities[index]['id']
|
@@ -312,7 +313,7 @@ module CPEE
|
|
312
313
|
index = @a[0].activities.index{ |c| c["id"] == @r.last }
|
313
314
|
if index
|
314
315
|
user = @p[0].value
|
315
|
-
@a[0].activities[index]["user"]
|
316
|
+
@a[0].activities[index]["user"] << user if CPEE::Worklist::User::ok?(@a[0].opts,@a[0].activities[index],user)
|
316
317
|
callback_id = @a[0].activities[index]['id']
|
317
318
|
info = CPEE::Worklist::User::info(@a[0].opts,@a[0].activities[index],user)
|
318
319
|
@a[0].activities.serialize
|
data/tools/cpee-worklist
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee-worklist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-06-
|
13
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|