jruby_activiti 1.0.1 → 1.0.2
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/.gitignore +1 -0
- data/CHANGELOG +3 -0
- data/README.md +5 -5
- data/jruby_activiti.gemspec +1 -1
- data/lib/jruby_activiti/version.rb +1 -1
- data/test/base_test.rb +2 -1
- metadata +13 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ef37bf10d71dd32e4edd31744ed986d6f9c8e6f
|
|
4
|
+
data.tar.gz: 81513699bc37ce0594c6c19103320436dd9432a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70924820bddc0eb9a8761587d44fb9e20cf78da391f0179137bc8a895dde2bdccbd6abe2da52448f4ba6fe4c633e54ff8a06f8ff73bf32d60238e0d9dfa314f6
|
|
7
|
+
data.tar.gz: 8bb7d7c2a76c3ee7b18080d92c896843bb576d8e51d7d6b096a33eb0c25b97c255b2425fa99ab19ea2b6857405e416921ff2dd87f04df4b2877b5159879913e0
|
data/.gitignore
CHANGED
data/CHANGELOG
ADDED
data/README.md
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
# JrubyActiviti
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Inspired by https://github.com/boberetezeke/jruby-activiti.
|
|
3
|
+
You can directly access Activiti BPM in Ruby Web Application.
|
|
5
4
|
|
|
6
5
|
## Test Environments
|
|
7
6
|
JRuby-9.0.3.0, Activiti-5.18.0
|
|
8
7
|
|
|
9
8
|
## Installation
|
|
10
9
|
|
|
11
|
-
Git clone this project.
|
|
12
|
-
|
|
13
10
|
Add this line to your application's Gemfile:
|
|
14
11
|
|
|
15
12
|
```ruby
|
|
16
|
-
gem 'jruby_activiti'
|
|
13
|
+
gem 'jruby_activiti'
|
|
17
14
|
```
|
|
18
15
|
|
|
19
16
|
create a `Jarfile`. Example:
|
|
@@ -60,6 +57,9 @@ repositoryService.createDeployment().
|
|
|
60
57
|
## Warning
|
|
61
58
|
Do not create Activiti Engine in a Rails application repeatedly. Otherwise you will get exception `log writing failed. Bad file descriptor - Bad file descriptor`
|
|
62
59
|
|
|
60
|
+
## Thanks
|
|
61
|
+
Inspired by https://github.com/boberetezeke/jruby-activiti
|
|
62
|
+
|
|
63
63
|
## Contributing
|
|
64
64
|
|
|
65
65
|
1. Fork it ( https://github.com/richfisher/jruby_activiti/fork )
|
data/jruby_activiti.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = JrubyActiviti::VERSION
|
|
9
9
|
spec.authors = ["richfisher"]
|
|
10
10
|
spec.email = ["richfisher.pan@gmail.com"]
|
|
11
|
-
spec.summary = "Interact with Activiti BPM in JRuby,
|
|
11
|
+
spec.summary = "Interact with Activiti BPM in JRuby, https://github.com/richfisher/jruby_activiti"
|
|
12
12
|
spec.description = spec.summary
|
|
13
13
|
spec.homepage = "https://github.com/richfisher/jruby_activiti"
|
|
14
14
|
spec.license = "MIT"
|
data/test/base_test.rb
CHANGED
|
@@ -7,7 +7,8 @@ class BaseTest < Minitest::Test
|
|
|
7
7
|
repositoryService = ActivitiEngine.getRepositoryService()
|
|
8
8
|
repositoryService.createDeployment().
|
|
9
9
|
addClasspathResource("test/VacationRequest.bpmn20.xml").
|
|
10
|
-
deploy()
|
|
10
|
+
deploy()
|
|
11
|
+
end
|
|
11
12
|
|
|
12
13
|
def test_create_deploy
|
|
13
14
|
repositoryService = ActivitiEngine.getRepositoryService()
|
metadata
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jruby_activiti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- richfisher
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: minitest
|
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
|
15
16
|
requirements:
|
|
16
17
|
- - ">="
|
|
17
18
|
- !ruby/object:Gem::Version
|
|
18
19
|
version: '5.8'
|
|
19
|
-
name: minitest
|
|
20
|
-
prerelease: false
|
|
21
20
|
type: :development
|
|
21
|
+
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '5.8'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: jbundler
|
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
|
29
30
|
requirements:
|
|
30
31
|
- - ">="
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
33
|
version: '0.9'
|
|
33
|
-
name: jbundler
|
|
34
|
-
prerelease: false
|
|
35
34
|
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0.9'
|
|
41
|
-
description: Interact with Activiti BPM in JRuby,
|
|
41
|
+
description: Interact with Activiti BPM in JRuby, https://github.com/richfisher/jruby_activiti
|
|
42
42
|
email:
|
|
43
43
|
- richfisher.pan@gmail.com
|
|
44
44
|
executables: []
|
|
@@ -46,6 +46,7 @@ extensions: []
|
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
48
|
- ".gitignore"
|
|
49
|
+
- CHANGELOG
|
|
49
50
|
- Gemfile
|
|
50
51
|
- Jarfile
|
|
51
52
|
- Jarfile.lock
|
|
@@ -63,7 +64,7 @@ homepage: https://github.com/richfisher/jruby_activiti
|
|
|
63
64
|
licenses:
|
|
64
65
|
- MIT
|
|
65
66
|
metadata: {}
|
|
66
|
-
post_install_message:
|
|
67
|
+
post_install_message:
|
|
67
68
|
rdoc_options: []
|
|
68
69
|
require_paths:
|
|
69
70
|
- lib
|
|
@@ -78,11 +79,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
79
|
- !ruby/object:Gem::Version
|
|
79
80
|
version: '0'
|
|
80
81
|
requirements: []
|
|
81
|
-
rubyforge_project:
|
|
82
|
+
rubyforge_project:
|
|
82
83
|
rubygems_version: 2.4.8
|
|
83
|
-
signing_key:
|
|
84
|
+
signing_key:
|
|
84
85
|
specification_version: 4
|
|
85
|
-
summary: Interact with Activiti BPM in JRuby,
|
|
86
|
+
summary: Interact with Activiti BPM in JRuby, https://github.com/richfisher/jruby_activiti
|
|
86
87
|
test_files:
|
|
87
88
|
- test/VacationRequest.bpmn20.xml
|
|
88
89
|
- test/activiti.cfg.xml
|