bpm_manager 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bpm_manager.gemspec +2 -2
- data/lib/bpm_manager/red_hat.rb +9 -9
- data/lib/bpm_manager/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c46e2d247aa72a568336cd59a8edafb440363685
|
4
|
+
data.tar.gz: b630d95a4bfcb9599b60a536166e23c70b1b8b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc69e3ae67c00eebebdc3453c85309cbdd63ae5fbd124570da658da15e95784282e31ca01d0a67a53d8bcb22d8b0e2bca19655ed942a9abd59d1140dc8f314d
|
7
|
+
data.tar.gz: 4f5b4d6fa79dbf0209f6ab3c0299488596eec01d03af24843ea3389d88967ceb9906b3a73bb8f72f1dea09d26895ef4aa214e11a20b95c4ed203f58bff2effc2
|
data/bpm_manager.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = BpmManager::VERSION
|
9
9
|
spec.authors = ["Ariel Presa"]
|
10
10
|
spec.email = ["arielpresa@gmail.com"]
|
11
|
-
spec.summary = %q{BPM Manager Gem for RedHat
|
12
|
-
spec.description = %q{Simple BPM integration with RedHat
|
11
|
+
spec.summary = %q{BPM Manager Gem for RedHat BPM engine.}
|
12
|
+
spec.description = %q{Simple BPM integration with RedHat BPM engine. Use this gem to avoid REST calls in your code. Enjoy.}
|
13
13
|
spec.homepage = "http://www.beatcoding.com"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -58,32 +58,32 @@ module BpmManager
|
|
58
58
|
|
59
59
|
# Starts a Task
|
60
60
|
def self.start_task(task_id)
|
61
|
-
BpmManager.server['/task/' + task_id.to_s + '/start'].post
|
61
|
+
BpmManager.server['/task/' + task_id.to_s + '/start'].post({})
|
62
62
|
end
|
63
63
|
|
64
64
|
# Releases a Task
|
65
65
|
def self.release_task(task_id)
|
66
|
-
BpmManager.server['/task/' + task_id.to_s + '/release'].post
|
66
|
+
BpmManager.server['/task/' + task_id.to_s + '/release'].post({})
|
67
67
|
end
|
68
68
|
|
69
69
|
# Stops a Task
|
70
70
|
def self.stop_task(task_id)
|
71
|
-
BpmManager.server['/task/' + task_id.to_s + '/stop'].post
|
71
|
+
BpmManager.server['/task/' + task_id.to_s + '/stop'].post({})
|
72
72
|
end
|
73
73
|
|
74
74
|
# Suspends a Task
|
75
75
|
def self.suspend_task(task_id)
|
76
|
-
BpmManager.server['/task/' + task_id.to_s + '/suspend'].post
|
76
|
+
BpmManager.server['/task/' + task_id.to_s + '/suspend'].post({})
|
77
77
|
end
|
78
78
|
|
79
79
|
# Resumes a Task
|
80
80
|
def self.resume_task(task_id)
|
81
|
-
BpmManager.server['/task/' + task_id.to_s + '/resumes'].post
|
81
|
+
BpmManager.server['/task/' + task_id.to_s + '/resumes'].post({})
|
82
82
|
end
|
83
83
|
|
84
84
|
# Skips a Task
|
85
85
|
def self.skip_task(task_id)
|
86
|
-
BpmManager.server['/task/' + task_id.to_s + '/skip'].post
|
86
|
+
BpmManager.server['/task/' + task_id.to_s + '/skip'].post({})
|
87
87
|
end
|
88
88
|
|
89
89
|
# Completes a Task
|
@@ -100,12 +100,12 @@ module BpmManager
|
|
100
100
|
|
101
101
|
# Fails a Task
|
102
102
|
def self.fail_task(task_id)
|
103
|
-
BpmManager.server['/task/' + task_id.to_s + '/fail'].post
|
103
|
+
BpmManager.server['/task/' + task_id.to_s + '/fail'].post({})
|
104
104
|
end
|
105
105
|
|
106
106
|
# Exits a Task
|
107
107
|
def self.exit_task(task_id)
|
108
|
-
BpmManager.server['/task/' + task_id.to_s + '/exit'].post
|
108
|
+
BpmManager.server['/task/' + task_id.to_s + '/exit'].post({})
|
109
109
|
end
|
110
110
|
|
111
111
|
# Gets the Process History
|
@@ -119,7 +119,7 @@ module BpmManager
|
|
119
119
|
|
120
120
|
# Clears all the History --WARNING: Destructive action!--
|
121
121
|
def self.clear_all_history()
|
122
|
-
BpmManager.server['/history/clear'].post
|
122
|
+
BpmManager.server['/history/clear'].post({})
|
123
123
|
end
|
124
124
|
|
125
125
|
# Gets the SLA for a Process Instance
|
data/lib/bpm_manager/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bpm_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ariel Presa
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Simple BPM integration with RedHat
|
69
|
+
description: Simple BPM integration with RedHat BPM engine. Use this gem to avoid
|
70
70
|
REST calls in your code. Enjoy.
|
71
71
|
email:
|
72
72
|
- arielpresa@gmail.com
|
@@ -112,7 +112,7 @@ rubyforge_project:
|
|
112
112
|
rubygems_version: 2.5.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
|
-
summary: BPM Manager Gem for RedHat
|
115
|
+
summary: BPM Manager Gem for RedHat BPM engine.
|
116
116
|
test_files:
|
117
117
|
- spec/oracle_spec.rb
|
118
118
|
- spec/red_hat_spec.rb
|