washout_builder 0.8.9 → 0.8.10

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
- OTE2YzJiNTcwZjZhMTM3MmEzN2ZhN2RhYjFjNDRmZWE5ZWYyN2NmMQ==
4
+ YTRmODY1NTJkNmVmNDY4N2QyMDkxYWFjYWI2ODU0NWRmYTNlYWQ5Mw==
5
5
  data.tar.gz: !binary |-
6
- NjkzOWY4ODYxNDA5ZjkzODBkOGY4ZTE0NWMyYmUyYjZlZGI0MWY3Yw==
6
+ YjE2Mzk3ZmZmOWQ3NWFmMGFiZGIwZmExNjAxYjA5NmUxM2FmNDdmMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWY4N2QwMjg2ZjczODU0NDJkM2EzNmE4NzdkZDNiOTEwZDk1MzlmOTc1N2Nm
10
- OGIyZGY3OTAwODVhZTg2YzMxMzRmNWY0NTk3MzA4NTgwZjU4MGRlYjVjZmNl
11
- OTY1ODNlYWMzZWZmZmUwNzRhMjgwYzFlY2FjZDVmZTA2MTgzZTc=
9
+ NzNhMTgxNzljYjUxZWUyY2FiMTAzZTIwYzZhZDFlNzhjYzg4OTcxYzhjNzgw
10
+ NjI0MDU1OWMyMGYyNjIwOTRiZGI5NzE1MTAwNjE2NDk5N2FmNWQ1MWRmN2Jh
11
+ NGUyMGNjOWFmMzhmZmEyNmJiNDMyOTNkZDMyNWRkNmVmMGViZTk=
12
12
  data.tar.gz: !binary |-
13
- OTA5OTJkNDc3ODZmMDdjZTZmODczNzE0YTdlMzQ0MjE0MDA2ZmQyYjlmMjRl
14
- OTNhMDg0ZWI1ZTdlNTRhNWRlOTdhNDliMDllNzkzOGVhOWE4YjZjNzU5MWVh
15
- MTY0NDgwNGU4MDVhNDQ5NzI4NjAxYTRlYWY0YTZkMjdiZDg4MzQ=
13
+ Njk5NjcyNGM5OTA5YmUyZGZiNjQ0MDcwNmNjYTdmNjg1YTFmOWRiNzc1NjMx
14
+ MzgxZTUzOTk3ODNlYzQ1MzU1NDkwNTdmNDc0NmEwYWQzYzY1NzNmNmYyOWQ1
15
+ ZjQ3ZTIzNDk1ODVkYzEzNDQ5ZTg0ZDdhZjNlYjRjZDk1YzUzMzE=
@@ -50,14 +50,17 @@ xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) {
50
50
  xml.div("class" => "noprint") {
51
51
 
52
52
  xml.h2 "Index "
53
- xml.p "Complex Types: "
54
53
  @complex_types = get_complex_types(@map)
55
- xml.ul do
56
- @complex_types.each do |hash|
57
- xml.li { |y| y << "<a href='##{hash[:class]}'><span class='pre'>#{hash[:class]}</span></a>" }
54
+ unless @complex_types.blank?
55
+ xml.p "Complex Types: "
56
+
57
+ xml.ul do
58
+ @complex_types.each do |hash|
59
+ xml.li { |y| y << "<a href='##{hash[:class]}'><span class='pre'>#{hash[:class]}</span></a>" }
60
+ end
58
61
  end
62
+
59
63
  end
60
-
61
64
  @fault_types = get_fault_types_names(@map)
62
65
  unless @fault_types.blank?
63
66
  xml.p "Fault Types: "
@@ -69,12 +72,12 @@ xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) {
69
72
  end
70
73
  end
71
74
 
72
- methods = get_soap_action_names(@map)
73
- unless methods.blank?
75
+ @methods = get_soap_action_names(@map)
76
+ unless @methods.blank?
74
77
  xml.p "Public Methods:"
75
78
 
76
79
  xml.ul do
77
- methods.each do |name|
80
+ @methods.each do |name|
78
81
  xml.li { |y| y << "<a href='##{name}'><span class='pre'>#{name}</span></a>" }
79
82
  end
80
83
  end
@@ -82,17 +85,24 @@ xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) {
82
85
 
83
86
  }
84
87
 
85
- xml.h2 "Complex types:"
86
- create_html_complex_types(xml, @complex_types)
87
-
88
+ unless @complex_types.blank?
89
+ xml.h2 "Complex types:"
90
+ create_html_complex_types(xml, @complex_types)
91
+ end
88
92
  unless @fault_types.blank?
89
93
  xml.h2 "Fault types:"
90
94
  create_html_fault_types_details(xml, @map)
91
95
  end
92
-
93
- xml.h2 "Public methods:"
94
- create_html_public_methods(xml, @map)
95
-
96
+ unless @methods.blank?
97
+ xml.h2 "Public methods:"
98
+ create_html_public_methods(xml, @map)
99
+ end
100
+
101
+ if @complex_types.blank? && @fault_types.blank? && @methods.blank?
102
+ xml.p "There are no soap actions defined yet for this service. Please add some actions and try again!"
103
+ end
104
+
105
+
96
106
  }
97
107
 
98
108
  }
@@ -1,3 +1,3 @@
1
1
  module WashoutBuilder
2
- VERSION = "0.8.9"
2
+ VERSION = "0.8.10"
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.8.9
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada