ory-keto-client 0.5.4.alpha1 → 0.6.0.alpha6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +22 -31
  4. data/docs/AddOryAccessControlPolicyRoleMembersBody.md +8 -7
  5. data/docs/AuthorizationResult.md +8 -7
  6. data/docs/EnginesApi.md +319 -129
  7. data/docs/ExpandTree.md +22 -0
  8. data/docs/GetCheckResponse.md +18 -0
  9. data/docs/GetRelationTuplesResponse.md +20 -0
  10. data/docs/HealthApi.md +50 -15
  11. data/docs/HealthNotReadyStatus.md +8 -7
  12. data/docs/HealthStatus.md +8 -7
  13. data/docs/InlineResponse400.md +28 -0
  14. data/docs/InlineResponse500.md +18 -17
  15. data/docs/InternalRelationTuple.md +24 -0
  16. data/docs/OryAccessControlPolicy.md +20 -19
  17. data/docs/OryAccessControlPolicyAllowedInput.md +14 -13
  18. data/docs/OryAccessControlPolicyRole.md +10 -9
  19. data/docs/PatchDelta.md +20 -0
  20. data/docs/ReadApi.md +297 -0
  21. data/docs/Version.md +8 -7
  22. data/docs/VersionApi.md +26 -9
  23. data/docs/WriteApi.md +212 -0
  24. data/lib/ory-keto-client.rb +10 -9
  25. data/lib/ory-keto-client/api/engines_api.rb +46 -35
  26. data/lib/ory-keto-client/api/health_api.rb +10 -8
  27. data/lib/ory-keto-client/api/read_api.rb +324 -0
  28. data/lib/ory-keto-client/api/version_api.rb +6 -5
  29. data/lib/ory-keto-client/api/write_api.rb +225 -0
  30. data/lib/ory-keto-client/api_client.rb +51 -47
  31. data/lib/ory-keto-client/api_error.rb +2 -2
  32. data/lib/ory-keto-client/configuration.rb +40 -11
  33. data/lib/ory-keto-client/models/add_ory_access_control_policy_role_members_body.rb +20 -8
  34. data/lib/ory-keto-client/models/authorization_result.rb +20 -8
  35. data/lib/ory-keto-client/models/expand_tree.rb +282 -0
  36. data/lib/ory-keto-client/models/get_check_response.rb +225 -0
  37. data/lib/ory-keto-client/models/get_relation_tuples_response.rb +230 -0
  38. data/lib/ory-keto-client/models/health_not_ready_status.rb +20 -8
  39. data/lib/ory-keto-client/models/health_status.rb +20 -8
  40. data/lib/ory-keto-client/models/inline_response400.rb +265 -0
  41. data/lib/ory-keto-client/models/inline_response500.rb +21 -9
  42. data/lib/ory-keto-client/models/internal_relation_tuple.rb +268 -0
  43. data/lib/ory-keto-client/models/ory_access_control_policy.rb +22 -12
  44. data/lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb +22 -12
  45. data/lib/ory-keto-client/models/ory_access_control_policy_role.rb +20 -8
  46. data/lib/ory-keto-client/models/patch_delta.rb +227 -0
  47. data/lib/ory-keto-client/models/version.rb +20 -8
  48. data/lib/ory-keto-client/version.rb +3 -3
  49. data/ory-keto-client.gemspec +4 -5
  50. data/spec/api/read_api_spec.rb +94 -0
  51. data/spec/api/write_api_spec.rb +74 -0
  52. data/spec/api_client_spec.rb +4 -4
  53. data/spec/configuration_spec.rb +3 -3
  54. data/spec/models/expand_tree_spec.rb +50 -0
  55. data/spec/models/get_check_response_spec.rb +34 -0
  56. data/spec/models/get_relation_tuples_response_spec.rb +40 -0
  57. data/spec/models/inline_response400_spec.rb +64 -0
  58. data/spec/models/internal_relation_tuple_spec.rb +52 -0
  59. data/spec/models/patch_delta_spec.rb +40 -0
  60. data/spec/spec_helper.rb +3 -3
  61. metadata +92 -80
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for OryHydraClient::WriteApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WriteApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = OryHydraClient::WriteApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WriteApi' do
30
+ it 'should create an instance of WriteApi' do
31
+ expect(@api_instance).to be_instance_of(OryHydraClient::WriteApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_relation_tuple
36
+ # Create a Relation Tuple
37
+ # Use this endpoint to create a relation tuple.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [InternalRelationTuple] :payload
40
+ # @return [InternalRelationTuple]
41
+ describe 'create_relation_tuple test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_relation_tuple
48
+ # Delete a Relation Tuple
49
+ # Use this endpoint to delete a relation tuple.
50
+ # @param namespace Namespace of the Relation Tuple
51
+ # @param object Object of the Relation Tuple
52
+ # @param relation Relation of the Relation Tuple
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :subject Subject of the Relation Tuple The subject follows the subject string encoding format.
55
+ # @return [nil]
56
+ describe 'delete_relation_tuple test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ # unit tests for patch_relation_tuples
63
+ # Patch Multiple Relation Tuples
64
+ # Use this endpoint to patch one or more relation tuples.
65
+ # @param [Hash] opts the optional parameters
66
+ # @option opts [Array<PatchDelta>] :payload
67
+ # @return [nil]
68
+ describe 'patch_relation_tuples test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #ORY Keto
3
3
 
4
- #A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
5
 
6
- The version of the OpenAPI document: v0.0.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.6
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -156,7 +156,7 @@ describe OryHydraClient::ApiClient do
156
156
  end
157
157
 
158
158
  it 'fails for invalid collection format' do
159
- expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
159
+ expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
160
160
  end
161
161
  end
162
162
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #ORY Keto
3
3
 
4
- #A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
5
 
6
- The version of the OpenAPI document: v0.0.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.6
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,50 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::ExpandTree
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::ExpandTree do
21
+ let(:instance) { OryHydraClient::ExpandTree.new }
22
+
23
+ describe 'test an instance of ExpandTree' do
24
+ it 'should create an instance of ExpandTree' do
25
+ expect(instance).to be_instance_of(OryHydraClient::ExpandTree)
26
+ end
27
+ end
28
+ describe 'test attribute "children"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "subject"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "type"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["union", "exclusion", "intersection", "leaf"])
44
+ # validator.allowable_values.each do |value|
45
+ # expect { instance.type = value }.not_to raise_error
46
+ # end
47
+ end
48
+ end
49
+
50
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::GetCheckResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::GetCheckResponse do
21
+ let(:instance) { OryHydraClient::GetCheckResponse.new }
22
+
23
+ describe 'test an instance of GetCheckResponse' do
24
+ it 'should create an instance of GetCheckResponse' do
25
+ expect(instance).to be_instance_of(OryHydraClient::GetCheckResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "allowed"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::GetRelationTuplesResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::GetRelationTuplesResponse do
21
+ let(:instance) { OryHydraClient::GetRelationTuplesResponse.new }
22
+
23
+ describe 'test an instance of GetRelationTuplesResponse' do
24
+ it 'should create an instance of GetRelationTuplesResponse' do
25
+ expect(instance).to be_instance_of(OryHydraClient::GetRelationTuplesResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "next_page_token"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "relation_tuples"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,64 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::InlineResponse400
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::InlineResponse400 do
21
+ let(:instance) { OryHydraClient::InlineResponse400.new }
22
+
23
+ describe 'test an instance of InlineResponse400' do
24
+ it 'should create an instance of InlineResponse400' do
25
+ expect(instance).to be_instance_of(OryHydraClient::InlineResponse400)
26
+ end
27
+ end
28
+ describe 'test attribute "code"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "details"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "message"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "reason"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "request"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "status"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::InternalRelationTuple
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::InternalRelationTuple do
21
+ let(:instance) { OryHydraClient::InternalRelationTuple.new }
22
+
23
+ describe 'test an instance of InternalRelationTuple' do
24
+ it 'should create an instance of InternalRelationTuple' do
25
+ expect(instance).to be_instance_of(OryHydraClient::InternalRelationTuple)
26
+ end
27
+ end
28
+ describe 'test attribute "namespace"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "object"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "relation"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "subject"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #ORY Keto
3
+
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
+
6
+ The version of the OpenAPI document: v0.6.0-alpha.1
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PatchDelta
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryHydraClient::PatchDelta do
21
+ let(:instance) { OryHydraClient::PatchDelta.new }
22
+
23
+ describe 'test an instance of PatchDelta' do
24
+ it 'should create an instance of PatchDelta' do
25
+ expect(instance).to be_instance_of(OryHydraClient::PatchDelta)
26
+ end
27
+ end
28
+ describe 'test attribute "action"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "relation_tuple"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #ORY Keto
3
3
 
4
- #A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
4
+ #Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
5
5
 
6
- The version of the OpenAPI document: v0.0.0-alpha.1
6
+ The version of the OpenAPI document: v0.6.0-alpha.6
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2
9
+ OpenAPI Generator version: 5.1.1
10
10
 
11
11
  =end
12
12
 
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.4.alpha1
4
+ version: 0.6.0.alpha6
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-07 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -30,26 +30,6 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.1
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 2.1.0
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 2.1.0
53
33
  - !ruby/object:Gem::Dependency
54
34
  name: rspec
55
35
  requirement: !ruby/object:Gem::Requirement
@@ -99,6 +79,8 @@ files:
99
79
  - docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md
100
80
  - docs/DoOryAccessControlPoliciesAllowOK.md
101
81
  - docs/EnginesApi.md
82
+ - docs/ExpandTree.md
83
+ - docs/GetCheckResponse.md
102
84
  - docs/GetOryAccessControlPolicy.md
103
85
  - docs/GetOryAccessControlPolicyInternalServerError.md
104
86
  - docs/GetOryAccessControlPolicyInternalServerErrorBody.md
@@ -111,11 +93,14 @@ files:
111
93
  - docs/GetOryAccessControlPolicyRoleNotFound.md
112
94
  - docs/GetOryAccessControlPolicyRoleNotFoundBody.md
113
95
  - docs/GetOryAccessControlPolicyRoleOK.md
96
+ - docs/GetRelationTuplesResponse.md
114
97
  - docs/HealthApi.md
115
98
  - docs/HealthNotReadyStatus.md
116
99
  - docs/HealthStatus.md
100
+ - docs/InlineResponse400.md
117
101
  - docs/InlineResponse500.md
118
102
  - docs/Input.md
103
+ - docs/InternalRelationTuple.md
119
104
  - docs/IsInstanceAliveInternalServerError.md
120
105
  - docs/IsInstanceAliveInternalServerErrorBody.md
121
106
  - docs/IsInstanceAliveOK.md
@@ -132,7 +117,9 @@ files:
132
117
  - docs/OryAccessControlPolicyAllowedInput.md
133
118
  - docs/OryAccessControlPolicyRole.md
134
119
  - docs/OryAccessControlPolicyRoles.md
120
+ - docs/PatchDelta.md
135
121
  - docs/Policy.md
122
+ - docs/ReadApi.md
136
123
  - docs/RemoveOryAccessControlPolicyRoleMembers.md
137
124
  - docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md
138
125
  - docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md
@@ -150,10 +137,13 @@ files:
150
137
  - docs/UpsertOryAccessControlPolicyRoleOK.md
151
138
  - docs/Version.md
152
139
  - docs/VersionApi.md
140
+ - docs/WriteApi.md
153
141
  - lib/ory-keto-client.rb
154
142
  - lib/ory-keto-client/api/engines_api.rb
155
143
  - lib/ory-keto-client/api/health_api.rb
144
+ - lib/ory-keto-client/api/read_api.rb
156
145
  - lib/ory-keto-client/api/version_api.rb
146
+ - lib/ory-keto-client/api/write_api.rb
157
147
  - lib/ory-keto-client/api_client.rb
158
148
  - lib/ory-keto-client/api_error.rb
159
149
  - lib/ory-keto-client/configuration.rb
@@ -174,6 +164,8 @@ files:
174
164
  - lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error.rb
175
165
  - lib/ory-keto-client/models/do_ory_access_control_policies_allow_internal_server_error_body.rb
176
166
  - lib/ory-keto-client/models/do_ory_access_control_policies_allow_ok.rb
167
+ - lib/ory-keto-client/models/expand_tree.rb
168
+ - lib/ory-keto-client/models/get_check_response.rb
177
169
  - lib/ory-keto-client/models/get_ory_access_control_policy.rb
178
170
  - lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error.rb
179
171
  - lib/ory-keto-client/models/get_ory_access_control_policy_internal_server_error_body.rb
@@ -186,10 +178,13 @@ files:
186
178
  - lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found.rb
187
179
  - lib/ory-keto-client/models/get_ory_access_control_policy_role_not_found_body.rb
188
180
  - lib/ory-keto-client/models/get_ory_access_control_policy_role_ok.rb
181
+ - lib/ory-keto-client/models/get_relation_tuples_response.rb
189
182
  - lib/ory-keto-client/models/health_not_ready_status.rb
190
183
  - lib/ory-keto-client/models/health_status.rb
184
+ - lib/ory-keto-client/models/inline_response400.rb
191
185
  - lib/ory-keto-client/models/inline_response500.rb
192
186
  - lib/ory-keto-client/models/input.rb
187
+ - lib/ory-keto-client/models/internal_relation_tuple.rb
193
188
  - lib/ory-keto-client/models/is_instance_alive_internal_server_error.rb
194
189
  - lib/ory-keto-client/models/is_instance_alive_internal_server_error_body.rb
195
190
  - lib/ory-keto-client/models/is_instance_alive_ok.rb
@@ -206,6 +201,7 @@ files:
206
201
  - lib/ory-keto-client/models/ory_access_control_policy_allowed_input.rb
207
202
  - lib/ory-keto-client/models/ory_access_control_policy_role.rb
208
203
  - lib/ory-keto-client/models/ory_access_control_policy_roles.rb
204
+ - lib/ory-keto-client/models/patch_delta.rb
209
205
  - lib/ory-keto-client/models/policy.rb
210
206
  - lib/ory-keto-client/models/remove_ory_access_control_policy_role_members.rb
211
207
  - lib/ory-keto-client/models/remove_ory_access_control_policy_role_members_internal_server_error.rb
@@ -227,7 +223,9 @@ files:
227
223
  - ory-keto-client.gemspec
228
224
  - spec/api/engines_api_spec.rb
229
225
  - spec/api/health_api_spec.rb
226
+ - spec/api/read_api_spec.rb
230
227
  - spec/api/version_api_spec.rb
228
+ - spec/api/write_api_spec.rb
231
229
  - spec/api_client_spec.rb
232
230
  - spec/configuration_spec.rb
233
231
  - spec/models/add_ory_access_control_policy_role_members_body_spec.rb
@@ -247,6 +245,8 @@ files:
247
245
  - spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb
248
246
  - spec/models/do_ory_access_control_policies_allow_ok_spec.rb
249
247
  - spec/models/do_ory_access_control_policies_allow_spec.rb
248
+ - spec/models/expand_tree_spec.rb
249
+ - spec/models/get_check_response_spec.rb
250
250
  - spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb
251
251
  - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
252
252
  - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
@@ -259,10 +259,13 @@ files:
259
259
  - spec/models/get_ory_access_control_policy_role_ok_spec.rb
260
260
  - spec/models/get_ory_access_control_policy_role_spec.rb
261
261
  - spec/models/get_ory_access_control_policy_spec.rb
262
+ - spec/models/get_relation_tuples_response_spec.rb
262
263
  - spec/models/health_not_ready_status_spec.rb
263
264
  - spec/models/health_status_spec.rb
265
+ - spec/models/inline_response400_spec.rb
264
266
  - spec/models/inline_response500_spec.rb
265
267
  - spec/models/input_spec.rb
268
+ - spec/models/internal_relation_tuple_spec.rb
266
269
  - spec/models/is_instance_alive_internal_server_error_body_spec.rb
267
270
  - spec/models/is_instance_alive_internal_server_error_spec.rb
268
271
  - spec/models/is_instance_alive_ok_spec.rb
@@ -279,6 +282,7 @@ files:
279
282
  - spec/models/ory_access_control_policy_role_spec.rb
280
283
  - spec/models/ory_access_control_policy_roles_spec.rb
281
284
  - spec/models/ory_access_control_policy_spec.rb
285
+ - spec/models/patch_delta_spec.rb
282
286
  - spec/models/policy_spec.rb
283
287
  - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
284
288
  - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
@@ -309,7 +313,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
309
313
  requirements:
310
314
  - - ">="
311
315
  - !ruby/object:Gem::Version
312
- version: '1.9'
316
+ version: '2.4'
313
317
  required_rubygems_version: !ruby/object:Gem::Requirement
314
318
  requirements:
315
319
  - - ">"
@@ -322,75 +326,83 @@ signing_key:
322
326
  specification_version: 4
323
327
  summary: ORY Keto Ruby Gem
324
328
  test_files:
325
- - spec/api/version_api_spec.rb
326
- - spec/api/health_api_spec.rb
327
329
  - spec/api/engines_api_spec.rb
330
+ - spec/api/health_api_spec.rb
331
+ - spec/api/read_api_spec.rb
332
+ - spec/api/version_api_spec.rb
333
+ - spec/api/write_api_spec.rb
328
334
  - spec/api_client_spec.rb
329
335
  - spec/configuration_spec.rb
330
- - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
331
- - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
332
- - spec/models/upsert_ory_access_control_policy_spec.rb
333
- - spec/models/is_instance_alive_internal_server_error_spec.rb
334
- - spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb
335
- - spec/models/swagger_not_ready_status_spec.rb
336
- - spec/models/inline_response500_spec.rb
337
- - spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb
338
- - spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb
339
- - spec/models/delete_ory_access_control_policy_spec.rb
336
+ - spec/models/add_ory_access_control_policy_role_members_body_spec.rb
337
+ - spec/models/add_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
338
+ - spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb
339
+ - spec/models/add_ory_access_control_policy_role_members_ok_spec.rb
340
+ - spec/models/add_ory_access_control_policy_role_members_spec.rb
341
+ - spec/models/authorization_result_spec.rb
342
+ - spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb
343
+ - spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb
340
344
  - spec/models/delete_ory_access_control_policy_role_internal_server_error_body_spec.rb
341
- - spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb
342
- - spec/models/list_ory_access_control_policies_ok_spec.rb
345
+ - spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb
343
346
  - spec/models/delete_ory_access_control_policy_role_spec.rb
344
- - spec/models/list_ory_access_control_policies_internal_server_error_spec.rb
345
- - spec/models/swagger_health_status_spec.rb
346
- - spec/models/ory_access_control_policy_allowed_input_spec.rb
347
- - spec/models/ory_access_control_policies_spec.rb
348
- - spec/models/input_spec.rb
347
+ - spec/models/delete_ory_access_control_policy_spec.rb
348
+ - spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb
349
+ - spec/models/do_ory_access_control_policies_allow_internal_server_error_body_spec.rb
349
350
  - spec/models/do_ory_access_control_policies_allow_internal_server_error_spec.rb
350
- - spec/models/get_ory_access_control_policy_role_spec.rb
351
+ - spec/models/do_ory_access_control_policies_allow_ok_spec.rb
351
352
  - spec/models/do_ory_access_control_policies_allow_spec.rb
352
- - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
353
- - spec/models/version_spec.rb
354
- - spec/models/delete_ory_access_control_policy_internal_server_error_body_spec.rb
355
- - spec/models/is_instance_alive_ok_spec.rb
356
- - spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb
357
- - spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb
358
- - spec/models/remove_ory_access_control_policy_role_members_spec.rb
359
- - spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb
360
- - spec/models/add_ory_access_control_policy_role_members_body_spec.rb
361
- - spec/models/get_ory_access_control_policy_ok_spec.rb
362
- - spec/models/authorization_result_spec.rb
363
- - spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb
364
- - spec/models/do_ory_access_control_policies_allow_forbidden_spec.rb
365
- - spec/models/upsert_ory_access_control_policy_role_ok_spec.rb
366
- - spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb
367
- - spec/models/health_not_ready_status_spec.rb
368
- - spec/models/add_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
369
- - spec/models/get_ory_access_control_policy_role_ok_spec.rb
370
- - spec/models/add_ory_access_control_policy_role_members_spec.rb
353
+ - spec/models/expand_tree_spec.rb
354
+ - spec/models/get_check_response_spec.rb
371
355
  - spec/models/get_ory_access_control_policy_internal_server_error_body_spec.rb
372
- - spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb
373
- - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
374
- - spec/models/upsert_ory_access_control_policy_ok_spec.rb
356
+ - spec/models/get_ory_access_control_policy_internal_server_error_spec.rb
357
+ - spec/models/get_ory_access_control_policy_not_found_body_spec.rb
375
358
  - spec/models/get_ory_access_control_policy_not_found_spec.rb
376
- - spec/models/get_ory_access_control_policy_role_not_found_spec.rb
377
- - spec/models/swagger_version_spec.rb
378
- - spec/models/ory_access_control_policy_roles_spec.rb
379
- - spec/models/ory_access_control_policy_spec.rb
380
- - spec/models/do_ory_access_control_policies_allow_ok_spec.rb
381
- - spec/models/list_ory_access_control_policy_roles_spec.rb
382
- - spec/models/list_ory_access_control_policies_spec.rb
383
- - spec/models/delete_ory_access_control_policy_role_internal_server_error_spec.rb
359
+ - spec/models/get_ory_access_control_policy_ok_spec.rb
360
+ - spec/models/get_ory_access_control_policy_role_internal_server_error_body_spec.rb
361
+ - spec/models/get_ory_access_control_policy_role_internal_server_error_spec.rb
384
362
  - spec/models/get_ory_access_control_policy_role_not_found_body_spec.rb
363
+ - spec/models/get_ory_access_control_policy_role_not_found_spec.rb
364
+ - spec/models/get_ory_access_control_policy_role_ok_spec.rb
365
+ - spec/models/get_ory_access_control_policy_role_spec.rb
366
+ - spec/models/get_ory_access_control_policy_spec.rb
367
+ - spec/models/get_relation_tuples_response_spec.rb
368
+ - spec/models/health_not_ready_status_spec.rb
385
369
  - spec/models/health_status_spec.rb
386
- - spec/models/delete_ory_access_control_policy_internal_server_error_spec.rb
387
- - spec/models/add_ory_access_control_policy_role_members_ok_spec.rb
388
- - spec/models/policy_spec.rb
389
- - spec/models/list_ory_access_control_policy_roles_ok_spec.rb
390
- - spec/models/upsert_ory_access_control_policy_role_spec.rb
370
+ - spec/models/inline_response400_spec.rb
371
+ - spec/models/inline_response500_spec.rb
372
+ - spec/models/input_spec.rb
373
+ - spec/models/internal_relation_tuple_spec.rb
391
374
  - spec/models/is_instance_alive_internal_server_error_body_spec.rb
375
+ - spec/models/is_instance_alive_internal_server_error_spec.rb
376
+ - spec/models/is_instance_alive_ok_spec.rb
377
+ - spec/models/list_ory_access_control_policies_internal_server_error_body_spec.rb
378
+ - spec/models/list_ory_access_control_policies_internal_server_error_spec.rb
379
+ - spec/models/list_ory_access_control_policies_ok_spec.rb
380
+ - spec/models/list_ory_access_control_policies_spec.rb
381
+ - spec/models/list_ory_access_control_policy_roles_internal_server_error_body_spec.rb
382
+ - spec/models/list_ory_access_control_policy_roles_internal_server_error_spec.rb
383
+ - spec/models/list_ory_access_control_policy_roles_ok_spec.rb
384
+ - spec/models/list_ory_access_control_policy_roles_spec.rb
385
+ - spec/models/ory_access_control_policies_spec.rb
386
+ - spec/models/ory_access_control_policy_allowed_input_spec.rb
392
387
  - spec/models/ory_access_control_policy_role_spec.rb
388
+ - spec/models/ory_access_control_policy_roles_spec.rb
389
+ - spec/models/ory_access_control_policy_spec.rb
390
+ - spec/models/patch_delta_spec.rb
391
+ - spec/models/policy_spec.rb
392
+ - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_body_spec.rb
393
+ - spec/models/remove_ory_access_control_policy_role_members_internal_server_error_spec.rb
394
+ - spec/models/remove_ory_access_control_policy_role_members_spec.rb
393
395
  - spec/models/role_spec.rb
394
- - spec/models/add_ory_access_control_policy_role_members_internal_server_error_spec.rb
395
- - spec/models/get_ory_access_control_policy_spec.rb
396
+ - spec/models/swagger_health_status_spec.rb
397
+ - spec/models/swagger_not_ready_status_spec.rb
398
+ - spec/models/swagger_version_spec.rb
399
+ - spec/models/upsert_ory_access_control_policy_internal_server_error_body_spec.rb
400
+ - spec/models/upsert_ory_access_control_policy_internal_server_error_spec.rb
401
+ - spec/models/upsert_ory_access_control_policy_ok_spec.rb
402
+ - spec/models/upsert_ory_access_control_policy_role_internal_server_error_body_spec.rb
403
+ - spec/models/upsert_ory_access_control_policy_role_internal_server_error_spec.rb
404
+ - spec/models/upsert_ory_access_control_policy_role_ok_spec.rb
405
+ - spec/models/upsert_ory_access_control_policy_role_spec.rb
406
+ - spec/models/upsert_ory_access_control_policy_spec.rb
407
+ - spec/models/version_spec.rb
396
408
  - spec/spec_helper.rb