libsaml 2.10.0 → 2.10.1

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: 882f50e4ac23264d5ca2b47dca17df3805e8a6ed
4
- data.tar.gz: 52e24e2e5867fd8709011f2c5e96b1a3d8f56ea9
3
+ metadata.gz: 76be700d6630972274c34cf096963b6d8ed968b4
4
+ data.tar.gz: 8a4185526ad6fa515a5e1289a460930a36d916a1
5
5
  SHA512:
6
- metadata.gz: d4b5a5bef05f0756775db7cbe1922fb1fe8b62cb84807c43a832cca8b66f571e3db090c321d7e49fd8365f57547dc3725f91469c1e85bd1a62d33719e380d7b2
7
- data.tar.gz: d346b7bcb9c684047717ff157615b16fbf35cfd2c09de5f9e9b6f95f66036182c44a68344dbef7a33e2c169a1aac1097375496dcc6b03a04b6b74f0de792dac4
6
+ metadata.gz: 7d1e7f8fbf16261a7e291b3917ccacf1c7c61f9757a67c381df7402e2c794f44e479d5d792b98f339c1aa6b0425937d7a0d661b56d90ac9b014eab369bb1b0a9
7
+ data.tar.gz: a71eb3e0a43e0ddfe7baaf8157e945be2cbc0f3ef525b56872662e7ee9aea3f9ef1c8d3de76315e4a69a3a404f4bdc9704956dd7051126f2beb299e2f9c51f18
@@ -16,9 +16,9 @@ module Saml
16
16
 
17
17
  def initialize(*args)
18
18
  options = args.extract_options!
19
- @status = Saml::Elements::Status.new(:status_code => Saml::Elements::StatusCode.new(:value => options.delete(:status_value),
20
- :sub_status_value => options.delete(:sub_status_value)),
21
- :status_detail => Saml::Elements::StatusDetail.new(:status_value => options.delete(:status_detail)))
19
+ @status = Saml::Elements::Status.new(status_code: Saml::Elements::StatusCode.new(value: options.delete(:status_value),
20
+ sub_status_value: options.delete(:sub_status_value)))
21
+ @status.status_detail = Saml::Elements::StatusDetail.new(status_value: options.delete(:status_detail)) if options[:status_detail]
22
22
  super(*(args << options))
23
23
  end
24
24
 
@@ -9,6 +9,8 @@ module Saml
9
9
  has_one :status_code, Saml::Elements::StatusCode
10
10
  has_one :status_detail, Saml::Elements::StatusDetail
11
11
 
12
+ element :status_message, String, tag: 'StatusMessage'
13
+
12
14
  validates :status_code, :presence => true
13
15
 
14
16
  end
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.10.0"
2
+ VERSION = "2.10.1"
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.10.0
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-26 00:00:00.000000000 Z
11
+ date: 2015-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport