gds-sso 16.1.0 → 17.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: 68d52bff4bfbb14f4bbf15b0cb1a50aa3e0a7dc2c5bb878fac313f7d5d2d5176
4
- data.tar.gz: 00a89b7a401bb7fa4f5378522eac3248757dcab45b6c078d5e55e71f08638c8d
3
+ metadata.gz: 06dbf1fdc3985c8d779b3154021cf5a2ad78a51fcb83fa806a107c3d56b3144e
4
+ data.tar.gz: 67f750207a76325b141cdcc62c741831ecc30e798c040a6bb1cd12eb7e5873ac
5
5
  SHA512:
6
- metadata.gz: 1b806fd8e9dc753b82e1064798693241f9e9f573d4ab76def2f24af754a1399f517891fadb0cd709a2491da41a9377958378daaf5d00b82e5bd80aa031c9ffc3
7
- data.tar.gz: 5512a069b49a307da70325f56751b382394269eaf2ca2ed21d2802684f9e860e5f2b2b92ddf0cb008984622dd8225b78a74d838c2c4b35e63a64cf2792cfe765
6
+ metadata.gz: e7e766717d3718271c84f10695288afb2aed6f1561a3684d1af95d94e1367f4b694345be3c164969d234260adb7ac9a1ee2b8f6d1afed137440d08cb5034e68e
7
+ data.tar.gz: 2a1b36ca0bb68cf8c3034c105ca506dc6e351b76ba1b1ac104e565de7dc6ff71d0baad87f9afe15a657f88569360edf0d78904fe5aa80b030c62b0c433845404
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "16.1.0".freeze
3
+ VERSION = "17.0.0".freeze
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  DELETE FROM `oauth_access_tokens`;
2
2
 
3
3
  INSERT INTO oauth_access_tokens (resource_owner_id, application_id, token, refresh_token, expires_in, created_at)
4
- VALUES (1, 1, 'caaeb53be5c7277fb0ef158181bfd1537b57f9e3b83eb795be3cd0af6e118b28', '1bc343797483954d7306d67e96687feccdfdaa8b23ed662ae23e2b03e6661d16', 30758400000, '2012-06-27 13:57:47');
4
+ VALUES (1, 1, 'caaeb53be5c7277fb0ef158181bfd1537b57f9e3b83eb795be3cd0af6e118b28', '1bc343797483954d7306d67e96687feccdfdaa8b23ed662ae23e2b03e6661d16', POW(2, 31)-1, '2012-06-27 13:57:47');
5
5
 
6
6
  INSERT INTO oauth_access_tokens (resource_owner_id, application_id, token, refresh_token, expires_in, created_at)
7
- VALUES (1, 2, '98c72f4da02fdc43398e029d05567542944d2a9b0df3c20b0accd8bd6c5dc728', 'e2da0489a58219fd4f542139909737627874ceacd2af23f5c268ccecb36e85af', 30758400000, '2014-07-14 09:06:14');
7
+ VALUES (1, 2, '98c72f4da02fdc43398e029d05567542944d2a9b0df3c20b0accd8bd6c5dc728', 'e2da0489a58219fd4f542139909737627874ceacd2af23f5c268ccecb36e85af', POW(2, 31)-1, '2014-07-14 09:06:14');
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: 16.1.0
4
+ version: 17.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: 2022-04-07 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: oauth2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '1'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '1.0'
43
+ version: '1'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: omniauth
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -170,6 +176,20 @@ dependencies:
170
176
  - - ">="
171
177
  - !ruby/object:Gem::Version
172
178
  version: '0.9'
179
+ - !ruby/object:Gem::Dependency
180
+ name: net-smtp
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - "~>"
184
+ - !ruby/object:Gem::Version
185
+ version: 0.3.1
186
+ type: :development
187
+ prerelease: false
188
+ version_requirements: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - "~>"
191
+ - !ruby/object:Gem::Version
192
+ version: 0.3.1
173
193
  - !ruby/object:Gem::Dependency
