saml_idp 0.0.7 → 0.0.8

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.
@@ -8,6 +8,7 @@ module SamlIdp
8
8
  attribute :identifier
9
9
  attribute :fingerprint
10
10
  attribute :metadata_url
11
+ attribute :validate_signature
11
12
 
12
13
  delegate :config, to: :SamlIdp
13
14
 
@@ -21,7 +22,8 @@ module SamlIdp
21
22
  end
22
23
 
23
24
  def should_validate_signature?
24
- current_metadata.respond_to?(:sign_assertions?) && current_metadata.sign_assertions?
25
+ attributes[:validate_signature] ||
26
+ current_metadata.respond_to?(:sign_assertions?) && current_metadata.sign_assertions?
25
27
  end
26
28
 
27
29
  def refresh_metadata
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module SamlIdp
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saml_idp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -344,7 +344,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
344
344
  version: '0'
345
345
  segments:
346
346
  - 0
347
- hash: -856421575393033123
347
+ hash: 1636404335365209059
348
348
  required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  none: false
350
350
  requirements:
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
353
353
  version: '0'
354
354
  segments:
355
355
  - 0
356
- hash: -856421575393033123
356
+ hash: 1636404335365209059
357
357
  requirements: []
358
358
  rubyforge_project:
359
359
  rubygems_version: 1.8.25