diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9771a85..0342072 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,8 +19,10 @@ jobs: - name: Set up RubyGems run: | - cat "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_TOKEN }}\n" > ~/.gem/credentials + echo -e "---\n:rubygems_api_key: $RUBYGEMS_TOKEN\n" > ~/.gem/credentials chmod 0600 ~/.gem/credentials + env: + RUBYGEMS_TOKEN: $ - name: Build gem run: gem build appwrite.gemspec diff --git a/appwrite.gemspec b/appwrite.gemspec index 7eada07..cbbf96d 100644 --- a/appwrite.gemspec +++ b/appwrite.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |spec| spec.name = 'appwrite' - spec.version = '12.1.0' + spec.version = '12.1.1' 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' diff --git a/lib/appwrite/client.rb b/lib/appwrite/client.rb index b9a54d9..f5a4911 100644 --- a/lib/appwrite/client.rb +++ b/lib/appwrite/client.rb @@ -15,7 +15,7 @@ def initialize 'x-sdk-name'=> 'Ruby', 'x-sdk-platform'=> 'server', 'x-sdk-language'=> 'ruby', - 'x-sdk-version'=> '12.1.0', + 'x-sdk-version'=> '12.1.1', 'X-Appwrite-Response-Format' => '1.6.0' } @endpoint = 'https://cloud.appwrite.io/v1' diff --git a/lib/appwrite/enums/runtime.rb b/lib/appwrite/enums/runtime.rb index 23464bd..cd21aed 100644 --- a/lib/appwrite/enums/runtime.rb +++ b/lib/appwrite/enums/runtime.rb @@ -21,6 +21,9 @@ module Runtime PYTHON_3_11 = 'python-3.11' PYTHON_3_12 = 'python-3.12' PYTHON_ML_3_11 = 'python-ml-3.11' + DENO_1_21 = 'deno-1.21' + DENO_1_24 = 'deno-1.24' + DENO_1_35 = 'deno-1.35' DENO_1_40 = 'deno-1.40' DART_2_15 = 'dart-2.15' DART_2_16 = 'dart-2.16'