From a84107ae80dd6e34a423318b50fdb5b12768c953 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Apr 2025 12:03:34 +0000 Subject: [PATCH 01/14] Bump nokogiri from 1.16.7 to 1.18.7 Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.7 to 1.18.7. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.7...v1.18.7) --- updated-dependencies: - dependency-name: nokogiri dependency-version: 1.18.7 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index def050d6..e2001ad3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -123,9 +123,11 @@ GEM minitest (5.25.5) net-http (0.6.0) uri - nokogiri (1.16.7) + nokogiri (1.18.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) + nokogiri (1.18.7-x86_64-darwin) + racc (~> 1.4) observer (0.1.2) openssl (3.3.1) overcommit (0.68.0) From bc7d30e43369861a021278dd42a86c0f148f81eb Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Mon, 21 Apr 2025 14:08:15 +0200 Subject: [PATCH 02/14] Install system deps --- .github/workflows/gem-workflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index 1207599d..d7c219f0 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -21,6 +21,8 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxslt1-dev libgmp-dev - name: Bundle install run: | gem install bundler From 957cfbe8747be09acccfc32c881447dad4d27a93 Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Mon, 21 Apr 2025 14:11:57 +0200 Subject: [PATCH 03/14] Install system deps --- .github/workflows/gem-workflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index d7c219f0..76bbe9d8 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -41,6 +41,8 @@ jobs: with: persist-credentials: false fetch-depth: 0 + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxslt1-dev libgmp-dev - name: Ruby Setup and Bundle uses: ruby/setup-ruby@v1 with: From a7f8d84c00f2d11dfbac7f693e2108d925d01743 Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Mon, 21 Apr 2025 14:34:59 +0200 Subject: [PATCH 04/14] Install system deps --- .github/workflows/gem-workflow.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index 76bbe9d8..17969ed0 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ruby-version: ['3.1.6', '3.2.6', '3.3.6'] + ruby-version: ["3.1.6", "3.2.6", "3.3.6"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -22,7 +22,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxslt1-dev libgmp-dev + run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxml2-dev libxslt1-dev libgmp-dev pkg-config - name: Bundle install run: | gem install bundler @@ -34,7 +34,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ruby-version: ['3.1.6', '3.2.6', '3.3.6'] + ruby-version: ["3.1.6", "3.2.6", "3.3.6"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -42,16 +42,17 @@ jobs: persist-credentials: false fetch-depth: 0 - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxslt1-dev libgmp-dev + run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxml2-dev libxslt1-dev libgmp-dev pkg-config - name: Ruby Setup and Bundle uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - run: | - gem install bundler - bundle update - bundle install + - name: Bundle install + run: | + gem install bundler + bundle update + bundle install - name: rspec and report to coveralls run: bundle exec rspec --order rand - name: Coveralls From 5260146526d9c0b8e6f46922472f1bc788afe044 Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 16:50:50 +0300 Subject: [PATCH 05/14] Drop ruby 3.1 support --- .github/workflows/gem-workflow.yml | 6 +++--- .rubocop.yml | 2 +- ledger_sync.gemspec | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index 17969ed0..950dc751 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ruby-version: ["3.1.6", "3.2.6", "3.3.6"] + ruby-version: ["3.2.6", "3.3.6"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -34,7 +34,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ruby-version: ["3.1.6", "3.2.6", "3.3.6"] + ruby-version: ["3.2.6", "3.3.6"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -74,7 +74,7 @@ jobs: - name: Ruby Setup and Bundle uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1.6 + ruby-version: 3.2.6 bundler-cache: true - name: Publish to RubyGems run: | diff --git a/.rubocop.yml b/.rubocop.yml index b183beda..2f649878 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ AllCops: Exclude: - "documentation/site/_plugins/**/*" - "vendor/**/*" - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.2 NewCops: enable Gemspec/DevelopmentDependencies: diff --git a/ledger_sync.gemspec b/ledger_sync.gemspec index e1aac95e..a343c41f 100644 --- a/ledger_sync.gemspec +++ b/ledger_sync.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |spec| spec.name = 'ledger_sync' spec.version = LedgerSync.version - spec.required_ruby_version = '>= 3.1' + spec.required_ruby_version = '>= 3.2' # spec.required_rubygems_version = Gem::Requirement.new('>= 0') if spec.respond_to? :required_rubygems_version= spec.authors = ['Ryan Jackson'] From 4e258b00c396fdd9b2c744978a411a6b2b9e8abe Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 16:53:20 +0300 Subject: [PATCH 06/14] revert system deps step --- .github/workflows/gem-workflow.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index 950dc751..2b5a6378 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -21,8 +21,6 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxml2-dev libxslt1-dev libgmp-dev pkg-config - name: Bundle install run: | gem install bundler @@ -41,8 +39,6 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y build-essential zlib1g-dev libxml2 libxml2-dev libxslt1-dev libgmp-dev pkg-config - name: Ruby Setup and Bundle uses: ruby/setup-ruby@v1 with: From 866736b3488c4c6ef4a66b476d77579739a6773d Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 16:55:59 +0300 Subject: [PATCH 07/14] Fix rubocop --- documentation/generators/generator.rb | 8 ++++---- lib/ledger_sync.rb | 4 ++-- lib/ledger_sync/error/ledger_errors.rb | 4 ++-- lib/ledger_sync/ledger_configuration.rb | 8 ++++---- lib/ledger_sync/ledgers/client.rb | 8 ++++---- lib/ledger_sync/result.rb | 20 +++++++++---------- lib/ledger_sync/test/support/factory_bot.rb | 8 ++++---- .../test/support/qa/ledger_helpers.rb | 16 +++++++-------- .../test/support/webmock_helpers.rb | 4 ++-- 9 files changed, 40 insertions(+), 40 deletions(-) diff --git a/documentation/generators/generator.rb b/documentation/generators/generator.rb index 8580350a..319d6430 100644 --- a/documentation/generators/generator.rb +++ b/documentation/generators/generator.rb @@ -21,15 +21,15 @@ def clear_dir(path, except: []) nl end - def cp(src, dest, *args) + def cp(src, dest, *) yellow "Copying #{src} to #{dest}" - FileUtils.cp_r(src, dest, *args) + FileUtils.cp_r(src, dest, *) green "Copied #{src} to #{dest}" nl end - def destination_path(*args, **keywords) - docs_path(*args, format: :md, **keywords) + def destination_path(*, **keywords) + docs_path(*, format: :md, **keywords) end def docs_path(*path, format: nil) diff --git a/lib/ledger_sync.rb b/lib/ledger_sync.rb index 142eff8f..81ca6863 100644 --- a/lib/ledger_sync.rb +++ b/lib/ledger_sync.rb @@ -107,8 +107,8 @@ def self.logger=(val) @logger = val end - def self.register_ledger(*args) - ledger_config = LedgerSync::LedgerConfiguration.new(*args) + def self.register_ledger(*) + ledger_config = LedgerSync::LedgerConfiguration.new(*) yield(ledger_config) diff --git a/lib/ledger_sync/error/ledger_errors.rb b/lib/ledger_sync/error/ledger_errors.rb index a4986d44..9c742b55 100644 --- a/lib/ledger_sync/error/ledger_errors.rb +++ b/lib/ledger_sync/error/ledger_errors.rb @@ -53,11 +53,11 @@ def initialize(client:, message: nil, response: nil) class UnknownURLFormat < self attr_reader :resource - def initialize(*args, resource:, **keywords) + def initialize(*, resource:, **keywords) @resource = resource super( - *args, + *, message: "Unknown URL format for #{resource.class}", **keywords ) end diff --git a/lib/ledger_sync/ledger_configuration.rb b/lib/ledger_sync/ledger_configuration.rb index 90cb1ffc..704dbf34 100644 --- a/lib/ledger_sync/ledger_configuration.rb +++ b/lib/ledger_sync/ledger_configuration.rb @@ -48,14 +48,14 @@ def add_alias(new_alias) # Delegate #new to the client class enabling faster client initialization # e.g. LedgerSync.ledgers.test.new(...) - def new(*args) - client_class.new(*args) + def new(*) + client_class.new(*) end # Delegate #new_from_env to the client class enabling faster client initialization # e.g. LedgerSync.ledgers.test.new_from_env(...) - def new_from_env(*args) - client_class.new_from_env(*args) + def new_from_env(*) + client_class.new_from_env(*) end def test? diff --git a/lib/ledger_sync/ledgers/client.rb b/lib/ledger_sync/ledgers/client.rb index a950c93a..dbafe287 100644 --- a/lib/ledger_sync/ledgers/client.rb +++ b/lib/ledger_sync/ledgers/client.rb @@ -56,8 +56,8 @@ def searcher_for(resource_type:, query: '') ) end - def searcher_class_for(*args, **keywords) - self.class.searcher_class_for(*args, **keywords) + def searcher_class_for(*, **keywords) + self.class.searcher_class_for(*, **keywords) end def url_for(*_args) @@ -93,8 +93,8 @@ def ledger_resource_type_overrides {} end - def operation_class_for(*args, **keywords) - Client.operation_class_for(*args, **keywords) + def operation_class_for(*, **keywords) + Client.operation_class_for(*, **keywords) end def resource_from_ledger_type(type:, converter: nil) diff --git a/lib/ledger_sync/result.rb b/lib/ledger_sync/result.rb index e4401df6..fb60ea89 100644 --- a/lib/ledger_sync/result.rb +++ b/lib/ledger_sync/result.rb @@ -3,12 +3,12 @@ module LedgerSync module ResultBase module HelperMethods - def Success(value = nil, *args, **keywords) # rubocop:disable Naming/MethodName - self::Success.new(value, *args, **keywords) + def Success(value = nil, *, **keywords) # rubocop:disable Naming/MethodName + self::Success.new(value, *, **keywords) end - def Failure(error = nil, *args, **keywords) # rubocop:disable Naming/MethodName - self::Failure.new(error, *args, **keywords) + def Failure(error = nil, *, **keywords) # rubocop:disable Naming/MethodName + self::Failure.new(error, *, **keywords) end end @@ -25,8 +25,8 @@ def self.included(base) class Result module ResultTypeBase - def initialize(*args, **keywords) # rubocop:disable Lint/UnusedMethodArgument - super(*args) + def initialize(*, **keywords) # rubocop:disable Lint/UnusedMethodArgument + super(*) end end @@ -43,11 +43,11 @@ def self.included(base) end end - def initialize(*args, **keywords) + def initialize(*, **keywords) @operation = keywords.fetch(:operation) @resource = keywords.fetch(:resource) @response = keywords.fetch(:response) - super(*args) + super(*) end end @@ -69,10 +69,10 @@ def self.included(base) end end - def initialize(*args, searcher:, **keywords) # rubocop:disable Lint/UnusedMethodArgument + def initialize(*, searcher:, **keywords) # rubocop:disable Lint/UnusedMethodArgument @resources = searcher.resources @searcher = searcher - super(*args) + super(*) end def next_searcher diff --git a/lib/ledger_sync/test/support/factory_bot.rb b/lib/ledger_sync/test/support/factory_bot.rb index 96f2f9a3..fbe7e4ab 100644 --- a/lib/ledger_sync/test/support/factory_bot.rb +++ b/lib/ledger_sync/test/support/factory_bot.rb @@ -143,8 +143,8 @@ def references_many(name, count: 0, factory: nil) # # @return [String] # -def rand_id(*args) - FactoryBot.rand_id(*args) +def rand_id(*) + FactoryBot.rand_id(*) end # @@ -152,6 +152,6 @@ def rand_id(*args) # # @return [String] # -def test_run_id(*args) - @test_run_id ||= FactoryBot.test_run_id(*args) +def test_run_id(*) + @test_run_id ||= FactoryBot.test_run_id(*) end diff --git a/lib/ledger_sync/test/support/qa/ledger_helpers.rb b/lib/ledger_sync/test/support/qa/ledger_helpers.rb index 5b464bf9..84332089 100644 --- a/lib/ledger_sync/test/support/qa/ledger_helpers.rb +++ b/lib/ledger_sync/test/support/qa/ledger_helpers.rb @@ -4,8 +4,8 @@ module LedgerSync module Test module QA module LedgerHelpers - def create_resource_for(*args) - create_result_for(*args).raise_if_error.resource + def create_resource_for(*) + create_result_for(*).raise_if_error.resource end def create_result_for(client:, resource:) @@ -16,8 +16,8 @@ def create_result_for(client:, resource:) ) end - def delete_resource_for(*args) - delete_result_for(*args).raise_if_error.resource + def delete_resource_for(*) + delete_result_for(*).raise_if_error.resource end def delete_result_for(client:, resource:) @@ -28,8 +28,8 @@ def delete_result_for(client:, resource:) ) end - def find_resource_for(*args) - find_result_for(*args).raise_if_error.resource + def find_resource_for(*) + find_result_for(*).raise_if_error.resource end def find_result_for(client:, resource:) @@ -47,8 +47,8 @@ def result_for(client:, method:, resource:) ).perform end - def update_resource_for(*args) - update_result_for(*args).raise_if_error.resource + def update_resource_for(*) + update_result_for(*).raise_if_error.resource end def update_result_for(client:, resource:) diff --git a/lib/ledger_sync/test/support/webmock_helpers.rb b/lib/ledger_sync/test/support/webmock_helpers.rb index 14f929b3..f22b804c 100644 --- a/lib/ledger_sync/test/support/webmock_helpers.rb +++ b/lib/ledger_sync/test/support/webmock_helpers.rb @@ -12,9 +12,9 @@ module WebMock module API # Overwrite the original stub_request method to enforce we explicitly say # how many times we expect a request to be called - def stub_request(*args, times: 1) + def stub_request(*, times: 1) ret = WebMock::StubRegistry.instance - .register_request_stub(WebMock::RequestStub.new(*args)) + .register_request_stub(WebMock::RequestStub.new(*)) stubs_and_times << [ret, times] unless times.nil? ret end From b1541689fdd69b9b091144ca784c8ed3cb433314 Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:00:15 +0300 Subject: [PATCH 08/14] Fix deps --- Gemfile.lock | 84 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 31 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e2001ad3..8a5f3efd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -39,7 +39,7 @@ GEM awesome_print (1.9.2) base64 (0.3.0) benchmark (0.4.1) - bigdecimal (3.2.2) + bigdecimal (3.3.1) bump (0.10.0) byebug (12.0.0) childprocess (5.1.0) @@ -47,7 +47,7 @@ GEM climate_control (1.2.0) colorize (1.1.0) concurrent-ruby (1.3.5) - connection_pool (2.5.3) + connection_pool (2.5.4) coveralls_reborn (0.29.0) simplecov (~> 0.22.0) term-ansicolor (~> 1.7) @@ -83,7 +83,7 @@ GEM dry-logic (~> 1.5) dry-types (~> 1.8) zeitwerk (~> 2.6) - dry-types (1.8.2) + dry-types (1.8.3) bigdecimal (~> 3.0) concurrent-ruby (~> 1.0) dry-core (~> 1.0) @@ -96,6 +96,7 @@ GEM dry-initializer (~> 3.2) dry-schema (~> 1.14) zeitwerk (~> 2.6) + erb (5.1.1) factory_bot (6.5.5) activesupport (>= 6.1.0) faraday (2.14.0) @@ -106,27 +107,38 @@ GEM net-http (>= 0.5.0) fingerprintable (1.2.1) colorize - hashdiff (1.1.2) + hashdiff (1.2.1) i18n (1.14.7) concurrent-ruby (~> 1.0) iniparse (1.5.0) - io-console (0.8.0) + io-console (0.8.1) irb (1.15.2) pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.15.0) + json (2.15.1) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) - mini_portile2 (2.8.8) - minitest (5.25.5) + minitest (5.26.0) + mize (0.6.1) net-http (0.6.0) uri - nokogiri (1.18.7) - mini_portile2 (~> 2.8.2) + nokogiri (1.18.10-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.7-x86_64-darwin) + nokogiri (1.18.10-aarch64-linux-musl) + racc (~> 1.4) + nokogiri (1.18.10-arm-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.10-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.10-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.10-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.10-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.10-x86_64-linux-musl) racc (~> 1.4) observer (0.1.2) openssl (3.3.1) @@ -140,30 +152,32 @@ GEM racc pd_ruby (0.2.3) colorize - pp (0.6.2) + pp (0.6.3) prettyprint prettyprint (0.2.0) - prism (1.5.1) - psych (5.2.3) + prism (1.5.2) + psych (5.2.6) date stringio - public_suffix (6.0.1) + public_suffix (6.0.2) racc (1.8.1) rack (3.2.3) rainbow (3.1.1) rake (13.3.0) - rdoc (6.13.1) + rdoc (6.15.0) + erb psych (>= 4.0.0) + tsort regexp_parser (2.11.3) - reline (0.6.1) + reline (0.6.2) io-console (~> 0.5) resonad (1.4.0) - rexml (3.4.2) + rexml (3.4.4) rspec (3.13.1) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.4) + rspec-core (3.13.5) rspec-support (~> 3.13.0) rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) @@ -171,7 +185,7 @@ GEM rspec-mocks (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.4) + rspec-support (3.13.6) rubocop (1.81.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) @@ -192,34 +206,42 @@ GEM docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) - simplecov-html (0.13.1) + simplecov-html (0.13.2) simplecov-lcov (0.9.0) simplecov_json_formatter (0.1.4) simply_serializable (1.5.1) fingerprintable (>= 1.2.1) - stringio (3.1.6) + stringio (3.1.7) sync (0.5.0) - term-ansicolor (1.11.2) - tins (~> 1.0) + term-ansicolor (1.11.3) + tins (~> 1) thor (1.4.0) - tins (1.38.0) + tins (1.44.1) bigdecimal + mize (~> 0.6) sync + tsort (0.2.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (3.2.0) unicode-emoji (~> 4.1) unicode-emoji (4.1.0) - uri (1.0.3) + uri (1.0.4) webmock (3.25.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - zeitwerk (2.6.18) + zeitwerk (2.7.3) PLATFORMS - ruby - x86_64-darwin-19 + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES awesome_print @@ -235,10 +257,10 @@ DEPENDENCIES overcommit (~> 0.68.0) rake (~> 13.0) rspec (~> 3.2) - rubocop (~> 1.81) + rubocop (~> 1.81, ~> 1.79) simplecov simplecov-lcov webmock BUNDLED WITH - 2.6.2 + 2.7.1 From 962b9a2a3af35b8ec5b8b4c4468ee8e49f41cc5e Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:03:14 +0300 Subject: [PATCH 09/14] Fix --- .github/workflows/gem-workflow.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index 2b5a6378..cab7b30c 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -24,6 +24,7 @@ jobs: - name: Bundle install run: | gem install bundler + bundle config set frozen false bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: Rubocop @@ -47,6 +48,7 @@ jobs: - name: Bundle install run: | gem install bundler + bundle config set frozen false bundle update bundle install - name: rspec and report to coveralls @@ -72,6 +74,11 @@ jobs: with: ruby-version: 3.2.6 bundler-cache: true + - name: Bundle install + run: | + gem install bundler + bundle config set frozen false + bundle install - name: Publish to RubyGems run: | mkdir -p $HOME/.gem From 9a29e10f7464714700fbed265bad8969ecc0099f Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:04:25 +0300 Subject: [PATCH 10/14] Fix --- .github/workflows/gem-workflow.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index cab7b30c..fb303810 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -24,7 +24,6 @@ jobs: - name: Bundle install run: | gem install bundler - bundle config set frozen false bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - name: Rubocop @@ -48,7 +47,6 @@ jobs: - name: Bundle install run: | gem install bundler - bundle config set frozen false bundle update bundle install - name: rspec and report to coveralls @@ -77,7 +75,6 @@ jobs: - name: Bundle install run: | gem install bundler - bundle config set frozen false bundle install - name: Publish to RubyGems run: | From 4e2725f475eb37187bf551d92021c31bde1e7d7b Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:12:04 +0300 Subject: [PATCH 11/14] bump --- Gemfile.lock | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a5f3efd..186c5e06 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -124,22 +124,8 @@ GEM mize (0.6.1) net-http (0.6.0) uri - nokogiri (1.18.10-aarch64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.10-aarch64-linux-musl) - racc (~> 1.4) - nokogiri (1.18.10-arm-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.10-arm-linux-musl) - racc (~> 1.4) - nokogiri (1.18.10-arm64-darwin) - racc (~> 1.4) nokogiri (1.18.10-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.10-x86_64-linux-gnu) - racc (~> 1.4) - nokogiri (1.18.10-x86_64-linux-musl) - racc (~> 1.4) observer (0.1.2) openssl (3.3.1) overcommit (0.68.0) @@ -234,14 +220,7 @@ GEM zeitwerk (2.7.3) PLATFORMS - aarch64-linux-gnu - aarch64-linux-musl - arm-linux-gnu - arm-linux-musl - arm64-darwin - x86_64-darwin - x86_64-linux-gnu - x86_64-linux-musl + x86_64-darwin-24 DEPENDENCIES awesome_print From 3cb62e2138403e95a01069432f7d7b9d192513bb Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:13:30 +0300 Subject: [PATCH 12/14] bump --- Gemfile.lock | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 186c5e06..8a5f3efd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -124,8 +124,22 @@ GEM mize (0.6.1) net-http (0.6.0) uri + nokogiri (1.18.10-aarch64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.10-aarch64-linux-musl) + racc (~> 1.4) + nokogiri (1.18.10-arm-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.10-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.10-arm64-darwin) + racc (~> 1.4) nokogiri (1.18.10-x86_64-darwin) racc (~> 1.4) + nokogiri (1.18.10-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.10-x86_64-linux-musl) + racc (~> 1.4) observer (0.1.2) openssl (3.3.1) overcommit (0.68.0) @@ -220,7 +234,14 @@ GEM zeitwerk (2.7.3) PLATFORMS - x86_64-darwin-24 + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES awesome_print From d43f714457fe96fea6376bb090e5987ee734cc97 Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:18:11 +0300 Subject: [PATCH 13/14] upgrade activesupport, activemodel --- Gemfile.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a5f3efd..64da3df1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -19,9 +19,9 @@ PATH GEM remote: https://rubygems.org/ specs: - activemodel (7.2.2.2) - activesupport (= 7.2.2.2) - activesupport (7.2.2.2) + activemodel (8.0.3) + activesupport (= 8.0.3) + activesupport (8.0.3) base64 benchmark (>= 0.3) bigdecimal @@ -33,6 +33,7 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.3) From 79675f1fd6bc1619f35f959bcfb0f2c5d3cd4b7a Mon Sep 17 00:00:00 2001 From: Seifeldin7 Date: Sun, 12 Oct 2025 17:21:37 +0300 Subject: [PATCH 14/14] update workflow --- .github/workflows/gem-workflow.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.github/workflows/gem-workflow.yml b/.github/workflows/gem-workflow.yml index fb303810..cb865169 100644 --- a/.github/workflows/gem-workflow.yml +++ b/.github/workflows/gem-workflow.yml @@ -21,11 +21,6 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - name: Bundle install - run: | - gem install bundler - bundle config path vendor/bundle - bundle install --jobs 4 --retry 3 - name: Rubocop run: bundle exec rubocop rspec: @@ -44,11 +39,6 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - name: Bundle install - run: | - gem install bundler - bundle update - bundle install - name: rspec and report to coveralls run: bundle exec rspec --order rand - name: Coveralls @@ -72,10 +62,6 @@ jobs: with: ruby-version: 3.2.6 bundler-cache: true - - name: Bundle install - run: | - gem install bundler - bundle install - name: Publish to RubyGems run: | mkdir -p $HOME/.gem