jruby_activiti 1.2.0 → 1.2.1
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/.ruby-version +1 -0
- data/Jarfile +1 -1
- data/Jarfile.lock +5 -5
- data/README.md +10 -10
- data/lib/jruby_activiti/version.rb +1 -1
- data/test/base_test.rb +1 -1
- data/test/{VacationRequest.bpmn20.xml → resources/VacationRequest.bpmn20.xml} +0 -0
- data/test/{activiti.cfg.xml → resources/activiti.cfg.xml} +0 -0
- data/test/test_helper.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e703dba663fa296d8d44984fe46b78b8bd9a7fbe
|
|
4
|
+
data.tar.gz: ff1a77a827f31481d9fa67336e4e566f3446b801
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 098be44353e7be866456424b7ca11c0ae594f6e77e6e84c90160a5d80b57f5ea285114590ff614edb99bda531b7fedc41d0ec27ba33b6c0e6a049a3d7731d022
|
|
7
|
+
data.tar.gz: d9852a383236ec8d453d260630b55bddb1e8a8365a8e348038c69c7ca92d50b22447eb2e4a46ae05a6e5f48a626d5c1997cc2827152fda7b60204c2cd2097197
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jruby-9.0.3.0
|
data/Jarfile
CHANGED
data/Jarfile.lock
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
:runtime:
|
|
3
|
-
- org.activiti:activiti-bpmn-
|
|
3
|
+
- org.activiti:activiti-bpmn-converter:jar:5.19.0
|
|
4
4
|
- org.apache.commons:commons-email:jar:1.4
|
|
5
|
-
- org.activiti:activiti-bpmn-
|
|
5
|
+
- org.activiti:activiti-bpmn-model:jar:5.19.0
|
|
6
|
+
- org.activiti:activiti-engine:jar:5.19.0
|
|
6
7
|
- com.sun.mail:javax.mail:jar:1.5.2
|
|
7
8
|
- log4j:log4j:jar:1.2.17
|
|
8
9
|
- org.slf4j:slf4j-api:jar:1.7.6
|
|
9
10
|
- org.yaml:snakeyaml:jar:1.14
|
|
10
11
|
- com.fasterxml.jackson.core:jackson-databind:jar:2.2.3
|
|
11
|
-
- org.activiti:activiti-image-generator:jar:5.18.0
|
|
12
12
|
- org.springframework:spring-core:jar:4.1.5.RELEASE
|
|
13
13
|
- commons-logging:commons-logging:jar:1.2
|
|
14
14
|
- org.slf4j:jcl-over-slf4j:jar:1.7.6
|
|
15
|
+
- org.activiti:activiti-process-validation:jar:5.19.0
|
|
15
16
|
- org.mybatis:mybatis:jar:3.2.5
|
|
16
17
|
- com.h2database:h2:jar:1.4.190
|
|
17
|
-
- org.activiti:activiti-
|
|
18
|
+
- org.activiti:activiti-image-generator:jar:5.19.0
|
|
18
19
|
- com.fasterxml.jackson.core:jackson-annotations:jar:2.2.3
|
|
19
20
|
- joda-time:joda-time:jar:2.6
|
|
20
21
|
- javax.activation:activation:jar:1.1.1
|
|
21
22
|
- org.apache.commons:commons-lang3:jar:3.3.2
|
|
22
23
|
- com.fasterxml.jackson.core:jackson-core:jar:2.2.3
|
|
23
24
|
- org.slf4j:slf4j-log4j12:jar:1.7.12
|
|
24
|
-
- org.activiti:activiti-engine:jar:5.18.0
|
|
25
25
|
- org.springframework:spring-beans:jar:4.1.5.RELEASE
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
You can directly access Activiti BPM in JRuby Application.
|
|
4
4
|
|
|
5
5
|
## Test Environment
|
|
6
|
-
JRuby-9.0.3.0, Activiti-5.
|
|
6
|
+
JRuby-9.0.3.0, Activiti-5.19.0
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -34,15 +34,15 @@ And then execute `jbundle install`
|
|
|
34
34
|
## Usage
|
|
35
35
|
You can access Activiti directly by using `Activiti`. For example, in a Rails controller
|
|
36
36
|
|
|
37
|
-
```
|
|
38
|
-
Activiti::Engine
|
|
39
|
-
Activiti::RepositoryService
|
|
40
|
-
Activiti::RuntimeService
|
|
41
|
-
Activiti::TaskService
|
|
42
|
-
Activiti::ManagementService
|
|
43
|
-
Activiti::IdentityService
|
|
44
|
-
Activiti::HistoryService
|
|
45
|
-
Activiti::FormService
|
|
37
|
+
``` ruby
|
|
38
|
+
# Activiti::Engine
|
|
39
|
+
# Activiti::RepositoryService
|
|
40
|
+
# Activiti::RuntimeService
|
|
41
|
+
# Activiti::TaskService
|
|
42
|
+
# Activiti::ManagementService
|
|
43
|
+
# Activiti::IdentityService
|
|
44
|
+
# Activiti::HistoryService
|
|
45
|
+
# Activiti::FormService
|
|
46
46
|
|
|
47
47
|
Activiti::RepositoryService.createDeployment().
|
|
48
48
|
addClasspathResource("config/your_bpm_xml_file.bpmn20.xml").
|
data/test/base_test.rb
CHANGED
|
@@ -7,7 +7,7 @@ Activiti = JrubyActiviti::Activiti
|
|
|
7
7
|
class BaseTest < Minitest::Test
|
|
8
8
|
def deploy_vacation_request
|
|
9
9
|
Activiti::RepositoryService.createDeployment().
|
|
10
|
-
addClasspathResource("test/VacationRequest.bpmn20.xml").
|
|
10
|
+
addClasspathResource("test/resources/VacationRequest.bpmn20.xml").
|
|
11
11
|
deploy()
|
|
12
12
|
end
|
|
13
13
|
|
|
File without changes
|
|
File without changes
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jruby_activiti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- richfisher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -46,6 +46,7 @@ extensions: []
|
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
48
|
- ".gitignore"
|
|
49
|
+
- ".ruby-version"
|
|
49
50
|
- CHANGELOG
|
|
50
51
|
- Gemfile
|
|
51
52
|
- Jarfile
|
|
@@ -59,9 +60,9 @@ files:
|
|
|
59
60
|
- lib/generators/jruby_activiti/templates/initializer.rb
|
|
60
61
|
- lib/jruby_activiti.rb
|
|
61
62
|
- lib/jruby_activiti/version.rb
|
|
62
|
-
- test/VacationRequest.bpmn20.xml
|
|
63
|
-
- test/activiti.cfg.xml
|
|
64
63
|
- test/base_test.rb
|
|
64
|
+
- test/resources/VacationRequest.bpmn20.xml
|
|
65
|
+
- test/resources/activiti.cfg.xml
|
|
65
66
|
- test/test_helper.rb
|
|
66
67
|
homepage: https://github.com/richfisher/jruby_activiti
|
|
67
68
|
licenses:
|
|
@@ -88,7 +89,7 @@ signing_key:
|
|
|
88
89
|
specification_version: 4
|
|
89
90
|
summary: Access and interact with Activiti BPM in JRuby directly, https://github.com/richfisher/jruby_activiti
|
|
90
91
|
test_files:
|
|
91
|
-
- test/VacationRequest.bpmn20.xml
|
|
92
|
-
- test/activiti.cfg.xml
|
|
93
92
|
- test/base_test.rb
|
|
93
|
+
- test/resources/VacationRequest.bpmn20.xml
|
|
94
|
+
- test/resources/activiti.cfg.xml
|
|
94
95
|
- test/test_helper.rb
|