washout_builder 0.11.4 → 0.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.rdoc +2 -0
- data/app/controllers/{washout_builder_controller.rb → washout_builder/washout_builder_controller.rb} +1 -1
- data/config/routes.rb +5 -0
- data/lib/washout_builder/engine.rb +1 -3
- data/lib/washout_builder/version.rb +1 -1
- data/lib/washout_builder.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTdiOWI2ZTgyNGVlMWViZDQ2ZjZmOTM5YjA4OTc1ZWI3ZjEzNzliYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmQxYzc4NTdlN2RmMzJhNzAwODEzZmQ1ZGNhZjQ2NGQ1YjE2M2JmNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTcwNDgwODI2NTc5YzJkNWJjZjg2ZDc4N2Q2ZmZlZWI0Njc5NzVmOGY5YzU1
|
10
|
+
NDI2MThiODMzMmRiZjRmYTE5NmEwNTM4YjEwNGE1NzhjYThkYzNlZGI5MWVk
|
11
|
+
YzI1YTZkMGIwOWMzMTA4ZDY2MWRlNjY3NDllMzQxYTAyNTc4ZGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWM5ODFiZTRjNWQwOWFjZjYyOTQyZjgwNTVjMjEwZDRhZDI3NDYzZDg4MmFk
|
14
|
+
ZjhjNTBkMzVhMjM2ODQwODIyYWJkYjI4NjYyMTI5MjA1OGUzMjdjOTQ0N2Ni
|
15
|
+
ZmQwNjE4YTFmODU2MGM1OGY1M2YyNTM1MzEwMjQ4YmM4YzIyN2I=
|
data/README.rdoc
CHANGED
@@ -69,6 +69,8 @@ In the following file +config/routes.rb+ you can put this configuration
|
|
69
69
|
wash_out :my_other_service
|
70
70
|
end
|
71
71
|
|
72
|
+
mount WashoutBuilder::Engine => "/washout"
|
73
|
+
|
72
74
|
You can access the url +/washout+ and you will see a list with available services ( in our case there are only two : The RumbasController and MyOtherServiceController) with links to their documentation and where you can find the WSDL.
|
73
75
|
|
74
76
|
If you want to access directly the hml documentation that was generated for RumbasController you can do that by accessing url +/rumbas/doc+ And the WSDL will be available at +/rumbas/wsdl+
|
data/config/routes.rb
ADDED
@@ -1,9 +1,7 @@
|
|
1
1
|
module WashoutBuilder
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
+
isolate_namespace WashoutBuilder
|
3
4
|
initializer "wash_out.configuration" do |app|
|
4
|
-
app.routes.append do
|
5
|
-
match "/washout" => "washout_builder#all", :via => :get, :format => false
|
6
|
-
end
|
7
5
|
if app.config.wash_out[:catch_xml_errors]
|
8
6
|
app.config.middleware.insert_after 'ActionDispatch::ShowExceptions', WashOut::Middleware if defined?(WashOut::Middleware)
|
9
7
|
app.config.middleware.insert_after 'ActionDispatch::ShowExceptions', WashOut::Middlewares::Catcher if defined?(WashOut::Middlewares::Catcher)
|
data/lib/washout_builder.rb
CHANGED
@@ -18,7 +18,7 @@ module ActionDispatch::Routing
|
|
18
18
|
# Adds the routes for a SOAP endpoint at +controller+.
|
19
19
|
def wash_out(controller_name, options={})
|
20
20
|
options.reverse_merge!(@scope) if @scope
|
21
|
-
|
21
|
+
|
22
22
|
match "#{controller_name}/doc" => "#{controller_name}#_generate_doc", :via => :get, :format => false
|
23
23
|
original_wash_out(controller_name, options)
|
24
24
|
|
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.11.
|
4
|
+
version: 0.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
@@ -54,10 +54,11 @@ files:
|
|
54
54
|
- LICENSE
|
55
55
|
- README.rdoc
|
56
56
|
- Rakefile
|
57
|
-
- app/controllers/washout_builder_controller.rb
|
57
|
+
- app/controllers/washout_builder/washout_builder_controller.rb
|
58
58
|
- app/helpers/washout_builder_helper.rb
|
59
59
|
- app/views/wash_with_html/all_services.builder
|
60
60
|
- app/views/wash_with_html/doc.builder
|
61
|
+
- config/routes.rb
|
61
62
|
- init.rb
|
62
63
|
- lib/washout_builder.rb
|
63
64
|
- lib/washout_builder/dispatcher.rb
|