workos 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +15 -15
  5. data/docs/WorkOS/SSO.html +235 -235
  6. data/docs/file.README.html +20 -20
  7. data/lib/workos/client.rb +22 -1
  8. data/lib/workos/passwordless.rb +0 -2
  9. data/lib/workos/portal.rb +0 -6
  10. data/lib/workos/profile.rb +2 -2
  11. data/lib/workos/sso.rb +119 -13
  12. data/lib/workos/version.rb +1 -1
  13. data/spec/lib/workos/sso_spec.rb +198 -7
  14. data/spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml +2 -2
  15. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories.yml +1 -1
  16. data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories_with_domain_param.yml +1 -1
  17. data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml +72 -0
  18. data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml +70 -0
  19. data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml +72 -0
  20. data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml +74 -0
  21. data/spec/support/fixtures/vcr_cassettes/sso/list_connections.yml +72 -0
  22. data/spec/support/fixtures/vcr_cassettes/sso/list_connections_with_after_param.yml +72 -0
  23. data/spec/support/fixtures/vcr_cassettes/sso/list_connections_with_before_param.yml +73 -0
  24. data/spec/support/fixtures/vcr_cassettes/sso/list_connections_with_connection_type_param.yml +72 -0
  25. data/spec/support/fixtures/vcr_cassettes/sso/list_connections_with_domain_param.yml +72 -0
  26. data/spec/support/fixtures/vcr_cassettes/sso/list_connections_with_limit_param.yml +72 -0
  27. metadata +23 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - WorkOS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -271,6 +271,16 @@ files:
271
271
  - spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml
272
272
  - spec/support/fixtures/vcr_cassettes/sso/create_connection_with_invalid_source.yml
273
273
  - spec/support/fixtures/vcr_cassettes/sso/create_connection_with_valid_source.yml
274
+ - spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml
275
+ - spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml
276
+ - spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml
277
+ - spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml
278
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections.yml
279
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_after_param.yml
280
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_before_param.yml
281
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_connection_type_param.yml
282
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_domain_param.yml
283
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_limit_param.yml
274
284
  - spec/support/profile.txt
275
285
  - workos.gemspec
276
286
  homepage: https://github.com/workos-inc/workos-ruby
@@ -293,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
303
  - !ruby/object:Gem::Version
294
304
  version: '0'
295
305
  requirements: []
296
- rubygems_version: 3.1.5
306
+ rubygems_version: 3.2.8
297
307
  signing_key:
298
308
  specification_version: 4
299
309
  summary: API client for WorkOS
@@ -333,4 +343,14 @@ test_files:
333
343
  - spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml
334
344
  - spec/support/fixtures/vcr_cassettes/sso/create_connection_with_invalid_source.yml
335
345
  - spec/support/fixtures/vcr_cassettes/sso/create_connection_with_valid_source.yml
346
+ - spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml
347
+ - spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml
348
+ - spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml
349
+ - spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml
350
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections.yml
351
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_after_param.yml
352
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_before_param.yml
353
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_connection_type_param.yml
354
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_domain_param.yml
355
+ - spec/support/fixtures/vcr_cassettes/sso/list_connections_with_limit_param.yml
336
356
  - spec/support/profile.txt