gds-sso 18.1.0 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd40185db721bf1aed57caf86387932c0308b64d7138ae09c3489bf825fd0e30
4
- data.tar.gz: 4bf2659c890b40cefb9b6981c029a1aabb5ded89c200a17c91ef479029c4c39a
3
+ metadata.gz: 7ddad93d93075a295b1b4a6561d7c37dfba8e89892be22fc2ba54f53b594f460
4
+ data.tar.gz: 2de1bc908bd25480554df696b32a08f72f3b02f8c74c72bfa4b3ccd59227ac6a
5
5
  SHA512:
6
- metadata.gz: 293b83f8018f1318d06a2c90717ba7f76c8b23e974085a7a0bf228b911442faa9ebbcc23f78a8945752676a34058cadf80ed406aaecbc8bc789a6bcea74b7307
7
- data.tar.gz: 2345880b44e81b65fbf04198337560e84d87cbaa7a52fb2284d0f6bf7f49561975a28436d0d6898e7b3abe2125ae4effb57822c3036043a6bc35b967e01ae73f
6
+ metadata.gz: cdae7d624ab18260632acc9945ce7790664dde1f99fc2dca57c7fe5569f8aacdf0180286c1acd34f60d054c4100ec212b2359ae4a5b056352edecc30c3721058
7
+ data.tar.gz: 6d71aefcfa8f20aed5a479ca032bd2abab343fe71054b61766dbf3f80ed88047203929119e92183f31f735810066a9683b7c36279310f9e8044ee9f38933bc54
@@ -26,7 +26,6 @@ module GDS
26
26
  @@auth_valid_for = 20 * 3600
27
27
 
28
28
  mattr_accessor :cache
29
- @@cache = ActiveSupport::Cache::NullStore.new
30
29
 
31
30
  mattr_accessor :api_only
32
31
 
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "18.1.0".freeze
3
+ VERSION = "19.0.0".freeze
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class User < ActiveRecord::Base
2
2
  include GDS::SSO::User
3
3
 
4
- serialize :permissions, Array
4
+ serialize :permissions, type: Array
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.1.0
4
+ version: 19.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-24 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -239,7 +239,6 @@ files:
239
239
  - app/controllers/api/user_controller.rb
240
240
  - app/controllers/authentications_controller.rb
241
241
  - app/views/authentications/failure.html.erb
242
- - app/views/authorisations/cant_signin.html.erb
243
242
  - app/views/authorisations/unauthorised.html.erb
244
243
  - app/views/layouts/unauthorised.html.erb
245
244
  - config/routes.rb
@@ -298,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
297
  - !ruby/object:Gem::Version
299
298
  version: '0'
300
299
  requirements: []
301
- rubygems_version: 3.4.19
300
+ rubygems_version: 3.5.5
302
301
  signing_key:
303
302
  specification_version: 4
304
303
  summary: Client for GDS' OAuth 2-based SSO
@@ -1,6 +0,0 @@
1
- <h1>Sorry, you don't have permission to access this application</h1>
2
-
3
- <p>Please contact your Delivery Manager or main GDS contact if you need access.</p>
4
-
5
- <p>If you think something is wrong, try <%= link_to "signing out", gds_sign_out_path %> and then back in.</p>
6
-