Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanRada committed Dec 4, 2013
1 parent 08f4736 commit a1e700b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/helpers/washout_builder_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def get_class_ancestors(param,class_name, defined)
def get_nested_complex_types(param, defined)
defined = [] if defined.blank?
complex_class = get_complex_class_name(param, defined)
if param.classified? && !complex_class.nil?
defined << {:class =>complex_class, :obj => param, :ancestors => get_class_ancestors(param, complex_class, defined)}
if param.classified?
defined << {:class =>complex_class, :obj => param, :ancestors => get_class_ancestors(param, complex_class, defined)} unless complex_class.nil?
else
defined << {:class =>complex_class, :obj => param}
defined << {:class =>complex_class, :obj => param} unless complex_class.nil?
end
if param.is_complex?
c_names = []
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.5.1"
VERSION = "0.5.2"
end

0 comments on commit a1e700b

Please sign in to comment.