appwrite 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug.yaml +82 -0
- data/.github/ISSUE_TEMPLATE/documentation.yaml +32 -0
- data/.github/ISSUE_TEMPLATE/feature.yaml +40 -0
- data/README.md +2 -2
- data/appwrite.gemspec +1 -1
- data/lib/appwrite/client.rb +2 -2
- data/lib/appwrite/services/teams.rb +4 -4
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c1eb3f808d7681c19fb3ce67089478bd8407225953e985602d375e2826cebd5
|
4
|
+
data.tar.gz: be200991cd57aa18f7de0ea66ba32cddb0362475098799a177fb6b4e3614e063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc95e5305739fbcb2ca092a48d7b03f821d75fa686c853d1dd1110aef3e806e331e7df1cc91280ed7bfb8950878de61471100fb68c0fde0768a2faad13de040e
|
7
|
+
data.tar.gz: 5952f3051e0a25aa4913b9b64d8de94f3490d984e54139a6b76e5a139ed795358de993836ec63e3eb6660cb47881bad3e7608c18dee49d1054b57450746d1f89
|
@@ -0,0 +1,82 @@
|
|
1
|
+
name: "🐛 Bug Report"
|
2
|
+
description: "Submit a bug report to help us improve"
|
3
|
+
title: "🐛 Bug Report: "
|
4
|
+
labels: [bug]
|
5
|
+
body:
|
6
|
+
- type: markdown
|
7
|
+
attributes:
|
8
|
+
value: |
|
9
|
+
Thanks for taking the time to fill out our bug report form 🙏
|
10
|
+
- type: textarea
|
11
|
+
id: steps-to-reproduce
|
12
|
+
validations:
|
13
|
+
required: true
|
14
|
+
attributes:
|
15
|
+
label: "👟 Reproduction steps"
|
16
|
+
description: "How do you trigger this bug? Please walk us through it step by step."
|
17
|
+
placeholder: "When I ..."
|
18
|
+
- type: textarea
|
19
|
+
id: expected-behavior
|
20
|
+
validations:
|
21
|
+
required: true
|
22
|
+
attributes:
|
23
|
+
label: "👍 Expected behavior"
|
24
|
+
description: "What did you think would happen?"
|
25
|
+
placeholder: "It should ..."
|
26
|
+
- type: textarea
|
27
|
+
id: actual-behavior
|
28
|
+
validations:
|
29
|
+
required: true
|
30
|
+
attributes:
|
31
|
+
label: "👎 Actual Behavior"
|
32
|
+
description: "What did actually happen? Add screenshots, if applicable."
|
33
|
+
placeholder: "It actually ..."
|
34
|
+
- type: dropdown
|
35
|
+
id: appwrite-version
|
36
|
+
attributes:
|
37
|
+
label: "🎲 Appwrite version"
|
38
|
+
description: "What version of Appwrite are you running?"
|
39
|
+
options:
|
40
|
+
- Version 0.10.x
|
41
|
+
- Version 0.9.x
|
42
|
+
- Version 0.8.x
|
43
|
+
- Version 0.7.x
|
44
|
+
- Version 0.6.x
|
45
|
+
- Different version (specify in environment)
|
46
|
+
validations:
|
47
|
+
required: true
|
48
|
+
- type: dropdown
|
49
|
+
id: operating-system
|
50
|
+
attributes:
|
51
|
+
label: "💻 Operating system"
|
52
|
+
description: "What OS is your server / device running on?"
|
53
|
+
options:
|
54
|
+
- Linux
|
55
|
+
- MacOS
|
56
|
+
- Windows
|
57
|
+
- Something else
|
58
|
+
validations:
|
59
|
+
required: true
|
60
|
+
- type: textarea
|
61
|
+
id: environment
|
62
|
+
validations:
|
63
|
+
required: false
|
64
|
+
attributes:
|
65
|
+
label: "🧱 Your Environment"
|
66
|
+
description: "Is your environment customized in any way?"
|
67
|
+
placeholder: "I use Cloudflare for ..."
|
68
|
+
- type: checkboxes
|
69
|
+
id: no-duplicate-issues
|
70
|
+
attributes:
|
71
|
+
label: "👀 Have you spent some time to check if this issue has been raised before?"
|
72
|
+
description: "Have you Googled for a similar issue or checked our older issues for a similar bug?"
|
73
|
+
options:
|
74
|
+
- label: "I checked and didn't find similar issue"
|
75
|
+
required: true
|
76
|
+
- type: checkboxes
|
77
|
+
id: read-code-of-conduct
|
78
|
+
attributes:
|
79
|
+
label: "🏢 Have you read the Code of Conduct?"
|
80
|
+
options:
|
81
|
+
- label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)"
|
82
|
+
required: true
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: "📚 Documentation"
|
2
|
+
description: "Report an issue related to documentation"
|
3
|
+
title: "📚 Documentation: "
|
4
|
+
labels: [documentation]
|
5
|
+
body:
|
6
|
+
- type: markdown
|
7
|
+
attributes:
|
8
|
+
value: |
|
9
|
+
Thanks for taking the time to make our documentation better 🙏
|
10
|
+
- type: textarea
|
11
|
+
id: issue-description
|
12
|
+
validations:
|
13
|
+
required: true
|
14
|
+
attributes:
|
15
|
+
label: "💭 Description"
|
16
|
+
description: "A clear and concise description of what the issue is."
|
17
|
+
placeholder: "Documentation should not ..."
|
18
|
+
- type: checkboxes
|
19
|
+
id: no-duplicate-issues
|
20
|
+
attributes:
|
21
|
+
label: "👀 Have you spent some time to check if this issue has been raised before?"
|
22
|
+
description: "Have you Googled for a similar issue or checked our older issues for a similar bug?"
|
23
|
+
options:
|
24
|
+
- label: "I checked and didn't find similar issue"
|
25
|
+
required: true
|
26
|
+
- type: checkboxes
|
27
|
+
id: read-code-of-conduct
|
28
|
+
attributes:
|
29
|
+
label: "🏢 Have you read the Code of Conduct?"
|
30
|
+
options:
|
31
|
+
- label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)"
|
32
|
+
required: true
|
@@ -0,0 +1,40 @@
|
|
1
|
+
name: 🚀 Feature
|
2
|
+
description: "Submit a proposal for a new feature"
|
3
|
+
title: "🚀 Feature: "
|
4
|
+
labels: [feature]
|
5
|
+
body:
|
6
|
+
- type: markdown
|
7
|
+
attributes:
|
8
|
+
value: |
|
9
|
+
Thanks for taking the time to fill out our feature request form 🙏
|
10
|
+
- type: textarea
|
11
|
+
id: feature-description
|
12
|
+
validations:
|
13
|
+
required: true
|
14
|
+
attributes:
|
15
|
+
label: "🔖 Feature description"
|
16
|
+
description: "A clear and concise description of what the feature is."
|
17
|
+
placeholder: "You should add ..."
|
18
|
+
- type: textarea
|
19
|
+
id: pitch
|
20
|
+
validations:
|
21
|
+
required: true
|
22
|
+
attributes:
|
23
|
+
label: "🎤 Pitch"
|
24
|
+
description: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
|
25
|
+
placeholder: "In my use-case, ..."
|
26
|
+
- type: checkboxes
|
27
|
+
id: no-duplicate-issues
|
28
|
+
attributes:
|
29
|
+
label: "👀 Have you spent some time to check if this issue has been raised before?"
|
30
|
+
description: "Have you Googled for a similar issue or checked our older issues for a similar bug?"
|
31
|
+
options:
|
32
|
+
- label: "I checked and didn't find similar issue"
|
33
|
+
required: true
|
34
|
+
- type: checkboxes
|
35
|
+
id: read-code-of-conduct
|
36
|
+
attributes:
|
37
|
+
label: "🏢 Have you read the Code of Conduct?"
|
38
|
+
options:
|
39
|
+
- label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)"
|
40
|
+
required: true
|
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Appwrite Ruby SDK
|
2
2
|
|
3
3
|
![License](https://img.shields.io/github/license/appwrite/sdk-for-ruby.svg?style=flat-square)
|
4
|
-
![Version](https://img.shields.io/badge/api%20version-0.
|
4
|
+
![Version](https://img.shields.io/badge/api%20version-0.11.0-blue.svg?style=flat-square)
|
5
5
|
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
|
6
6
|
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite_io?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite_io)
|
7
7
|
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
|
8
8
|
|
9
|
-
**This SDK is compatible with Appwrite server version 0.
|
9
|
+
**This SDK is compatible with Appwrite server version 0.11.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
|
10
10
|
|
11
11
|
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)
|
12
12
|
|
data/appwrite.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'appwrite'
|
4
|
-
s.version = '2.4.
|
4
|
+
s.version = '2.4.1'
|
5
5
|
s.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"
|
6
6
|
s.author = 'Appwrite Team'
|
7
7
|
s.homepage = 'https://appwrite.io/support'
|
data/lib/appwrite/client.rb
CHANGED
@@ -20,8 +20,8 @@ module Appwrite
|
|
20
20
|
@headers = {
|
21
21
|
'content-type' => '',
|
22
22
|
'user-agent' => RUBY_PLATFORM + ':ruby-' + RUBY_VERSION,
|
23
|
-
'x-sdk-version' => 'appwrite:ruby:2.4.
|
24
|
-
'X-Appwrite-Response-Format' => '0.
|
23
|
+
'x-sdk-version' => 'appwrite:ruby:2.4.1',
|
24
|
+
'X-Appwrite-Response-Format' => '0.11.0'
|
25
25
|
}
|
26
26
|
@endpoint = 'https://appwrite.io/v1';
|
27
27
|
end
|
@@ -159,10 +159,6 @@ module Appwrite
|
|
159
159
|
params[:email] = email
|
160
160
|
end
|
161
161
|
|
162
|
-
if !name.nil?
|
163
|
-
params[:name] = name
|
164
|
-
end
|
165
|
-
|
166
162
|
if !roles.nil?
|
167
163
|
params[:roles] = roles
|
168
164
|
end
|
@@ -171,6 +167,10 @@ module Appwrite
|
|
171
167
|
params[:url] = url
|
172
168
|
end
|
173
169
|
|
170
|
+
if !name.nil?
|
171
|
+
params[:name] = name
|
172
|
+
end
|
173
|
+
|
174
174
|
return @client.call('post', path, {
|
175
175
|
'content-type' => 'application/json',
|
176
176
|
}, params);
|
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: 2.4.
|
4
|
+
version: 2.4.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: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: team@appwrite.io
|
@@ -16,6 +16,9 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
+
- ".github/ISSUE_TEMPLATE/bug.yaml"
|
20
|
+
- ".github/ISSUE_TEMPLATE/documentation.yaml"
|
21
|
+
- ".github/ISSUE_TEMPLATE/feature.yaml"
|
19
22
|
- ".travis.yml"
|
20
23
|
- CHANGELOG.md
|
21
24
|
- Gemfile
|