bpm_manager 1.0.34 → 1.0.35
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 +0 -2
- 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: 501be0fa60c774f4abf0101a5b84fb6d596636c2
|
4
|
+
data.tar.gz: 0c913425c7735e65ab314083a56814e6f4968164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8539659afa14cc471cfc34c6c3e92beb6e6aa4983597c8b20a0280859f4e02ab166cd5aa97bd2872b1a393a28c6941bdad05cda37432e58fad9f41cd76b7408a
|
7
|
+
data.tar.gz: 2c8a0efabf75856d73a824d9175bd88579088be9ceabc5c335b1cab7aaab86ccedfdf552a48d90a1b8697dae38d4f83f10a921dc65cd699849ae93379a4a6461
|
data/lib/bpm_manager/red_hat.rb
CHANGED
@@ -189,8 +189,6 @@ module BpmManager
|
|
189
189
|
unless my_task.nil?
|
190
190
|
sla = OpenStruct.new(:task => OpenStruct.new, :process => OpenStruct.new)
|
191
191
|
|
192
|
-
puts '-----> Ends on: ' + my_task.process.end_on.to_s
|
193
|
-
|
194
192
|
# Calculates the process sla
|
195
193
|
sla.process.status = calculate_sla(my_task.process.start_on, my_task.process.end_on, process_sla_hours, warning_offset_percent)
|
196
194
|
sla.process.status_name = (calculate_sla(my_task.process.start_on, my_task.process.end_on, process_sla_hours, warning_offset_percent) == 0) ? 'ok' : (calculate_sla(my_task.process.start_on, my_task.process.end_on, process_sla_hours, warning_offset_percent) == 1 ? 'warning' : 'due')
|
data/lib/bpm_manager/version.rb
CHANGED