spid 0.16.0 → 0.16.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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/spid/configuration.rb +4 -4
- data/lib/spid/generators/templates/spid.rb +3 -3
- data/lib/spid/rack/login.rb +1 -1
- data/lib/spid/rack/logout.rb +1 -1
- data/lib/spid/version.rb +1 -1
- data/spid.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c1de73229206a3f51acebe2ffd176336baf6ecf7b7ab56587f2baa4338f5300
|
4
|
+
data.tar.gz: 5c39d1327255aa6f6c91f8b893ff8d0698bcd2e8476a6fb55fc85cd2cd507c6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8861c1b4c9d517f73dee139742e186e1cd96a10267ec9d73ed2987426bd65fc9832114ad41f34b00bcad05595d17e760602eb894344ff8d77f16309dda829757
|
7
|
+
data.tar.gz: aace38dd40188f84b5dabc3d4f33dbaabe0005e81f4fa47a2777d437e9032112ab25fd6b981dbd99424017349eabbcf86e0b715582c0cb626c9aa0887338f7e0
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.16.1] - 2018-09-05
|
6
|
+
### Changed
|
7
|
+
- Use login_path and logout_path instead of start_sso_path and start_slo_path
|
8
|
+
|
5
9
|
## [0.16.0] - 2018-09-05
|
6
10
|
### Added
|
7
11
|
- Task rake for IdPs metadata fetching
|
@@ -123,7 +127,8 @@
|
|
123
127
|
- Coveralls Integration
|
124
128
|
- Rubygems version badge in README
|
125
129
|
|
126
|
-
[Unreleased]: https://github.com/italia/spid-ruby/compare/v0.16.
|
130
|
+
[Unreleased]: https://github.com/italia/spid-ruby/compare/v0.16.1...HEAD
|
131
|
+
[0.16.0]: https://github.com/italia/spid-ruby/compare/v0.16.0...v0.16.1
|
127
132
|
[0.16.0]: https://github.com/italia/spid-ruby/compare/v0.15.2...v0.16.0
|
128
133
|
[0.15.2]: https://github.com/italia/spid-ruby/compare/v0.15.1...v0.15.2
|
129
134
|
[0.15.1]: https://github.com/italia/spid-ruby/compare/v0.15.0...v0.15.1
|
data/lib/spid/configuration.rb
CHANGED
@@ -5,8 +5,8 @@ module Spid
|
|
5
5
|
attr_accessor :idp_metadata_dir_path
|
6
6
|
attr_accessor :hostname
|
7
7
|
attr_accessor :metadata_path
|
8
|
-
attr_accessor :
|
9
|
-
attr_accessor :
|
8
|
+
attr_accessor :login_path
|
9
|
+
attr_accessor :logout_path
|
10
10
|
attr_accessor :acs_path
|
11
11
|
attr_accessor :slo_path
|
12
12
|
attr_accessor :digest_method
|
@@ -30,8 +30,8 @@ module Spid
|
|
30
30
|
def init_endpoint
|
31
31
|
@hostname = nil
|
32
32
|
@metadata_path = "/spid/metadata"
|
33
|
-
@
|
34
|
-
@
|
33
|
+
@login_path = "/spid/login"
|
34
|
+
@logout_path = "/spid/logout"
|
35
35
|
@acs_path = "/spid/sso"
|
36
36
|
@slo_path = "/spid/slo"
|
37
37
|
@default_relay_state_path = "/"
|
@@ -7,9 +7,9 @@ Spid.configure do |config|
|
|
7
7
|
config.private_key_pem = ENV.fetch("PRIVATE_KEY")
|
8
8
|
config.certificate_pem = ENV.fetch("CERTIFICATE")
|
9
9
|
|
10
|
-
config.metadata_path
|
11
|
-
config.
|
12
|
-
config.
|
10
|
+
config.metadata_path = "/spid/metadata"
|
11
|
+
config.login_path = "/spid/login"
|
12
|
+
config.logout_path = "/spid/logout"
|
13
13
|
config.acs_path = "/spid/sso"
|
14
14
|
config.slo_path = "/spid/slo"
|
15
15
|
config.default_relay_state_path = "/"
|
data/lib/spid/rack/login.rb
CHANGED
data/lib/spid/rack/logout.rb
CHANGED
data/lib/spid/version.rb
CHANGED
data/spid.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ["davidlibrera@gmail.com"]
|
12
12
|
spec.homepage = "https://github.com/italia/spid-ruby"
|
13
13
|
spec.summary = "SPID (https://www.spid.gov.it) integration for ruby"
|
14
|
-
spec.license = "
|
14
|
+
spec.license = "BSD-3"
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
16
|
f.match(%r{^(test|spec|features)/})
|
17
17
|
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.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Librera
|
@@ -363,7 +363,7 @@ files:
|
|
363
363
|
- spid.gemspec
|
364
364
|
homepage: https://github.com/italia/spid-ruby
|
365
365
|
licenses:
|
366
|
-
-
|
366
|
+
- BSD-3
|
367
367
|
metadata:
|
368
368
|
homepage_uri: https://github.com/italia/spid-ruby
|
369
369
|
changelog_uri: https://github.com/italia/spid-ruby/blob/master/CHANGELOG.md
|