Skip to content

Commit

Permalink
Support newer Ruby/Rails versions, drop EOLs
Browse files Browse the repository at this point in the history
  • Loading branch information
themilkman committed Jan 9, 2025
1 parent d2a8726 commit af0d202
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
strategy:
matrix:
ruby: [2.7, 3.0, 3.1, 3.2]
ruby: [3.1, 3.2, 3.3, 3.4]
gemfile:
- rails61
- rails70
- rails71
- rails72
- rails80
exclude:
- ruby: 3.1
gemfile:
- rails80
- ruby: 3.2
gemfile:
- rails61

- rails80

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Changelog
===

#### Unreleased
* Support for Rails 7.2 & 8.0
* Require Rails >= 7.1.0
* Require Ruby >= 3.1.0
* Update copyright year

#### 3.3.0 (2023-10-11)
Expand Down
6 changes: 3 additions & 3 deletions acts_as_removable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.7.0'
spec.required_ruby_version = '>= 3.1.0'

spec.add_dependency 'activerecord', '>= 6.1', '< 7.2'
spec.add_dependency 'activesupport', '>= 6.1', '< 7.2'
spec.add_dependency 'activerecord', '>= 7.1', '< 8.1'
spec.add_dependency 'activesupport', '>= 7.1', '< 8.1'

spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails61 → gemfiles/rails72
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ source 'https://rubygems.org'
gemspec path: '..'


gem 'railties', '~> 6.1'
gem 'railties', '~> 7.2'
2 changes: 1 addition & 1 deletion gemfiles/rails70 → gemfiles/rails80
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ source 'https://rubygems.org'
gemspec path: '..'


gem 'railties', '~> 7.0'
gem 'railties', '~> 8.0'

0 comments on commit af0d202

Please sign in to comment.