Skip to content

Commit

Permalink
Merge branch 'release/v0.8.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Dec 9, 2013
2 parents e8a10ad + 446b3eb commit 770d045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/helpers/washout_builder_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ def get_class_ancestors(param,class_name, defined)
def fix_descendant_wash_out_type(param, complex_class)
param_class = complex_class.is_a?(Class) ? complex_class : complex_class.constantize rescue nil
if !param_class.nil? && param_class.ancestors.include?(WashOut::Type) && !param.map[0].nil?
param.name = param.map[0].name
param.map = WashOut::Param.parse_def(@soap_config, param_class.wash_out_param_map)[0].map
descendant = WashOut::Param.parse_def(@soap_config, param_class.wash_out_param_map)[0]
param.name = descendant.name
param.map = descendant.map
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/washout_builder/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module WashoutBuilder
VERSION = "0.8.6"
VERSION = "0.8.7"
end

0 comments on commit 770d045

Please sign in to comment.