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
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,9 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['3.2', '3.3', '3.4']
rails: ['7.1.0', '7.2.0', '8.0.0', '8.1.0']
ruby: ['3.3', '3.4', '4.0']
rails: ['8.0.0', '8.1.0']
activeadmin: ['3.2.0', '3.5.0']
exclude:
# Active Admin 3.2 predates Rails 8 support.
- rails: '8.0.0'
activeadmin: '3.2.0'
- rails: '8.1.0'
activeadmin: '3.2.0'
env:
RAILS: ${{ matrix.rails }}
AA: ${{ matrix.activeadmin }}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in active_admin_date_range_preset.gemspec
gemspec

default_rails_version = '7.1.0'
default_rails_version = '8.0.0'
default_activeadmin_version = '3.5.0'

gem 'rails', "~> #{ENV['RAILS'] || default_rails_version}"
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ This is how it looks like

## Compatibility

Active Admin 3.2 or newer, in the 3.x series. Rails 7.1 or newer, Ruby 3.2 or
newer. CI covers Active Admin 3.2 and 3.5 against the Rails versions in the
matrix.
Active Admin 3.2 or newer, in the 3.x series. Rails 8.0 or newer, Ruby 3.3 or
newer. CI covers Active Admin 3.2 and 3.5 on Ruby 3.3, 3.4 and 4.0 against
Rails 8.0 and 8.1 — every Rails series still supported upstream.

Version 0.4.0 raised the Rails floor from 7.1 to 8.0. Every 7.x series is out
of support — 7.1 since October 2025, 7.2 since August 2026 — and none of them
is tested. Stay on 0.3.x if you are still on Rails 7.

The Rails and Ruby floors are declared explicitly because Active Admin 3.2
still allows `railties >= 6.1` and Ruby `>= 2.6`, both long past end of life
Expand Down
9 changes: 5 additions & 4 deletions active_admin_date_range_preset.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ Gem::Specification.new do |spec|
spec.add_dependency "activeadmin", "~> 3.2"

# Active Admin 3.2 itself still allows railties >= 6.1 and Ruby >= 2.6,
# both of which reached end of life years ago and neither of which is
# tested here. Without these the gem would inherit that claim by silence.
spec.add_dependency "railties", ">= 7.1"
spec.required_ruby_version = ">= 3.2"
# both of which reached end of life years ago. Declare what CI covers, so
# the gem does not inherit that claim by silence. Every Rails 7.x series is
# out of support: 7.1 since October 2025, 7.2 since August 2026.
spec.add_dependency "railties", ">= 8.0"
spec.required_ruby_version = ">= 3.3"

spec.add_development_dependency "rake"
end
2 changes: 1 addition & 1 deletion lib/active_admin_date_range_preset/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ActiveAdminDateRangePreset
VERSION = "0.3.1"
VERSION = "0.4.0"
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@activeadmin-plugins/active_admin_date_range_preset",
"version": "0.3.1",
"version": "0.4.0",
"description": "Integrate useful fast links to set date ranges in to ActiveAdmin, for example today range, week range, month range",
"main": "src/active_admin_date_range_preset.js",
"style": "src/active_admin_date_range_preset.scss",
Expand Down
Loading