ory-kratos-client 0.0.3.alpha4 → 0.0.3.alpha14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FormField.md +5 -1
- data/lib/ory-kratos-client/models/form_field.rb +21 -1
- data/lib/ory-kratos-client/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 067f564c1489d40cb0f3d4cd51e8a54dc909c886d9f996762aba1e10b8ce1adf
|
4
|
+
data.tar.gz: '018da217ef440bdd1f88d8772909614f75723d4b40a4e90ef6c4ad2321b4a47c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889cdfa47e38893725c7762d4191ecb15490172efa82802ff2a4abc5b5a7c5d46724c4b9405eb11f01ab17e0bba212c65e9e15e11c2c3e9437babc1149f99490
|
7
|
+
data.tar.gz: 55adffd89cfeed4828725221e2d730dd9227b6b086d0dbef5c846e3590263145978b387af78e2092348273f4e34ad395f39c7f38f1f5fd8a87fde624262d6996
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Welcome to the ORY Kratos HTTP API documentation!
|
|
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.0.3-alpha.
|
10
|
+
- Package version: v0.0.3-alpha.14
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build ory-kratos-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./ory-kratos-client-v0.0.3-alpha.
|
26
|
+
gem install ./ory-kratos-client-v0.0.3-alpha.14.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./ory-kratos-client-v0.0.3-alpha.
|
29
|
+
(for development, run `gem install --dev ./ory-kratos-client-v0.0.3-alpha.14.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ory-kratos-client', '~> v0.0.3-alpha.
|
35
|
+
gem 'ory-kratos-client', '~> v0.0.3-alpha.14'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
data/docs/FormField.md
CHANGED
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**disabled** | **String** | Disabled is the equivalent of <input disabled=\"{{.Disabled}}\"> | [optional]
|
7
8
|
**errors** | [**Array<Error>**](Error.md) | Errors contains all validation errors this particular field has caused. | [optional]
|
8
9
|
**name** | **String** | Name is the equivalent of <input name=\"{{.Name}}\"> | [optional]
|
10
|
+
**pattern** | **String** | Pattern is the equivalent of <input pattern=\"{{.Pattern}}\"> | [optional]
|
9
11
|
**required** | **Boolean** | Required is the equivalent of <input required=\"{{.Required}}\"> | [optional]
|
10
12
|
**type** | **String** | Type is the equivalent of <input type=\"{{.Type}}\"> | [optional]
|
11
13
|
**value** | [**Object**](.md) | Value is the equivalent of <input value=\"{{.Value}}\"> | [optional]
|
@@ -15,8 +17,10 @@ Name | Type | Description | Notes
|
|
15
17
|
```ruby
|
16
18
|
require 'OryHydraClient'
|
17
19
|
|
18
|
-
instance = OryHydraClient::FormField.new(
|
20
|
+
instance = OryHydraClient::FormField.new(disabled: null,
|
21
|
+
errors: null,
|
19
22
|
name: null,
|
23
|
+
pattern: null,
|
20
24
|
required: null,
|
21
25
|
type: null,
|
22
26
|
value: null)
|
@@ -15,12 +15,18 @@ require 'date'
|
|
15
15
|
module OryHydraClient
|
16
16
|
# Field represents a HTML Form Field
|
17
17
|
class FormField
|
18
|
+
# Disabled is the equivalent of <input disabled=\"{{.Disabled}}\">
|
19
|
+
attr_accessor :disabled
|
20
|
+
|
18
21
|
# Errors contains all validation errors this particular field has caused.
|
19
22
|
attr_accessor :errors
|
20
23
|
|
21
24
|
# Name is the equivalent of <input name=\"{{.Name}}\">
|
22
25
|
attr_accessor :name
|
23
26
|
|
27
|
+
# Pattern is the equivalent of <input pattern=\"{{.Pattern}}\">
|
28
|
+
attr_accessor :pattern
|
29
|
+
|
24
30
|
# Required is the equivalent of <input required=\"{{.Required}}\">
|
25
31
|
attr_accessor :required
|
26
32
|
|
@@ -33,8 +39,10 @@ module OryHydraClient
|
|
33
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
40
|
def self.attribute_map
|
35
41
|
{
|
42
|
+
:'disabled' => :'disabled',
|
36
43
|
:'errors' => :'errors',
|
37
44
|
:'name' => :'name',
|
45
|
+
:'pattern' => :'pattern',
|
38
46
|
:'required' => :'required',
|
39
47
|
:'type' => :'type',
|
40
48
|
:'value' => :'value'
|
@@ -44,8 +52,10 @@ module OryHydraClient
|
|
44
52
|
# Attribute type mapping.
|
45
53
|
def self.openapi_types
|
46
54
|
{
|
55
|
+
:'disabled' => :'String',
|
47
56
|
:'errors' => :'Array<Error>',
|
48
57
|
:'name' => :'String',
|
58
|
+
:'pattern' => :'String',
|
49
59
|
:'required' => :'Boolean',
|
50
60
|
:'type' => :'String',
|
51
61
|
:'value' => :'Object'
|
@@ -73,6 +83,10 @@ module OryHydraClient
|
|
73
83
|
h[k.to_sym] = v
|
74
84
|
}
|
75
85
|
|
86
|
+
if attributes.key?(:'disabled')
|
87
|
+
self.disabled = attributes[:'disabled']
|
88
|
+
end
|
89
|
+
|
76
90
|
if attributes.key?(:'errors')
|
77
91
|
if (value = attributes[:'errors']).is_a?(Array)
|
78
92
|
self.errors = value
|
@@ -83,6 +97,10 @@ module OryHydraClient
|
|
83
97
|
self.name = attributes[:'name']
|
84
98
|
end
|
85
99
|
|
100
|
+
if attributes.key?(:'pattern')
|
101
|
+
self.pattern = attributes[:'pattern']
|
102
|
+
end
|
103
|
+
|
86
104
|
if attributes.key?(:'required')
|
87
105
|
self.required = attributes[:'required']
|
88
106
|
end
|
@@ -114,8 +132,10 @@ module OryHydraClient
|
|
114
132
|
def ==(o)
|
115
133
|
return true if self.equal?(o)
|
116
134
|
self.class == o.class &&
|
135
|
+
disabled == o.disabled &&
|
117
136
|
errors == o.errors &&
|
118
137
|
name == o.name &&
|
138
|
+
pattern == o.pattern &&
|
119
139
|
required == o.required &&
|
120
140
|
type == o.type &&
|
121
141
|
value == o.value
|
@@ -130,7 +150,7 @@ module OryHydraClient
|
|
130
150
|
# Calculates hash code according to all attributes.
|
131
151
|
# @return [Integer] Hash code
|
132
152
|
def hash
|
133
|
-
[errors, name, required, type, value].hash
|
153
|
+
[disabled, errors, name, pattern, required, type, value].hash
|
134
154
|
end
|
135
155
|
|
136
156
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ory-kratos-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.
|
4
|
+
version: 0.0.3.alpha14
|
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-01-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -189,31 +189,31 @@ signing_key:
|
|
189
189
|
specification_version: 4
|
190
190
|
summary: Ory Kratos Ruby Gem
|
191
191
|
test_files:
|
192
|
-
- spec/api/public_api_spec.rb
|
193
192
|
- spec/api/common_api_spec.rb
|
194
|
-
- spec/api/
|
193
|
+
- spec/api/public_api_spec.rb
|
195
194
|
- spec/api/version_api_spec.rb
|
195
|
+
- spec/api/health_api_spec.rb
|
196
196
|
- spec/api/admin_api_spec.rb
|
197
197
|
- spec/api_client_spec.rb
|
198
198
|
- spec/configuration_spec.rb
|
199
|
-
- spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
|
200
|
-
- spec/models/error_spec.rb
|
201
199
|
- spec/models/session_spec.rb
|
202
|
-
- spec/models/
|
203
|
-
- spec/models/
|
204
|
-
- spec/models/generic_error_spec.rb
|
205
|
-
- spec/models/login_request_spec.rb
|
206
|
-
- spec/models/form_field_spec.rb
|
207
|
-
- spec/models/generic_error_payload_spec.rb
|
208
|
-
- spec/models/oidc_strategy_request_method_spec.rb
|
209
|
-
- spec/models/login_request_method_config_spec.rb
|
200
|
+
- spec/models/error_spec.rb
|
201
|
+
- spec/models/registration_request_method_config_spec.rb
|
210
202
|
- spec/models/health_not_ready_status_spec.rb
|
211
203
|
- spec/models/oidc_strategy_credentials_config_spec.rb
|
212
|
-
- spec/models/identity_spec.rb
|
213
204
|
- spec/models/profile_management_request_spec.rb
|
205
|
+
- spec/models/form_field_spec.rb
|
206
|
+
- spec/models/form_spec.rb
|
207
|
+
- spec/models/login_request_spec.rb
|
214
208
|
- spec/models/registration_request_spec.rb
|
209
|
+
- spec/models/login_request_method_spec.rb
|
210
|
+
- spec/models/version_spec.rb
|
215
211
|
- spec/models/registration_request_method_spec.rb
|
212
|
+
- spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb
|
213
|
+
- spec/models/generic_error_spec.rb
|
214
|
+
- spec/models/identity_spec.rb
|
215
|
+
- spec/models/login_request_method_config_spec.rb
|
216
216
|
- spec/models/health_status_spec.rb
|
217
|
-
- spec/models/
|
218
|
-
- spec/models/
|
217
|
+
- spec/models/oidc_strategy_request_method_spec.rb
|
218
|
+
- spec/models/generic_error_payload_spec.rb
|
219
219
|
- spec/spec_helper.rb
|