spid 0.2.0 → 0.2.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: 8bfca421b316c9cb55e172e5eefc1c1acff12376dbb74716c5c3dbee76d316cd
4
- data.tar.gz: 7ec28aa7150994bdc8d7e8e2f49161707d55de55a7099b4e910feaca9a700513
3
+ metadata.gz: 12fdf77010b7171b3cdc4e76c948ab200bd33a606d66393cda3919c6e883c3a8
4
+ data.tar.gz: a72a44b0a4f40aed90117526139d07004665f683b190e046d7c8d9ebac4de13c
5
5
  SHA512:
6
- metadata.gz: fad0ca14fa9fb3c7de38439dce599dd736fc654537e2503c326ec73611bb7779e451a2ea90c51c3dd24938f638940bdc14a7bf67a970031184cfff072a3ec930
7
- data.tar.gz: 86e1822001f127add77c36b3feb27656ab3899b10db2a3a074f6891cc1d257e665d33c02635be31525d90b58922e8af4cd3d5ad3d68e44cafb8475970d503535
6
+ metadata.gz: 3f6d12b4f8118fcaad352ff4687bc94b11fdb02e4cfab6886fb6d6fb176f5a6f5c8052af13692773a1c340ab68bdcd91680ca84a854f324c1556adcdea78a59f
7
+ data.tar.gz: 896c461722bfee8c7da9ba8f9fe7c1b08469d05923ece7462b6270556fb01b2796aefbbc4eee7bf8492246dbef882dc0e878251a9ef68552d15c592a78286e49
data/.rubocop.yml CHANGED
@@ -10,6 +10,10 @@ Layout/DotPosition:
10
10
  Metrics/BlockLength:
11
11
  Exclude:
12
12
  - spec/**/*.rb
13
+ - spid.gemspec
14
+ Metrics/LineLength:
15
+ Exclude:
16
+ - spid.gemspec
13
17
  RSpec/NestedGroups:
14
18
  Enabled: false
15
19
  Style/EmptyMethod:
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.2.1] - 2018-07-02
6
+ ### Added
7
+ - metadata in gemspec
8
+
9
+ ### Changed
10
+ - Update ```AuthnContextClassReftig``` classes according to (https://www.agid.gov.it/sites/default/files/repository_files/documentazione/spid-avviso-n5-regole-tecniche-errata-corrige.pdf)
11
+
5
12
  ## [0.2.0] - 2018-07-02
6
13
  ### Added
7
14
  - Feature table in README
@@ -15,4 +22,5 @@
15
22
  - Rubygems version badge in README
16
23
 
17
24
  [Unreleased]: https://github.com/italia/spid-ruby/compare/v0.0.2...HEAD
25
+ [0.2.1]: https://github.com/italia/spid-ruby/compare/v0.2.0...v0.2.1
18
26
  [0.2.0]: https://github.com/italia/spid-ruby/compare/v0.1.1...v0.2.0
data/lib/spid.rb CHANGED
@@ -19,9 +19,9 @@ module Spid # :nodoc:
19
19
  MAXIMUM_COMPARISON
20
20
  ].freeze
21
21
 
22
- L1 = "urn:oasis:names:tc:SAML:2.0:ac:classes:SpidL1"
23
- L2 = "urn:oasis:names:tc:SAML:2.0:ac:classes:SpidL2"
24
- L3 = "urn:oasis:names:tc:SAML:2.0:ac:classes:SpidL3"
22
+ L1 = "https://www.spid.gov.it/SpidL1"
23
+ L1 = "https://www.spid.gov.it/SpidL2"
24
+ L1 = "https://www.spid.gov.it/SpidL3"
25
25
 
26
26
  AUTHN_CONTEXTS = [
27
27
  L1,
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.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
data/spid.gemspec CHANGED
@@ -16,6 +16,12 @@ Gem::Specification.new do |spec|
16
16
  f.match(%r{^(test|spec|features)/})
17
17
  end
18
18
 
19
+ spec.metadata = {
20
+ "homepage_uri" => "https://github.com/italia/spid-ruby",
21
+ "changelog_uri" => "https://github.com/italia/spid-ruby/blob/master/CHANGELOG.md",
22
+ "source_code_uri" => "https://github.com/italia/spid-ruby/",
23
+ "bug_tracker_uri" => "https://github.com/italia/spid-ruby/issues"
24
+ }
19
25
  spec.required_ruby_version = ">= 2.3.0"
20
26
 
21
27
  spec.add_runtime_dependency "ruby-saml", "~> 1.8.0"
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Librera
@@ -175,7 +175,11 @@ files:
175
175
  homepage: https://github.com/italia/spid-ruby
176
176
  licenses:
177
177
  - MIT
178
- metadata: {}
178
+ metadata:
179
+ homepage_uri: https://github.com/italia/spid-ruby
180
+ changelog_uri: https://github.com/italia/spid-ruby/blob/master/CHANGELOG.md
181
+ source_code_uri: https://github.com/italia/spid-ruby/
182
+ bug_tracker_uri: https://github.com/italia/spid-ruby/issues
179
183
  post_install_message:
180
184
  rdoc_options: []
181
185
  require_paths: