libis-workflow 2.0.beta.20 → 2.0.beta.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libis/workflow/base/work_item.rb +7 -0
- data/lib/libis/workflow/task.rb +1 -1
- 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: 45dc413751f60ed3f8eacdcb56ca833b9a250d3b
|
4
|
+
data.tar.gz: 4a676dbc0745c16f79789c984f09f3456c0b067e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53c6bcb24fdc6afdd51b679010ea81bcaf41dcb25a7fd5427f45cda3a822c3b54df84d768c06fe7eabcd4a8350e792ef1a785fee477a94b2f40be132e9037b13
|
7
|
+
data.tar.gz: 8b3cdde36594ed0c62ca38cbbb736b1bdff0d3d27a6f090c9043294b99aa82d42677a08cf6d751c234e33b0eb0567da3be545a08e72b4e9c2f0d7798abf50147
|
@@ -134,6 +134,13 @@ module Libis
|
|
134
134
|
|
135
135
|
alias_method :<<, :add_item
|
136
136
|
|
137
|
+
# Get list of items.
|
138
|
+
#
|
139
|
+
# This method should return a list of items that is safe to iterate over while it is being altered.
|
140
|
+
def get_items
|
141
|
+
self.items.dup
|
142
|
+
end
|
143
|
+
|
137
144
|
# Return item's parent
|
138
145
|
# @return [Libis::Workflow::Base::WorkItem]
|
139
146
|
def get_parent
|
data/lib/libis/workflow/task.rb
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
module Libis
|
4
4
|
module Workflow
|
5
|
-
VERSION = '2.0.beta.
|
5
|
+
VERSION = '2.0.beta.21' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
6
6
|
end
|
7
7
|
end
|