Skip to content

Commit

Permalink
chore: updates for next rc release
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Aug 23, 2024
1 parent 99b208b commit c4c0a8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appwrite.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |spec|

spec.name = 'appwrite'
spec.version = '12.0.0-rc.3'
spec.version = '12.0.0-rc.4'
spec.license = 'BSD-3-Clause'
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'
spec.author = 'Appwrite Team'
Expand Down
2 changes: 1 addition & 1 deletion lib/appwrite/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize
'x-sdk-name'=> 'Ruby',
'x-sdk-platform'=> 'server',
'x-sdk-language'=> 'ruby',
'x-sdk-version'=> '12.0.0-rc.3',
'x-sdk-version'=> '12.0.0-rc.4',
'X-Appwrite-Response-Format' => '1.6.0'
}
@endpoint = 'https://cloud.appwrite.io/v1'
Expand Down
2 changes: 1 addition & 1 deletion lib/appwrite/enums/runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module Runtime
CPP_17 = 'cpp-17'
CPP_20 = 'cpp-20'
BUN_1_0 = 'bun-1.0'
GO_1_22 = 'go-1.22'
GO_1_23 = 'go-1.23'
end
end
end
5 changes: 5 additions & 0 deletions lib/appwrite/models/deployment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Deployment
attr_reader :resource_type
attr_reader :entrypoint
attr_reader :size
attr_reader :build_size
attr_reader :build_id
attr_reader :activate
attr_reader :status
Expand All @@ -36,6 +37,7 @@ def initialize(
resource_type:,
entrypoint:,
size:,
build_size:,
build_id:,
activate:,
status:,
Expand All @@ -60,6 +62,7 @@ def initialize(
@resource_type = resource_type
@entrypoint = entrypoint
@size = size
@build_size = build_size
@build_id = build_id
@activate = activate
@status = status
Expand Down Expand Up @@ -87,6 +90,7 @@ def self.from(map:)
resource_type: map["resourceType"],
entrypoint: map["entrypoint"],
size: map["size"],
build_size: map["buildSize"],
build_id: map["buildId"],
activate: map["activate"],
status: map["status"],
Expand Down Expand Up @@ -115,6 +119,7 @@ def to_map
"resourceType": @resource_type,
"entrypoint": @entrypoint,
"size": @size,
"buildSize": @build_size,
"buildId": @build_id,
"activate": @activate,
"status": @status,
Expand Down

0 comments on commit c4c0a8e

Please sign in to comment.