gds-sso 14.0.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.rb +6 -0
- data/lib/gds-sso/bearer_token.rb +7 -1
- data/lib/gds-sso/config.rb +7 -0
- 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 +1149 -1215
- data/spec/requests/end_to_end_spec.rb +1 -1
- data/spec/unit/user_spec.rb +1 -1
- metadata +14 -11
@@ -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:
|
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
|
@@ -182,16 +182,16 @@ dependencies:
|
|
182
182
|
name: sqlite3
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
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,15 +273,14 @@ 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
|
@@ -301,11 +302,13 @@ test_files:
|
|
301
302
|
- spec/requests/end_to_end_spec.rb
|
302
303
|
- spec/internal/app/controllers/application_controller.rb
|
303
304
|
- spec/internal/app/controllers/example_controller.rb
|
305
|
+
- spec/internal/app/assets/config/manifest.js
|
304
306
|
- spec/internal/app/models/user.rb
|
305
307
|
- spec/internal/log/test.log
|
306
308
|
- spec/internal/public/favicon.ico
|
307
309
|
- spec/internal/config/database.yml
|
308
310
|
- spec/internal/config/routes.rb
|
309
311
|
- spec/internal/config/initializers/gds-sso.rb
|
312
|
+
- spec/internal/config/storage.yml
|
310
313
|
- spec/internal/db/combustion_test.sqlite
|
311
314
|
- spec/internal/db/schema.rb
|