Skip to content

Commit f9c01ec

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

File tree

232 files changed

+1384
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+1384
-298
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Appwrite Ruby SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-ruby.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.4.13-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.5.0-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)

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.3'
4+
spec.version = '11.0.0-rc.4'
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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ client = Client.new
1010

1111
account = Account.new(client)
1212

13-
response = account.add_authenticator(type: AuthenticatorType::TOTP)
13+
response = account.add_authenticator(
14+
type: AuthenticatorType::TOTP
15+
)
1416

1517
puts response.inspect

docs/examples/account/create-email-password-session.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ client = Client.new
88

99
account = Account.new(client)
1010

11-
response = account.create_email_password_session(email: '[email protected]', password: 'password')
11+
response = account.create_email_password_session(
12+
13+
password: 'password'
14+
)
1215

1316
puts response.inspect

docs/examples/account/create-email-token.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ client = Client.new
88

99
account = Account.new(client)
1010

11-
response = account.create_email_token(user_id: '[USER_ID]', email: '[email protected]')
11+
response = account.create_email_token(
12+
user_id: '[USER_ID]',
13+
14+
phrase: false # optional
15+
)
1216

1317
puts response.inspect

docs/examples/account/create-magic-u-r-l-token.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ client = Client.new
88

99
account = Account.new(client)
1010

11-
response = account.create_magic_url_token(user_id: '[USER_ID]', email: '[email protected]')
11+
response = account.create_magic_url_token(
12+
user_id: '[USER_ID]',
13+
14+
url: 'https://example.com', # optional
15+
phrase: false # optional
16+
)
1217

1318
puts response.inspect

docs/examples/account/create-o-auth2session.md

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

1010
account = Account.new(client)
1111

12-
response = account.create_o_auth2_session(provider: OAuthProvider::AMAZON)
12+
response = account.create_o_auth2_session(
13+
provider: OAuthProvider::AMAZON,
14+
success: 'https://example.com', # optional
15+
failure: 'https://example.com', # optional
16+
token: false, # optional
17+
scopes: [] # optional
18+
)
1319

1420
puts response.inspect

docs/examples/account/create-phone-token.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ client = Client.new
88

99
account = Account.new(client)
1010

11-
response = account.create_phone_token(user_id: '[USER_ID]', phone: '+12065550100')
11+
response = account.create_phone_token(
12+
user_id: '[USER_ID]',
13+
phone: '+12065550100'
14+
)
1215

1316
puts response.inspect

docs/examples/account/create-recovery.md

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

1010
account = Account.new(client)
1111

12-
response = account.create_recovery(email: '[email protected]', url: 'https://example.com')
12+
response = account.create_recovery(
13+
14+
url: 'https://example.com'
15+
)
1316

1417
puts response.inspect

docs/examples/account/create-session.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ client = Client.new
88

99
account = Account.new(client)
1010

11-
response = account.create_session(user_id: '[USER_ID]', secret: '[SECRET]')
11+
response = account.create_session(
12+
user_id: '[USER_ID]',
13+
secret: '[SECRET]'
14+
)
1215

1316
puts response.inspect

0 commit comments

Comments
 (0)