ory-keto-client 0.5.2 → 0.5.6.alpha1

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: ad556d80eb8dc2ee85ac6c476cbfc1a58ca4d337b060957082d9a5e9f377ba7f
4
- data.tar.gz: bcf7e7a518a3d392a4b9ebbee3e7965558e8fca03f38db61bf3e8c52d65b8940
3
+ metadata.gz: feb02b3e41cab60b50558673f231fc67f5279ffbee854a2c3f9fbd2c4d360469
4
+ data.tar.gz: eb2079ff9d0cb1be91c0f05527c5c8cc2ce7a66c452d45d49f9e34dff59d38fb
5
5
  SHA512:
6
- metadata.gz: ce4e5b9cd6748bb2fba243b3f0f5d5edcdabead2ccf5cd7038fba0384fb68b07860311d49c9eec84b49350f8baad8cef686417864f8983dc57ea99236731b41a
7
- data.tar.gz: 76fe7e297fe3e50fb0b9afe972665163eacfb49226be6864aef501becae8ef5d4a8d6729f05b55d21d3f3a2df37bd8df06abba2070f3205fd4dd05161a4dc005
6
+ metadata.gz: 838a8ad73065cf21ea670eb958c66dc682ff0524fae203e3496e87e3664bade32b11bc975097d7b40838bafbfc7ecc6697ede69e046484692a8b387f2b7ac3fa
7
+ data.tar.gz: f6ac615a2f21dbf41a811ce2b9690827984ed351f246962375cdf39c43fb229c0716f31bdd2e6f5944dd948b1f548cb401ef2320b2878522dbf05c80c78f4186
data/README.md CHANGED
@@ -7,7 +7,7 @@ Ory Keto is a cloud native access control server providing best-practice pattern
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: Latest
10
- - Package version: v0.5.2
10
+ - Package version: v0.5.6-alpha.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.ory.sh](https://www.ory.sh)
13
13
 
@@ -24,16 +24,16 @@ gem build ory-keto-client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ory-keto-client-v0.5.2.gem
27
+ gem install ./ory-keto-client-v0.5.6-alpha.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ory-keto-client-v0.5.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ory-keto-client-v0.5.6-alpha.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ory-keto-client', '~> v0.5.2'
36
+ gem 'ory-keto-client', '~> v0.5.6-alpha.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **code** | **Integer** | | [optional]
8
- **details** | **Array<Hash<String, Object>>** | | [optional]
8
+ **details** | **Array<Object>** | | [optional]
9
9
  **message** | **String** | | [optional]
10
10
  **reason** | **String** | | [optional]
11
11
  **request** | **String** | | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **actions** | **Array<String>** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional]
8
- **conditions** | **Hash<String, Object>** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional]
8
+ **conditions** | [**Object**](.md) | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional]
9
9
  **description** | **String** | Description is an optional, human-readable description. | [optional]
10
10
  **effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional]
11
11
  **id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional]
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **action** | **String** | Action is the action that is requested on the resource. | [optional]
8
- **context** | **Hash<String, Object>** | Context is the request's environmental context. | [optional]
8
+ **context** | [**Object**](.md) | Context is the request's environmental context. | [optional]
9
9
  **resource** | **String** | Resource is the resource that access is requested to. | [optional]
10
10
  **subject** | **String** | Subject is the subject that is requesting access. | [optional]
11
11
 
@@ -42,7 +42,7 @@ module OryHydraClient
42
42
  def self.openapi_types
