Skip to content

Commit b9ebcef

Browse files
committed
Release candidate for 1.5.x
1 parent fc8d8b9 commit b9ebcef

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

β€Žappwrite.gemspecβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |spec|
22

33
spec.name = 'appwrite'
4-
spec.version = '11.0.0-rc.2'
4+
spec.version = '11.0.0-rc.3'
55
spec.license = 'BSD-3-Clause'
66
spec.summary = 'Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API'
77
spec.author = 'Appwrite Team'

β€Ždocs/examples/account/add-authenticator.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ client = Client.new
1010

1111
account = Account.new(client)
1212

13-
response = account.add_authenticator(type: ::TOTP)
13+
response = account.add_authenticator(type: AuthenticatorType::TOTP)
1414

1515
puts response.inspect

β€Ždocs/examples/account/create2f-a-challenge.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ client = Client.new
99

1010
account = Account.new(client)
1111

12-
response = account.create2_fa_challenge(factor: ::TOTP)
12+
response = account.create2_fa_challenge(factor: AuthenticationFactor::TOTP)
1313

1414
puts response.inspect

β€Ždocs/examples/account/delete-authenticator.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ client = Client.new
1010

1111
account = Account.new(client)
1212

13-
response = account.delete_authenticator(type: ::TOTP, otp: '[OTP]')
13+
response = account.delete_authenticator(type: AuthenticatorType::TOTP, otp: '[OTP]')
1414

1515
puts response.inspect

β€Ždocs/examples/account/verify-authenticator.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ client = Client.new
1010

1111
account = Account.new(client)
1212

13-
response = account.verify_authenticator(type: ::TOTP, otp: '[OTP]')
13+
response = account.verify_authenticator(type: AuthenticatorType::TOTP, otp: '[OTP]')
1414

1515
puts response.inspect

β€Ždocs/examples/users/delete-authenticator.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ client = Client.new
1010

1111
users = Users.new(client)
1212

13-
response = users.delete_authenticator(user_id: '[USER_ID]', type: ::TOTP, otp: '[OTP]')
13+
response = users.delete_authenticator(user_id: '[USER_ID]', type: AuthenticatorType::TOTP, otp: '[OTP]')
1414

1515
puts response.inspect

β€Žlib/appwrite.rbβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
require_relative 'appwrite/models/subscriber'
101101
require_relative 'appwrite/models/target'
102102

103-
require_relative 'appwrite/enums/factor'
104-
require_relative 'appwrite/enums/type'
103+
require_relative 'appwrite/enums/authentication_factor'
104+
require_relative 'appwrite/enums/authenticator_type'
105105
require_relative 'appwrite/enums/o_auth_provider'
106106
require_relative 'appwrite/enums/browser'
107107
require_relative 'appwrite/enums/credit_card'

β€Žlib/appwrite/client.rbβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def initialize
1515
'x-sdk-name'=> 'Ruby',
1616
'x-sdk-platform'=> 'server',
1717
'x-sdk-language'=> 'ruby',
18-
'x-sdk-version'=> '11.0.0-rc.2',
19-
'X-Appwrite-Response-Format' => '1.4.0'
18+
'x-sdk-version'=> '11.0.0-rc.3',
19+
'X-Appwrite-Response-Format' => '1.5.0'
2020
}
2121
@endpoint = 'https://cloud.appwrite.io/v1'
2222
end

β€Žlib/appwrite/enums/factor.rbβ€Ž renamed to β€Žlib/appwrite/enums/authentication_factor.rbβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Appwrite
22
module Enums
3-
module Factor
3+
module AuthenticationFactor
44
TOTP = 'totp'
55
PHONE = 'phone'
66
EMAIL = 'email'

β€Žlib/appwrite/enums/type.rbβ€Ž renamed to β€Žlib/appwrite/enums/authenticator_type.rbβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Appwrite
22
module Enums
3-
module Type
3+
module AuthenticatorType
44
TOTP = 'totp'
55
end
66
end

0 commit comments

Comments
Β (0)