libis-workflow 2.0.23 → 2.0.24

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: 979b56ae0ac9760a07e46d7d2cfd53e303d15c22
4
- data.tar.gz: d648b583fb9c6206014f772e6d10e4477c38fc5d
3
+ metadata.gz: 94e06f629357d6d5c6e980a0dee777f85f1007be
4
+ data.tar.gz: 27ad93c04124bd0d9c54d602dba76dce94a2713b
5
5
  SHA512:
6
- metadata.gz: 50333dbbeb840a8dbd9dccb03535644d4e468c435f619f0a9d9156dfa0b7279a096491b6b5f7fd2608c1682f30ba57c808b04933e3f292282a29019d0acfc78f
7
- data.tar.gz: 04acf0ddf0f3f8b73d6c5cf4998190108d155a3a143265ee69d4ca6eb3519c2d4d9ef9b58bb595f74f7b03be53a5f4f53440808bd45d1d7bc604213842a1bbbe
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 is safe to iterate over while it is being altered.
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
 
@@ -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).get_items
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.23' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.23
4
+ version: 2.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser