spid-es 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTI1OWUzODZlNzcyNDUyYWRjZjQ3MTBjMTcxYzI1MjQwOWIzNWIzMA==
4
+ MDBjZmJhNzdiMTExODM3ZGEwOWI1ODJkYmNlMjlkY2VjMzZkZTU5ZA==
5
5
  data.tar.gz: !binary |-
6
- NzgwYzI2ZWM3YWZhNzM1NzQ2Y2JiYTZlYmY1NDEyMDIyMTBlMmFiZA==
6
+ ZGU5NTFkNTQzNDc2ODdkOGE4MGFhYTk3YWE3NmRlOTA3MjFhYWZjOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWFlYzU1OGQ3YTUyMzczNWU4YTZjN2E4YWY1NmQ3ZDJhYzVkMTBkMTJlMzE4
10
- YzEzMmNiY2ExOWIzY2EyOGVhY2U4OWUwZDk2MmVlNTlmZjJmZjY2OGU0MWRm
11
- NWY1Yzg0NmY0Y2ZjMDkwZjY3NjgwZmFlZTVkZDJkZmU0NjIxOGQ=
9
+ Y2M0ZmNkZjc4MjU1NDYxNjYwNjYxZWQxOTllN2U5NWMwMWEyNTBiN2M1ZDQ0
10
+ YTMxOTJkMDFlMDMyYTY5MjBhMjRiNDk0NzIwZmRjM2RkM2M1NzBkN2ZlZmUy
11
+ OGE2YjNjM2M2OGRlOTA3MWVkYmIyYzYwYTdmMGI3NDY4YTNkNDc=
12
12
  data.tar.gz: !binary |-
13
- YjkwMTdkNzM1OGU3MTkxNjM3NmRmZjYxZTdmMmQ5NTJmMTRjMGVmN2IyYTBi
14
- NmFlZmE2N2QyODA3MmMzM2NhYTUzMDk3ODA0ZGI1NWRiZmM2NjYyYmNmMDk0
15
- YjU3ZjFmMDA4NGVhMTk5NTI5N2ZjMjJkOGZmNjczM2ZmYTU5OWY=
13
+ NWQ1ZmFjOTMyODA5ZGRhYjUzNzg0MTMzYjcxZjg3ZDhhYmUyNmFjOWE4NDM2
14
+ ODkyYjczNWQ0N2YxYmRhYjhjZWQ0NjVjOTg4Y2M2NDllNGE2YzA0NGFkNmM4
15
+ YTBhMGE2NzI5MGJlNDEzOGM2Zjc5NzQ1MzMyNDYxMTc1MDk5ZTQ=
@@ -48,11 +48,11 @@ module Spid::Saml
48
48
  # root.attributes["AssertionConsumerServiceURL"] = @settings.assertion_consumer_service_url
49
49
  # end
50
50
 
51
- if @settings.destination_service_url != nil
51
+ if @settings.destination_service_url != nil
52
52
  root.attributes["Destination"] = @settings.destination_service_url
53
53
  end
54
54
 
55
- if @settings.issuer != nil
55
+ unless @settings.issuer.blank?
56
56
  issuer = root.add_element "saml:Issuer"
57
57
  issuer.attributes['NameQualifier'] = @settings.issuer
58
58
  issuer.attributes['Format'] = "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
@@ -60,7 +60,7 @@ module Spid::Saml
60
60
  end
61
61
 
62
62
  #opzionale
63
- if @settings.sp_name_qualifier != nil
63
+ unless @settings.sp_name_qualifier.blank?
64
64
  subject = root.add_element "saml:Subject"
65
65
  name_id = subject.add_element "saml:NameID"
66
66
  name_id.attributes['Format'] = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
data/spid-es.gemspec CHANGED
@@ -2,7 +2,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'spid-es'
5
- s.version = '0.0.10'
5
+ s.version = '0.0.11'
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fabiano Pavan"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-06 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix