washout_builder 0.9.6 → 0.9.7
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 +8 -8
- data/app/helpers/washout_builder_helper.rb +3 -1
- data/lib/washout_builder/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGZkMGI2MWRmZjllMmI0YmQzNTY1YWE2NWY2MjNiZTU2NjI2ZDVjYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODAzNmNiOWQ5MmU3NTEzMmNlYmEzZDY1N2EzYTIyYmMyNWRjNTFmNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDdiMzcwZTM2MzJhNTY2OTFlNzhkOWY3ODIyZmY2OTdjNDBjMGZjOGQxMTg2
|
10
|
+
OTNlODhiZTMyYTU5MGE4MWNmOTg0ZWZkNDdmNzg4NzdmMDA0MWRjOTNhYzM5
|
11
|
+
NjhiNzY4NzliYjVmYTA5YmE0MTEzNDkyNTdiMjRkZGY3ZWVmOTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
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
|