Skip to content

Commit 0cd6ac2

Browse files
authored
Merge pull request #44 from appwrite/dev
feat: Ruby SDK update for version 19.0.0
2 parents f26c2f6 + efb2454 commit 0cd6ac2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+770
-39
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.1.0'
4+
spec.version = '19.0.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'

lib/appwrite/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def initialize
1515
'x-sdk-name'=> 'Ruby',
1616
'x-sdk-platform'=> 'server',
1717
'x-sdk-language'=> 'ruby',
18-
'x-sdk-version'=> '18.1.0',
18+
'x-sdk-version'=> '19.0.0',
1919
'X-Appwrite-Response-Format' => '1.8.0'
2020
}
2121
@endpoint = 'https://cloud.appwrite.io/v1'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Appwrite
2+
module Enums
3+
module AttributeStatus
4+
AVAILABLE = 'available'
5+
PROCESSING = 'processing'
6+
DELETING = 'deleting'
7+
STUCK = 'stuck'
8+
FAILED = 'failed'
9+
end
10+
end
11+
end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Appwrite
2+
module Enums
3+
module ColumnStatus
4+
AVAILABLE = 'available'
5+
PROCESSING = 'processing'
6+
DELETING = 'deleting'
7+
STUCK = 'stuck'
8+
FAILED = 'failed'
9+
end
10+
end
11+
end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module Appwrite
2+
module Enums
3+
module DatabaseType
4+
LEGACY = 'legacy'
5+
TABLESDB = 'tablesdb'
6+
end
7+
end
8+
end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Appwrite
2+
module Enums
3+
module DeploymentStatus
4+
WAITING = 'waiting'
5+
PROCESSING = 'processing'
6+
BUILDING = 'building'
7+
READY = 'ready'
8+
FAILED = 'failed'
9+
end
10+
end
11+
end
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module Appwrite
2+
module Enums
3+
module ExecutionStatus
4+
WAITING = 'waiting'
5+
PROCESSING = 'processing'
6+
COMPLETED = 'completed'
7+
FAILED = 'failed'
8+
end
9+
end
10+
end
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module Appwrite
2+
module Enums
3+
module ExecutionTrigger
4+
HTTP = 'http'
5+
SCHEDULE = 'schedule'
6+
EVENT = 'event'
7+
end
8+
end
9+
end
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module Appwrite
2+
module Enums
3+
module HealthAntivirusStatus
4+
DISABLED = 'disabled'
5+
OFFLINE = 'offline'
6+
ONLINE = 'online'
7+
end
8+
end
9+
end
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module Appwrite
2+
module Enums
3+
module HealthCheckStatus
4+
PASS = 'pass'
5+
FAIL = 'fail'
6+
end
7+
end
8+
end

0 commit comments

Comments
 (0)