libsaml 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96e1ed3dae1be84fd736b5b2f58016f753ffe71f
4
- data.tar.gz: be2b30ad244f4a178613d8f6e4f7bc8cd73493f0
3
+ metadata.gz: 9be8613210f181d63889dee7927dd4c30ef02c76
4
+ data.tar.gz: 63a675fbe2602725d461f994fe80ed1b55e0178c
5
5
  SHA512:
6
- metadata.gz: 2553a45f3df12353e734842cb4cc56b5e8a058ec90351a1fb6af1fccbf73de1ececd02147824f3df1ac4e2acd8540571a608965e991aa84d957442355ac7854d
7
- data.tar.gz: 05cfc386efdfa698d04e5c5c8004879cc048afc65a72780480c836d42cdb0d00b3e8290edbf2032f1aec5fbf31c5b2bda98717f120738d0fad331b18e78d5c1e
6
+ metadata.gz: c926d638b01d059d3817ebeb8968354f4cee62125551138a8c26381f0ba20707bc5b9e6328aea8b96fdc6af6c4347ac6d5fd18c82b8cf4e5f6ea46f39792b30e
7
+ data.tar.gz: dd092afc386202a94a5757418df9ac0575ecf705651fefc9485d09c6d788c1d711f20ea1fbcd0edcb51918f858ffd9240cc7902a424252f0d2d3bc9f5538aa79
data/lib/saml/base.rb CHANGED
@@ -30,6 +30,10 @@ module Saml
30
30
 
31
31
  module HappyMapperClassMethods
32
32
  def parse(xml, options = {})
33
+ if xml.is_a?(String)
34
+ ActiveSupport::XmlMini_REXML.parse(xml)
35
+ end
36
+
33
37
  object = super
34
38
  if object.is_a?(Array)
35
39
  object.map { |x| x.from_xml = true }
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport