bpm_manager 0.6.20 → 0.6.21

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3674cc8ec192a28909b8b7a5470d5fa21c4a60b9
4
- data.tar.gz: dda78c640f14bdc6ed1fd6327fd50bb37ffdb695
3
+ metadata.gz: ee3c1df73165a55923fdb334e9c74870948b8cf0
4
+ data.tar.gz: 4e36d54c8c479b6c81c4c52cfa1e2f9dc006036f
5
5
  SHA512:
6
- metadata.gz: 3ceff42ec4b452f8699a85f1a20deccdef65ec4d9e3cbd699422c149be9dce6871327f2826caedf6b8896561befd9432cbe18198841483838b5489e8a1a3f317
7
- data.tar.gz: d8d6a7046bc1e2679c5c9ce7b37e2cef745c0613dc60b86c17c465335fc6d0ba127de0c3612ab15868f5afe48fffa4b7a9f5379e438301d77561e6a688ef2e62
6
+ metadata.gz: c84e931ae425e383be54fef794a6002b501e6c29e8fa5e8b324630e94f6e43e0c6d784c27ca91f577fd68d81c9e9d492e83adf3e120d446f75f371eef56d0fb1
7
+ data.tar.gz: f608e4885270486d582a68fdddfab06229606dfab30301a403d9be002b35acdf0fb8d33b93e99c7945bae95a9d8a62bce0d3b0298988175524fc7a467dc9fab9
@@ -90,7 +90,7 @@ module BpmManager
90
90
  my_task.created_on = Time.parse(task['created_on'])
91
91
  my_task.active_on = Time.parse(task['created_on'])
92
92
  my_task.name = task['title']
93
- my_task.owner = task['assigned']
93
+ my_task.owner = task['owner']
94
94
  my_task.status = task['status']
95
95
  my_task.subject = ''
96
96
  my_task.description = ''
@@ -104,7 +104,7 @@ module BpmManager
104
104
  my_task.process.start_on = Time.parse(task['created_on'])
105
105
  my_task.process.name = task['processName']
106
106
  my_task.process.version = (process_info.nil? || process_info.empty?) ? '' : process_info['revision']
107
- my_task.process.creator = 'Not defined'
107
+ my_task.process.creator = task['creatorName']
108
108
  my_task.process.variables = nil # self.process_instance_variables(my_task.process.deployment_id, my_task.process.instance_id)
109
109
  tasks << my_task
110
110
  end
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.6.20"
2
+ VERSION = "0.6.21"
3
3
  end
data/spec/oracle_spec.rb CHANGED
@@ -3,10 +3,10 @@ require 'spec_helper'
3
3
  describe BpmManager do
4
4
  before :all do
5
5
  BpmManager.configure do |config|
6
- config.bpm_url = "54.69.103.84:7101"
7
- config.bpm_url_suffix = "/bpm/service/rest"
8
- config.bpm_username = "weblogic"
9
- config.bpm_password = "bc-admin"
6
+ config.bpm_url = "bpm.server.com"
7
+ config.bpm_url_suffix = "/jbpm-console/rest"
8
+ config.bpm_username = "scott"
9
+ config.bpm_password = "tiger"
10
10
  config.bpm_use_ssl = false
11
11
  end
12
12
  end
@@ -55,7 +55,7 @@ describe BpmManager do
55
55
 
56
56
  describe "#tasks" do
57
57
  before :each do
58
- @tasks = BpmManager::Oracle.tasks('weblogic')
58
+ @tasks = BpmManager::Oracle.tasks('foo@bar.com')
59
59
  end
60
60
 
61
61
  it "task should include the all attributes" do
@@ -143,17 +143,17 @@ describe BpmManager do
143
143
 
144
144
  describe "#assign_task" do
145
145
  before :each do
146
- @result = BpmManager::Oracle.assign_task(200307,'ariel@beatcoding.com')
146
+ @result = BpmManager::Oracle.assign_task(1,'foo@bar.com')
147
147
  end
148
148
 
149
149
  it "must return something" do
150
150
  expect(@result.length).to be > 0
151
151
  end
152
152
  end
153
-
153
+
154
154
  describe "#release_task" do
155
155
  before :each do
156
- @result = BpmManager::Oracle.release_task(200307)
156
+ @result = BpmManager::Oracle.release_task(1)
157
157
  end
158
158
 
159
159
  it "must return something" do
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.6.20
4
+ version: 0.6.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa