Skip to content

Commit f26c2f6

Browse files
authored
Merge pull request #43 from appwrite/dev
feat: Ruby SDK update for version 18.1.0
2 parents 8e76372 + 7dcbcb1 commit f26c2f6

17 files changed

+24
-20
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 = '18.0.0'
4+
spec.version = '18.1.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-line-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = databases.create_line_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [[1, 2], [3, 4], [5, 6]] # optional
1818
)

docs/examples/databases/create-point-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = databases.create_point_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [1, 2] # optional
1818
)

docs/examples/databases/create-polygon-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = databases.create_polygon_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [[[1, 2], [3, 4], [5, 6], [1, 2]]] # optional
1818
)

docs/examples/databases/update-line-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ result = databases.update_line_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]], # optional
17+
default: [[1, 2], [3, 4], [5, 6]], # optional
1818
new_key: '' # optional
1919
)

docs/examples/databases/update-point-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ result = databases.update_point_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]], # optional
17+
default: [1, 2], # optional
1818
new_key: '' # optional
1919
)

docs/examples/databases/update-polygon-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ result = databases.update_polygon_attribute(
1414
collection_id: '<COLLECTION_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]], # optional
17+
default: [[[1, 2], [3, 4], [5, 6], [1, 2]]], # optional
1818
new_key: '' # optional
1919
)

docs/examples/tablesdb/create-line-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = tables_db.create_line_column(
1414
table_id: '<TABLE_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [[1, 2], [3, 4], [5, 6]] # optional
1818
)

docs/examples/tablesdb/create-point-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = tables_db.create_point_column(
1414
table_id: '<TABLE_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [1, 2] # optional
1818
)

docs/examples/tablesdb/create-polygon-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ result = tables_db.create_polygon_column(
1414
table_id: '<TABLE_ID>',
1515
key: '',
1616
required: false,
17-
default: [[1,2], [3, 4]] # optional
17+
default: [[[1, 2], [3, 4], [5, 6], [1, 2]]] # optional
1818
)

0 commit comments

Comments
 (0)