bpm_manager 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bpm_manager/red_hat.rb +1 -1
- data/lib/bpm_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d8294133359fe4d3f79b7d8df035fae01f9013f
|
4
|
+
data.tar.gz: 804193e23a7f56559ad8e72c930d26a277919142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d956f349b2608cb98465a343f44aebd0389e83a8bde7ae85bf1d49131a69e883369dd7f7f5b3d91e22889f2d84a35d68d5b8bdb6bee3756436ea0f46a2e2d417
|
7
|
+
data.tar.gz: bfee484819d942bde6b09e6cbcbe3cc6d8803487de5e86aa735e824cb1aeca00cc5b7bcfd3123eacdccf38dfca18268e9468bd25c620de8f8de10ae0f482ae21
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -135,7 +135,7 @@ module BpmManager
|
|
135
135
|
sla.process.percent = calculate_sla_percent(my_task.process.start_on, process_sla_hours, warning_offset_percent)
|
136
136
|
|
137
137
|
# Calculates the task sla
|
138
|
-
sla.task.status = calculate_sla(my_task.
|
138
|
+
sla.task.status = calculate_sla(my_task.created_on, task_sla_hours, warning_offset_percent)
|
139
139
|
sla.task.status_name = (calculate_sla(my_task.created_on, task_sla_hours, warning_offset_percent) == 0) ? 'ok' : (calculate_sla(my_task.created_on, task_sla_hours, warning_offset_percent) == 1 ? 'warning' : 'due')
|
140
140
|
sla.task.percent = calculate_sla_percent(my_task.created_on, task_sla_hours, warning_offset_percent)
|
141
141
|
else
|
data/lib/bpm_manager/version.rb
CHANGED