From 41f80ad5dc947acfedf6825d963e44889bd7c93c Mon Sep 17 00:00:00 2001 From: Kirill Mokevnin Date: Wed, 12 Aug 2026 12:42:12 -0400 Subject: [PATCH] =?UTF-8?q?chore(deps):=20=D0=BF=D0=BE=D0=B4=D0=BD=D1=8F?= =?UTF-8?q?=D1=82=D1=8C=20ruby=20=D0=B4=D0=BE=204=20=D0=B8=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B8=D1=82=D1=8C=20=D0=B7=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Нижняя граница гема стояла на 3.0, а CI брал версию строкой "4.0" в workflow. Теперь версия лежит в .ruby-version и оттуда же её читает CI. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/ci.yml | 6 +++--- .ruby-version | 1 + Gemfile.lock | 16 +++++++++------- hexlet-points.gemspec | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 .ruby-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe58171..0a0ff91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,13 +7,13 @@ on: jobs: build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: - ruby-version: "4.0" - - name: Install - run: make install + ruby-version: .ruby-version + bundler-cache: true - name: Run linter run: make lint - name: Run tests diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..d13e837 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +4.0.6 diff --git a/Gemfile.lock b/Gemfile.lock index 74dce0c..ae9cdb3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,8 +9,8 @@ GEM ast (2.4.3) drb (2.2.3) hexlet-pairs (1.1.0) - json (2.20.0) - language_server-protocol (3.17.0.5) + json (2.21.2) + language_server-protocol (3.17.0.6) lint_roller (1.1.0) minitest (6.0.6) drb (~> 2.0) @@ -18,8 +18,8 @@ GEM minitest-power_assert (0.3.1) minitest power_assert (>= 1.1) - parallel (1.28.0) - parser (3.3.11.1) + parallel (2.1.0) + parser (3.3.12.0) ast (~> 2.4.1) racc power_assert (3.0.1) @@ -27,7 +27,7 @@ GEM racc (1.8.1) rainbow (3.1.1) regexp_parser (2.12.0) - rubocop (1.88.0) + rubocop (1.89.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -38,7 +38,7 @@ GEM rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.49.1) + rubocop-ast (1.50.0) parser (>= 3.3.7.2) prism (~> 1.7) ruby-progressbar (1.13.0) @@ -47,7 +47,9 @@ GEM unicode-emoji (4.2.0) PLATFORMS + aarch64-linux ruby + x86_64-linux DEPENDENCIES hexlet-pairs (~> 1.1.0) @@ -56,4 +58,4 @@ DEPENDENCIES rubocop (~> 1.88) BUNDLED WITH - 4.0.6 + 4.0.16 diff --git a/hexlet-points.gemspec b/hexlet-points.gemspec index 4f305ab..38046aa 100644 --- a/hexlet-points.gemspec +++ b/hexlet-points.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.description = "A SICP'ish Points implemented in Ruby using hexlet-pairs." spec.homepage = "https://github.com/hexlet-components/ruby-points" spec.license = "MIT" - spec.required_ruby_version = Gem::Requirement.new(">= 3.0") + spec.required_ruby_version = Gem::Requirement.new(">= 4.0") spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/hexlet-components/ruby-points"