appwrite 10.1.0 → 10.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/appwrite/client.rb +3 -1
- data/lib/appwrite/models/document.rb +1 -1
- data/lib/appwrite/models/preferences.rb +1 -1
- data/lib/appwrite/services/databases.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a1734151cef72764712831f7b58837f600e4a8f024179418376c7658c71e1c
|
4
|
+
data.tar.gz: 0d00fab77f2f993eaa48b5250d002a6cd3c36c621937007da150300fd55189ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b17ce99dfe317ccb4ebeaa0af3187ff515b8860bc496fcd3ac0ee23a315569dc08246c9387ebafdbd58f5d8338cd2bdab2ebc849a6eebff690f9457039ca84
|
7
|
+
data.tar.gz: c6d4114817e0763a81785a7da614f8f075b7fd9703fc3875eb1407fba7afa268088f217213d726d3815a94ec28331c8e197010b6cab23c22286082d245ef6995
|
data/lib/appwrite/client.rb
CHANGED
@@ -15,7 +15,7 @@ module Appwrite
|
|
15
15
|
'x-sdk-name'=> 'Ruby',
|
16
16
|
'x-sdk-platform'=> 'server',
|
17
17
|
'x-sdk-language'=> 'ruby',
|
18
|
-
'x-sdk-version'=> '10.1.
|
18
|
+
'x-sdk-version'=> '10.1.1',
|
19
19
|
'X-Appwrite-Response-Format' => '1.4.0'
|
20
20
|
}
|
21
21
|
@endpoint = 'https://HOSTNAME/v1'
|
@@ -234,6 +234,8 @@ module Appwrite
|
|
234
234
|
|
235
235
|
headers = @headers.merge(headers)
|
236
236
|
|
237
|
+
params.compact!
|
238
|
+
|
237
239
|
@boundary = "----A30#3ad1"
|
238
240
|
if method != "GET"
|
239
241
|
case headers[:'content-type']
|
@@ -746,7 +746,7 @@ module Appwrite
|
|
746
746
|
# @param [String] database_id Database ID.
|
747
747
|
# @param [String] collection_id Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
|
748
748
|
# @param [String] key Attribute Key.
|
749
|
-
# @param [Array] elements Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each
|
749
|
+
# @param [Array] elements Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.
|
750
750
|
# @param [] required Is attribute required?
|
751
751
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
752
752
|
# @param [] array Is attribute an array?
|
@@ -806,7 +806,7 @@ module Appwrite
|
|
806
806
|
# @param [String] database_id Database ID.
|
807
807
|
# @param [String] collection_id Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
|
808
808
|
# @param [String] key Attribute Key.
|
809
|
-
# @param [Array] elements Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each
|
809
|
+
# @param [Array] elements Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.
|
810
810
|
# @param [] required Is attribute required?
|
811
811
|
# @param [String] default Default value for attribute when not provided. Cannot be set when attribute is required.
|
812
812
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appwrite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.1.
|
4
|
+
version: 10.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Appwrite Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|