From 2b6726d2ac5111db2e37248953c7d0f0442601f1 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Wed, 21 Feb 2024 22:44:04 +0000 Subject: [PATCH] feat: Update minimum Ruby version to 2.7 --- .github/workflows/ci.yml | 7 +++++-- google-apis-core/google-apis-core.gemspec | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89c2b5b2ae4..c4072df7bd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,15 @@ jobs: task: "--include-spec" - os: ubuntu-latest ruby: "3.2" + task: "--include-spec" + - os: ubuntu-latest + ruby: "3.3" task: "--include-spec --include-yardoc --include-build" - os: macos-latest - ruby: "3.2" + ruby: "3.3" task: "--include-spec" - os: windows-latest - ruby: "3.2" + ruby: "3.3" task: "--include-spec" fail-fast: false runs-on: ${{ matrix.os }} diff --git a/google-apis-core/google-apis-core.gemspec b/google-apis-core/google-apis-core.gemspec index 76ebcd70692..041ff3c6064 100644 --- a/google-apis-core/google-apis-core.gemspec +++ b/google-apis-core/google-apis-core.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |gem| gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"] gem.require_paths = ["lib"] - gem.required_ruby_version = '>= 2.5' + gem.required_ruby_version = '>= 2.7' gem.add_runtime_dependency "representable", "~> 3.0" gem.add_runtime_dependency "retriable", ">= 2.0", "< 4.a" gem.add_runtime_dependency "addressable", "~> 2.5", ">= 2.5.1"