washout_builder 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Nzc5N2ZlODIyZTZhZGYzMzcyNzY0MWI2ZmVlYjk4MTkwMjYwY2Q0Mg==
4
+ MGZkMGI2MWRmZjllMmI0YmQzNTY1YWE2NWY2MjNiZTU2NjI2ZDVjYw==
5
5
  data.tar.gz: !binary |-
6
- MTAwYjA3M2NiMzM2MTM2NDhmNThiNWEyZDIwODkxMjhlOGUyMzdjZQ==
6
+ ODAzNmNiOWQ5MmU3NTEzMmNlYmEzZDY1N2EzYTIyYmMyNWRjNTFmNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODhhMzBjMDBhNDM0MDQzMzQxY2ZjMzNkYmQ4MWUxNmFjOGY5NjMxMjIyMTJk
10
- NjM0MjBmNDAyMGI0MzU0YWI3MGIxN2Q0MTc4NGY4YTVmMjFlYTQxNTc0MjI3
11
- MTJiYzYxNDliMzI5YTUzMzUxODdmYWY3Y2Q1NGMwNDZmYTE5ZjY=
9
+ NDdiMzcwZTM2MzJhNTY2OTFlNzhkOWY3ODIyZmY2OTdjNDBjMGZjOGQxMTg2
10
+ OTNlODhiZTMyYTU5MGE4MWNmOTg0ZWZkNDdmNzg4NzdmMDA0MWRjOTNhYzM5
11
+ NjhiNzY4NzliYjVmYTA5YmE0MTEzNDkyNTdiMjRkZGY3ZWVmOTU=
12
12
  data.tar.gz: !binary |-
13
- NjdkN2MxNzliODRiNDRlZTE4Y2ViZGRhZWVmNTdlNGVjOTVkYmYwMmUwZjlh
14
- OTEwYzU2NzFjYjRiYzVjZDRlM2NjNTQwODFkODMyMzczYzE0YzFjYTU2MmFh
15
- MWY4NWNkMDAwMWM4MmM1YTdjMWVlNzM2ZThjNWUyNWE5ODczYTY=
13
+ ZjE3NDA5MTBhNDA3NmE3YTgzNmI5NWYxNGIxOTE3NjYyMDk0MDA1MjU0ZGQy
14
+ MzZkMTUwODg2YTE5MWEzNzQ4NjAxNDllNTAzMjg2MzEzOTU2YWVlM2JmM2I2
15
+ N2U1NDQzNWVlM2FlZTQzZDRkOWQ5YTdiMDA5NjZjZjJmZGE5MTc=
@@ -128,7 +128,7 @@ module WashoutBuilderHelper
128
128
  fault_types = []
129
129
  defined << WashOut::SOAPError
130
130
  defined.each{ |item| get_fault_class_ancestors(item, fault_types, true)} unless defined.blank?
131
- fault_types = fault_types.sort_by { |hash| hash[:fault].to_s.downcase }.uniq unless fault_types.blank?
131
+
132
132
  complex_types = []
133
133
  fault_types.each do |hash|
134
134
  hash[:structure].each do |attribute, attr_details|
@@ -147,6 +147,8 @@ module WashoutBuilderHelper
147
147
 
148
148
  end
149
149
  end
150
+ complex_types.delete_if{ |hash| fault_types << hash if hash[:fault].ancestors.include?(WashOut::SOAPError) } unless complex_types.blank?
151
+ fault_types = fault_types.sort_by { |hash| hash[:fault].to_s.downcase }.uniq unless fault_types.blank?
150
152
  complex_types = complex_types.sort_by { |hash| hash[:fault].to_s.downcase }.uniq unless complex_types.blank?
151
153
  [fault_types, complex_types]
152
154
  end
@@ -1,3 +1,3 @@
1
1
  module WashoutBuilder
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: washout_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada