shapewear 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  Gemfile.lock
2
+ .idea
@@ -62,7 +62,20 @@ module Shapewear::Request
62
62
  end
63
63
  end
64
64
 
65
+ #noinspection RubyArgCount
65
66
  def serialize_soap_fault(ex)
66
- raise ex
67
+ logger.debug "Serializing SOAP Fault: #{ex.inspect}"
68
+
69
+ xb = Builder::XmlMarkup.new
70
+ xb.instruct!
71
+
72
+ xb.Envelope :xmlns => namespaces['env'] do |xenv|
73
+ xenv.Body do |xbody|
74
+ xbody.Fault do |xf|
75
+ xf.faultcode e.class.name
76
+ xf.faultstring e.message
77
+ end
78
+ end
79
+ end
67
80
  end
68
81
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Shapewear
4
4
 
5
- Version = "0.0.5"
5
+ Version = "0.0.6"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapewear
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - "F\xC3\xA1bio Batista"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-06 00:00:00 Z
18
+ date: 2012-01-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: builder
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  requirements: []
198
198
 
199
199
  rubyforge_project: shapewear
200
- rubygems_version: 1.8.11
200
+ rubygems_version: 1.8.10
201
201
  signing_key:
202
202
  specification_version: 3
203
203
  summary: Make your fat service look skinny