libis-workflow-mongoid 2.0.30 → 2.0.31

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f008b2769119c29bd99fed00eb5b0c9bd832918310c35a999608342990f55ec
4
- data.tar.gz: 578f056c2d38f7ca6e6b19b4a23a5875435f22a2a7a27aea42ccacc85e7e7e78
3
+ metadata.gz: 020e4c65a75745a54bc31fdddf6e2e2e3f8fe2388595316edf7aa53b90f8c1f8
4
+ data.tar.gz: f957c1a167d566a33a83d340978892ca565012b407ff74f58c1da293734a9714
5
5
  SHA512:
6
- metadata.gz: d4e67aa30895f5fa53b251c2434a0f5e8c21440218fb11ace03300d65351163be3936b5a21a560dce4797d257ed04179e4f08c3016dc1c2b9caf279991341fc1
7
- data.tar.gz: db2f1d83a268b9366e13f23f0af08e8d5352457ed6afd2a6a2b643807febba9d1d9efd413072edae8abd5e8611df09ad50495ff73b57702944558d3926be1a80
6
+ metadata.gz: 68b590edffd7743e081e43457d443ecd19fafc5c672d4e7772e063ecec312dd12561af0f26d5f4b0f61a91c6e06bc6a476dbc815571139237b9f417789d98a1a
7
+ data.tar.gz: 59fe98601d3a76b8030cc6c7b4ab8dc44ea9784eabe7f6d70b5c235e1bf81519f8d679b73d6af47230847fa72deeef0e06dd53554e2131b9b8034ccfda130b2b
@@ -23,6 +23,9 @@ module Libis
23
23
 
24
24
  index({job_id: 1, job_type: 1, start_date: 1}, {sparse: 1, name: 'by_job'})
25
25
 
26
+ has_many :items, as: :parent, class_name: Libis::Workflow::Mongoid::WorkItem.to_s,
27
+ dependent: :destroy, autosave: true, order: :c_at.asc
28
+
26
29
  set_callback(:destroy, :before) do |document|
27
30
  document.rm_workdir
28
31
  document.rm_log
@@ -1,7 +1,7 @@
1
1
  module Libis
2
2
  module Workflow
3
3
  module Mongoid
4
- VERSION = '2.0.30' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
4
+ VERSION = '2.0.31' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
5
5
  end
6
6
  end
7
7
  end
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.30
4
+ version: 2.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2023-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libis-workflow
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubygems_version: 3.2.15
159
+ rubygems_version: 3.1.6
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Mongoid persistence for the LIBIS Workflow framework.