washout_builder 0.6.0 → 0.6.1

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
- ZjdjNmVjMTFiNGEzOGNjZmMwNjJhMGMwZGQzN2ZiNjNhMGJmNWMxOA==
4
+ YThlNjlkZGM4NmNiNWRlYjU0OGExNWVmYTg5ZjdlYTlkYjUyOTA2ZQ==
5
5
  data.tar.gz: !binary |-
6
- YWE0ZmU0MWQzYmZhMGQwZWM4MzUyNTkwOWY3N2Q3NzJjN2ViZTU3Nw==
6
+ ZDgxZmMzODVhNmRkOWU0OGQ2ZDdiZGQ0OWQ4MmE5MjMxOTMxMWE3Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTk5ZDEwNDg1ZDMwYmVkYTI2YjY5ZGFkMmJkMTRiMDY2ZWViNjEyZTQ0YTdj
10
- NGNkMTU2OTkwOTljZjY3ZTY0ZmU3MmE1Y2UwYzg2NGRhZGJjNjA0OWEwZDU0
11
- ZTE4YjE2NmNkYmJhOTczMGNiOGJjMjI4YzY5YjhmNWUxMjZjYjM=
9
+ ZjYyNzY4MzE2M2Y0OWFmOTA5ZTQyOWI4MTJiODEwNjE1OTk5YTU2MjkzYjJj
10
+ NTAzODlkYjMxNmU4MTkxZjAwZTAyOTE4Yzk0NjNkYzFhZDBiNzE4YTI2Y2Yy
11
+ N2IwMjdiZGJmMTA0YmU2YTJiNjg3ZDkxZTY3MjcwMTZlZDBiZTQ=
12
12
  data.tar.gz: !binary |-
13
- YzIyZDAwN2IwZTczMGJhNDViOWJhZTkxMjdkYWY1YTQyNDRjMTU5NjYzNmNi
14
- YjU2NGExNGNkYzM1NTEyZGEzNTIwNDlmZjU2MzcxNDZjNTQ4NWZiYWMwMDY1
15
- OGYxNDVhNDk3ODJhMGUwZmY5ZDE1Mjk1NWM2NTkwMDQwMDNlMzY=
13
+ M2JmOTE1OGYyOTk3M2E3MGRkZTk2OGI5NzBiMzVlZDM1YWNjM2Q1ZmE4NGFh
14
+ Yjc1Y2I0YTkyNGMwOGJkNzRjYmIyMWFiNDcwMWM5NDZhN2IwODQwODllZGYx
15
+ ZmZmMTI2NmZlZmY4OWI3MzM2MGRiNjJkZjU4NWFkMTU3NzY5OWU=
@@ -29,6 +29,7 @@ end
29
29
 
30
30
  Mime::Type.register "application/soap+xml", :soap
31
31
  ActiveRecord::Base.send :extend, WashOut::Model if defined?(ActiveRecord)
32
+ WashOut::Dispatcher::SOAPError.send :include, ActiveModel::MassAssignmentSecurity
32
33
 
33
34
  WashOut::SOAP::ClassMethods.class_eval do
34
35
  alias_method :original_soap_action, :soap_action
@@ -24,17 +24,7 @@ module WashoutBuilder
24
24
  :_generate_wsdl, :_generate_doc,:_invalid_action ]
25
25
  controller.send :before_filter, :_map_soap_parameters, :except => [
26
26
  :_generate_wsdl,:_generate_doc, :_invalid_action ]
27
- controller.send :around_filter, :_catch_soap_faults
28
27
  end
29
28
 
30
- def _catch_soap_faults
31
- yield
32
- rescue => exception
33
- if exception.class <= WashOut::Dispatcher::SOAPError
34
- WashOut::Dispatcher.send(:render_soap_error,exception.message, exception.code)
35
- else
36
- raise exception
37
- end
38
- end
39
29
  end
40
30
  end
@@ -1,3 +1,3 @@
1
1
  module WashoutBuilder
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada