bpm_manager 0.10.8 → 0.10.9

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: 2901ae5fe03c8af276592fcd111570b31cf61dea
4
- data.tar.gz: c2bf0b3da3b29f41cca6c8312583e40ea54b473d
3
+ metadata.gz: 857cb1c869a64a93422f52258c7862563af045fb
4
+ data.tar.gz: 3e62f0ecab5c59a0e4a715bb700514a5e8246456
5
5
  SHA512:
6
- metadata.gz: b106f66c024170949a2a3b2229d6b4cb955b8bb3ba949cb19608c9b6d26e9bb1bc14a16d1716305d5a9df3b9897b6639a08b28eacdcad0398cc4eb99da39cefd
7
- data.tar.gz: ac2d951cf79276c18cc59892a36d4ee7d6b8a9751af445d5a80bd9dae89a32ea8f74f21503c6e8a86f08597f17ebf37d1924cb795de7f2d80525443ae3500172
6
+ metadata.gz: df9b3d534da5fe1be16fa045457cee954156475b235005a12284f0e9a3f81df8af56a13241df3048cfb05a1dbaf2b046a081b403a0c2c6a9774c1e514beffea0
7
+ data.tar.gz: bd5738bc71ba9b7301e73884643f7e580b5414c71918ed7fca9d18eabfd58cbe3d0364cdf5038b7c97e4373fb3c4b038e77981034b06f460f6ae98eee67be9bf
@@ -11,12 +11,12 @@ module BpmManager
11
11
 
12
12
  # Creates a new Process
13
13
  def self.create_process(deployment_id, process_definition_id, opts = {})
14
- BpmManager.server[URI.encode(BpmManager.uri('/runtime/' + deployment_id.to_s + '/process/' + process_definition_id.to_s + '/start' + (opts.empty? ? '' : '?' + opts.map{|k,v| k.to_s + '=' + v.to_s}.join('&'))))].post
14
+ BpmManager.server['/runtime/' + deployment_id.to_s + '/process/' + process_definition_id.to_s + '/start'].post(opts)
15
15
  end
16
16
 
17
17
  # Gets all Process Instances
18
18
  def self.process_instances
19
- JSON.parse(RestClient.get(BpmManager.uri('/history/instances'), :accept => :json))
19
+ JSON.parse(BpmManager.server['/history/instances'].get)
20
20
  end
21
21
 
22
22
  # Gets a Process Instance
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.10.8"
2
+ VERSION = "0.10.9"
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: 0.10.8
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa