libis-workflow 2.0.23 → 2.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/libis/workflow/base/work_item.rb +8 -1
- data/lib/libis/workflow/task.rb +2 -2
- data/lib/libis/workflow/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: 94e06f629357d6d5c6e980a0dee777f85f1007be
|
4
|
+
data.tar.gz: 27ad93c04124bd0d9c54d602dba76dce94a2713b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d841245380d2de1aa353b61047f12ab62784fd017fd54f659298a31e7b20511b343afea87d4590c1dc8667b72078abfd3177825ecebd2da243ecc2602d0f727
|
7
|
+
data.tar.gz: 6da646907566b318b35e5441c166058fa1fe37b954eec2febecb46b8adf1d7d22922398822bb3e129dda684feeadfa7ebf8eac174ef3349fb7392706d66bb761
|
@@ -121,8 +121,15 @@ module Libis
|
|
121
121
|
|
122
122
|
# Get list of items.
|
123
123
|
#
|
124
|
-
# This method should return a list of items that
|
124
|
+
# This method should return a list of items that can be accessed during long processing times.
|
125
125
|
def get_items
|
126
|
+
self.items
|
127
|
+
end
|
128
|
+
|
129
|
+
# Get list of items.
|
130
|
+
#
|
131
|
+
# This method should return a list of items that is safe to iterate over while it is being altered.
|
132
|
+
def get_item_list
|
126
133
|
self.items.dup
|
127
134
|
end
|
128
135
|
|
data/lib/libis/workflow/task.rb
CHANGED
@@ -153,7 +153,7 @@ module Libis
|
|
153
153
|
def run_item(item)
|
154
154
|
@item_skipper = false
|
155
155
|
|
156
|
-
return if item.status(self.namepath) == :DONE
|
156
|
+
return item if item.status(self.namepath) == :DONE
|
157
157
|
|
158
158
|
pre_process(item)
|
159
159
|
|
@@ -296,7 +296,7 @@ module Libis
|
|
296
296
|
end
|
297
297
|
|
298
298
|
def subitems(item = nil)
|
299
|
-
(item || self.workitem).
|
299
|
+
(item || self.workitem).get_item_list
|
300
300
|
end
|
301
301
|
|
302
302
|
def default_values
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Libis
|
2
2
|
module Workflow
|
3
|
-
VERSION = '2.0.
|
3
|
+
VERSION = '2.0.24' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
4
4
|
end
|
5
5
|
end
|