libsaml 2.20.1 → 2.20.2

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: b76d5d6a0eb05d98c76af83bb4336700ad5ad558
4
- data.tar.gz: 64b037e228a802afe167ce0324cbaa0024dcf4f4
3
+ metadata.gz: 87837a0136528b1b5aa4dfb2ed4acb70846ae2d8
4
+ data.tar.gz: 16a38221b628e95e2e2899046f68a9f0c327b2f0
5
5
  SHA512:
6
- metadata.gz: 1caf958c18c3010f7a86f7519b84365e087840211a4fdd7101c05058c046ce731c626f2f2d254bb000a635ea0f6c6705684f9af41e54b7aace1b90339f449ed3
7
- data.tar.gz: dee652e2492125de67d07ea41f634e3347fc77e389e2d6ac8bc71ed0418b8c834b3a768d1a03400c00a4b4e5374accc2fb878c1c518c60a3cd9cd51754584cc9
6
+ metadata.gz: c5d64f0871f02694347288e850c80e0eca60b2c1ff9b49ae92fef3107b11771433d7ada24bd7fa517b14d4d7b3946ad7786294d578401e2f92c69cce40293228
7
+ data.tar.gz: 8289e202bbca07d1a9fff86117c014b021f7c659a6efeb11bcb1bb6206e1120110c95f42ea0bdd12b8d9411bc18acf75b282ec60058e5181a6cbe34c8b6d1bc0
@@ -3,11 +3,11 @@ module Saml
3
3
  class Conditions
4
4
  include Saml::Base
5
5
 
6
- tag "Conditions"
6
+ tag 'Conditions'
7
7
  namespace 'saml'
8
8
 
9
- attribute :not_before, Time, :tag => "NotBefore", :on_save => lambda { |val| val.utc.xmlschema }
10
- attribute :not_on_or_after, Time, :tag => "NotOnOrAfter", :on_save => lambda { |val| val.utc.xmlschema }
9
+ attribute :not_before, Time, tag: 'NotBefore', on_save: lambda { |val| val.utc.xmlschema if val.present? }
10
+ attribute :not_on_or_after, Time, tag: 'NotOnOrAfter', on_save: lambda { |val| val.utc.xmlschema if val.present? }
11
11
 
12
12
  has_one :audience_restriction, Saml::Elements::AudienceRestriction
13
13
 
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = "2.20.1"
2
+ VERSION = "2.20.2"
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.20.1
4
+ version: 2.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport