soap4r-middleware 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,12 @@ class Soap4r::Middleware::Base
75
75
  if conn_data.is_nocontent
76
76
  status = 202 # ACCEPTED
77
77
  elsif conn_data.is_fault
78
- status = 500 # INTERNAL_SERVER_ERROR
78
+ # rather than sending the 500 here, let's bubble up the exception so the
79
+ # parent application can do with it what it will. The only downside is
80
+ # soap4r has already converted the exception into a soap response body at
81
+ # this point, which isn't what we want at all.
82
+ # maybe someday i'll re-parse the response or something. but not today.
83
+ raise conn_data.send_string
79
84
  else
80
85
  body = conn_data.send_string
81
86
  end
@@ -1,5 +1,5 @@
1
1
  module Soap4r
2
2
  module Middleware
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soap4r-middleware
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 0
10
- version: 0.8.0
9
+ - 1
10
+ version: 0.8.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Palmer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-08 00:00:00 -07:00
18
+ date: 2011-03-09 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency