Skip to content

Commit 21800fe

Browse files
committed
chore: regen to 1.7.x
1 parent 0ef280a commit 21800fe

72 files changed

Lines changed: 81 additions & 4307 deletions

Some content is hidden

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

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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.8.0-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.7.4-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)
88

9-
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
9+
**This SDK is compatible with Appwrite server version 1.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
1010

1111
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Ruby SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1212

β€Ž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 = '17.0.0'
4+
spec.version = '16.0.0'
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/databases/create-document.mdβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ include Appwrite
44

55
client = Client.new
66
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
78
.set_session('') # The user session to authenticate with
8-
.set_key('<YOUR_API_KEY>') # Your secret API key
9-
.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token
109

1110
databases = Databases.new(client)
1211

β€Ždocs/examples/databases/create-documents.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include Appwrite
44

55
client = Client.new
66
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7-
.set_admin('') #
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
88
.set_key('<YOUR_API_KEY>') # Your secret API key
99

1010
databases = Databases.new(client)

β€Ždocs/examples/databases/upsert-document.mdβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ include Appwrite
44

55
client = Client.new
66
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
78
.set_session('') # The user session to authenticate with
8-
.set_key('<YOUR_API_KEY>') # Your secret API key
9-
.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token
109

1110
databases = Databases.new(client)
1211

1312
result = databases.upsert_document(
1413
database_id: '<DATABASE_ID>',
1514
collection_id: '<COLLECTION_ID>',
16-
document_id: '<DOCUMENT_ID>'
15+
document_id: '<DOCUMENT_ID>',
16+
data: {},
17+
permissions: ["read("any")"] # optional
1718
)

β€Ždocs/examples/databases/upsert-documents.mdβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ include Appwrite
44

55
client = Client.new
66
.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
7-
.set_admin('') #
7+
.set_project('<YOUR_PROJECT_ID>') # Your project ID
88
.set_key('<YOUR_API_KEY>') # Your secret API key
99

1010
databases = Databases.new(client)
1111

1212
result = databases.upsert_documents(
1313
database_id: '<DATABASE_ID>',
14-
collection_id: '<COLLECTION_ID>'
14+
collection_id: '<COLLECTION_ID>',
15+
documents: []
1516
)

β€Ždocs/examples/tables/create-boolean-column.mdβ€Ž

Lines changed: 0 additions & 19 deletions
This file was deleted.

β€Ždocs/examples/tables/create-datetime-column.mdβ€Ž

Lines changed: 0 additions & 19 deletions
This file was deleted.

β€Ždocs/examples/tables/create-email-column.mdβ€Ž

Lines changed: 0 additions & 19 deletions
This file was deleted.

β€Ždocs/examples/tables/create-enum-column.mdβ€Ž

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
Β (0)