bpm_manager 0.5.1 → 0.5.2

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: b3e38b0d6962acf21a49685f8429fc92cbb88881
4
- data.tar.gz: e8284c820e3d4bc4733b19a98de897d3e96bb79d
3
+ metadata.gz: 85e5b6b07204015dd5d5b3c2dfd515f7828d0274
4
+ data.tar.gz: 942512ee51a75963136c198206eff83c45ead4cd
5
5
  SHA512:
6
- metadata.gz: 5a2757a753453e32e22a48cda17acb81d9051bfa99d8df6608b17238f5cc850df609507830816c93f311dd90a6e8a605cb92a1c04901d364bdecaad123d5d0f2
7
- data.tar.gz: 542d51614fc300eb9023412b2251a4ed00c113401c67aced57c82b3aa1e09f52d5ba8d0b17a8976fc834dae6810a65204e32733c6108a3047ea167eb525822b2
6
+ metadata.gz: 4c9dd74f1d4c3cde1feacd32c788e998e52c1ebf0ab2a919325b7b2005e7372f3cc502746112145746f8317d43fd8f69deceb2af0a773e451bba8662abc55586
7
+ data.tar.gz: 6f45d68fda38b0a086c24923c5992abe7691de584f5045679161f0732abfd090e5289337a3dac87db579f95f7e95f6824a887e88e185266d7a83e34ad6b59fd9
data/bpm_manager.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = BpmManager::VERSION
9
9
  spec.authors = ["Ariel Presa"]
10
10
  spec.email = ["arielpresa@gmail.com"]
11
- spec.summary = %q{BPM Manager Gem for RedHat jBPM & Oracle BPM engines.}
12
- spec.description = %q{Simple BPM integration with RedHat jBPM & Oracle BPM engines. Use this gem to avoid REST calls in your code. Enjoy.}
11
+ spec.summary = %q{BPM Manager Gem for RedHat jBPM engine.}
12
+ spec.description = %q{Simple BPM integration with RedHat jBPM engine. Use this gem to avoid REST calls in your code. Enjoy.}
13
13
  spec.homepage = "http://www.beatcoding.com"
14
14
  spec.license = "MIT"
15
15
 
@@ -31,7 +31,11 @@ module BpmManager
31
31
 
32
32
  # Gets a Process Instance Variables
33
33
  def self.process_instance_variables(deployment_id, process_instance_id)
34
- JSON.parse(RestClient.get(BpmManager.uri('/runtime/' + deployment_id.to_s + '/withvars/process/instance/' + process_instance_id.to_s), :accept => :json))['variables']
34
+ begin
35
+ JSON.parse(RestClient.get(BpmManager.uri('/runtime/' + deployment_id.to_s + '/withvars/process/instance/' + process_instance_id.to_s), :accept => :json))['variables']
36
+ rescue
37
+ return nil
38
+ end
35
39
  end
36
40
 
37
41
  # Assigns a Task for an User
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpm_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -66,8 +66,8 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: Simple BPM integration with RedHat jBPM & Oracle BPM engines. Use this
70
- gem to avoid REST calls in your code. Enjoy.
69
+ description: Simple BPM integration with RedHat jBPM engine. Use this gem to avoid
70
+ REST calls in your code. Enjoy.
71
71
  email:
72
72
  - arielpresa@gmail.com
73
73
  executables: []
@@ -110,7 +110,7 @@ rubyforge_project:
110
110
  rubygems_version: 2.4.2
111
111
  signing_key:
112
112
  specification_version: 4
113
- summary: BPM Manager Gem for RedHat jBPM & Oracle BPM engines.
113
+ summary: BPM Manager Gem for RedHat jBPM engine.
114
114
  test_files:
115
115
  - spec/red_hat_spec.rb
116
116
  - spec/spec_helper.rb