43
43
  {
44
44
  :'code' => :'Integer',
45
- :'details' => :'Array<Hash<String, Object>>',
45
+ :'details' => :'Array<Object>',
46
46
  :'message' => :'String',
47
47
  :'reason' => :'String',
48
48
  :'request' => :'String',
@@ -52,7 +52,7 @@ module OryHydraClient
52
52
  def self.openapi_types
53
53
  {
54
54
  :'actions' => :'Array<String>',
55
- :'conditions' => :'Hash<String, Object>',
55
+ :'conditions' => :'Object',
56
56
  :'description' => :'String',
57
57
  :'effect' => :'String',
58
58
  :'id' => :'String',
@@ -89,9 +89,7 @@ module OryHydraClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'conditions')
92
- if (value = attributes[:'conditions']).is_a?(Hash)
93
- self.conditions = value
94
- end
92
+ self.conditions = attributes[:'conditions']
95
93
  end
96
94
 
97
95
  if attributes.key?(:'description')
@@ -40,7 +40,7 @@ module OryHydraClient
40
40
  def self.openapi_types
41
41
  {
42
42
  :'action' => :'String',
43
- :'context' => :'Hash<String, Object>',
43
+ :'context' => :'Object',
44
44
  :'resource' => :'String',
45
45
  :'subject' => :'String'
46
46
  }
@@ -72,9 +72,7 @@ module OryHydraClient
72
72
  end
73
73
 
74
74
  if attributes.key?(:'context')
75
- if (value = attributes[:'context']).is_a?(Hash)
76
- self.context = value
77
- end
75
+ self.context = attributes[:'context']
78
76
  end
79
77
 
80
78
  if attributes.key?(:'resource')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '0.5.2'
14
+ VERSION = '0.5.6.alpha1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ory-keto-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.6.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ORY GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -312,9 +312,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
312
  version: '1.9'
313
313
  required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  requirements:
315
- - - ">="
315
+ - - ">"
316
316
  - !ruby/object:Gem::Version
317
- version: '0'
317
+ version: 1.3.1
318
318
  requirements: []
319
319
  rubyforge_project:
320
320
  rubygems_version: 2.7.6.2
@@ -322,75 +322,75 @@ signing_key:
322
322
  specification_version: 4
323
323
  summary: ORY Keto Ruby Gem
324
324
  test_files:
325
- - spec/api/engines_api_spec.rb
326
- - spec/api/health_api_spec.rb
327
325
  - spec/api/version_api_spec.rb
326
+ - spec/api/health_api_spec.rb
327
+ - spec/api/engines_api_spec.rb
328
328
  - spec/api_client_spec.rb
329
329
  - spec/configuration_spec.rb
330
- - spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb
331
- - spec/models/delete_ory_access_control_policy_spec.rb
332
- - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
333
- - spec/models/swagger_not_ready_status_spec.rb
330
+ - spec/models/policy_spec.rb
331
+ - spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb
332
+ - spec/models/upsert_ory_access_control_policy_role_ok_spec.rb
333
+ - spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb
334
+ - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
335
+ - spec/models/add_ory_access_control_policy_role_members_body_spec.rb
336
+ - spec/models/ory_access_control_policy_role_spec.rb
334
337
  - spec/models/health_status_spec.rb
335
- - spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb
338
+ - spec/models/get_ory_access_control_policy_not_found_spec.rb
339
+ - spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb
340
+ - spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb
341
+ - spec/models/list_ory_access_control_policy_roles_spec.rb
342
+ - spec/models/add_ory_access_control_policy_role_members_spec.rb
343
+ - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
344
+ - spec/models/get_ory_access_control_policy_role_not_found_spec.rb
336
345
  - spec/models/get_ory_access_control_policy_ok_spec.rb
337
- - spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb
338
- - spec/models/add_ory_access_control_policy_role_members_ok_spec.rb
346
+ - spec/models/delete_ory_access_control_policy_role_spec.rb
347
+ - spec/models/inline_response500_spec.rb
348
+ - spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb
349
+ - spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb
350
+ - spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb
351
+ - spec/models/get_ory_access_control_policy_role_spec.rb
352
+ - spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb
353
+ - spec/models/is_instance_alive_internal_server_error_spec.rb
339
354
  - spec/models/ory_access_control_policy_spec.rb
340
- - spec/models/get_ory_access_control_policy_role_ok_spec.rb
341
- - spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb
342
- - spec/models/upsert_ory_access_control_policy_spec.rb
343
- - spec/models/get_ory_access_control_policy_spec.rb
355
+ - spec/models/role_spec.rb
356
+ - spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb
357
+ - spec/models/version_spec.rb
358
+ - spec/models/is_instance_alive_internal_server_error_body_spec.rb
344
359
  - spec/models/health_not_ready_status_spec.rb
345
- - spec/models/ory_access_control_policy_role_spec.rb
346
- - spec/models/delete_ory_access_control_policy_role_internal_server_error_body_spec.rb
347
- - spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb
360
+ - spec/models/ory_access_control_policies_spec.rb
348
361
  - spec/models/upsert_ory_access_control_policy_role_spec.rb
349
- - spec/models/list_ory_access_control_policy_roles_ok_spec.rb
350
- - spec/models/add_ory_access_control_policy_role_members_spec.rb
351
- - spec/models/get_ory_access_control_policy_role_spec.rb
352
- - spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb
353
- - spec/models/upsert_ory_access_control_policy_ok_spec.rb
354
- - spec/models/list_ory_access_control_policies_spec.rb
362
+ - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
363
+ - spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb
364
+ - spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb
365
+ - spec/models/get_ory_access_control_policy_role_ok_spec.rb
366
+ - spec/models/ory_access_control_policy_roles_spec.rb
355
367
  - spec/models/do_ory_access_control_policies_allow_ok_spec.rb
368
+ - spec/models/is_instance_alive_ok_spec.rb
369
+ - spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb
356
370
  - spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb
371
+ - spec/models/get_ory_access_control_policy_role_not_found_body_spec.rb
372
+ - spec/models/input_spec.rb
357
373
  - spec/models/swagger_version_spec.rb
358
- - spec/models/role_spec.rb
359
- - spec/models/policy_spec.rb
374
+ - spec/models/authorization_result_spec.rb
375
+ - spec/models/delete_ory_access_control_policy_role_internal_server_error_body_spec.rb
360
376
  - spec/models/list_ory_access_control_policies_internal_server_error_spec.rb
361
- - spec/models/delete_ory_access_control_policy_role_spec.rb
377
+ - spec/models/list_ory_access_control_policies_ok_spec.rb
378
+ - spec/models/do_ory_access_control_policies_allow_spec.rb
379
+ - spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb
380
+ - spec/models/upsert_ory_access_control_policy_ok_spec.rb
381
+ - spec/models/delete_ory_access_control_policy_spec.rb
382
+ - spec/models/add_ory_access_control_policy_role_members_ok_spec.rb
383
+ - spec/models/get_ory_access_control_policy_spec.rb
384
+ - spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb
362
385
  - spec/models/remove_ory_access_control_policy_role_members_spec.rb
363
- - spec/models/is_instance_alive_ok_spec.rb
386
+ - spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb
387
+ - spec/models/list_ory_access_control_policy_roles_ok_spec.rb
388
+ - spec/models/list_ory_access_control_policies_spec.rb
389
+ - spec/models/upsert_ory_access_control_policy_spec.rb
364
390
  - spec/models/add_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
391
+ - spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb
365
392
  - spec/models/swagger_health_status_spec.rb
366
- - spec/models/list_ory_access_control_policy_roles_spec.rb
367
- - spec/models/version_spec.rb
368
- - spec/models/is_instance_alive_internal_server_error_body_spec.rb
369
- - spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb
370
- - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
371
- - spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb
372
- - spec/models/add_ory_access_control_policy_role_members_body_spec.rb
373
- - spec/models/get_ory_access_control_policy_role_not_found_spec.rb
374
- - spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb
393
+ - spec/models/swagger_not_ready_status_spec.rb
394
+ - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
375
395
  - spec/models/ory_access_control_policy_allowed_input_spec.rb
376
- - spec/models/authorization_result_spec.rb
377
- - spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb
378
- - spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb
379
- - spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb
380
- - spec/models/inline_response500_spec.rb
381
- - spec/models/input_spec.rb
382
- - spec/models/get_ory_access_control_policy_role_not_found_body_spec.rb
383
- - spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb
384
- - spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb
385
- - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
386
- - spec/models/is_instance_alive_internal_server_error_spec.rb
387
- - spec/models/do_ory_access_control_policies_allow_spec.rb
388
- - spec/models/list_ory_access_control_policies_ok_spec.rb
389
- - spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb
390
- - spec/models/ory_access_control_policies_spec.rb
391
- - spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb
392
- - spec/models/upsert_ory_access_control_policy_role_ok_spec.rb
393
- - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
394
- - spec/models/get_ory_access_control_policy_not_found_spec.rb
395
- - spec/models/ory_access_control_policy_roles_spec.rb
396
396
  - spec/spec_helper.rb