bpm_manager 0.6.22 → 0.6.23

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: e008ca49147b2987281069b72ad71a81c3db9ed4
4
- data.tar.gz: a4a91b5f4147f4a52d372483b7bc6455e1503613
3
+ metadata.gz: 2d461fdb436ac8465e308fccb930e2d1305b8090
4
+ data.tar.gz: 40877ccba15a20fb877f38234966b81c025bca31
5
5
  SHA512:
6
- metadata.gz: 5c7d19592ef2d83eba330d141a21f3f313b21b9fe4e15848b09ac2ee26c40c5ef6b0cc2521d1350899a30eef55825bfa7a61d934b57da0ed3c41f923f9c292cb
7
- data.tar.gz: 61f5b2f6bb894fa11b545cd297b07d78e7ab625c5f0a37f0b4681e834cb65559f52c877e5c66c9f45a333f4c3c1dd05e1d9eead3805aa4455c522324f47ca2b9
6
+ metadata.gz: 999bfbab6ce771769ce0d0a5b9f250a23eedc5bfbbe35e4c1fd7ddfbc718607575ad509d4344b218c29a959b9a2020471c8257978c851c3e5c6d122b7b5e15cf
7
+ data.tar.gz: 6079a569195ae222592d110f6946c81c6523c456bbc89dcf6b8c5eb50d79e8d7338c3005229944a18989dbf9cdb0afc147d1cfc71235941557ad77a80280961c
@@ -78,7 +78,7 @@ module BpmManager
78
78
  def self.structure_task_data(input)
79
79
  tasks = []
80
80
 
81
- unless input.nil?
81
+ unless input.nil? || input.empty?
82
82
  input.each do |task|
83
83
  my_task = OpenStruct.new
84
84
  my_task.process = OpenStruct.new
@@ -92,7 +92,7 @@ module BpmManager
92
92
  def self.structure_task_data(input)
93
93
  tasks = []
94
94
 
95
- unless input['taskSummaryList'].nil?
95
+ unless input['taskSummaryList'].nil? || input['taskSummaryList'].empty?
96
96
  input['taskSummaryList'].each do |task|
97
97
  my_task = OpenStruct.new
98
98
  my_task.process = OpenStruct.new
@@ -1,3 +1,3 @@
1
1
  module BpmManager
2
- VERSION = "0.6.22"
2
+ VERSION = "0.6.23"
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.6.22
4
+ version: 0.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Presa