174
194
  name: rake
175
195
  requirement: !ruby/object:Gem::Requirement
@@ -281,9 +301,7 @@ files:
281
301
  - spec/internal/config/initializers/gds-sso.rb
282
302
  - spec/internal/config/routes.rb
283
303
  - spec/internal/config/storage.yml
284
- - spec/internal/db/combustion_test.sqlite
285
304
  - spec/internal/db/schema.rb
286
- - spec/internal/log/test.log
287
305
  - spec/internal/public/favicon.ico
288
306
  - spec/requests/end_to_end_spec.rb
289
307
  - spec/spec_helper.rb
@@ -312,46 +330,44 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
330
  requirements:
313
331
  - - ">="
314
332
  - !ruby/object:Gem::Version
315
- version: '2.6'
333
+ version: '2.7'
316
334
  required_rubygems_version: !ruby/object:Gem::Requirement
317
335
  requirements:
318
336
  - - ">="
319
337
  - !ruby/object:Gem::Version
320
338
  version: '0'
321
339
  requirements: []
322
- rubygems_version: 3.1.6
340
+ rubygems_version: 3.3.18
323
341
  signing_key:
324
342
  specification_version: 4
325
343
  summary: Client for GDS' OAuth 2-based SSO
326
344
  test_files:
345
+ - spec/fixtures/integration/signon.sql
346
+ - spec/fixtures/integration/authorize_api_users.sql
327
347
  - spec/requests/end_to_end_spec.rb
348
+ - spec/spec_helper.rb
349
+ - spec/internal/public/favicon.ico
350
+ - spec/internal/config/database.yml
351
+ - spec/internal/config/initializers/gds-sso.rb
352
+ - spec/internal/config/routes.rb
353
+ - spec/internal/config/storage.yml
328
354
  - spec/internal/app/models/user.rb
329
- - spec/internal/app/controllers/example_controller.rb
330
355
  - spec/internal/app/controllers/application_controller.rb
356
+ - spec/internal/app/controllers/example_controller.rb
331
357
  - spec/internal/app/assets/config/manifest.js
332
- - spec/internal/db/combustion_test.sqlite
333
358
  - spec/internal/db/schema.rb
334
- - spec/internal/public/favicon.ico
335
- - spec/internal/log/test.log
336
- - spec/internal/config/routes.rb
337
- - spec/internal/config/storage.yml
338
- - spec/internal/config/initializers/gds-sso.rb
339
- - spec/internal/config/database.yml
340
- - spec/fixtures/integration/authorize_api_users.sql
341
- - spec/fixtures/integration/signon.sql
342
- - spec/spec_helper.rb
343
- - spec/controller/api_user_controller_spec.rb
344
- - spec/controller/controller_methods_spec.rb
345
- - spec/unit/bearer_token_spec.rb
346
359
  - spec/unit/api_access_spec.rb
347
360
  - spec/unit/config_spec.rb
348
- - spec/unit/session_serialisation_spec.rb
361
+ - spec/unit/bearer_token_spec.rb
349
362
  - spec/unit/railtie_spec.rb
350
363
  - spec/unit/user_spec.rb
351
364
  - spec/unit/mock_bearer_token_spec.rb
365
+ - spec/unit/session_serialisation_spec.rb
352
366
  - spec/support/test_user.rb
353
- - spec/support/controller_spy.rb
354
367
  - spec/support/timecop.rb
355
- - spec/support/serializable_user.rb
356
- - spec/support/backport_controller_test_params.rb
357
368
  - spec/support/signon_integration_helpers.rb
369
+ - spec/support/backport_controller_test_params.rb
370
+ - spec/support/controller_spy.rb
371
+ - spec/support/serializable_user.rb
372
+ - spec/controller/controller_methods_spec.rb
373
+ - spec/controller/api_user_controller_spec.rb