handsoap 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -93,6 +93,15 @@ For parsing XML, Handsoap defaults to use [Nokogiri](http://github.com/tenderlov
93
93
 
94
94
  Finally, there is a library for generating XML, which you'll use when mapping from Ruby to SOAP. It's quite similar to [Builder](http://builder.rubyforge.org/), but is tailored towards being used for writing SOAP-messages. The name of this library is `XmlMason` and it is included/part of Handsoap.
95
95
 
96
+ Maintainers & Contributors
97
+ ---
98
+
99
+ Handsoap is maintained by [Unwire A/S](http://www.unwire.dk), namely [Troels Knak-Nielsen](http://github.com/troelskn) and [Jimmi Westerberg](http://github.com/jimmiw), with the help of many other contributors.
100
+
101
+ Use the git command below to see a list of them all. (GIT command was found at formtastic)
102
+
103
+ git shortlog -n -s --no-merges
104
+
96
105
  License
97
106
  ---
98
107
 
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
+ :patch: 6
2
3
  :major: 1
3
4
  :minor: 1
4
- :patch: 5
5
5
  :build:
@@ -225,8 +225,10 @@ module Handsoap
225
225
  options[:soap_action] = nil
226
226
  end
227
227
  doc = make_envelope do |body,header|
228
- options[:soap_header].each_pair do |k,v|
229
- header.add k,v
228
+ if options[:soap_header]
229
+ options[:soap_header].each_pair do |k,v|
230
+ header.add k,v
231
+ end
230
232
  end
231
233
 
232
234
  body.add action
@@ -376,8 +378,10 @@ module Handsoap
376
378
  request = Handsoap::Http::Request.new(uri, :post)
377
379
 
378
380
  # SSL CA AND CLIENT CERTIFICATES
379
- request.set_trust_ca_file(http_options[:trust_ca_file])
380
- request.set_client_cert_files(http_options[:client_cert_file],http_options[:client_cert_key_file])
381
+ if http_options
382
+ request.set_trust_ca_file(http_options[:trust_ca_file]) if http_options[:trust_ca_file]
383
+ request.set_client_cert_files(http_options[:client_cert_file],http_options[:client_cert_key_file]) if http_options[:client_cert_file] && http_options[:client_cert_key_file]
384
+ end
381
385
 
382
386
  headers.each do |key, value|
383
387
  request.add_header(key, value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-01-12 00:00:00 +01:00
13
+ date: 2010-01-16 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies: []
16
16