appwrite 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60c4873814b2aae15f1f3ba059b4d7f55a6c766ee7a586c6bd6b66d00a40a992
4
- data.tar.gz: ff53909e4787f62fb9d3a8484a752a03234c088e2040ada23897058c2e754fc0
3
+ metadata.gz: 65f5a3a2844d82920bb74da4c898acf46cdf210b428ea0fe50a7461663ee12bc
4
+ data.tar.gz: 7922a63438c02dd2003d30c019cf8df2b5543b527c7564a1a19984c3c059040c
5
5
  SHA512:
6
- metadata.gz: 800f889126c17328b620712e4f0b128891745bb5c4a9daad39a8d69a87f4513c945a943051299e3ca2e24063387c9a376f50e3795efc904bae4f799dbe728ac8
7
- data.tar.gz: 4de997fc045a70e25c6ca7c662ced42693446c312214f65440b984439b6f82311807d38b923daf5461530515b31927325613403d16d7c5b9300de56dea6bb5da
6
+ metadata.gz: 519225ed02fdb09bdc25629ba1dc0ab98f38cb53dbcf33acea8e9a852390e337792f38001cb808975d823c1309e556c8a5ceebdaaf773dbbde2d64348283311c
7
+ data.tar.gz: b8522cc52176e719cfe58b1171f1ad4a5b078a95fffaa4187e90fd18967fbb9c50eba73e2df69b61aee7c33bf3c7618ca9940526216f465b816e90505c73da4c
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'appwrite'
4
- s.version = '1.0.6'
4
+ s.version = '1.0.7'
5
5
  s.summary = "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)"
6
6
  s.author = 'Appwrite Team'
7
7
  s.homepage = 'https://appwrite.io/support'
@@ -20,7 +20,7 @@ module Appwrite
20
20
  @headers = {
21
21
  'content-type' => '',
22
22
  'user-agent' => RUBY_PLATFORM + ':ruby-' + RUBY_VERSION,
23
- 'x-sdk-version' => 'appwrite:ruby:1.0.6'
23
+ 'x-sdk-version' => 'appwrite:ruby:1.0.7'
24
24
  }
25
25
  @endpoint = 'https://appwrite.io/v1';
26
26
  end
@@ -43,7 +43,7 @@ module Appwrite
43
43
  }, params);
44
44
  end
45
45
 
46
- def update_collection(collection_id:, name:, read: [], write: [], rules: [])
46
+ def update_collection(collection_id:, name:, read:, write:, rules: [])
47
47
  path = '/database/{collectionId}'
48
48
  .gsub('{collection_id}', collection_id)
49
49
 
@@ -16,7 +16,7 @@ module Appwrite
16
16
  }, params);
17
17
  end
18
18
 
19
- def create_file(files:, read: [], write: [], folder_id: '')
19
+ def create_file(files:, read:, write:, folder_id: '')
20
20
  path = '/storage/files'
21
21
 
22
22
  params = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appwrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Appwrite Team