troelskn-handsoap 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/handsoap/service.rb +3 -3
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 3
3
- :patch: 5
3
+ :patch: 6
4
4
  :major: 0
@@ -229,13 +229,13 @@ module Handsoap
229
229
  logger.puts "---"
230
230
  logger.puts Handsoap.pretty_format_envelope(response[:body])
231
231
  end
232
- if response[:status] >= 300
233
- return on_http_error(response[:status], response[:body])
234
- end
235
232
  soap_response = Response.new(response[:body], self.class.envelope_namespace)
236
233
  if soap_response.fault?
237
234
  return on_fault(soap_response.fault)
238
235
  end
236
+ if response[:status] >= 300
237
+ return on_http_error(response[:status], response[:body])
238
+ end
239
239
  unless soap_response.document?
240
240
  return on_missing_document(soap_response)
241
241
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: troelskn-handsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-28 00:00:00 -07:00
12
+ date: 2009-06-30 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15