publishing_platform_sso 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/publishing_platform_sso/config.rb +2 -1
- data/lib/publishing_platform_sso/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2cddff2f7bae3316381a36ba7fe8ff3c85fbc0564974da9a027236b53a10231
|
4
|
+
data.tar.gz: 6236ee9276d13f4e9f8dc0db85afff77076d76eaa1bc1c71cf95c0f8e8962085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e4e2ffb09f72ecb477f756ac9f3e9bdcf632d1e96aab548f896c70aacbd0cd8ca770ce416c4e9835a3d36b70150f3e3fd430904453aadbb625350d295adf39
|
7
|
+
data.tar.gz: 4340d211877b42360641492bd1f20e9fa96c94896284f6e345e7074c1032876e4e8d4105d7acef77a18bd0a4c50fe885fce765f4172497c32b3ed10e4269740f
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require "active_support/cache/null_store"
|
2
|
+
require "publishing_platform_location"
|
2
3
|
|
3
4
|
module PublishingPlatform
|
4
5
|
module SSO
|
@@ -19,7 +20,7 @@ module PublishingPlatform
|
|
19
20
|
|
20
21
|
# Location of the OAuth server
|
21
22
|
mattr_accessor :oauth_root_url
|
22
|
-
@@oauth_root_url =
|
23
|
+
@@oauth_root_url = PublishingPlatformLocation.find("signon")
|
23
24
|
|
24
25
|
mattr_accessor :auth_valid_for
|
25
26
|
@@auth_valid_for = 20 * 3600
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: publishing_platform_sso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Publishing Platform
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: publishing_platform_location
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: oauth2
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|