libis-workflow-mongoid 2.0.19 → 2.0.20

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: 0dbf52eb295a357488cc482b75e3b3cf2ab4c2a8
4
- data.tar.gz: aafeac6cd8e4a50a9864d422c2de51a7894ee8c4
3
+ metadata.gz: 8b2fcf15d25a51f92ac2da66e29570e077312e86
4
+ data.tar.gz: 4c79360d938f02648aa58997724c49f685427ba4
5
5
  SHA512:
6
- metadata.gz: 092ae4d3b766b028096ad93c2b3ee85865dd433675d943338aa979e524fbb7b4da3cca8b535c782915524b747067eea995c6b39ede4dd069a28ac0668dd2289f
7
- data.tar.gz: 28b502a5aaa9cb58f4781ccecfc174b33020ff2393b58c7ec69701aa9883ee4bf336b4f2da9d8d638946208666598bd33b63fd6716bf7ac3bcd38db1c2a61baf
6
+ metadata.gz: 25b9af3d73239bb046ffaaf7ee60e3fc7fb48e9ac33f19e3c82d6c4b864a238040e048f3bae6314a287e58f2512e719db2ddfce3f1aafd0702cc02b057ba1988
7
+ data.tar.gz: 188efecda8f378e2f66e0d1d321231f1e6f4835618c80bf89d26703011ea2cca77cd207c346192408ff065db921e6aa8590af46705b7ab536031c12595313b78
@@ -1,7 +1,7 @@
1
1
  module Libis
2
2
  module Workflow
3
3
  module Mongoid
4
- VERSION = '2.0.19' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
4
+ VERSION = '2.0.20' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
5
5
  end
6
6
  end
7
7
  end
@@ -33,7 +33,7 @@ module Libis
33
33
  new_item = item.dup
34
34
  yield new_item, item if block_given?
35
35
  new_item.parent = nil
36
- item.items.each { |i| new_item.move_item(i) }
36
+ item.get_items.each { |i| new_item.move_item(i) }
37
37
  self.add_item(new_item)
38
38
  if item.parent
39
39
  item.parent.items.delete(item)
@@ -42,7 +42,7 @@ module Libis
42
42
  end
43
43
 
44
44
  def get_items
45
- self.items.to_a
45
+ self.items.no_timeout
46
46
  end
47
47
 
48
48
  protected
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.19
4
+ version: 2.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-01 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libis-workflow