libis-workflow-mongoid 2.0.30 → 2.1.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84c98094e074f81335230217d2f7e2be04db46d4923184b677aa7609aa2774c4
|
4
|
+
data.tar.gz: 7507f107aed1b5737c0d71e253f079536d4243715f2fec2f0746fdba8b81505e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42de09d6300ee24099f3eb1c7e16e50d329db278fb272f490c4468469162ba01406463ea630fe2d223ae91663ad8b9f80463b66c7e015fd7b1d8567a8148e29b
|
7
|
+
data.tar.gz: 2c285fa0f871f5d328a2b13bc28ab05e0dfac38eda524df5abf8d86fc751ce6c33f987328b5a2bf22c5cb06a05e1bf0e09c037212e12d3155d83bfe4f2d5a917
|
@@ -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
|
4
|
+
VERSION = '2.1.0' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
|
5
5
|
end
|
6
6
|
end
|
7
7
|
end
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.require_paths = ['lib']
|
30
30
|
|
31
31
|
spec.add_runtime_dependency 'libis-workflow', '~> 2.0'
|
32
|
-
spec.add_runtime_dependency 'mongoid', '
|
32
|
+
spec.add_runtime_dependency 'mongoid', '~> 8.1'
|
33
33
|
|
34
34
|
spec.add_development_dependency 'bundler'
|
35
35
|
spec.add_development_dependency 'rake'
|
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
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libis-workflow
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: mongoid
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '8.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '8.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.
|
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.
|