Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
id: cross-gem
with:
platform: ${{ matrix.platform }}
ruby-versions: "2.7,3.3,3.4"
ruby-versions: "3.3,3.4,4.0"
cache-version: v2

- uses: actions/upload-artifact@v6
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.4"]
ruby: ["3.3", "3.4", "4.0"]
steps:
- uses: actions/checkout@v6
with:
Expand Down
7 changes: 4 additions & 3 deletions wreq-rb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
"cookie handling, proxy support, and redirect policies."
spec.homepage = "https://github.com/serpapi/wreq-rb"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 2.7.0"
spec.required_ruby_version = ">= 3.0.0"

spec.files = Dir[
"exe/*",
Expand All @@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.extensions = ["ext/wreq_rb/extconf.rb"]

# 0.9.123 is the last version that uses rake-compiler-dock 1.10.0 (Ruby 2.7 support)
spec.add_dependency "rb_sys", "0.9.123"
# 0.9.124+ uses rake-compiler-dock 1.11.0, which adds Ruby 4.0 cross-compilation
# support and drops Ruby 2.7. Bumping to 0.9.126 (latest patch).
spec.add_dependency "rb_sys", "0.9.126"
end