bpmn 0.0.2 → 0.0.4
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 +4 -4
- data/README.md +2 -2
- data/lib/bpmn/execution.rb +1 -1
- data/lib/bpmn/version.rb +1 -1
- metadata +19 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88b66d9681af34dac4da67457035d19417043a488f4bae078e5d4fef961877d
|
4
|
+
data.tar.gz: 8538d9db52a1e668b414ece540f07cfdcf3f20b7c9f4c780add094c4cd15f098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb13c9f980fd12902b6969c108ccac9da5e8d8af1eada1d565db5faa17fd5db18d051d2a5b5028eddcdb591dadd153e2bb12dcacc028a6926ce8521e7ee7e0d4
|
7
|
+
data.tar.gz: 2e0aba8426e69d4dcead425323aaa91213b44642a84de03be20c6a9bd3cf1ba40599a3947d32a514b2dc2275a80adb01ddee2b55c7284cdc7b097bcd82fa6d28
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# BPMN
|
2
2
|
|
3
|
-
|
3
|
+
A workflow engine for Ruby applications based on the [BPMN](https://www.bpmn.org) standard. It executes business processes defined in a [modeler](https://camunda.com/download/modeler/). It uses [DMN](https://github.com/connectedbits/bpmn/tree/main/dmn) to evaluate business rules and [FEEL](https://github.com/connectedbits/bpmn/tree/main/feel) to evaluate expressions in the BPMN model.
|
4
4
|
|
5
5
|
## Usage
|
6
6
|
|
data/lib/bpmn/execution.rb
CHANGED
@@ -29,7 +29,7 @@ module BPMN
|
|
29
29
|
step = step_type == "Process" ? context.process_by_id(step_id) : context.element_by_id(step_id)
|
30
30
|
child_attributes = attributes.delete("children")
|
31
31
|
Execution.new(attributes.merge(step: step, context:)).tap do |execution|
|
32
|
-
execution.children = child_attributes.map do |ca|
|
32
|
+
execution.children = child_attributes.map do |ca|
|
33
33
|
Execution.from_json(ca, context:).tap { |child| child.parent = execution }
|
34
34
|
end if child_attributes
|
35
35
|
end
|
data/lib/bpmn/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bpmn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connected Bits
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: dmn
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: 0.0.4
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 0.0.4
|
13
26
|
- !ruby/object:Gem::Dependency
|
14
27
|
name: activemodel
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,8 +191,8 @@ dependencies:
|
|
178
191
|
- - ">="
|
179
192
|
- !ruby/object:Gem::Version
|
180
193
|
version: '0'
|
181
|
-
description:
|
182
|
-
|
194
|
+
description: BPMN is a workflow gem for Ruby applications based on the BPMN standard.
|
195
|
+
It executes business processes and rules defined in a modeler.
|
183
196
|
email:
|
184
197
|
- info@connectedbits.com
|
185
198
|
executables: []
|
@@ -210,7 +223,6 @@ licenses:
|
|
210
223
|
metadata:
|
211
224
|
homepage_uri: https://www.connectedbits.com
|
212
225
|
source_code_uri: https://github.com/connectedbits/process_pilot
|
213
|
-
post_install_message:
|
214
226
|
rdoc_options: []
|
215
227
|
require_paths:
|
216
228
|
- lib
|
@@ -225,8 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
237
|
- !ruby/object:Gem::Version
|
226
238
|
version: '0'
|
227
239
|
requirements: []
|
228
|
-
rubygems_version: 3.
|
229
|
-
signing_key:
|
240
|
+
rubygems_version: 3.6.5
|
230
241
|
specification_version: 4
|
231
242
|
summary: A BPMN workflow engine in Ruby
|
232
243
|
test_files: []
|