Skip to content

Commit ce86157

Browse files
committed
feat: update for 1.0.0-RC1
1 parent 0153433 commit ce86157

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
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 = '6.1.0-RC1'
4+
spec.version = '7.0.0-RC1'
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'=> '6.1.0-RC1',
18+
'x-sdk-version'=> '7.0.0-RC1',
1919
'X-Appwrite-Response-Format' => '1.0.0-RC1'
2020
}
2121
@endpoint = 'https://HOSTNAME/v1'

lib/appwrite/services/avatars.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,19 +235,17 @@ def get_image(url:, width: nil, height: nil)
235235
# @param [String] name Full Name. When empty, current user name or email will be used. Max length: 128 chars.
236236
# @param [Integer] width Image width. Pass an integer between 0 to 2000. Defaults to 100.
237237
# @param [Integer] height Image height. Pass an integer between 0 to 2000. Defaults to 100.
238-
# @param [String] color Changes text color. By default a random color will be picked and stay will persistent to the given name.
239238
# @param [String] background Changes background color. By default a random color will be picked and stay will persistent to the given name.
240239
#
241240
# @return []
242-
def get_initials(name: nil, width: nil, height: nil, color: nil, background: nil)
241+
def get_initials(name: nil, width: nil, height: nil, background: nil)
243242

244243
path = '/avatars/initials'
245244

246245
params = {
247246
name: name,
248247
width: width,
249248
height: height,
250-
color: color,
251249
background: background,
252250
}
253251

0 commit comments

Comments
 (0)