publishing_platform_sso 0.3.0 → 0.3.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: f8160c51b0d88ee23991a6e35c124915e50feaea083c09b599765e0613a01257
4
- data.tar.gz: '0869eec038ab3cec347f1cb117179d4e6f659429234ac021edae446719de08dd'
3
+ metadata.gz: e2cddff2f7bae3316381a36ba7fe8ff3c85fbc0564974da9a027236b53a10231
4
+ data.tar.gz: 6236ee9276d13f4e9f8dc0db85afff77076d76eaa1bc1c71cf95c0f8e8962085
5
5
  SHA512:
6
- metadata.gz: 5c2e6d32c007315c3f453861df3a5fa4262feb7b1f97e13590a4cc5c6f594ce56a85948ef47a8a3a72977640437b9f89432586a820ac38ef4b5ba01a378889cd
7
- data.tar.gz: 8076a72d7339be2bc0b66b86f8c06395447d02afc671cae8443eee5a0acdbddb511f967aaca805313e90d8a9b88287c8adc4d90dbc3d215d4324ed6bc0148252
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 = "http://signon.dev.publishing-platform.co.uk" # Plek.new.external_url_for("signon") # TODO: need to implement this functionality
23
+ @@oauth_root_url = PublishingPlatformLocation.find("signon")
23
24
 
24
25
  mattr_accessor :auth_valid_for
25
26
  @@auth_valid_for = 20 * 3600
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PublishingPlatform
4
4
  module SSO
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publishing_platform_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Publishing Platform