diff options
| author | mo <mo.khan@gmail.com> | 2018-01-27 11:59:04 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-01-27 11:59:04 -0700 |
| commit | 3d63acb0471587f28d5cd85ac63b1010632398bf (patch) | |
| tree | 364f5a800ffa02e8f7397d8139e0c6a348da5dc4 /lib/saml | |
| parent | 3b8aa3f32029e530658a7c345d8f46146b98d842 (diff) | |
fix how error messages are aggregated from xml-kitv1.0.1
Diffstat (limited to 'lib/saml')
| -rw-r--r-- | lib/saml/kit/trustable.rb | 4 | ||||
| -rw-r--r-- | lib/saml/kit/version.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/saml/kit/trustable.rb b/lib/saml/kit/trustable.rb index 1c8bc9f..52c1048 100644 --- a/lib/saml/kit/trustable.rb +++ b/lib/saml/kit/trustable.rb @@ -52,8 +52,8 @@ module Saml "samlp": Namespaces::PROTOCOL, }) xml.valid? - xml.errors.each do |error| - errors[:base] << error + xml.errors.each do |attribute, error| + errors[attribute] << error end end diff --git a/lib/saml/kit/version.rb b/lib/saml/kit/version.rb index b72f918..fcf10e9 100644 --- a/lib/saml/kit/version.rb +++ b/lib/saml/kit/version.rb @@ -1,5 +1,5 @@ module Saml module Kit - VERSION = "1.0.0" + VERSION = "1.0.1" end end |
