From 66df1d6ebffc9176c7840374e4e9681794b5a94f Mon Sep 17 00:00:00 2001 From: MaryamAdnan3 Date: Tue, 10 Dec 2024 15:15:42 +0500 Subject: [PATCH 1/2] ci: update dependencies and supported ruby version Update dependencies with max range support from 2.6 to 3.3 and add support for ruby 3.3 version in CI. --- .github/workflows/lint-runner.yml | 2 +- .github/workflows/test-runner.yml | 2 +- apimatic_core.gemspec | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-runner.yml b/.github/workflows/lint-runner.yml index 778e557..4c1fb80 100644 --- a/.github/workflows/lint-runner.yml +++ b/.github/workflows/lint-runner.yml @@ -18,7 +18,7 @@ jobs: if: "! contains(toJSON(github.event.head_commit.message), 'skip ci')" strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2'] + ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] steps: - name: Checkout repository diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index e8140ef..a5f9d74 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -23,7 +23,7 @@ jobs: if: "! contains(toJSON(github.event.head_commit.message), 'skip ci')" strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2'] + ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3'] steps: - uses: actions/checkout@v3 diff --git a/apimatic_core.gemspec b/apimatic_core.gemspec index 9c5c162..8f005c4 100644 --- a/apimatic_core.gemspec +++ b/apimatic_core.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'apimatic_core' - s.version = '0.3.11' + s.version = '0.3.12' s.summary = 'A library that contains apimatic-apimatic-core logic and utilities for consuming REST APIs using Python SDKs generated '\ 'by APIMatic.' s.description = 'The APIMatic Core libraries provide a stable runtime that powers all the functionality of SDKs.'\ @@ -12,13 +12,13 @@ Gem::Specification.new do |s| s.homepage = 'https://apimatic.io' s.license = 'MIT' s.add_dependency('apimatic_core_interfaces', '~> 0.2.0') - s.add_dependency('nokogiri', '~> 1.10', '>=1.10.10') + s.add_dependency('nokogiri', '~> 1.13', '>=1.13.10') s.add_dependency('certifi', '~> 2018.1', '>= 2018.01.18') s.add_dependency('faraday-multipart', '~> 1.0') - s.add_development_dependency('faraday', '~> 2.0', '>= 2.0.1') - s.add_development_dependency('minitest', '~> 5.14', '>= 5.14.1') + s.add_development_dependency('faraday', '~> 2.8', '>= 2.8.1') + s.add_development_dependency('minitest', '~> 5.25', '>= 5.25.4') s.add_development_dependency('minitest-proveit', '~> 1.0') - s.add_development_dependency('simplecov', '~> 0.21.2') + s.add_development_dependency('simplecov', '~> 0.22.0') s.required_ruby_version = ['>= 2.6'] s.files = Dir['{lib, test}/**/*', 'README*', 'LICENSE*'] s.require_paths = ['lib'] From e6ebf0231feaeaa31c14601d408d917c43ed8275 Mon Sep 17 00:00:00 2001 From: MaryamAdnan3 Date: Wed, 11 Dec 2024 12:17:06 +0500 Subject: [PATCH 2/2] update ruby readme language version upper limit. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1179de8..0fc35d6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Core library ruby does the job of congregating common and core functionality fro ## Installation -You will need `2.6 <= Ruby version <= 3.2` to support this package. +You will need `2.6 <= Ruby version <= 3.3` to support this package. Installation is quite simple, just execute the following command: ```