Skip to content

Commit

Permalink
Allow and test on rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasfed committed Dec 3, 2024
1 parent cf12204 commit 841996c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ jobs:

strategy:
matrix:
ruby-version: [3.3.6]
rails-version:
- 71
- 72
- 80
include:
- ruby-version: 3.2.5
- ruby-version: 3.2.6
rails-version: 70
- ruby-version: 3.3.5
rails-version: 71
- ruby-version: 3.3.5
rails-version: 72

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ end
appraise 'rails_72' do
gem 'activesupport', '~>7.2.1'
end

appraise 'rails_80' do
gem 'activesupport', '~>8.0.0'
end
7 changes: 7 additions & 0 deletions gemfiles/rails_80.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activesupport", "~>8.0.0"

gemspec path: "../"
6 changes: 3 additions & 3 deletions globalize.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Gem::Specification.new do |s|

s.metadata['rubygems_mfa_required'] = 'true'

s.add_dependency('actionpack', ['>= 4.0', '< 8'])
s.add_dependency('activerecord', ['>= 4.0', '< 8'])
s.add_dependency('activesupport', ['>= 4.0', '< 8'])
s.add_dependency('actionpack', ['>= 4.0', '< 9'])
s.add_dependency('activerecord', ['>= 4.0', '< 9'])
s.add_dependency('activesupport', ['>= 4.0', '< 9'])
s.add_dependency('i18n', '>= 0.8.5')

s.add_development_dependency('mocha')
Expand Down

0 comments on commit 841996c

Please sign in to comment.