Skip to content

DEV: Bump minimum Ruby to 3.2 and ActiveRecord to 7.1 #340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3"]
activerecord: [61, 70, 71]
ruby: ["3.2", "3.3", "3.4"]
activerecord: [71, 72, 80]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
UNRELEASED

- BREAKING: Bump minimum Ruby to 3.2 and ActiveRecord to 7.1

2.2.0 - 2024-12-05

- FIX: Ensure socket is closed when error is raised while opening socket
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To learn more see [Instrumenting Rails with Prometheus](https://samsaffron.com/a

## Requirements

Minimum Ruby of version 3.0.0 is required, Ruby 2.7 is EOL as of March 31st 2023.
Minimum Ruby of version 3.2 is required.

## Migrating from v0.x

Expand Down
5 changes: 0 additions & 5 deletions gemfiles/ar_60.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/ar_61.gemfile → gemfiles/ar_72.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "activerecord", "~> 6.1.0"
gem "activerecord", "~> 7.2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/ar_70.gemfile → gemfiles/ar_80.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "activerecord", "~> 7.0.0"
gem "activerecord", "~> 8.0.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion prometheus_exporter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "syntax_tree"
spec.add_development_dependency "syntax_tree-disable_ternary"
spec.add_development_dependency "raindrops", "~> 0.19" if !RUBY_ENGINE == "jruby"
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.2"
end
Loading