appwrite / sdk-for-ruby Goto Github PK
View Code? Open in Web Editor NEW[READ-ONLY] Official Appwrite Ruby SDK ๐ ๐ด
Home Page: https://appwrite.io
License: BSD 3-Clause "New" or "Revised" License
[READ-ONLY] Official Appwrite Ruby SDK ๐ ๐ด
Home Page: https://appwrite.io
License: BSD 3-Clause "New" or "Revised" License
GitHub has recently rolled out a public beta for their issue forms feature. This would allow you to create interactive issue templates and validate them ๐คฏ.
Appwrite currently uses the older issue template format. Your task is to create GitHub issue forms for this repository. Please use Appwrite's issue templates as a reference for this PR.
.github/ISSUE_TEMPLATE/bug.yaml
.github/ISSUE_TEMPLATE/documentation.yaml
.github/ISSUE_TEMPLATE/feature.yaml
If you need any help, reach out to us on our Discord server.
Are you ready to work on this issue? ๐ค Let us know, and we will assign it to you ๐
Happy Appwriting!
Per this issue and this PR in the Appwrite Docs repo, the Ruby gem install command should be gem install appwrite
instead of gem install appwrite --save
.
A PR will be submitted to update this in Readme.md
.
I do see that this repo is marked as Read Only in the About section on GitHub., If this repo is automatically generated by pushing to a different repo, please let me know and I can make this change upstream instead. ๐
Hi!
SDK raises exception when calling Appwrite::Database#delete_document
because API endpoint responds with 204 No Content
without body, but Appwrite::Client
expects JSON and tries to parse it.
Ruby version: 3.0.2
SDK version: 2.4.0
Trace:
/Users/anna/.rbenv/versions/3.0.2/lib/ruby/3.0.0/json/common.rb:216:in `initialize': no implicit conversion of nil into String (TypeError)
from /Users/anna/.rbenv/versions/3.0.2/lib/ruby/3.0.0/json/common.rb:216:in `new'
from /Users/anna/.rbenv/versions/3.0.2/lib/ruby/3.0.0/json/common.rb:216:in `parse'
from /Users/anna/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/appwrite-2.4.0/lib/appwrite/client.rb:110:in `fetch'
from /Users/anna/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/appwrite-2.4.0/lib/appwrite/client.rb:67:in `call'
from /Users/anna/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/appwrite-2.4.0/lib/appwrite/services/database.rb:294:in `delete_document'
I suppose it is common problem for all DELETE
endpoints such as Appwrite::Database#delete_document
, Appwrite::Storage#delete_file
, Appwrite::Storage#delete_collection
I could try to fix and open PR if it's ok)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.