spid-es 0.0.27 → 0.0.28

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
  SHA256:
3
- metadata.gz: ac5fe88ff8fc1b1e1ce805390dac2966a3ce7c3f81b115b27e09919302861946
4
- data.tar.gz: 27348c4b761fdd9d27782aca48f526626393a4b5c9355de6bcb286d2d03a27d3
3
+ metadata.gz: cb8b587fc1cfcdcd48c3036862abaeb4ead7a9cdc4dd49e5d8eff6aa3f957b21
4
+ data.tar.gz: 02c2db9b713ff0660ba9866fe3ad4b85f2ffb7329993df80a41da35f1f94d65a
5
5
  SHA512:
6
- metadata.gz: c3078fe9caacc3f5e00269c27cff19af793e9a150eff0b9d9760bb9d80eabac6de0e86d7e47c48e653bdb1495ef344f71b618395857134b4ddcb6d26a618d390
7
- data.tar.gz: 954ca35eb3d5bed16a2e044b708b7bccec3162cf55ff7dbb5af8e5dacdcd5e1fb377e8cc01c909f84ea6f99081956ef1a7ebb49a78412836856aabebb3860d7b
6
+ metadata.gz: a505c385493da04481b3ff5846b4f7202485468946d10b6270fa9c5058aed656368784a383b73bfe6f8e046a78b06d4b91240ace162fd26859da25719d9ad44e
7
+ data.tar.gz: 9b4f324436969186405ff0c76caa5bd9ef8dc00250266924d549c6d7244307635da631002758c0aaf9fb45c2aa0314f7274dd7b54df3dadd2421988fff2be706
@@ -5,7 +5,6 @@ require "uri"
5
5
  require "digest/md5"
6
6
  require "nokogiri"
7
7
  require_relative "../xml_security_new" #fa il require della nokogiri
8
- require "uuid"
9
8
 
10
9
  # Class to return SP metadata based on the settings requested.
11
10
  # Return this XML in a controller, then give that URL to the the
@@ -50,7 +49,7 @@ module Spid
50
49
  #Tolto per non far cambiare sempre il metadata
51
50
  #uuid = "_" + UUID.new.generate
52
51
  #genero l'id come hash dell'entityID
53
- uuid = "_" + settings.issuer.hash.abs.to_s
52
+ uuid = "_"+Digest::MD5.hexdigest(settings.issuer)
54
53
  self.uuid = uuid
55
54
  root.attributes["ID"] = uuid
56
55
 
@@ -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.27'
5
+ s.version = '0.0.28'
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.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.0.6
143
+ rubygems_version: 3.0.8
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: SAML Ruby Tookit Spid