Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "4.0"]
ruby: ["3.2", "4.0"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3", "3.4", "4.0"]
ruby: ["3.2", "3.3", "3.4", "4.0"]
runs-on: ubuntu-latest
timeout-minutes: 20
env:
Expand Down
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2
NewCops: enable
SuggestExtensions: false

Expand All @@ -26,6 +26,9 @@ Naming/FileName:
Style/StringLiterals:
EnforcedStyle: double_quotes

Style/ArgumentsForwarding:
UseAnonymousForwarding: false

Style/MultilineBlockChain:
Exclude:
- spec/**/*
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ HEADLESS=false bundle exec rspec ... # watch the browser
```

The suite boots a real Chrome and a Sinatra/Puma test app (`spec/support/application.rb`, views in
`spec/support/views/`). CI runs Ruby 3.1 to 4.0 against stable Chrome.
`spec/support/views/`). CI runs Ruby 3.2 to 4.0 against stable Chrome.

## Tests

Expand All @@ -40,7 +40,7 @@ The suite boots a real Chrome and a Sinatra/Puma test app (`spec/support/applica

## Code style

- Ruby >= 3.1, `# frozen_string_literal: true`, double quotes, RuboCop config in `.rubocop.yml`.
- Ruby >= 3.2, `# frozen_string_literal: true`, double quotes, RuboCop config in `.rubocop.yml`.
- Prefer self-documenting code over comments. Document public methods with YARD (`@param`, `@return`, `@raise`).
- Add or update RBS types in `sig/` for anything you touch.
- American English everywhere: code, comments, docs, errors, commits.
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
### Removed
- `Browser::Process#default_user_agent`, `#browser_version`, `#protocol_version`, `#v8_version` and `#webkit_version`,
use `Browser#default_user_agent` and `Browser#version` instead
- Ruby 3.1 support, Ferrum requires Ruby 3.2 or newer


## [0.19.1](https://github.com/rubycdp/ferrum/compare/v0.19.0...v0.19.1) (October 16, 2026) ##
Expand Down
2 changes: 1 addition & 1 deletion ferrum.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
"rubygems_mfa_required" => "true"
}

s.required_ruby_version = ">= 3.1"
s.required_ruby_version = ">= 3.2"

s.add_dependency "addressable", "~> 2.5"
s.add_dependency "base64", "~> 0.2"
Expand Down
Loading