troelskn-handsoap 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/handsoap/service.rb +4 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 5
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
@@ -157,7 +157,7 @@ module Handsoap
157
157
  # Hook that is called after the http_client is created.
158
158
  #
159
159
  # You can override this to customize the http_client
160
- def on_after_create_http_client(http_client)
160
+ def on_after_create_http_request(http_request)
161
161
  end
162
162
  # Hook that is called when there is a response.
163
163
  #
@@ -211,7 +211,9 @@ module Handsoap
211
211
  http = Handsoap::Http.drivers[Handsoap.http_driver]
212
212
  response = http.send_http_request(request)
213
213
  debug do |logger|
214
- logger.puts response.inspect(&Handsoap.pretty_format_envelope)
214
+ logger.puts(response.inspect do |body|
215
+ Handsoap.pretty_format_envelope(body).chomp
216
+ end)
215
217
  end
216
218
  return response
217
219
  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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen