gds-sso 14.3.0 → 15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/unauthorised.html.erb +1 -1
- data/lib/gds-sso/lint/user_spec.rb +5 -5
- data/lib/gds-sso/lint/user_test.rb +2 -2
- data/lib/gds-sso/user.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/app/assets/config/manifest.js +0 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/config/storage.yml +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +4 -0
- data/spec/internal/log/test.log +1161 -1227
- data/spec/requests/end_to_end_spec.rb +1 -1
- data/spec/unit/user_spec.rb +1 -1
- metadata +31 -28
@@ -200,7 +200,7 @@ describe "Integration of client using GDS-SSO with signon" do
|
|
200
200
|
end
|
201
201
|
|
202
202
|
context "when in api_only mode" do
|
203
|
-
around
|
203
|
+
around do |examples|
|
204
204
|
GDS::SSO::Config.api_only = true
|
205
205
|
Combustion::Application.reload_routes!
|
206
206
|
examples.run
|
data/spec/unit/user_spec.rb
CHANGED
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:
|
4
|
+
version: 15.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: 2020-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: warden
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 1.
|
187
|
+
version: '1.4'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 1.
|
194
|
+
version: '1.4'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: timecop
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,12 +238,14 @@ files:
|
|
238
238
|
- spec/controller/controller_methods_spec.rb
|
239
239
|
- spec/fixtures/integration/authorize_api_users.sql
|
240
240
|
- spec/fixtures/integration/signon.sql
|
241
|
+
- spec/internal/app/assets/config/manifest.js
|
241
242
|
- spec/internal/app/controllers/application_controller.rb
|
242
243
|
- spec/internal/app/controllers/example_controller.rb
|
243
244
|
- spec/internal/app/models/user.rb
|
244
245
|
- spec/internal/config/database.yml
|
245
246
|
- spec/internal/config/initializers/gds-sso.rb
|
246
247
|
- spec/internal/config/routes.rb
|
248
|
+
- spec/internal/config/storage.yml
|
247
249
|
- spec/internal/db/combustion_test.sqlite
|
248
250
|
- spec/internal/db/schema.rb
|
249
251
|
- spec/internal/log/test.log
|
@@ -271,41 +273,42 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
273
|
requirements:
|
272
274
|
- - ">="
|
273
275
|
- !ruby/object:Gem::Version
|
274
|
-
version: 2.
|
276
|
+
version: '2.6'
|
275
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
278
|
requirements:
|
277
279
|
- - ">="
|
278
280
|
- !ruby/object:Gem::Version
|
279
281
|
version: '0'
|
280
282
|
requirements: []
|
281
|
-
|
282
|
-
rubygems_version: 2.7.6
|
283
|
+
rubygems_version: 3.1.2
|
283
284
|
signing_key:
|
284
285
|
specification_version: 4
|
285
286
|
summary: Client for GDS' OAuth 2-based SSO
|
286
287
|
test_files:
|
287
|
-
- spec/internal/config/database.yml
|
288
|
-
- spec/internal/config/initializers/gds-sso.rb
|
289
|
-
- spec/internal/config/routes.rb
|
290
|
-
- spec/internal/public/favicon.ico
|
291
|
-
- spec/internal/app/controllers/application_controller.rb
|
292
|
-
- spec/internal/app/controllers/example_controller.rb
|
293
|
-
- spec/internal/app/models/user.rb
|
294
|
-
- spec/internal/log/test.log
|
295
|
-
- spec/internal/db/combustion_test.sqlite
|
296
|
-
- spec/internal/db/schema.rb
|
297
|
-
- spec/controller/api_user_controller_spec.rb
|
298
|
-
- spec/controller/controller_methods_spec.rb
|
299
|
-
- spec/support/timecop.rb
|
300
|
-
- spec/support/backport_controller_test_params.rb
|
301
|
-
- spec/support/signon_integration_helpers.rb
|
302
288
|
- spec/fixtures/integration/signon.sql
|
303
289
|
- spec/fixtures/integration/authorize_api_users.sql
|
304
|
-
- spec/
|
305
|
-
- spec/
|
306
|
-
- spec/
|
307
|
-
- spec/
|
290
|
+
- spec/support/timecop.rb
|
291
|
+
- spec/support/signon_integration_helpers.rb
|
292
|
+
- spec/support/backport_controller_test_params.rb
|
293
|
+
- spec/controller/controller_methods_spec.rb
|
294
|
+
- spec/controller/api_user_controller_spec.rb
|
308
295
|
- spec/unit/bearer_token_spec.rb
|
309
296
|
- spec/unit/mock_bearer_token_spec.rb
|
297
|
+
- spec/unit/session_serialisation_spec.rb
|
298
|
+
- spec/unit/config_spec.rb
|
299
|
+
- spec/unit/api_access_spec.rb
|
300
|
+
- spec/unit/user_spec.rb
|
310
301
|
- spec/spec_helper.rb
|
311
302
|
- spec/requests/end_to_end_spec.rb
|
303
|
+
- spec/internal/app/controllers/application_controller.rb
|
304
|
+
- spec/internal/app/controllers/example_controller.rb
|
305
|
+
- spec/internal/app/assets/config/manifest.js
|
306
|
+
- spec/internal/app/models/user.rb
|
307
|
+
- spec/internal/log/test.log
|
308
|
+
- spec/internal/public/favicon.ico
|
309
|
+
- spec/internal/config/database.yml
|
310
|
+
- spec/internal/config/routes.rb
|
311
|
+
- spec/internal/config/initializers/gds-sso.rb
|
312
|
+
- spec/internal/config/storage.yml
|
313
|
+
- spec/internal/db/combustion_test.sqlite
|
314
|
+
- spec/internal/db/schema.rb
|