spid 0.15.0 → 0.15.1

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
  SHA256:
3
- metadata.gz: a69cfce2f0a7c237e36061186e9dfda86bdecc85c91163105518b4daebc6cc5c
4
- data.tar.gz: 31aba1da1bab837c92fe3245754f1b6cb158dfb860ead66384dcf915a1fb5e4f
3
+ metadata.gz: afef76acae102b7c46b16232080225ef750cb4df3f79a3ad217ff33d406351e9
4
+ data.tar.gz: f4f0859d95951c7eb8e668bc6babb1e7ea079b102a45cb13c53538cc425875ab
5
5
  SHA512:
6
- metadata.gz: bac0ea1030e71bef7980e019b54bce8ee9dee96aa324cc2001be28b9cbf01676b699311fb412527633dedf3c3b28ef20b7c13da6aee32b43faae53d0c3f9415c
7
- data.tar.gz: 8b4ddc12d9566e40f9622dba9d276ea413e0fb1e7bd2c715e2b0aed0d7f593327c83e27413748400c42d9d2b273049d6e341cb67d752e9ea9bc7a9428808aa92
6
+ metadata.gz: e1d9483b26a2493ae83accbfcfdd92f51af5fee8a466d20d7208e5a4b6d3a192c0db0d91fdbe0f7dd3212288775dcdbee54e784d9558d6d901a6664e86a6ca6d
7
+ data.tar.gz: 376fce06cfcfed5bc0a2c6ec2d25d80bf5d481b4229443ddf21f71ef0f0c6165c12e87cea34a7484b47861277da107fffa51ea82de2fcdf6279e26612f1db570
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.15.1] - 2018-08-31
6
+ ### Fixed
7
+ - Fix uuid generation for spid logout request
8
+
5
9
  ## [0.15.0] - 2018-08-31
6
10
  ### Fixed
7
11
  - [IDP-Initiated SLO was not full implemented](https://github.com/italia/spid-ruby/issues/54)
@@ -110,7 +114,9 @@
110
114
  - Coveralls Integration
111
115
  - Rubygems version badge in README
112
116
 
113
- [Unreleased]: https://github.com/italia/spid-ruby/compare/v0.14.0...HEAD
117
+ [Unreleased]: https://github.com/italia/spid-ruby/compare/v0.15.1...HEAD
118
+ [0.15.1]: https://github.com/italia/spid-ruby/compare/v0.15.0...v0.15.1
119
+ [0.15.0]: https://github.com/italia/spid-ruby/compare/v0.14.0...v0.15.0
114
120
  [0.14.0]: https://github.com/italia/spid-ruby/compare/v0.13.0...v0.14.0
115
121
  [0.13.0]: https://github.com/italia/spid-ruby/compare/v0.12.0...v0.13.0
116
122
  [0.12.0]: https://github.com/italia/spid-ruby/compare/v0.11.0...v0.12.0
@@ -37,7 +37,7 @@ module Spid
37
37
  @logout_request_attributes ||= {
38
38
  "xmlns:samlp" => "urn:oasis:names:tc:SAML:2.0:protocol",
39
39
  "xmlns:saml" => "urn:oasis:names:tc:SAML:2.0:assertion",
40
- "ID" => "_#{uuid}",
40
+ "ID" => uuid,
41
41
  "Version" => "2.0",
42
42
  "IssueInstant" => issue_instant,
43
43
  "Destination" => settings.idp_slo_target_url
@@ -80,7 +80,7 @@ module Spid
80
80
  end
81
81
 
82
82
  def conditions
83
- time = Time.now.iso8601
83
+ time = Time.now.utc.iso8601
84
84
 
85
85
  if response.conditions_not_before <= time &&
86
86
  response.conditions_not_on_or_after > time
data/lib/spid/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spid
4
- VERSION = "0.15.0"
4
+ VERSION = "0.15.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Librera