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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTA0YzVmOTU3ZjJlMzZiZWEwZmI5Mzc5NmU5MDc1MmRiODRmYmNiNw==
4
+ ZTdiOWI2ZTgyNGVlMWViZDQ2ZjZmOTM5YjA4OTc1ZWI3ZjEzNzliYw==
5
5
  data.tar.gz: !binary |-
6
- MTM2NWNkNzM3ZWIwZDZiYjg2MDUwYmE0NjA0YTNkNjZiOWViZmU2Nw==
6
+ MmQxYzc4NTdlN2RmMzJhNzAwODEzZmQ1ZGNhZjQ2NGQ1YjE2M2JmNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2MzMDNiM2U4OTYyMDVhZjkxNzQ0NWM3OGZjMDdkZDNiZmNhZjBkNmU5Yzg5
10
- ZmM0MTdhNWY5NmQ5NzY1OTEzY2MwZDM1YThmNDcxZGJkOTc2OWUxZjk3Zjk0
11
- ODg5MTUzZTBhYjYxYTExNDljYmMzYTUyNGE5NGVlNjhmOGNjYWU=
9
+ OTcwNDgwODI2NTc5YzJkNWJjZjg2ZDc4N2Q2ZmZlZWI0Njc5NzVmOGY5YzU1
10
+ NDI2MThiODMzMmRiZjRmYTE5NmEwNTM4YjEwNGE1NzhjYThkYzNlZGI5MWVk
11
+ YzI1YTZkMGIwOWMzMTA4ZDY2MWRlNjY3NDllMzQxYTAyNTc4ZGU=
12
12
  data.tar.gz: !binary |-
13
- ZDUyNzVmMzY1YjYzNTJjNTFiM2JlNzU1MzcwNzQ5ZDhjYTc4YzRjZWQ4ZTBj
14
- NTdjNDA2MTg5ZWJkY2Y1YTgwZjcyYTI5YjE4YWY0NjY4MDljYTM1MWEyOTBl
15
- YTMyNTBiY2VlNzQxYzQ1M2VjMTMyNTI5OTEzN2MwMWYwODIzNjY=
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+
@@ -1,4 +1,4 @@
1
- class WashoutBuilderController < ActionController::Base
1
+ class WashoutBuilder::WashoutBuilderController < ActionController::Base
2
2
  protect_from_forgery
3
3
 
4
4
  def all
data/config/routes.rb ADDED
@@ -0,0 +1,5 @@
1
+ WashoutBuilder::Engine.routes.draw do
2
+ root :to =>"washout_builder#all"
3
+
4
+
5
+ end
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module WashoutBuilder
2
- VERSION = "0.11.4"
2
+ VERSION = "0.11.5"
3
3
  end
@@ -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
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