bpm_manager 1.0.27 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8a6f49416561e761fda0bb2e976975a0599b9fd
4
- data.tar.gz: 99f02ee5a75421f52985bbf8527c3a24ad19d8a3
3
+ metadata.gz: e07a91578a92ae66fc27c4d953c720cc3a479239
4
+ data.tar.gz: 1128a8f026fcdd7a7b7fe0c8305e02943d6c801f
5
5
  SHA512:
6
- metadata.gz: 541176784815a3fee5d45ced45158de8c3da9ed4d87580429a742b7803c15e766e1334e640b53fe52699e805b592a5a7a83cb584ee818630c5a57baeb4c397e1
7
- data.tar.gz: 64b74e3057d2e5a0307fa3dfe13ebfc297d54ecef37e904ce8021162828df36cf0daf6f98620f9faa8667ef1504fc5b4a804f42a5cdeaebfc040e23b13f418d7
6
+ metadata.gz: 08e339575f7d7fece25481db646bb7182b2521909dbbdb0e3bdd51fc259d1cf99dc337d9bff88638196701dbb75935a2867990bb424295514f30585dc8cd83f4
7
+ data.tar.gz: 1d086c3c55475dc77b4f143a4c504ffd90fa3c558c15a43011f50b48b330b7e7b48fb27d95e3137d01ea8a827d1ce6efc2ad018c95183aa3ed588c3ce2e59e33
@@ -165,7 +165,7 @@ module BpmManager
165
165
 
166
166
  # Gets the SLA for a Process Instance
167
167
  def self.get_process_sla(process_instance_id, process_sla_hours = 0, warning_offset_percent = 20)
168
- my_process = JSON.parse(BpmManager.server['/history/instance/' + process_instance_id.to_s].get)
168
+ my_process = self.process_instance(process_instance_id)
169
169
 
170
170
  unless my_process.nil?
171
171
  sla = OpenStruct.new(:process => OpenStruct.new)
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "1.0.27"
2
+ VERSION = "1.0.28"
3
3
  end
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: 1.0.27
4
+ version: 1.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa