libsaml 2.19.8 → 2.19.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 172700f959e0f1477def503be2667f2e2368e6b1
4
- data.tar.gz: 670dac3763dca7a9e6998dc633bb5b52a9e28d39
3
+ metadata.gz: ec8329f0054303133b79486dbde40b6468adae9f
4
+ data.tar.gz: 76672a327b1c26136b92ebcdf71cf56b3daa47b2
5
5
  SHA512:
6
- metadata.gz: 2d895084cafa1ac803c7c2e1d43e1c4383d55a7c60c2f75d5b0c474b1dc100465aa764293009dc099d072b5128fd55629f29c556d9152fa88b55b00d866ce53d
7
- data.tar.gz: 9c7548cc650f74708e7cecfa70b9bdee0efdac69767d684703dc2e291e85ba6500f8392ab9eb18e39d4a178dd735cdb284a27013b08b7901d57b5adc4434b61f
6
+ metadata.gz: 384bdc61d79252931ccf7630d951728a6c41b10bc8654a3039693f8f789e95c4418fbbd2dd65f960ca1f872b1dbb96be984929ccfaaef54a2270e97dc853df6f
7
+ data.tar.gz: f4ebee2651222d3951bc58dd39fb268684525815f8fd6f7e79e076fa67962f3caf3fec842c30dfae3decae008bf771792cf2c451aebc5ff69181b2d3bddf3aa6
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.19.8"
2
+ VERSION = "2.19.9"
3
3
  end
@@ -39,13 +39,13 @@ module Saml
39
39
  xml.parent.namespace = xml.parent.namespace_definitions.find { |n| n.prefix == 'soapenv' }
40
40
 
41
41
  if header_options = options[:header]
42
- xml.Header do |xml|
43
- xml.MessageID(header_options[:wsa_message_id].presence || "uuid:#{SecureRandom.uuid}")
44
- xml.Action(header_options[:wsa_action])
45
- xml.To(header_options[:wsa_to]) if header_options[:wsa_to]
42
+ xml.Header('xmlns:wsa' => 'http://schemas.xmlsoap.org/ws/2004/08/addressing') do |xml|
43
+ xml['wsa'].MessageID(header_options[:wsa_message_id].presence || "uuid:#{SecureRandom.uuid}")
44
+ xml['wsa'].Action(header_options[:wsa_action])
45
+ xml['wsa'].To(header_options[:wsa_to]) if header_options[:wsa_to]
46
46
  if header_options[:wsa_address]
47
- xml.ReplyTo do |xml|
48
- xml.Address(header_options[:wsa_address])
47
+ xml['wsa'].ReplyTo do |xml|
48
+ xml['wsa'].Address(header_options[:wsa_address])
49
49
  end
50
50
  end
51
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.19.8
4
+ version: 2.19.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen